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 bool arg2
= (bool) true ;
4801 wxString arg3
= (wxString
) wxPyEmptyString
;
4807 PyObject
* obj0
= 0 ;
4808 PyObject
* obj1
= 0 ;
4809 PyObject
* obj2
= 0 ;
4810 char * kwnames
[] = {
4811 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4815 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4816 if (!SWIG_IsOK(ecode1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4819 arg1
= static_cast< int >(val1
);
4821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4822 if (!SWIG_IsOK(ecode2
)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4825 arg2
= static_cast< bool >(val2
);
4829 wxString
* sptr
= wxString_in_helper(obj2
);
4830 if (sptr
== NULL
) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4854 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4855 PyObject
*resultobj
= 0;
4857 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4859 if (!wxPyCheckForApp()) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4875 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4877 if (!wxPyCheckForApp()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_Py_Void();
4890 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
*resultobj
= 0;
4892 bool arg1
= (bool) true ;
4896 PyObject
* obj0
= 0 ;
4897 char * kwnames
[] = {
4898 (char *) "resetTimer", NULL
4901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4903 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4904 if (!SWIG_IsOK(ecode1
)) {
4905 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4907 arg1
= static_cast< bool >(val1
);
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 result
= (long)wxGetElapsedTime(arg1
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 resultobj
= SWIG_From_long(static_cast< long >(result
));
4922 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4923 PyObject
*resultobj
= 0;
4926 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (bool)wxIsBusy();
4930 wxPyEndAllowThreads(__tstate
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4942 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4943 PyObject
*resultobj
= 0;
4946 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4966 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
= 0;
4968 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4969 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4971 bool temp1
= false ;
4972 PyObject
* obj0
= 0 ;
4973 char * kwnames
[] = {
4974 (char *) "command", NULL
4977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4980 arg1
= wxString_in_helper(obj0
);
4981 if (arg1
== NULL
) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 result
= (bool)wxShell((wxString
const &)*arg1
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5008 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 PyObject
*resultobj
= 0;
5011 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_Py_Void();
5025 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5026 PyObject
*resultobj
= 0;
5027 int *arg1
= (int *) 0 ;
5028 int *arg2
= (int *) 0 ;
5031 int res1
= SWIG_TMPOBJ
;
5033 int res2
= SWIG_TMPOBJ
;
5037 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (int)wxGetOsVersion(arg1
,arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= SWIG_From_int(static_cast< int >(result
));
5045 if (SWIG_IsTmpObj(res1
)) {
5046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5048 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5051 if (SWIG_IsTmpObj(res2
)) {
5052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5054 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5063 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 PyObject
*resultobj
= 0;
5067 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= wxGetOsDescription();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5087 SWIGINTERN PyObject
*_wrap_IsPlatformLittleEndian(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5088 PyObject
*resultobj
= 0;
5091 if (!SWIG_Python_UnpackTuple(args
,"IsPlatformLittleEndian",0,0,0)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 result
= (bool)wxIsPlatformLittleEndian();
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5107 SWIGINTERN PyObject
*_wrap_IsPlatform64Bit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5108 PyObject
*resultobj
= 0;
5111 if (!SWIG_Python_UnpackTuple(args
,"IsPlatform64Bit",0,0,0)) SWIG_fail
;
5113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5114 result
= (bool)wxIsPlatform64Bit();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5127 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5128 PyObject
*resultobj
= 0;
5129 wxMemorySize result
;
5131 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= wxGetFreeMemory();
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5142 resultobj
= PyInt_FromLong(result
);
5151 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
= 0;
5153 wxShutdownFlags arg1
;
5157 PyObject
* obj0
= 0 ;
5158 char * kwnames
[] = {
5159 (char *) "wFlags", NULL
5162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5164 if (!SWIG_IsOK(ecode1
)) {
5165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5167 arg1
= static_cast< wxShutdownFlags
>(val1
);
5169 if (!wxPyCheckForApp()) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (bool)wxShutdown(arg1
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5184 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= 0;
5189 PyObject
* obj0
= 0 ;
5190 char * kwnames
[] = {
5191 (char *) "secs", NULL
5194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5195 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5196 if (!SWIG_IsOK(ecode1
)) {
5197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5199 arg1
= static_cast< int >(val1
);
5201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_Py_Void();
5213 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
= 0;
5215 unsigned long arg1
;
5216 unsigned long val1
;
5218 PyObject
* obj0
= 0 ;
5219 char * kwnames
[] = {
5220 (char *) "milliseconds", NULL
5223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5224 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5225 if (!SWIG_IsOK(ecode1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5228 arg1
= static_cast< unsigned long >(val1
);
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxPyEndAllowThreads(__tstate
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5235 resultobj
= SWIG_Py_Void();
5242 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
*resultobj
= 0;
5244 unsigned long arg1
;
5245 unsigned long val1
;
5247 PyObject
* obj0
= 0 ;
5248 char * kwnames
[] = {
5249 (char *) "microseconds", NULL
5252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5254 if (!SWIG_IsOK(ecode1
)) {
5255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5257 arg1
= static_cast< unsigned long >(val1
);
5259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 resultobj
= SWIG_Py_Void();
5271 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
= 0;
5276 PyObject
* obj0
= 0 ;
5277 char * kwnames
[] = {
5278 (char *) "enable", NULL
5281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5282 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5283 if (!SWIG_IsOK(ecode1
)) {
5284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5286 arg1
= static_cast< bool >(val1
);
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 wxEnableTopLevelWindows(arg1
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_Py_Void();
5300 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
= 0;
5302 wxString
*arg1
= 0 ;
5304 bool temp1
= false ;
5305 PyObject
* obj0
= 0 ;
5306 char * kwnames
[] = {
5310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5312 arg1
= wxString_in_helper(obj0
);
5313 if (arg1
== NULL
) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5343 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5344 PyObject
*resultobj
= 0;
5347 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= wxGetEmailAddress();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5367 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5368 PyObject
*resultobj
= 0;
5371 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5374 result
= wxGetHostName();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5391 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5392 PyObject
*resultobj
= 0;
5395 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= wxGetFullHostName();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5415 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5416 PyObject
*resultobj
= 0;
5419 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= wxGetUserId();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5439 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5440 PyObject
*resultobj
= 0;
5443 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= wxGetUserName();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5463 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5464 PyObject
*resultobj
= 0;
5467 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 result
= wxGetHomeDir();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5487 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
= 0;
5489 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5490 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5492 bool temp1
= false ;
5493 PyObject
* obj0
= 0 ;
5494 char * kwnames
[] = {
5495 (char *) "user", NULL
5498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5501 arg1
= wxString_in_helper(obj0
);
5502 if (arg1
== NULL
) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= wxGetUserHome((wxString
const &)*arg1
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5516 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5533 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5534 PyObject
*resultobj
= 0;
5535 unsigned long result
;
5537 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 result
= (unsigned long)wxGetProcessId();
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5551 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5552 PyObject
*resultobj
= 0;
5554 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_Py_Void();
5568 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
= 0;
5570 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5571 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5572 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5573 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5574 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5576 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5577 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5578 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5579 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5580 int arg6
= (int) 0 ;
5581 wxWindow
*arg7
= (wxWindow
*) NULL
;
5582 int arg8
= (int) -1 ;
5583 int arg9
= (int) -1 ;
5585 bool temp1
= false ;
5586 bool temp2
= false ;
5587 bool temp3
= false ;
5588 bool temp4
= false ;
5589 bool temp5
= false ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5600 PyObject
* obj2
= 0 ;
5601 PyObject
* obj3
= 0 ;
5602 PyObject
* obj4
= 0 ;
5603 PyObject
* obj5
= 0 ;
5604 PyObject
* obj6
= 0 ;
5605 PyObject
* obj7
= 0 ;
5606 PyObject
* obj8
= 0 ;
5607 char * kwnames
[] = {
5608 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5614 arg1
= wxString_in_helper(obj0
);
5615 if (arg1
== NULL
) SWIG_fail
;
5621 arg2
= wxString_in_helper(obj1
);
5622 if (arg2
== NULL
) SWIG_fail
;
5628 arg3
= wxString_in_helper(obj2
);
5629 if (arg3
== NULL
) SWIG_fail
;
5635 arg4
= wxString_in_helper(obj3
);
5636 if (arg4
== NULL
) SWIG_fail
;
5642 arg5
= wxString_in_helper(obj4
);
5643 if (arg5
== NULL
) SWIG_fail
;
5648 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5649 if (!SWIG_IsOK(ecode6
)) {
5650 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5652 arg6
= static_cast< int >(val6
);
5655 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5656 if (!SWIG_IsOK(res7
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5659 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5662 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5663 if (!SWIG_IsOK(ecode8
)) {
5664 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5666 arg8
= static_cast< int >(val8
);
5669 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5670 if (!SWIG_IsOK(ecode9
)) {
5671 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5673 arg9
= static_cast< int >(val9
);
5676 if (!wxPyCheckForApp()) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5678 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5735 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
= 0;
5737 wxString
*arg1
= 0 ;
5738 wxString
*arg2
= 0 ;
5739 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5740 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5741 wxWindow
*arg4
= (wxWindow
*) NULL
;
5743 bool temp1
= false ;
5744 bool temp2
= false ;
5745 bool temp3
= false ;
5748 PyObject
* obj0
= 0 ;
5749 PyObject
* obj1
= 0 ;
5750 PyObject
* obj2
= 0 ;
5751 PyObject
* obj3
= 0 ;
5752 char * kwnames
[] = {
5753 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5758 arg1
= wxString_in_helper(obj0
);
5759 if (arg1
== NULL
) SWIG_fail
;
5763 arg2
= wxString_in_helper(obj1
);
5764 if (arg2
== NULL
) SWIG_fail
;
5769 arg3
= wxString_in_helper(obj2
);
5770 if (arg3
== NULL
) SWIG_fail
;
5775 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5776 if (!SWIG_IsOK(res4
)) {
5777 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5779 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5825 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
= 0;
5827 wxString
*arg1
= 0 ;
5828 wxString
*arg2
= 0 ;
5829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5831 wxWindow
*arg4
= (wxWindow
*) NULL
;
5833 bool temp1
= false ;
5834 bool temp2
= false ;
5835 bool temp3
= false ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 PyObject
* obj2
= 0 ;
5841 PyObject
* obj3
= 0 ;
5842 char * kwnames
[] = {
5843 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5848 arg1
= wxString_in_helper(obj0
);
5849 if (arg1
== NULL
) SWIG_fail
;
5853 arg2
= wxString_in_helper(obj1
);
5854 if (arg2
== NULL
) SWIG_fail
;
5859 arg3
= wxString_in_helper(obj2
);
5860 if (arg3
== NULL
) SWIG_fail
;
5865 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5866 if (!SWIG_IsOK(res4
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5869 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5872 if (!wxPyCheckForApp()) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5915 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
= 0;
5917 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5918 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5919 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5920 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5921 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5924 wxWindow
*arg5
= (wxWindow
*) NULL
;
5926 bool temp1
= false ;
5927 bool temp2
= false ;
5933 PyObject
* obj0
= 0 ;
5934 PyObject
* obj1
= 0 ;
5935 PyObject
* obj2
= 0 ;
5936 PyObject
* obj3
= 0 ;
5937 PyObject
* obj4
= 0 ;
5938 char * kwnames
[] = {
5939 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5945 arg1
= wxString_in_helper(obj0
);
5946 if (arg1
== NULL
) SWIG_fail
;
5952 arg2
= wxString_in_helper(obj1
);
5953 if (arg2
== NULL
) SWIG_fail
;
5958 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5959 if (!SWIG_IsOK(ecode3
)) {
5960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5962 arg3
= static_cast< long >(val3
);
5967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5971 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res5
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5975 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5978 if (!wxPyCheckForApp()) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6013 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
= 0;
6015 wxString
*arg1
= 0 ;
6016 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6017 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6018 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6019 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6020 wxWindow
*arg4
= (wxWindow
*) NULL
;
6021 int arg5
= (int) -1 ;
6022 int arg6
= (int) -1 ;
6023 bool arg7
= (bool) true ;
6025 bool temp1
= false ;
6026 bool temp2
= false ;
6027 bool temp3
= false ;
6036 PyObject
* obj0
= 0 ;
6037 PyObject
* obj1
= 0 ;
6038 PyObject
* obj2
= 0 ;
6039 PyObject
* obj3
= 0 ;
6040 PyObject
* obj4
= 0 ;
6041 PyObject
* obj5
= 0 ;
6042 PyObject
* obj6
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6049 arg1
= wxString_in_helper(obj0
);
6050 if (arg1
== NULL
) SWIG_fail
;
6055 arg2
= wxString_in_helper(obj1
);
6056 if (arg2
== NULL
) SWIG_fail
;
6062 arg3
= wxString_in_helper(obj2
);
6063 if (arg3
== NULL
) SWIG_fail
;
6068 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6069 if (!SWIG_IsOK(res4
)) {
6070 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6072 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6075 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6076 if (!SWIG_IsOK(ecode5
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6079 arg5
= static_cast< int >(val5
);
6082 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6083 if (!SWIG_IsOK(ecode6
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6086 arg6
= static_cast< int >(val6
);
6089 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6090 if (!SWIG_IsOK(ecode7
)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6093 arg7
= static_cast< bool >(val7
);
6096 if (!wxPyCheckForApp()) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6139 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
= 0;
6141 wxString
*arg1
= 0 ;
6142 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6143 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6144 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6145 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6146 wxWindow
*arg4
= (wxWindow
*) NULL
;
6148 bool temp1
= false ;
6149 bool temp2
= false ;
6150 bool temp3
= false ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 PyObject
* obj2
= 0 ;
6156 PyObject
* obj3
= 0 ;
6157 char * kwnames
[] = {
6158 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6163 arg1
= wxString_in_helper(obj0
);
6164 if (arg1
== NULL
) SWIG_fail
;
6169 arg2
= wxString_in_helper(obj1
);
6170 if (arg2
== NULL
) SWIG_fail
;
6176 arg3
= wxString_in_helper(obj2
);
6177 if (arg3
== NULL
) SWIG_fail
;
6182 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6183 if (!SWIG_IsOK(res4
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6186 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6189 if (!wxPyCheckForApp()) SWIG_fail
;
6190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6191 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6232 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
= 0;
6234 wxString
*arg1
= 0 ;
6235 wxString
*arg2
= 0 ;
6237 wxString
*arg4
= (wxString
*) 0 ;
6238 wxWindow
*arg5
= (wxWindow
*) NULL
;
6239 int arg6
= (int) -1 ;
6240 int arg7
= (int) -1 ;
6241 bool arg8
= (bool) true ;
6242 int arg9
= (int) 150 ;
6243 int arg10
= (int) 200 ;
6245 bool temp1
= false ;
6246 bool temp2
= false ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 PyObject
* obj2
= 0 ;
6262 PyObject
* obj3
= 0 ;
6263 PyObject
* obj4
= 0 ;
6264 PyObject
* obj5
= 0 ;
6265 PyObject
* obj6
= 0 ;
6266 PyObject
* obj7
= 0 ;
6267 PyObject
* obj8
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6274 arg1
= wxString_in_helper(obj0
);
6275 if (arg1
== NULL
) SWIG_fail
;
6279 arg2
= wxString_in_helper(obj1
);
6280 if (arg2
== NULL
) SWIG_fail
;
6284 arg3
= PyList_Size(obj2
);
6285 arg4
= wxString_LIST_helper(obj2
);
6286 if (arg4
== NULL
) SWIG_fail
;
6289 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6290 if (!SWIG_IsOK(res5
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6293 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6296 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6297 if (!SWIG_IsOK(ecode6
)) {
6298 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6300 arg6
= static_cast< int >(val6
);
6303 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6304 if (!SWIG_IsOK(ecode7
)) {
6305 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6307 arg7
= static_cast< int >(val7
);
6310 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6311 if (!SWIG_IsOK(ecode8
)) {
6312 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6314 arg8
= static_cast< bool >(val8
);
6317 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6318 if (!SWIG_IsOK(ecode9
)) {
6319 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6321 arg9
= static_cast< int >(val9
);
6324 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6325 if (!SWIG_IsOK(ecode10
)) {
6326 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6328 arg10
= static_cast< int >(val10
);
6331 if (!wxPyCheckForApp()) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6353 if (arg4
) delete [] arg4
;
6366 if (arg4
) delete [] arg4
;
6372 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
= 0;
6374 wxString
*arg1
= 0 ;
6375 wxString
*arg2
= 0 ;
6377 wxString
*arg4
= (wxString
*) 0 ;
6378 wxWindow
*arg5
= (wxWindow
*) NULL
;
6379 int arg6
= (int) -1 ;
6380 int arg7
= (int) -1 ;
6381 bool arg8
= (bool) true ;
6382 int arg9
= (int) 150 ;
6383 int arg10
= (int) 200 ;
6385 bool temp1
= false ;
6386 bool temp2
= false ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6401 PyObject
* obj2
= 0 ;
6402 PyObject
* obj3
= 0 ;
6403 PyObject
* obj4
= 0 ;
6404 PyObject
* obj5
= 0 ;
6405 PyObject
* obj6
= 0 ;
6406 PyObject
* obj7
= 0 ;
6407 PyObject
* obj8
= 0 ;
6408 char * kwnames
[] = {
6409 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6414 arg1
= wxString_in_helper(obj0
);
6415 if (arg1
== NULL
) SWIG_fail
;
6419 arg2
= wxString_in_helper(obj1
);
6420 if (arg2
== NULL
) SWIG_fail
;
6424 arg3
= PyList_Size(obj2
);
6425 arg4
= wxString_LIST_helper(obj2
);
6426 if (arg4
== NULL
) SWIG_fail
;
6429 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6430 if (!SWIG_IsOK(res5
)) {
6431 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6433 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6436 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6437 if (!SWIG_IsOK(ecode6
)) {
6438 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6440 arg6
= static_cast< int >(val6
);
6443 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6444 if (!SWIG_IsOK(ecode7
)) {
6445 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6447 arg7
= static_cast< int >(val7
);
6450 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6451 if (!SWIG_IsOK(ecode8
)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6454 arg8
= static_cast< bool >(val8
);
6457 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6458 if (!SWIG_IsOK(ecode9
)) {
6459 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6461 arg9
= static_cast< int >(val9
);
6464 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6465 if (!SWIG_IsOK(ecode10
)) {
6466 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6468 arg10
= static_cast< int >(val10
);
6471 if (!wxPyCheckForApp()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= SWIG_From_int(static_cast< int >(result
));
6487 if (arg4
) delete [] arg4
;
6500 if (arg4
) delete [] arg4
;
6506 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
= 0;
6508 wxString
*arg1
= 0 ;
6509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6511 int arg3
= (int) wxOK
|wxCENTRE
;
6512 wxWindow
*arg4
= (wxWindow
*) NULL
;
6513 int arg5
= (int) -1 ;
6514 int arg6
= (int) -1 ;
6516 bool temp1
= false ;
6517 bool temp2
= false ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 PyObject
* obj2
= 0 ;
6529 PyObject
* obj3
= 0 ;
6530 PyObject
* obj4
= 0 ;
6531 PyObject
* obj5
= 0 ;
6532 char * kwnames
[] = {
6533 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6538 arg1
= wxString_in_helper(obj0
);
6539 if (arg1
== NULL
) SWIG_fail
;
6544 arg2
= wxString_in_helper(obj1
);
6545 if (arg2
== NULL
) SWIG_fail
;
6550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6551 if (!SWIG_IsOK(ecode3
)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6554 arg3
= static_cast< int >(val3
);
6557 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6558 if (!SWIG_IsOK(res4
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6561 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6565 if (!SWIG_IsOK(ecode5
)) {
6566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6568 arg5
= static_cast< int >(val5
);
6571 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6572 if (!SWIG_IsOK(ecode6
)) {
6573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6575 arg6
= static_cast< int >(val6
);
6578 if (!wxPyCheckForApp()) SWIG_fail
;
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_From_int(static_cast< int >(result
));
6607 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= 0;
6609 wxString
*arg1
= 0 ;
6610 wxString
*arg2
= 0 ;
6611 wxString
*arg3
= 0 ;
6613 long arg5
= (long) 0 ;
6614 long arg6
= (long) 100 ;
6615 wxWindow
*arg7
= (wxWindow
*) NULL
;
6616 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6617 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6619 bool temp1
= false ;
6620 bool temp2
= false ;
6621 bool temp3
= false ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6633 PyObject
* obj2
= 0 ;
6634 PyObject
* obj3
= 0 ;
6635 PyObject
* obj4
= 0 ;
6636 PyObject
* obj5
= 0 ;
6637 PyObject
* obj6
= 0 ;
6638 PyObject
* obj7
= 0 ;
6639 char * kwnames
[] = {
6640 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6645 arg1
= wxString_in_helper(obj0
);
6646 if (arg1
== NULL
) SWIG_fail
;
6650 arg2
= wxString_in_helper(obj1
);
6651 if (arg2
== NULL
) SWIG_fail
;
6655 arg3
= wxString_in_helper(obj2
);
6656 if (arg3
== NULL
) SWIG_fail
;
6659 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6660 if (!SWIG_IsOK(ecode4
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6663 arg4
= static_cast< long >(val4
);
6665 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6666 if (!SWIG_IsOK(ecode5
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6669 arg5
= static_cast< long >(val5
);
6672 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6673 if (!SWIG_IsOK(ecode6
)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6676 arg6
= static_cast< long >(val6
);
6679 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6680 if (!SWIG_IsOK(res7
)) {
6681 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6683 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6688 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6692 if (!wxPyCheckForApp()) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_From_long(static_cast< long >(result
));
6729 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6730 PyObject
*resultobj
= 0;
6733 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (bool)wxColourDisplay();
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6750 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6751 PyObject
*resultobj
= 0;
6754 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6756 if (!wxPyCheckForApp()) SWIG_fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (int)wxDisplayDepth();
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_From_int(static_cast< int >(result
));
6769 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6770 PyObject
*resultobj
= 0;
6773 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6775 if (!wxPyCheckForApp()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (int)wxGetDisplayDepth();
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_From_int(static_cast< int >(result
));
6788 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6789 PyObject
*resultobj
= 0;
6790 int *arg1
= (int *) 0 ;
6791 int *arg2
= (int *) 0 ;
6793 int res1
= SWIG_TMPOBJ
;
6795 int res2
= SWIG_TMPOBJ
;
6799 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6801 if (!wxPyCheckForApp()) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 wxDisplaySize(arg1
,arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= SWIG_Py_Void();
6808 if (SWIG_IsTmpObj(res1
)) {
6809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6811 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6814 if (SWIG_IsTmpObj(res2
)) {
6815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6817 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6826 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6827 PyObject
*resultobj
= 0;
6830 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6832 if (!wxPyCheckForApp()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= wxGetDisplaySize();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6845 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6846 PyObject
*resultobj
= 0;
6847 int *arg1
= (int *) 0 ;
6848 int *arg2
= (int *) 0 ;
6850 int res1
= SWIG_TMPOBJ
;
6852 int res2
= SWIG_TMPOBJ
;
6856 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6858 if (!wxPyCheckForApp()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 wxDisplaySizeMM(arg1
,arg2
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_Py_Void();
6865 if (SWIG_IsTmpObj(res1
)) {
6866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6868 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6871 if (SWIG_IsTmpObj(res2
)) {
6872 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6874 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6883 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6884 PyObject
*resultobj
= 0;
6887 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6889 if (!wxPyCheckForApp()) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= wxGetDisplaySizeMM();
6892 wxPyEndAllowThreads(__tstate
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6902 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6903 PyObject
*resultobj
= 0;
6904 int *arg1
= (int *) 0 ;
6905 int *arg2
= (int *) 0 ;
6906 int *arg3
= (int *) 0 ;
6907 int *arg4
= (int *) 0 ;
6909 int res1
= SWIG_TMPOBJ
;
6911 int res2
= SWIG_TMPOBJ
;
6913 int res3
= SWIG_TMPOBJ
;
6915 int res4
= SWIG_TMPOBJ
;
6921 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6923 if (!wxPyCheckForApp()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_Py_Void();
6930 if (SWIG_IsTmpObj(res1
)) {
6931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6933 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6936 if (SWIG_IsTmpObj(res2
)) {
6937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6939 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6942 if (SWIG_IsTmpObj(res3
)) {
6943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6945 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6948 if (SWIG_IsTmpObj(res4
)) {
6949 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6951 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6960 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6961 PyObject
*resultobj
= 0;
6964 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6966 if (!wxPyCheckForApp()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= wxGetClientDisplayRect();
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6979 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
*resultobj
= 0;
6981 wxCursor
*arg1
= 0 ;
6984 PyObject
* obj0
= 0 ;
6985 char * kwnames
[] = {
6986 (char *) "cursor", NULL
6989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6990 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6991 if (!SWIG_IsOK(res1
)) {
6992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6997 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6999 if (!wxPyCheckForApp()) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7012 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 PyObject
*resultobj
= 0;
7016 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
7018 if (!wxPyCheckForApp()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (void *)wxGetXDisplay();
7021 wxPyEndAllowThreads(__tstate
);
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
7031 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
*resultobj
= 0;
7033 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
7036 PyObject
* obj0
= 0 ;
7037 char * kwnames
[] = {
7038 (char *) "cursor", NULL
7041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7047 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7050 if (!wxPyCheckForApp()) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxBeginBusyCursor(arg1
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= SWIG_Py_Void();
7063 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7064 PyObject
*resultobj
= 0;
7067 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7069 if (!wxPyCheckForApp()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= wxGetMousePosition();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7082 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7083 PyObject
*resultobj
= 0;
7084 wxWindow
*result
= 0 ;
7086 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7088 if (!wxPyCheckForApp()) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 result
= (wxWindow
*)FindWindowAtPointer();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= wxPyMake_wxObject(result
, 0);
7103 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7104 PyObject
*resultobj
= 0;
7105 wxWindow
*result
= 0 ;
7107 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7109 if (!wxPyCheckForApp()) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (wxWindow
*)wxGetActiveWindow();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= wxPyMake_wxObject(result
, 0);
7124 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= 0;
7127 wxWindow
*result
= 0 ;
7129 PyObject
* obj0
= 0 ;
7130 char * kwnames
[] = {
7134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7137 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7140 if (!wxPyCheckForApp()) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= wxPyMake_wxObject(result
, 0);
7155 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
= 0;
7158 wxWindow
*result
= 0 ;
7160 PyObject
* obj0
= 0 ;
7161 char * kwnames
[] = {
7165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7168 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7171 if (!wxPyCheckForApp()) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= wxPyMake_wxObject(result
, 0);
7186 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
= 0;
7188 wxWindow
*arg1
= (wxWindow
*) 0 ;
7189 wxWindow
*result
= 0 ;
7192 PyObject
* obj0
= 0 ;
7193 char * kwnames
[] = {
7194 (char *) "win", NULL
7197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7199 if (!SWIG_IsOK(res1
)) {
7200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7204 if (!wxPyCheckForApp()) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7211 resultobj
= wxPyMake_wxObject(result
, 0);
7219 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
= 0;
7221 wxString
*arg1
= 0 ;
7223 bool temp1
= false ;
7224 PyObject
* obj0
= 0 ;
7225 char * kwnames
[] = {
7226 (char *) "url", NULL
7229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7231 arg1
= wxString_in_helper(obj0
);
7232 if (arg1
== NULL
) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7258 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
= 0;
7264 PyObject
* obj0
= 0 ;
7265 char * kwnames
[] = {
7266 (char *) "key", NULL
7269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7270 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7271 if (!SWIG_IsOK(ecode1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7274 arg1
= static_cast< wxKeyCode
>(val1
);
7276 if (!wxPyCheckForApp()) SWIG_fail
;
7277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 result
= (bool)wxGetKeyState(arg1
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7291 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxMouseState
*result
= 0 ;
7295 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 result
= (wxMouseState
*)new wxMouseState();
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7309 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 PyObject
*resultobj
= 0;
7311 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7322 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= SWIG_Py_Void();
7337 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7338 PyObject
*resultobj
= 0;
7339 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7343 PyObject
*swig_obj
[1] ;
7345 if (!args
) SWIG_fail
;
7347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7348 if (!SWIG_IsOK(res1
)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7351 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= (int)(arg1
)->GetX();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_From_int(static_cast< int >(result
));
7365 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 PyObject
*resultobj
= 0;
7367 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7371 PyObject
*swig_obj
[1] ;
7373 if (!args
) SWIG_fail
;
7375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7376 if (!SWIG_IsOK(res1
)) {
7377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7379 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (int)(arg1
)->GetY();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_From_int(static_cast< int >(result
));
7393 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7394 PyObject
*resultobj
= 0;
7395 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7399 PyObject
*swig_obj
[1] ;
7401 if (!args
) SWIG_fail
;
7403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7404 if (!SWIG_IsOK(res1
)) {
7405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7407 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (bool)(arg1
)->LeftDown();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7423 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7424 PyObject
*resultobj
= 0;
7425 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7429 PyObject
*swig_obj
[1] ;
7431 if (!args
) SWIG_fail
;
7433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7434 if (!SWIG_IsOK(res1
)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7437 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7440 result
= (bool)(arg1
)->MiddleDown();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7453 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7454 PyObject
*resultobj
= 0;
7455 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7459 PyObject
*swig_obj
[1] ;
7461 if (!args
) SWIG_fail
;
7463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7464 if (!SWIG_IsOK(res1
)) {
7465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7467 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 result
= (bool)(arg1
)->RightDown();
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7483 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7484 PyObject
*resultobj
= 0;
7485 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7489 PyObject
*swig_obj
[1] ;
7491 if (!args
) SWIG_fail
;
7493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7494 if (!SWIG_IsOK(res1
)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7497 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (bool)(arg1
)->ControlDown();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7513 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7514 PyObject
*resultobj
= 0;
7515 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7519 PyObject
*swig_obj
[1] ;
7521 if (!args
) SWIG_fail
;
7523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7524 if (!SWIG_IsOK(res1
)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7527 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (bool)(arg1
)->ShiftDown();
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7543 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7544 PyObject
*resultobj
= 0;
7545 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7549 PyObject
*swig_obj
[1] ;
7551 if (!args
) SWIG_fail
;
7553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7554 if (!SWIG_IsOK(res1
)) {
7555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7557 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (bool)(arg1
)->AltDown();
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7573 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7574 PyObject
*resultobj
= 0;
7575 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7579 PyObject
*swig_obj
[1] ;
7581 if (!args
) SWIG_fail
;
7583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7584 if (!SWIG_IsOK(res1
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7587 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (bool)(arg1
)->MetaDown();
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7603 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7604 PyObject
*resultobj
= 0;
7605 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7609 PyObject
*swig_obj
[1] ;
7611 if (!args
) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7617 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (bool)(arg1
)->CmdDown();
7621 wxPyEndAllowThreads(__tstate
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7633 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
= 0;
7635 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7643 char * kwnames
[] = {
7644 (char *) "self",(char *) "x", NULL
7647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7649 if (!SWIG_IsOK(res1
)) {
7650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7652 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7654 if (!SWIG_IsOK(ecode2
)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7657 arg2
= static_cast< int >(val2
);
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_Py_Void();
7671 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
= 0;
7673 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7680 PyObject
* obj1
= 0 ;
7681 char * kwnames
[] = {
7682 (char *) "self",(char *) "y", NULL
7685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7687 if (!SWIG_IsOK(res1
)) {
7688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7690 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7692 if (!SWIG_IsOK(ecode2
)) {
7693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7695 arg2
= static_cast< int >(val2
);
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= SWIG_Py_Void();
7709 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
= 0;
7711 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7717 PyObject
* obj0
= 0 ;
7718 PyObject
* obj1
= 0 ;
7719 char * kwnames
[] = {
7720 (char *) "self",(char *) "down", NULL
7723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7725 if (!SWIG_IsOK(res1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7728 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7729 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7730 if (!SWIG_IsOK(ecode2
)) {
7731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7733 arg2
= static_cast< bool >(val2
);
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 (arg1
)->SetLeftDown(arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_Py_Void();
7747 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= 0;
7749 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "self",(char *) "down", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7766 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7767 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7768 if (!SWIG_IsOK(ecode2
)) {
7769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7771 arg2
= static_cast< bool >(val2
);
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 (arg1
)->SetMiddleDown(arg2
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_Py_Void();
7785 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
= 0;
7787 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7793 PyObject
* obj0
= 0 ;
7794 PyObject
* obj1
= 0 ;
7795 char * kwnames
[] = {
7796 (char *) "self",(char *) "down", NULL
7799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7801 if (!SWIG_IsOK(res1
)) {
7802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7804 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7806 if (!SWIG_IsOK(ecode2
)) {
7807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7809 arg2
= static_cast< bool >(val2
);
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 (arg1
)->SetRightDown(arg2
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_Py_Void();
7823 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
= 0;
7825 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 char * kwnames
[] = {
7834 (char *) "self",(char *) "down", NULL
7837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7842 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7843 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7844 if (!SWIG_IsOK(ecode2
)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7847 arg2
= static_cast< bool >(val2
);
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 (arg1
)->SetControlDown(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_Py_Void();
7861 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
= 0;
7863 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 char * kwnames
[] = {
7872 (char *) "self",(char *) "down", NULL
7875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7877 if (!SWIG_IsOK(res1
)) {
7878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7880 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7881 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7882 if (!SWIG_IsOK(ecode2
)) {
7883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7885 arg2
= static_cast< bool >(val2
);
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 (arg1
)->SetShiftDown(arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= SWIG_Py_Void();
7899 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
= 0;
7901 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 char * kwnames
[] = {
7910 (char *) "self",(char *) "down", NULL
7913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7918 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7920 if (!SWIG_IsOK(ecode2
)) {
7921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7923 arg2
= static_cast< bool >(val2
);
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 (arg1
)->SetAltDown(arg2
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_Py_Void();
7937 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= 0;
7939 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7947 char * kwnames
[] = {
7948 (char *) "self",(char *) "down", NULL
7951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7953 if (!SWIG_IsOK(res1
)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7956 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7958 if (!SWIG_IsOK(ecode2
)) {
7959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7961 arg2
= static_cast< bool >(val2
);
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->SetMetaDown(arg2
);
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_Py_Void();
7975 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7978 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7979 return SWIG_Py_Void();
7982 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7983 return SWIG_Python_InitShadowInstance(args
);
7986 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7987 PyObject
*resultobj
= 0;
7988 wxMouseState result
;
7990 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 result
= wxGetMouseState();
7994 wxPyEndAllowThreads(__tstate
);
7995 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
8004 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8005 PyObject
*resultobj
= 0;
8007 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
8009 if (!wxPyCheckForApp()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 wxWakeUpMainThread();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_Py_Void();
8022 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 PyObject
*resultobj
= 0;
8025 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
8027 if (!wxPyCheckForApp()) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_Py_Void();
8040 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8041 PyObject
*resultobj
= 0;
8043 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8045 if (!wxPyCheckForApp()) SWIG_fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= SWIG_Py_Void();
8058 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8059 PyObject
*resultobj
= 0;
8060 wxMutexGuiLocker
*result
= 0 ;
8062 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8064 if (!wxPyCheckForApp()) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8077 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 PyObject
*resultobj
= 0;
8079 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8082 PyObject
*swig_obj
[1] ;
8084 if (!args
) SWIG_fail
;
8086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8087 if (!SWIG_IsOK(res1
)) {
8088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8090 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= SWIG_Py_Void();
8105 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8108 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8109 return SWIG_Py_Void();
8112 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8113 return SWIG_Python_InitShadowInstance(args
);
8116 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8117 PyObject
*resultobj
= 0;
8120 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (bool)wxThread_IsMain();
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8136 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
= 0;
8138 wxString
*arg1
= 0 ;
8139 wxToolTip
*result
= 0 ;
8140 bool temp1
= false ;
8141 PyObject
* obj0
= 0 ;
8142 char * kwnames
[] = {
8143 (char *) "tip", NULL
8146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8148 arg1
= wxString_in_helper(obj0
);
8149 if (arg1
== NULL
) SWIG_fail
;
8153 if (!wxPyCheckForApp()) SWIG_fail
;
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8174 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8175 PyObject
*resultobj
= 0;
8176 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8179 PyObject
*swig_obj
[1] ;
8181 if (!args
) SWIG_fail
;
8183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8184 if (!SWIG_IsOK(res1
)) {
8185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8187 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= SWIG_Py_Void();
8202 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
= 0;
8204 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8205 wxString
*arg2
= 0 ;
8208 bool temp2
= false ;
8209 PyObject
* obj0
= 0 ;
8210 PyObject
* obj1
= 0 ;
8211 char * kwnames
[] = {
8212 (char *) "self",(char *) "tip", NULL
8215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8217 if (!SWIG_IsOK(res1
)) {
8218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8220 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8222 arg2
= wxString_in_helper(obj1
);
8223 if (arg2
== NULL
) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 (arg1
)->SetTip((wxString
const &)*arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 resultobj
= SWIG_Py_Void();
8247 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8248 PyObject
*resultobj
= 0;
8249 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8253 PyObject
*swig_obj
[1] ;
8255 if (!args
) SWIG_fail
;
8257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8258 if (!SWIG_IsOK(res1
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8261 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (arg1
)->GetTip();
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8281 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8282 PyObject
*resultobj
= 0;
8283 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8284 wxWindow
*result
= 0 ;
8287 PyObject
*swig_obj
[1] ;
8289 if (!args
) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8295 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (wxWindow
*)(arg1
)->GetWindow();
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= wxPyMake_wxObject(result
, 0);
8311 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
= 0;
8316 PyObject
* obj0
= 0 ;
8317 char * kwnames
[] = {
8318 (char *) "flag", NULL
8321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8322 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8323 if (!SWIG_IsOK(ecode1
)) {
8324 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8326 arg1
= static_cast< bool >(val1
);
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 wxToolTip::Enable(arg1
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 resultobj
= SWIG_Py_Void();
8340 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
= 0;
8345 PyObject
* obj0
= 0 ;
8346 char * kwnames
[] = {
8347 (char *) "milliseconds", NULL
8350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8351 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8352 if (!SWIG_IsOK(ecode1
)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8355 arg1
= static_cast< long >(val1
);
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 wxToolTip::SetDelay(arg1
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_Py_Void();
8369 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8372 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8373 return SWIG_Py_Void();
8376 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8377 return SWIG_Python_InitShadowInstance(args
);
8380 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
= 0;
8382 wxWindow
*arg1
= (wxWindow
*) 0 ;
8384 wxCaret
*result
= 0 ;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 char * kwnames
[] = {
8391 (char *) "window",(char *) "size", NULL
8394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8396 if (!SWIG_IsOK(res1
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8405 if (!wxPyCheckForApp()) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8418 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 PyObject
*resultobj
= 0;
8420 wxCaret
*arg1
= (wxCaret
*) 0 ;
8423 PyObject
*swig_obj
[1] ;
8425 if (!args
) SWIG_fail
;
8427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8428 if (!SWIG_IsOK(res1
)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8431 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_Py_Void();
8446 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8447 PyObject
*resultobj
= 0;
8448 wxCaret
*arg1
= (wxCaret
*) 0 ;
8451 PyObject
*swig_obj
[1] ;
8453 if (!args
) SWIG_fail
;
8455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8456 if (!SWIG_IsOK(res1
)) {
8457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8459 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxCaret_Destroy(arg1
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= SWIG_Py_Void();
8473 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8474 PyObject
*resultobj
= 0;
8475 wxCaret
*arg1
= (wxCaret
*) 0 ;
8479 PyObject
*swig_obj
[1] ;
8481 if (!args
) SWIG_fail
;
8483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8484 if (!SWIG_IsOK(res1
)) {
8485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8487 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (bool)(arg1
)->IsOk();
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8503 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8504 PyObject
*resultobj
= 0;
8505 wxCaret
*arg1
= (wxCaret
*) 0 ;
8509 PyObject
*swig_obj
[1] ;
8511 if (!args
) SWIG_fail
;
8513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8514 if (!SWIG_IsOK(res1
)) {
8515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8517 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 result
= (bool)(arg1
)->IsVisible();
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8533 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8534 PyObject
*resultobj
= 0;
8535 wxCaret
*arg1
= (wxCaret
*) 0 ;
8539 PyObject
*swig_obj
[1] ;
8541 if (!args
) SWIG_fail
;
8543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8544 if (!SWIG_IsOK(res1
)) {
8545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8547 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (arg1
)->GetPosition();
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8561 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8562 PyObject
*resultobj
= 0;
8563 wxCaret
*arg1
= (wxCaret
*) 0 ;
8564 int *arg2
= (int *) 0 ;
8565 int *arg3
= (int *) 0 ;
8569 int res2
= SWIG_TMPOBJ
;
8571 int res3
= SWIG_TMPOBJ
;
8572 PyObject
*swig_obj
[1] ;
8576 if (!args
) SWIG_fail
;
8578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8579 if (!SWIG_IsOK(res1
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8582 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->GetPosition(arg2
,arg3
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_Py_Void();
8590 if (SWIG_IsTmpObj(res2
)) {
8591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8593 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8596 if (SWIG_IsTmpObj(res3
)) {
8597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8599 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8608 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 PyObject
*resultobj
= 0;
8610 wxCaret
*arg1
= (wxCaret
*) 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8622 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (arg1
)->GetSize();
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8636 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxCaret
*arg1
= (wxCaret
*) 0 ;
8639 int *arg2
= (int *) 0 ;
8640 int *arg3
= (int *) 0 ;
8644 int res2
= SWIG_TMPOBJ
;
8646 int res3
= SWIG_TMPOBJ
;
8647 PyObject
*swig_obj
[1] ;
8651 if (!args
) SWIG_fail
;
8653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8654 if (!SWIG_IsOK(res1
)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8657 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 (arg1
)->GetSize(arg2
,arg3
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_Py_Void();
8665 if (SWIG_IsTmpObj(res2
)) {
8666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8668 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8671 if (SWIG_IsTmpObj(res3
)) {
8672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8674 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8683 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 PyObject
*resultobj
= 0;
8685 wxCaret
*arg1
= (wxCaret
*) 0 ;
8686 wxWindow
*result
= 0 ;
8689 PyObject
*swig_obj
[1] ;
8691 if (!args
) SWIG_fail
;
8693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8694 if (!SWIG_IsOK(res1
)) {
8695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8697 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 result
= (wxWindow
*)(arg1
)->GetWindow();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 resultobj
= wxPyMake_wxObject(result
, 0);
8713 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8714 PyObject
*resultobj
= 0;
8715 wxCaret
*arg1
= (wxCaret
*) 0 ;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8727 char * kwnames
[] = {
8728 (char *) "self",(char *) "x",(char *) "y", NULL
8731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8733 if (!SWIG_IsOK(res1
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8736 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8738 if (!SWIG_IsOK(ecode2
)) {
8739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8741 arg2
= static_cast< int >(val2
);
8742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8743 if (!SWIG_IsOK(ecode3
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8746 arg3
= static_cast< int >(val3
);
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->Move(arg2
,arg3
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_Py_Void();
8760 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
= 0;
8762 wxCaret
*arg1
= (wxCaret
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8768 PyObject
* obj1
= 0 ;
8769 char * kwnames
[] = {
8770 (char *) "self",(char *) "pt", NULL
8773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8775 if (!SWIG_IsOK(res1
)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8778 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8781 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->Move((wxPoint
const &)*arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_Py_Void();
8796 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
= 0;
8798 wxCaret
*arg1
= (wxCaret
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 PyObject
* obj2
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "self",(char *) "width",(char *) "height", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8819 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8821 if (!SWIG_IsOK(ecode2
)) {
8822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8824 arg2
= static_cast< int >(val2
);
8825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8826 if (!SWIG_IsOK(ecode3
)) {
8827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8829 arg3
= static_cast< int >(val3
);
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 (arg1
)->SetSize(arg2
,arg3
);
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= SWIG_Py_Void();
8843 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8844 PyObject
*resultobj
= 0;
8845 wxCaret
*arg1
= (wxCaret
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8852 char * kwnames
[] = {
8853 (char *) "self",(char *) "size", NULL
8856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8861 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 (arg1
)->SetSize((wxSize
const &)*arg2
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= SWIG_Py_Void();
8879 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
= 0;
8881 wxCaret
*arg1
= (wxCaret
*) 0 ;
8882 int arg2
= (int) true ;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 char * kwnames
[] = {
8890 (char *) "self",(char *) "show", NULL
8893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",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_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8898 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8901 if (!SWIG_IsOK(ecode2
)) {
8902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8904 arg2
= static_cast< int >(val2
);
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_Py_Void();
8919 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8920 PyObject
*resultobj
= 0;
8921 wxCaret
*arg1
= (wxCaret
*) 0 ;
8924 PyObject
*swig_obj
[1] ;
8926 if (!args
) SWIG_fail
;
8928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8929 if (!SWIG_IsOK(res1
)) {
8930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8932 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 wxPyEndAllowThreads(__tstate
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= SWIG_Py_Void();
8946 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 PyObject
*resultobj
= 0;
8950 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (int)wxCaret::GetBlinkTime();
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 resultobj
= SWIG_From_int(static_cast< int >(result
));
8964 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8969 PyObject
* obj0
= 0 ;
8970 char * kwnames
[] = {
8971 (char *) "milliseconds", NULL
8974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8976 if (!SWIG_IsOK(ecode1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8979 arg1
= static_cast< int >(val1
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxCaret::SetBlinkTime(arg1
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
8993 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8996 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8997 return SWIG_Py_Void();
9000 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 return SWIG_Python_InitShadowInstance(args
);
9004 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
= 0;
9006 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
9007 wxBusyCursor
*result
= 0 ;
9010 PyObject
* obj0
= 0 ;
9011 char * kwnames
[] = {
9012 (char *) "cursor", NULL
9015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
9017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9018 if (!SWIG_IsOK(res1
)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9021 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9024 if (!wxPyCheckForApp()) SWIG_fail
;
9025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9026 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
9037 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9038 PyObject
*resultobj
= 0;
9039 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9042 PyObject
*swig_obj
[1] ;
9044 if (!args
) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9050 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= SWIG_Py_Void();
9065 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9067 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9068 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9069 return SWIG_Py_Void();
9072 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9073 return SWIG_Python_InitShadowInstance(args
);
9076 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
= 0;
9078 wxWindow
*arg1
= (wxWindow
*) NULL
;
9079 wxWindowDisabler
*result
= 0 ;
9082 PyObject
* obj0
= 0 ;
9083 char * kwnames
[] = {
9084 (char *) "winToSkip", NULL
9087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9096 if (!wxPyCheckForApp()) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9109 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9110 PyObject
*resultobj
= 0;
9111 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9114 PyObject
*swig_obj
[1] ;
9116 if (!args
) SWIG_fail
;
9118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9119 if (!SWIG_IsOK(res1
)) {
9120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9122 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_Py_Void();
9137 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9140 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9141 return SWIG_Py_Void();
9144 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 return SWIG_Python_InitShadowInstance(args
);
9148 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= 0;
9150 wxString
*arg1
= 0 ;
9151 wxBusyInfo
*result
= 0 ;
9152 bool temp1
= false ;
9153 PyObject
* obj0
= 0 ;
9154 char * kwnames
[] = {
9155 (char *) "message", NULL
9158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9160 arg1
= wxString_in_helper(obj0
);
9161 if (arg1
== NULL
) SWIG_fail
;
9165 if (!wxPyCheckForApp()) SWIG_fail
;
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9186 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9187 PyObject
*resultobj
= 0;
9188 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9191 PyObject
*swig_obj
[1] ;
9193 if (!args
) SWIG_fail
;
9195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9196 if (!SWIG_IsOK(res1
)) {
9197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9199 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_Py_Void();
9214 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9216 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9217 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9218 return SWIG_Py_Void();
9221 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9222 return SWIG_Python_InitShadowInstance(args
);
9225 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxStopWatch
*result
= 0 ;
9229 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (wxStopWatch
*)new wxStopWatch();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9243 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
= 0;
9245 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9246 long arg2
= (long) 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 char * kwnames
[] = {
9254 (char *) "self",(char *) "t0", NULL
9257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9259 if (!SWIG_IsOK(res1
)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9262 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9265 if (!SWIG_IsOK(ecode2
)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9268 arg2
= static_cast< long >(val2
);
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->Start(arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9283 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9296 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_Py_Void();
9310 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9311 PyObject
*resultobj
= 0;
9312 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9315 PyObject
*swig_obj
[1] ;
9317 if (!args
) SWIG_fail
;
9319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9320 if (!SWIG_IsOK(res1
)) {
9321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9323 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_Py_Void();
9337 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9351 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_long(static_cast< long >(result
));
9365 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9368 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9369 return SWIG_Py_Void();
9372 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9373 return SWIG_Python_InitShadowInstance(args
);
9376 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
= 0;
9378 int arg1
= (int) 9 ;
9379 int arg2
= (int) wxID_FILE1
;
9380 wxFileHistory
*result
= 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 char * kwnames
[] = {
9388 (char *) "maxFiles",(char *) "idBase", NULL
9391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9393 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9394 if (!SWIG_IsOK(ecode1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9397 arg1
= static_cast< int >(val1
);
9400 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9401 if (!SWIG_IsOK(ecode2
)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9404 arg2
= static_cast< int >(val2
);
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9419 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9420 PyObject
*resultobj
= 0;
9421 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9424 PyObject
*swig_obj
[1] ;
9426 if (!args
) SWIG_fail
;
9428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9429 if (!SWIG_IsOK(res1
)) {
9430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9432 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 wxPyEndAllowThreads(__tstate
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9440 resultobj
= SWIG_Py_Void();
9447 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
= 0;
9449 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9450 wxString
*arg2
= 0 ;
9453 bool temp2
= false ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "file", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9465 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9467 arg2
= wxString_in_helper(obj1
);
9468 if (arg2
== NULL
) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_Py_Void();
9492 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
= 0;
9494 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9500 PyObject
* obj0
= 0 ;
9501 PyObject
* obj1
= 0 ;
9502 char * kwnames
[] = {
9503 (char *) "self",(char *) "i", NULL
9506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9508 if (!SWIG_IsOK(res1
)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9511 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9513 if (!SWIG_IsOK(ecode2
)) {
9514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9516 arg2
= static_cast< int >(val2
);
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 (arg1
)->RemoveFileFromHistory(arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_Py_Void();
9530 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9531 PyObject
*resultobj
= 0;
9532 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9536 PyObject
*swig_obj
[1] ;
9538 if (!args
) SWIG_fail
;
9540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9541 if (!SWIG_IsOK(res1
)) {
9542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9544 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_From_int(static_cast< int >(result
));
9558 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
= 0;
9560 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9561 wxMenu
*arg2
= (wxMenu
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "self",(char *) "menu", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9577 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9579 if (!SWIG_IsOK(res2
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9582 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9585 (arg1
)->UseMenu(arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_Py_Void();
9596 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
= 0;
9598 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9599 wxMenu
*arg2
= (wxMenu
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 char * kwnames
[] = {
9607 (char *) "self",(char *) "menu", NULL
9610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9612 if (!SWIG_IsOK(res1
)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9615 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9616 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9617 if (!SWIG_IsOK(res2
)) {
9618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9620 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 (arg1
)->RemoveMenu(arg2
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_Py_Void();
9634 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
= 0;
9636 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9637 wxConfigBase
*arg2
= 0 ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 char * kwnames
[] = {
9645 (char *) "self",(char *) "config", NULL
9648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9650 if (!SWIG_IsOK(res1
)) {
9651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9653 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9654 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9655 if (!SWIG_IsOK(res2
)) {
9656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9661 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->Load(*arg2
);
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= SWIG_Py_Void();
9675 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
= 0;
9677 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9678 wxConfigBase
*arg2
= 0 ;
9683 PyObject
* obj0
= 0 ;
9684 PyObject
* obj1
= 0 ;
9685 char * kwnames
[] = {
9686 (char *) "self",(char *) "config", NULL
9689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9691 if (!SWIG_IsOK(res1
)) {
9692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9694 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9696 if (!SWIG_IsOK(res2
)) {
9697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9702 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->Save(*arg2
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 resultobj
= SWIG_Py_Void();
9716 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9717 PyObject
*resultobj
= 0;
9718 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9721 PyObject
*swig_obj
[1] ;
9723 if (!args
) SWIG_fail
;
9725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9726 if (!SWIG_IsOK(res1
)) {
9727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9729 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->AddFilesToMenu();
9733 wxPyEndAllowThreads(__tstate
);
9734 if (PyErr_Occurred()) SWIG_fail
;
9736 resultobj
= SWIG_Py_Void();
9743 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
= 0;
9745 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9746 wxMenu
*arg2
= (wxMenu
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9753 char * kwnames
[] = {
9754 (char *) "self",(char *) "menu", NULL
9757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9762 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9764 if (!SWIG_IsOK(res2
)) {
9765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9767 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 (arg1
)->AddFilesToMenu(arg2
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 resultobj
= SWIG_Py_Void();
9781 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
= 0;
9783 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 char * kwnames
[] = {
9793 (char *) "self",(char *) "i", NULL
9796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9798 if (!SWIG_IsOK(res1
)) {
9799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9801 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9803 if (!SWIG_IsOK(ecode2
)) {
9804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9806 arg2
= static_cast< int >(val2
);
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9826 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9827 PyObject
*resultobj
= 0;
9828 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9832 PyObject
*swig_obj
[1] ;
9834 if (!args
) SWIG_fail
;
9836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9837 if (!SWIG_IsOK(res1
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9840 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_From_int(static_cast< int >(result
));
9854 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9857 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9858 return SWIG_Py_Void();
9861 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9862 return SWIG_Python_InitShadowInstance(args
);
9865 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= 0;
9867 wxString
*arg1
= 0 ;
9868 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9869 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9870 wxSingleInstanceChecker
*result
= 0 ;
9871 bool temp1
= false ;
9872 bool temp2
= false ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 char * kwnames
[] = {
9876 (char *) "name",(char *) "path", NULL
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9881 arg1
= wxString_in_helper(obj0
);
9882 if (arg1
== NULL
) SWIG_fail
;
9887 arg2
= wxString_in_helper(obj1
);
9888 if (arg2
== NULL
) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9921 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9922 PyObject
*resultobj
= 0;
9923 wxSingleInstanceChecker
*result
= 0 ;
9925 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9939 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9940 PyObject
*resultobj
= 0;
9941 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9944 PyObject
*swig_obj
[1] ;
9946 if (!args
) SWIG_fail
;
9948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9949 if (!SWIG_IsOK(res1
)) {
9950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9952 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_Py_Void();
9967 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9970 wxString
*arg2
= 0 ;
9971 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9972 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9976 bool temp2
= false ;
9977 bool temp3
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "self",(char *) "name",(char *) "path", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9990 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9992 arg2
= wxString_in_helper(obj1
);
9993 if (arg2
== NULL
) SWIG_fail
;
9998 arg3
= wxString_in_helper(obj2
);
9999 if (arg3
== NULL
) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10034 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10035 PyObject
*resultobj
= 0;
10036 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
10040 PyObject
*swig_obj
[1] ;
10042 if (!args
) SWIG_fail
;
10043 swig_obj
[0] = args
;
10044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10045 if (!SWIG_IsOK(res1
)) {
10046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10048 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10064 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10067 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10068 return SWIG_Py_Void();
10071 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10072 return SWIG_Python_InitShadowInstance(args
);
10075 SWIGINTERN PyObject
*_wrap_new_PlatformInformation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10076 PyObject
*resultobj
= 0;
10077 wxPlatformInfo
*result
= 0 ;
10079 if (!SWIG_Python_UnpackTuple(args
,"new_PlatformInformation",0,0,0)) SWIG_fail
;
10081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 result
= (wxPlatformInfo
*)new wxPlatformInfo();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPlatformInfo
, SWIG_POINTER_NEW
| 0 );
10093 SWIGINTERN PyObject
*_wrap_PlatformInformation___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
= 0;
10095 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10096 wxPlatformInfo
*arg2
= 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 char * kwnames
[] = {
10105 (char *) "self",(char *) "t", NULL
10108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10110 if (!SWIG_IsOK(res1
)) {
10111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___eq__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10113 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10115 if (!SWIG_IsOK(res2
)) {
10116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___eq__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10121 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator ==((wxPlatformInfo
const &)*arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10137 SWIGINTERN PyObject
*_wrap_PlatformInformation___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
= 0;
10139 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10140 wxPlatformInfo
*arg2
= 0 ;
10146 PyObject
* obj0
= 0 ;
10147 PyObject
* obj1
= 0 ;
10148 char * kwnames
[] = {
10149 (char *) "self",(char *) "t", NULL
10152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation___ne__" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10157 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPlatformInfo
, 0 | 0);
10159 if (!SWIG_IsOK(res2
)) {
10160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PlatformInformation___ne__" "', expected argument " "2"" of type '" "wxPlatformInfo const &""'");
10165 arg2
= reinterpret_cast< wxPlatformInfo
* >(argp2
);
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (bool)((wxPlatformInfo
const *)arg1
)->operator !=((wxPlatformInfo
const &)*arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10181 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10182 PyObject
*resultobj
= 0;
10183 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10187 PyObject
*swig_obj
[1] ;
10189 if (!args
) SWIG_fail
;
10190 swig_obj
[0] = args
;
10191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10195 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMajorVersion();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_From_int(static_cast< int >(result
));
10209 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOSMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10210 PyObject
*resultobj
= 0;
10211 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10215 PyObject
*swig_obj
[1] ;
10217 if (!args
) SWIG_fail
;
10218 swig_obj
[0] = args
;
10219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOSMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10223 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)((wxPlatformInfo
const *)arg1
)->GetOSMinorVersion();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= SWIG_From_int(static_cast< int >(result
));
10237 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMajorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10238 PyObject
*resultobj
= 0;
10239 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10243 PyObject
*swig_obj
[1] ;
10245 if (!args
) SWIG_fail
;
10246 swig_obj
[0] = args
;
10247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMajorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10251 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMajorVersion();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_From_int(static_cast< int >(result
));
10265 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetToolkitMinorVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetToolkitMinorVersion" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10279 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (int)((wxPlatformInfo
const *)arg1
)->GetToolkitMinorVersion();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_int(static_cast< int >(result
));
10293 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsUsingUniversalWidgets(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10294 PyObject
*resultobj
= 0;
10295 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10299 PyObject
*swig_obj
[1] ;
10301 if (!args
) SWIG_fail
;
10302 swig_obj
[0] = args
;
10303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10304 if (!SWIG_IsOK(res1
)) {
10305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsUsingUniversalWidgets" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10307 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsUsingUniversalWidgets();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10324 PyObject
*resultobj
= 0;
10325 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10326 wxOperatingSystemId result
;
10329 PyObject
*swig_obj
[1] ;
10331 if (!args
) SWIG_fail
;
10332 swig_obj
[0] = args
;
10333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10334 if (!SWIG_IsOK(res1
)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10337 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxOperatingSystemId
)((wxPlatformInfo
const *)arg1
)->GetOperatingSystemId();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= SWIG_From_int(static_cast< int >(result
));
10351 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10352 PyObject
*resultobj
= 0;
10353 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10357 PyObject
*swig_obj
[1] ;
10359 if (!args
) SWIG_fail
;
10360 swig_obj
[0] = args
;
10361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10365 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (wxPortId
)((wxPlatformInfo
const *)arg1
)->GetPortId();
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_From_int(static_cast< int >(result
));
10379 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10380 PyObject
*resultobj
= 0;
10381 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10382 wxArchitecture result
;
10385 PyObject
*swig_obj
[1] ;
10387 if (!args
) SWIG_fail
;
10388 swig_obj
[0] = args
;
10389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10390 if (!SWIG_IsOK(res1
)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10393 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (wxArchitecture
)((wxPlatformInfo
const *)arg1
)->GetArchitecture();
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_From_int(static_cast< int >(result
));
10407 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10408 PyObject
*resultobj
= 0;
10409 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10410 wxEndianness result
;
10413 PyObject
*swig_obj
[1] ;
10415 if (!args
) SWIG_fail
;
10416 swig_obj
[0] = args
;
10417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10418 if (!SWIG_IsOK(res1
)) {
10419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10421 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (wxEndianness
)((wxPlatformInfo
const *)arg1
)->GetEndianness();
10425 wxPyEndAllowThreads(__tstate
);
10426 if (PyErr_Occurred()) SWIG_fail
;
10428 resultobj
= SWIG_From_int(static_cast< int >(result
));
10435 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemFamilyName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10436 PyObject
*resultobj
= 0;
10437 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10441 PyObject
*swig_obj
[1] ;
10443 if (!args
) SWIG_fail
;
10444 swig_obj
[0] = args
;
10445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10446 if (!SWIG_IsOK(res1
)) {
10447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemFamilyName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10449 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemFamilyName();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10469 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetOperatingSystemIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10470 PyObject
*resultobj
= 0;
10471 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10475 PyObject
*swig_obj
[1] ;
10477 if (!args
) SWIG_fail
;
10478 swig_obj
[0] = args
;
10479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10480 if (!SWIG_IsOK(res1
)) {
10481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetOperatingSystemIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10483 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 result
= ((wxPlatformInfo
const *)arg1
)->GetOperatingSystemIdName();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10503 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10504 PyObject
*resultobj
= 0;
10505 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10509 PyObject
*swig_obj
[1] ;
10511 if (!args
) SWIG_fail
;
10512 swig_obj
[0] = args
;
10513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10514 if (!SWIG_IsOK(res1
)) {
10515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10517 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdName();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10528 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10537 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetPortIdShortName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 PyObject
*resultobj
= 0;
10539 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10543 PyObject
*swig_obj
[1] ;
10545 if (!args
) SWIG_fail
;
10546 swig_obj
[0] = args
;
10547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10548 if (!SWIG_IsOK(res1
)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetPortIdShortName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10551 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= ((wxPlatformInfo
const *)arg1
)->GetPortIdShortName();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10571 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetArchName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10572 PyObject
*resultobj
= 0;
10573 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10577 PyObject
*swig_obj
[1] ;
10579 if (!args
) SWIG_fail
;
10580 swig_obj
[0] = args
;
10581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10582 if (!SWIG_IsOK(res1
)) {
10583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetArchName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10585 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= ((wxPlatformInfo
const *)arg1
)->GetArchName();
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10605 SWIGINTERN PyObject
*_wrap_PlatformInformation_GetEndiannessName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10606 PyObject
*resultobj
= 0;
10607 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10611 PyObject
*swig_obj
[1] ;
10613 if (!args
) SWIG_fail
;
10614 swig_obj
[0] = args
;
10615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10616 if (!SWIG_IsOK(res1
)) {
10617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_GetEndiannessName" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10619 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= ((wxPlatformInfo
const *)arg1
)->GetEndiannessName();
10623 wxPyEndAllowThreads(__tstate
);
10624 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10630 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10639 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOSVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
= 0;
10641 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 PyObject
* obj1
= 0 ;
10652 PyObject
* obj2
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "major",(char *) "minor", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetOSVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10662 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "2"" of type '" "int""'");
10667 arg2
= static_cast< int >(val2
);
10668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10669 if (!SWIG_IsOK(ecode3
)) {
10670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetOSVersion" "', expected argument " "3"" of type '" "int""'");
10672 arg3
= static_cast< int >(val3
);
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->SetOSVersion(arg2
,arg3
);
10676 wxPyEndAllowThreads(__tstate
);
10677 if (PyErr_Occurred()) SWIG_fail
;
10679 resultobj
= SWIG_Py_Void();
10686 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetToolkitVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
= 0;
10688 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "major",(char *) "minor", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PlatformInformation_SetToolkitVersion",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10709 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10711 if (!SWIG_IsOK(ecode2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "2"" of type '" "int""'");
10714 arg2
= static_cast< int >(val2
);
10715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10716 if (!SWIG_IsOK(ecode3
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PlatformInformation_SetToolkitVersion" "', expected argument " "3"" of type '" "int""'");
10719 arg3
= static_cast< int >(val3
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 (arg1
)->SetToolkitVersion(arg2
,arg3
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_Py_Void();
10733 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetOperatingSystemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10736 wxOperatingSystemId arg2
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 char * kwnames
[] = {
10744 (char *) "self",(char *) "n", NULL
10747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetOperatingSystemId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10749 if (!SWIG_IsOK(res1
)) {
10750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10752 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10754 if (!SWIG_IsOK(ecode2
)) {
10755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetOperatingSystemId" "', expected argument " "2"" of type '" "wxOperatingSystemId""'");
10757 arg2
= static_cast< wxOperatingSystemId
>(val2
);
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 (arg1
)->SetOperatingSystemId(arg2
);
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_Py_Void();
10771 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetPortId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
= 0;
10773 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char * kwnames
[] = {
10782 (char *) "self",(char *) "n", NULL
10785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetPortId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10787 if (!SWIG_IsOK(res1
)) {
10788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10790 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10792 if (!SWIG_IsOK(ecode2
)) {
10793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetPortId" "', expected argument " "2"" of type '" "wxPortId""'");
10795 arg2
= static_cast< wxPortId
>(val2
);
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 (arg1
)->SetPortId(arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_Py_Void();
10809 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetArchitecture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
= 0;
10811 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10812 wxArchitecture arg2
;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "n", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetArchitecture",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10828 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10830 if (!SWIG_IsOK(ecode2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetArchitecture" "', expected argument " "2"" of type '" "wxArchitecture""'");
10833 arg2
= static_cast< wxArchitecture
>(val2
);
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 (arg1
)->SetArchitecture(arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_Py_Void();
10847 SWIGINTERN PyObject
*_wrap_PlatformInformation_SetEndianness(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
= 0;
10849 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10850 wxEndianness arg2
;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char * kwnames
[] = {
10858 (char *) "self",(char *) "n", NULL
10861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PlatformInformation_SetEndianness",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10863 if (!SWIG_IsOK(res1
)) {
10864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "1"" of type '" "wxPlatformInfo *""'");
10866 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10868 if (!SWIG_IsOK(ecode2
)) {
10869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PlatformInformation_SetEndianness" "', expected argument " "2"" of type '" "wxEndianness""'");
10871 arg2
= static_cast< wxEndianness
>(val2
);
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 (arg1
)->SetEndianness(arg2
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= SWIG_Py_Void();
10885 SWIGINTERN PyObject
*_wrap_PlatformInformation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10886 PyObject
*resultobj
= 0;
10887 wxPlatformInfo
*arg1
= (wxPlatformInfo
*) 0 ;
10891 PyObject
*swig_obj
[1] ;
10893 if (!args
) SWIG_fail
;
10894 swig_obj
[0] = args
;
10895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPlatformInfo
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PlatformInformation_IsOk" "', expected argument " "1"" of type '" "wxPlatformInfo const *""'");
10899 arg1
= reinterpret_cast< wxPlatformInfo
* >(argp1
);
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (bool)((wxPlatformInfo
const *)arg1
)->IsOk();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10915 SWIGINTERN PyObject
*PlatformInformation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10918 SWIG_TypeNewClientData(SWIGTYPE_p_wxPlatformInfo
, SWIG_NewClientData(obj
));
10919 return SWIG_Py_Void();
10922 SWIGINTERN PyObject
*PlatformInformation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10923 return SWIG_Python_InitShadowInstance(args
);
10926 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
= 0;
10928 wxWindow
*arg1
= (wxWindow
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 char * kwnames
[] = {
10938 (char *) "window",(char *) "dc", NULL
10941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10948 if (!SWIG_IsOK(res2
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10954 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10971 PyObject
*resultobj
= 0;
10972 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10983 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_Py_Void();
10998 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10999 PyObject
*resultobj
= 0;
11000 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11004 PyObject
*swig_obj
[1] ;
11006 if (!args
) SWIG_fail
;
11007 swig_obj
[0] = args
;
11008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11009 if (!SWIG_IsOK(res1
)) {
11010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11012 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (arg1
)->GetTip();
11016 wxPyEndAllowThreads(__tstate
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11032 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11033 PyObject
*resultobj
= 0;
11034 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11038 PyObject
*swig_obj
[1] ;
11040 if (!args
) SWIG_fail
;
11041 swig_obj
[0] = args
;
11042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11043 if (!SWIG_IsOK(res1
)) {
11044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11046 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (size_t)(arg1
)->GetCurrentTip();
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
11060 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
= 0;
11062 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
11063 wxString
*arg2
= 0 ;
11067 bool temp2
= false ;
11068 PyObject
* obj0
= 0 ;
11069 PyObject
* obj1
= 0 ;
11070 char * kwnames
[] = {
11071 (char *) "self",(char *) "tip", NULL
11074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11076 if (!SWIG_IsOK(res1
)) {
11077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
11079 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
11081 arg2
= wxString_in_helper(obj1
);
11082 if (arg2
== NULL
) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11112 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11115 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
11116 return SWIG_Py_Void();
11119 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
= 0;
11122 wxPyTipProvider
*result
= 0 ;
11125 PyObject
* obj0
= 0 ;
11126 char * kwnames
[] = {
11127 (char *) "currentTip", NULL
11130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
11131 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
11132 if (!SWIG_IsOK(ecode1
)) {
11133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
11135 arg1
= static_cast< size_t >(val1
);
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
11149 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= 0;
11151 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
11152 PyObject
*arg2
= (PyObject
*) 0 ;
11153 PyObject
*arg3
= (PyObject
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 PyObject
* obj2
= 0 ;
11159 char * kwnames
[] = {
11160 (char *) "self",(char *) "self",(char *) "_class", NULL
11163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
11168 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_Py_Void();
11184 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11187 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
11188 return SWIG_Py_Void();
11191 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11192 return SWIG_Python_InitShadowInstance(args
);
11195 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxWindow
*arg1
= (wxWindow
*) 0 ;
11198 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
11199 bool arg3
= (bool) true ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 PyObject
* obj2
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
11219 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
11221 if (!SWIG_IsOK(res2
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
11224 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
11226 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11227 if (!SWIG_IsOK(ecode3
)) {
11228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
11230 arg3
= static_cast< bool >(val3
);
11233 if (!wxPyCheckForApp()) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11248 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
= 0;
11250 wxString
*arg1
= 0 ;
11252 wxTipProvider
*result
= 0 ;
11253 bool temp1
= false ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 char * kwnames
[] = {
11259 (char *) "filename",(char *) "currentTip", NULL
11262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11264 arg1
= wxString_in_helper(obj0
);
11265 if (arg1
== NULL
) SWIG_fail
;
11268 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
11269 if (!SWIG_IsOK(ecode2
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
11272 arg2
= static_cast< size_t >(val2
);
11274 if (!wxPyCheckForApp()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
11295 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
= 0;
11297 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
11298 int arg2
= (int) wxID_ANY
;
11299 wxPyTimer
*result
= 0 ;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "owner",(char *) "id", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
11316 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
11319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11320 if (!SWIG_IsOK(ecode2
)) {
11321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
11323 arg2
= static_cast< int >(val2
);
11326 if (!wxPyCheckForApp()) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
11339 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11340 PyObject
*resultobj
= 0;
11341 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11344 PyObject
*swig_obj
[1] ;
11346 if (!args
) SWIG_fail
;
11347 swig_obj
[0] = args
;
11348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
11349 if (!SWIG_IsOK(res1
)) {
11350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11352 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_Py_Void();
11367 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
= 0;
11369 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11370 PyObject
*arg2
= (PyObject
*) 0 ;
11371 PyObject
*arg3
= (PyObject
*) 0 ;
11372 int arg4
= (int) 1 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 PyObject
* obj2
= 0 ;
11380 PyObject
* obj3
= 0 ;
11381 char * kwnames
[] = {
11382 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11390 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11395 if (!SWIG_IsOK(ecode4
)) {
11396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
11398 arg4
= static_cast< int >(val4
);
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11403 wxPyEndAllowThreads(__tstate
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 resultobj
= SWIG_Py_Void();
11413 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
= 0;
11415 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11416 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11417 int arg3
= (int) wxID_ANY
;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 PyObject
* obj2
= 0 ;
11427 char * kwnames
[] = {
11428 (char *) "self",(char *) "owner",(char *) "id", NULL
11431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11433 if (!SWIG_IsOK(res1
)) {
11434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11436 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
11438 if (!SWIG_IsOK(res2
)) {
11439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
11441 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
11443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11444 if (!SWIG_IsOK(ecode3
)) {
11445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
11447 arg3
= static_cast< int >(val3
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 (arg1
)->SetOwner(arg2
,arg3
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_Py_Void();
11462 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11465 wxEvtHandler
*result
= 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11476 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= wxPyMake_wxObject(result
, 0);
11492 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
= 0;
11494 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11495 int arg2
= (int) -1 ;
11496 bool arg3
= (bool) false ;
11504 PyObject
* obj0
= 0 ;
11505 PyObject
* obj1
= 0 ;
11506 PyObject
* obj2
= 0 ;
11507 char * kwnames
[] = {
11508 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
11511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11516 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11519 if (!SWIG_IsOK(ecode2
)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
11522 arg2
= static_cast< int >(val2
);
11525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11526 if (!SWIG_IsOK(ecode3
)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
11529 arg3
= static_cast< bool >(val3
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (bool)(arg1
)->Start(arg2
,arg3
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11546 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11547 PyObject
*resultobj
= 0;
11548 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11551 PyObject
*swig_obj
[1] ;
11553 if (!args
) SWIG_fail
;
11554 swig_obj
[0] = args
;
11555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11556 if (!SWIG_IsOK(res1
)) {
11557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11559 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_Py_Void();
11573 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11574 PyObject
*resultobj
= 0;
11575 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11578 PyObject
*swig_obj
[1] ;
11580 if (!args
) SWIG_fail
;
11581 swig_obj
[0] = args
;
11582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11583 if (!SWIG_IsOK(res1
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
11586 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_Py_Void();
11600 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11601 PyObject
*resultobj
= 0;
11602 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11606 PyObject
*swig_obj
[1] ;
11608 if (!args
) SWIG_fail
;
11609 swig_obj
[0] = args
;
11610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11611 if (!SWIG_IsOK(res1
)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11614 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11631 PyObject
*resultobj
= 0;
11632 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11636 PyObject
*swig_obj
[1] ;
11638 if (!args
) SWIG_fail
;
11639 swig_obj
[0] = args
;
11640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11644 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_From_int(static_cast< int >(result
));
11658 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11672 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_From_int(static_cast< int >(result
));
11686 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 PyObject
*resultobj
= 0;
11688 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
11692 PyObject
*swig_obj
[1] ;
11694 if (!args
) SWIG_fail
;
11695 swig_obj
[0] = args
;
11696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
11697 if (!SWIG_IsOK(res1
)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
11700 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11716 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11719 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
11720 return SWIG_Py_Void();
11723 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11724 return SWIG_Python_InitShadowInstance(args
);
11727 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
= 0;
11729 int arg1
= (int) 0 ;
11730 int arg2
= (int) 0 ;
11731 wxTimerEvent
*result
= 0 ;
11736 PyObject
* obj0
= 0 ;
11737 PyObject
* obj1
= 0 ;
11738 char * kwnames
[] = {
11739 (char *) "timerid",(char *) "interval", NULL
11742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11744 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11745 if (!SWIG_IsOK(ecode1
)) {
11746 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
11748 arg1
= static_cast< int >(val1
);
11751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11752 if (!SWIG_IsOK(ecode2
)) {
11753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
11755 arg2
= static_cast< int >(val2
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
11770 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 PyObject
*resultobj
= 0;
11772 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
11776 PyObject
*swig_obj
[1] ;
11778 if (!args
) SWIG_fail
;
11779 swig_obj
[0] = args
;
11780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
11781 if (!SWIG_IsOK(res1
)) {
11782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
11784 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int(static_cast< int >(result
));
11798 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11801 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
11802 return SWIG_Py_Void();
11805 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11806 return SWIG_Python_InitShadowInstance(args
);
11809 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11810 PyObject
*resultobj
= 0;
11811 wxTimer
*arg1
= 0 ;
11812 wxTimerRunner
*result
= 0 ;
11816 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
11817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11818 if (!SWIG_IsOK(res1
)) {
11819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11824 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11826 if (!wxPyCheckForApp()) SWIG_fail
;
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11839 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
11840 PyObject
*resultobj
= 0;
11841 wxTimer
*arg1
= 0 ;
11843 bool arg3
= (bool) false ;
11844 wxTimerRunner
*result
= 0 ;
11852 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
11853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
11854 if (!SWIG_IsOK(res1
)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
11860 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
11861 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
11862 if (!SWIG_IsOK(ecode2
)) {
11863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
11865 arg2
= static_cast< int >(val2
);
11867 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
11868 if (!SWIG_IsOK(ecode3
)) {
11869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
11871 arg3
= static_cast< bool >(val3
);
11874 if (!wxPyCheckForApp()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
11887 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
11891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
11894 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
11896 if ((argc
>= 2) && (argc
<= 3)) {
11897 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11901 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11906 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11907 PyObject
*resultobj
= 0;
11908 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11911 PyObject
*swig_obj
[1] ;
11913 if (!args
) SWIG_fail
;
11914 swig_obj
[0] = args
;
11915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11916 if (!SWIG_IsOK(res1
)) {
11917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11919 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_Py_Void();
11934 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11935 PyObject
*resultobj
= 0;
11936 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11938 bool arg3
= (bool) false ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 PyObject
* obj2
= 0 ;
11948 char * kwnames
[] = {
11949 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11954 if (!SWIG_IsOK(res1
)) {
11955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11957 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11959 if (!SWIG_IsOK(ecode2
)) {
11960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11962 arg2
= static_cast< int >(val2
);
11964 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11965 if (!SWIG_IsOK(ecode3
)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11968 arg3
= static_cast< bool >(val3
);
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 (arg1
)->Start(arg2
,arg3
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_Py_Void();
11983 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11986 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11987 return SWIG_Py_Void();
11990 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11991 return SWIG_Python_InitShadowInstance(args
);
11994 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11995 PyObject
*resultobj
= 0;
11996 wxLog
*result
= 0 ;
11998 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (wxLog
*)new wxLog();
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
12012 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12013 PyObject
*resultobj
= 0;
12014 wxLog
*arg1
= (wxLog
*) 0 ;
12017 PyObject
*swig_obj
[1] ;
12019 if (!args
) SWIG_fail
;
12020 swig_obj
[0] = args
;
12021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
12025 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 wxPyEndAllowThreads(__tstate
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= SWIG_Py_Void();
12040 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12041 PyObject
*resultobj
= 0;
12044 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)wxLog::IsEnabled();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12060 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= 0;
12062 bool arg1
= (bool) true ;
12066 PyObject
* obj0
= 0 ;
12067 char * kwnames
[] = {
12068 (char *) "doIt", NULL
12071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
12073 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12074 if (!SWIG_IsOK(ecode1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
12077 arg1
= static_cast< bool >(val1
);
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)wxLog::EnableLogging(arg1
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12094 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
= 0;
12097 wxChar
*arg2
= (wxChar
*) 0 ;
12099 unsigned long val1
;
12103 unsigned int val3
;
12105 PyObject
* obj0
= 0 ;
12106 PyObject
* obj1
= 0 ;
12107 PyObject
* obj2
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "level",(char *) "szString",(char *) "t", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12113 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12114 if (!SWIG_IsOK(ecode1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
12117 arg1
= static_cast< wxLogLevel
>(val1
);
12118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
12119 if (!SWIG_IsOK(res2
)) {
12120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
12122 arg2
= reinterpret_cast< wxChar
* >(argp2
);
12123 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
12124 if (!SWIG_IsOK(ecode3
)) {
12125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
12127 arg3
= static_cast< time_t >(val3
);
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= SWIG_Py_Void();
12141 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12142 PyObject
*resultobj
= 0;
12143 wxLog
*arg1
= (wxLog
*) 0 ;
12146 PyObject
*swig_obj
[1] ;
12148 if (!args
) SWIG_fail
;
12149 swig_obj
[0] = args
;
12150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12151 if (!SWIG_IsOK(res1
)) {
12152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
12154 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= SWIG_Py_Void();
12168 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12169 PyObject
*resultobj
= 0;
12171 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 wxLog::FlushActive();
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= SWIG_Py_Void();
12185 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 PyObject
*resultobj
= 0;
12187 wxLog
*result
= 0 ;
12189 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (wxLog
*)wxLog::GetActiveTarget();
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12203 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
= 0;
12205 wxLog
*arg1
= (wxLog
*) 0 ;
12206 wxLog
*result
= 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "pLogger", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
12231 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12232 PyObject
*resultobj
= 0;
12234 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_Py_Void();
12248 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12249 PyObject
*resultobj
= 0;
12251 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_Py_Void();
12265 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
= 0;
12267 bool arg1
= (bool) true ;
12270 PyObject
* obj0
= 0 ;
12271 char * kwnames
[] = {
12272 (char *) "bVerbose", NULL
12275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
12277 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12278 if (!SWIG_IsOK(ecode1
)) {
12279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
12281 arg1
= static_cast< bool >(val1
);
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 wxLog::SetVerbose(arg1
);
12286 wxPyEndAllowThreads(__tstate
);
12287 if (PyErr_Occurred()) SWIG_fail
;
12289 resultobj
= SWIG_Py_Void();
12296 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
= 0;
12299 unsigned long val1
;
12301 PyObject
* obj0
= 0 ;
12302 char * kwnames
[] = {
12303 (char *) "logLevel", NULL
12306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
12307 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12308 if (!SWIG_IsOK(ecode1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
12311 arg1
= static_cast< wxLogLevel
>(val1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 wxLog::SetLogLevel(arg1
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_Py_Void();
12325 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12326 PyObject
*resultobj
= 0;
12328 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
12330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 wxLog::DontCreateOnDemand();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= SWIG_Py_Void();
12342 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
= 0;
12344 bool arg1
= (bool) true ;
12347 PyObject
* obj0
= 0 ;
12348 char * kwnames
[] = {
12349 (char *) "bRepetCounting", NULL
12352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
12354 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
12355 if (!SWIG_IsOK(ecode1
)) {
12356 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
12358 arg1
= static_cast< bool >(val1
);
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 wxLog::SetRepetitionCounting(arg1
);
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12366 resultobj
= SWIG_Py_Void();
12373 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12374 PyObject
*resultobj
= 0;
12377 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (bool)wxLog::GetRepetitionCounting();
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12393 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
= 0;
12396 unsigned long val1
;
12398 PyObject
* obj0
= 0 ;
12399 char * kwnames
[] = {
12400 (char *) "ulMask", NULL
12403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12404 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12405 if (!SWIG_IsOK(ecode1
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
12408 arg1
= static_cast< wxTraceMask
>(val1
);
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 wxLog::SetTraceMask(arg1
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_Py_Void();
12422 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
= 0;
12424 wxString
*arg1
= 0 ;
12425 bool temp1
= false ;
12426 PyObject
* obj0
= 0 ;
12427 char * kwnames
[] = {
12428 (char *) "str", NULL
12431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12433 arg1
= wxString_in_helper(obj0
);
12434 if (arg1
== NULL
) SWIG_fail
;
12438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 wxLog::AddTraceMask((wxString
const &)*arg1
);
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
= 0;
12460 wxString
*arg1
= 0 ;
12461 bool temp1
= false ;
12462 PyObject
* obj0
= 0 ;
12463 char * kwnames
[] = {
12464 (char *) "str", NULL
12467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12469 arg1
= wxString_in_helper(obj0
);
12470 if (arg1
== NULL
) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12497 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 wxLog::ClearTraceMasks();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_Py_Void();
12511 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12512 PyObject
*resultobj
= 0;
12513 wxArrayString
*result
= 0 ;
12515 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
12520 result
= (wxArrayString
*) &_result_ref
;
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= wxArrayString2PyList_helper(*result
);
12534 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
= 0;
12536 wxChar
*arg1
= (wxChar
*) 0 ;
12539 PyObject
* obj0
= 0 ;
12540 char * kwnames
[] = {
12541 (char *) "ts", NULL
12544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
12545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12546 if (!SWIG_IsOK(res1
)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
12549 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 wxLog::SetTimestamp((wxChar
const *)arg1
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_Py_Void();
12563 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12564 PyObject
*resultobj
= 0;
12567 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (bool)wxLog::GetVerbose();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12583 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12584 PyObject
*resultobj
= 0;
12585 wxTraceMask result
;
12587 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
12589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (wxTraceMask
)wxLog::GetTraceMask();
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12601 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12602 PyObject
*resultobj
= 0;
12603 wxChar
*arg1
= (wxChar
*) 0 ;
12607 PyObject
* obj0
= 0 ;
12608 char * kwnames
[] = {
12609 (char *) "mask", NULL
12612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
12613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
12614 if (!SWIG_IsOK(res1
)) {
12615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
12617 arg1
= reinterpret_cast< wxChar
* >(argp1
);
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12633 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12634 PyObject
*resultobj
= 0;
12637 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (wxLogLevel
)wxLog::GetLogLevel();
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12651 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12652 PyObject
*resultobj
= 0;
12653 wxChar
*result
= 0 ;
12655 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 result
= (wxChar
*)wxLog::GetTimestamp();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
12669 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12670 PyObject
*resultobj
= 0;
12673 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= wxLog_TimeStamp();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12693 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12694 PyObject
*resultobj
= 0;
12695 wxLog
*arg1
= (wxLog
*) 0 ;
12698 PyObject
*swig_obj
[1] ;
12700 if (!args
) SWIG_fail
;
12701 swig_obj
[0] = args
;
12702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12703 if (!SWIG_IsOK(res1
)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
12706 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 wxLog_Destroy(arg1
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_Py_Void();
12720 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12723 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
12724 return SWIG_Py_Void();
12727 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12728 return SWIG_Python_InitShadowInstance(args
);
12731 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 PyObject
*resultobj
= 0;
12733 wxLogStderr
*result
= 0 ;
12735 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (wxLogStderr
*)new wxLogStderr();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
12749 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
12753 return SWIG_Py_Void();
12756 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 return SWIG_Python_InitShadowInstance(args
);
12760 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
= 0;
12762 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12763 wxLogTextCtrl
*result
= 0 ;
12766 PyObject
* obj0
= 0 ;
12767 char * kwnames
[] = {
12768 (char *) "pTextCtrl", NULL
12771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
12772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12773 if (!SWIG_IsOK(res1
)) {
12774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12776 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12779 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
12790 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12793 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
12794 return SWIG_Py_Void();
12797 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 return SWIG_Python_InitShadowInstance(args
);
12801 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12803 wxLogGui
*result
= 0 ;
12805 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxLogGui
*)new wxLogGui();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
12819 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12822 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
12823 return SWIG_Py_Void();
12826 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12827 return SWIG_Python_InitShadowInstance(args
);
12830 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxFrame
*arg1
= (wxFrame
*) 0 ;
12833 wxString
*arg2
= 0 ;
12834 bool arg3
= (bool) true ;
12835 bool arg4
= (bool) true ;
12836 wxLogWindow
*result
= 0 ;
12839 bool temp2
= false ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 PyObject
* obj2
= 0 ;
12847 PyObject
* obj3
= 0 ;
12848 char * kwnames
[] = {
12849 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
12852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12854 if (!SWIG_IsOK(res1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
12857 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12859 arg2
= wxString_in_helper(obj1
);
12860 if (arg2
== NULL
) SWIG_fail
;
12864 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12865 if (!SWIG_IsOK(ecode3
)) {
12866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
12868 arg3
= static_cast< bool >(val3
);
12871 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
12872 if (!SWIG_IsOK(ecode4
)) {
12873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
12875 arg4
= static_cast< bool >(val4
);
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
12898 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= 0;
12900 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12901 bool arg2
= (bool) true ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char * kwnames
[] = {
12909 (char *) "self",(char *) "bShow", NULL
12912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12914 if (!SWIG_IsOK(res1
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12917 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12920 if (!SWIG_IsOK(ecode2
)) {
12921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12923 arg2
= static_cast< bool >(val2
);
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 (arg1
)->Show(arg2
);
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= SWIG_Py_Void();
12938 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12939 PyObject
*resultobj
= 0;
12940 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12941 wxFrame
*result
= 0 ;
12944 PyObject
*swig_obj
[1] ;
12946 if (!args
) SWIG_fail
;
12947 swig_obj
[0] = args
;
12948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12952 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12968 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 PyObject
*resultobj
= 0;
12970 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12971 wxLog
*result
= 0 ;
12974 PyObject
*swig_obj
[1] ;
12976 if (!args
) SWIG_fail
;
12977 swig_obj
[0] = args
;
12978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12979 if (!SWIG_IsOK(res1
)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12982 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12996 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12997 PyObject
*resultobj
= 0;
12998 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13002 PyObject
*swig_obj
[1] ;
13004 if (!args
) SWIG_fail
;
13005 swig_obj
[0] = args
;
13006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13007 if (!SWIG_IsOK(res1
)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
13010 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13026 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
= 0;
13028 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
13034 PyObject
* obj0
= 0 ;
13035 PyObject
* obj1
= 0 ;
13036 char * kwnames
[] = {
13037 (char *) "self",(char *) "bDoPass", NULL
13040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
13045 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
13046 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13047 if (!SWIG_IsOK(ecode2
)) {
13048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13050 arg2
= static_cast< bool >(val2
);
13052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13053 (arg1
)->PassMessages(arg2
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_Py_Void();
13064 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13067 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
13068 return SWIG_Py_Void();
13071 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13072 return SWIG_Python_InitShadowInstance(args
);
13075 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 wxLog
*arg1
= (wxLog
*) 0 ;
13078 wxLogChain
*result
= 0 ;
13081 PyObject
* obj0
= 0 ;
13082 char * kwnames
[] = {
13083 (char *) "logger", NULL
13086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
13087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
13091 arg1
= reinterpret_cast< wxLog
* >(argp1
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (wxLogChain
*)new wxLogChain(arg1
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
13105 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
= 0;
13107 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13108 wxLog
*arg2
= (wxLog
*) 0 ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char * kwnames
[] = {
13116 (char *) "self",(char *) "logger", NULL
13119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13121 if (!SWIG_IsOK(res1
)) {
13122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13124 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13125 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
13126 if (!SWIG_IsOK(res2
)) {
13127 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
13129 arg2
= reinterpret_cast< wxLog
* >(argp2
);
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 (arg1
)->SetLog(arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_Py_Void();
13143 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
= 0;
13145 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char * kwnames
[] = {
13154 (char *) "self",(char *) "bDoPass", NULL
13157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13159 if (!SWIG_IsOK(res1
)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13162 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13163 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13164 if (!SWIG_IsOK(ecode2
)) {
13165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
13167 arg2
= static_cast< bool >(val2
);
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 (arg1
)->PassMessages(arg2
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 resultobj
= SWIG_Py_Void();
13181 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13182 PyObject
*resultobj
= 0;
13183 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13187 PyObject
*swig_obj
[1] ;
13189 if (!args
) SWIG_fail
;
13190 swig_obj
[0] = args
;
13191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13192 if (!SWIG_IsOK(res1
)) {
13193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
13195 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 result
= (bool)(arg1
)->IsPassingMessages();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13211 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 PyObject
*resultobj
= 0;
13213 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
13214 wxLog
*result
= 0 ;
13217 PyObject
*swig_obj
[1] ;
13219 if (!args
) SWIG_fail
;
13220 swig_obj
[0] = args
;
13221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
13222 if (!SWIG_IsOK(res1
)) {
13223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
13225 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxLog
*)(arg1
)->GetOldLog();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
13239 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
13243 return SWIG_Py_Void();
13246 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 return SWIG_Python_InitShadowInstance(args
);
13250 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13251 PyObject
*resultobj
= 0;
13252 wxLogBuffer
*result
= 0 ;
13254 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 result
= (wxLogBuffer
*)new wxLogBuffer();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
13268 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13269 PyObject
*resultobj
= 0;
13270 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
13271 wxString
*result
= 0 ;
13274 PyObject
*swig_obj
[1] ;
13276 if (!args
) SWIG_fail
;
13277 swig_obj
[0] = args
;
13278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
13282 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
13287 result
= (wxString
*) &_result_ref
;
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13305 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13308 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
13309 return SWIG_Py_Void();
13312 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13313 return SWIG_Python_InitShadowInstance(args
);
13316 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13317 PyObject
*resultobj
= 0;
13318 unsigned long result
;
13320 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (unsigned long)wxSysErrorCode();
13324 wxPyEndAllowThreads(__tstate
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13327 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
13334 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
= 0;
13336 unsigned long arg1
= (unsigned long) 0 ;
13338 unsigned long val1
;
13340 PyObject
* obj0
= 0 ;
13341 char * kwnames
[] = {
13342 (char *) "nErrCode", NULL
13345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
13347 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13348 if (!SWIG_IsOK(ecode1
)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
13351 arg1
= static_cast< unsigned long >(val1
);
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= wxSysErrorMsg(arg1
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13372 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
= 0;
13374 wxString
*arg1
= 0 ;
13375 bool temp1
= false ;
13376 PyObject
* obj0
= 0 ;
13377 char * kwnames
[] = {
13378 (char *) "msg", NULL
13381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
13383 arg1
= wxString_in_helper(obj0
);
13384 if (arg1
== NULL
) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 wxPyLogFatalError((wxString
const &)*arg1
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= SWIG_Py_Void();
13408 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
= 0;
13410 wxString
*arg1
= 0 ;
13411 bool temp1
= false ;
13412 PyObject
* obj0
= 0 ;
13413 char * kwnames
[] = {
13414 (char *) "msg", NULL
13417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
13419 arg1
= wxString_in_helper(obj0
);
13420 if (arg1
== NULL
) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 wxPyLogError((wxString
const &)*arg1
);
13426 wxPyEndAllowThreads(__tstate
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 resultobj
= SWIG_Py_Void();
13444 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
= 0;
13446 wxString
*arg1
= 0 ;
13447 bool temp1
= false ;
13448 PyObject
* obj0
= 0 ;
13449 char * kwnames
[] = {
13450 (char *) "msg", NULL
13453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
13455 arg1
= wxString_in_helper(obj0
);
13456 if (arg1
== NULL
) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 wxPyLogWarning((wxString
const &)*arg1
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_Py_Void();
13480 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
= 0;
13482 wxString
*arg1
= 0 ;
13483 bool temp1
= false ;
13484 PyObject
* obj0
= 0 ;
13485 char * kwnames
[] = {
13486 (char *) "msg", NULL
13489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
13491 arg1
= wxString_in_helper(obj0
);
13492 if (arg1
== NULL
) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 wxPyLogMessage((wxString
const &)*arg1
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13516 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
= 0;
13518 wxString
*arg1
= 0 ;
13519 bool temp1
= false ;
13520 PyObject
* obj0
= 0 ;
13521 char * kwnames
[] = {
13522 (char *) "msg", NULL
13525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
13527 arg1
= wxString_in_helper(obj0
);
13528 if (arg1
== NULL
) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 wxPyLogInfo((wxString
const &)*arg1
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_Py_Void();
13552 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
= 0;
13554 wxString
*arg1
= 0 ;
13555 bool temp1
= false ;
13556 PyObject
* obj0
= 0 ;
13557 char * kwnames
[] = {
13558 (char *) "msg", NULL
13561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
13563 arg1
= wxString_in_helper(obj0
);
13564 if (arg1
== NULL
) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 wxPyLogDebug((wxString
const &)*arg1
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
= 0;
13590 wxString
*arg1
= 0 ;
13591 bool temp1
= false ;
13592 PyObject
* obj0
= 0 ;
13593 char * kwnames
[] = {
13594 (char *) "msg", NULL
13597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
13599 arg1
= wxString_in_helper(obj0
);
13600 if (arg1
== NULL
) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 wxPyLogVerbose((wxString
const &)*arg1
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= SWIG_Py_Void();
13624 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
= 0;
13626 wxString
*arg1
= 0 ;
13627 bool temp1
= false ;
13628 PyObject
* obj0
= 0 ;
13629 char * kwnames
[] = {
13630 (char *) "msg", NULL
13633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
13635 arg1
= wxString_in_helper(obj0
);
13636 if (arg1
== NULL
) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 wxPyLogStatus((wxString
const &)*arg1
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
= 0;
13662 wxFrame
*arg1
= (wxFrame
*) 0 ;
13663 wxString
*arg2
= 0 ;
13666 bool temp2
= false ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "pFrame",(char *) "msg", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
13678 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
13680 arg2
= wxString_in_helper(obj1
);
13681 if (arg2
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_Py_Void();
13705 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
= 0;
13707 wxString
*arg1
= 0 ;
13708 bool temp1
= false ;
13709 PyObject
* obj0
= 0 ;
13710 char * kwnames
[] = {
13711 (char *) "msg", NULL
13714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
13716 arg1
= wxString_in_helper(obj0
);
13717 if (arg1
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 wxPyLogSysError((wxString
const &)*arg1
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_Py_Void();
13741 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
= 0;
13743 unsigned long arg1
;
13744 wxString
*arg2
= 0 ;
13745 unsigned long val1
;
13747 bool temp2
= false ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char * kwnames
[] = {
13751 (char *) "level",(char *) "msg", NULL
13754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13755 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
13756 if (!SWIG_IsOK(ecode1
)) {
13757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
13759 arg1
= static_cast< unsigned long >(val1
);
13761 arg2
= wxString_in_helper(obj1
);
13762 if (arg2
== NULL
) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_Py_Void();
13786 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13787 PyObject
*resultobj
= 0;
13788 unsigned long arg1
;
13789 wxString
*arg2
= 0 ;
13790 unsigned long val1
;
13792 bool temp2
= false ;
13794 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13795 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
13796 if (!SWIG_IsOK(ecode1
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
13799 arg1
= static_cast< unsigned long >(val1
);
13801 arg2
= wxString_in_helper(swig_obj
[1]);
13802 if (arg2
== NULL
) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_Py_Void();
13826 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
13827 PyObject
*resultobj
= 0;
13828 wxString
*arg1
= 0 ;
13829 wxString
*arg2
= 0 ;
13830 bool temp1
= false ;
13831 bool temp2
= false ;
13833 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
13835 arg1
= wxString_in_helper(swig_obj
[0]);
13836 if (arg1
== NULL
) SWIG_fail
;
13840 arg2
= wxString_in_helper(swig_obj
[1]);
13841 if (arg2
== NULL
) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13847 wxPyEndAllowThreads(__tstate
);
13848 if (PyErr_Occurred()) SWIG_fail
;
13850 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
13877 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
13883 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
13886 if (!_v
) goto check_1
;
13887 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
13892 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
13896 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13901 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxString
*arg1
= 0 ;
13904 wxString
*arg2
= 0 ;
13905 bool temp1
= false ;
13906 bool temp2
= false ;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char * kwnames
[] = {
13910 (char *) "title",(char *) "text", NULL
13913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13915 arg1
= wxString_in_helper(obj0
);
13916 if (arg1
== NULL
) SWIG_fail
;
13920 arg2
= wxString_in_helper(obj1
);
13921 if (arg2
== NULL
) SWIG_fail
;
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_Py_Void();
13953 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 PyObject
*resultobj
= 0;
13955 wxLogNull
*result
= 0 ;
13957 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (wxLogNull
*)new wxLogNull();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13971 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 PyObject
*resultobj
= 0;
13973 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13984 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13989 wxPyEndAllowThreads(__tstate
);
13990 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= SWIG_Py_Void();
13999 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14002 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
14003 return SWIG_Py_Void();
14006 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 return SWIG_Python_InitShadowInstance(args
);
14010 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14011 PyObject
*resultobj
= 0;
14012 wxPyLog
*result
= 0 ;
14014 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (wxPyLog
*)new wxPyLog();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
14028 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
= 0;
14030 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
14031 PyObject
*arg2
= (PyObject
*) 0 ;
14032 PyObject
*arg3
= (PyObject
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 PyObject
* obj1
= 0 ;
14037 PyObject
* obj2
= 0 ;
14038 char * kwnames
[] = {
14039 (char *) "self",(char *) "self",(char *) "_class", NULL
14042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
14044 if (!SWIG_IsOK(res1
)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
14047 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_Py_Void();
14063 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
14067 return SWIG_Py_Void();
14070 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 return SWIG_Python_InitShadowInstance(args
);
14074 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= 0;
14077 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14078 int arg3
= (int) wxKILL_NOCHILDREN
;
14079 wxKillError result
;
14086 PyObject
* obj0
= 0 ;
14087 PyObject
* obj1
= 0 ;
14088 PyObject
* obj2
= 0 ;
14089 char * kwnames
[] = {
14090 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14095 if (!SWIG_IsOK(ecode1
)) {
14096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
14098 arg1
= static_cast< int >(val1
);
14100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14101 if (!SWIG_IsOK(ecode2
)) {
14102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14104 arg2
= static_cast< wxSignal
>(val2
);
14107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14108 if (!SWIG_IsOK(ecode3
)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
14111 arg3
= static_cast< int >(val3
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_int(static_cast< int >(result
));
14126 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14127 PyObject
*resultobj
= 0;
14132 PyObject
* obj0
= 0 ;
14133 char * kwnames
[] = {
14134 (char *) "pid", NULL
14137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
14138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14139 if (!SWIG_IsOK(ecode1
)) {
14140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
14142 arg1
= static_cast< int >(val1
);
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (bool)wxPyProcess::Exists(arg1
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14158 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
= 0;
14160 wxString
*arg1
= 0 ;
14161 int arg2
= (int) wxEXEC_ASYNC
;
14162 wxPyProcess
*result
= 0 ;
14163 bool temp1
= false ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 char * kwnames
[] = {
14169 (char *) "cmd",(char *) "flags", NULL
14172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14174 arg1
= wxString_in_helper(obj0
);
14175 if (arg1
== NULL
) SWIG_fail
;
14179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14180 if (!SWIG_IsOK(ecode2
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
14183 arg2
= static_cast< int >(val2
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14206 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
= 0;
14208 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
14209 int arg2
= (int) -1 ;
14210 wxPyProcess
*result
= 0 ;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 char * kwnames
[] = {
14218 (char *) "parent",(char *) "id", NULL
14221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
14227 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
14230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14231 if (!SWIG_IsOK(ecode2
)) {
14232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
14234 arg2
= static_cast< int >(val2
);
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
14249 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
= 0;
14251 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14252 PyObject
*arg2
= (PyObject
*) 0 ;
14253 PyObject
*arg3
= (PyObject
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 char * kwnames
[] = {
14260 (char *) "self",(char *) "self",(char *) "_class", NULL
14263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14265 if (!SWIG_IsOK(res1
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14268 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 resultobj
= SWIG_Py_Void();
14284 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
= 0;
14286 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 PyObject
* obj2
= 0 ;
14298 char * kwnames
[] = {
14299 (char *) "self",(char *) "pid",(char *) "status", NULL
14302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14304 if (!SWIG_IsOK(res1
)) {
14305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14307 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14309 if (!SWIG_IsOK(ecode2
)) {
14310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
14312 arg2
= static_cast< int >(val2
);
14313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14314 if (!SWIG_IsOK(ecode3
)) {
14315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
14317 arg3
= static_cast< int >(val3
);
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 (arg1
)->OnTerminate(arg2
,arg3
);
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_Py_Void();
14331 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14332 PyObject
*resultobj
= 0;
14333 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14344 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 (arg1
)->Redirect();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_Py_Void();
14358 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14359 PyObject
*resultobj
= 0;
14360 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14372 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (bool)(arg1
)->IsRedirected();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14388 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14389 PyObject
*resultobj
= 0;
14390 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14393 PyObject
*swig_obj
[1] ;
14395 if (!args
) SWIG_fail
;
14396 swig_obj
[0] = args
;
14397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14398 if (!SWIG_IsOK(res1
)) {
14399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14401 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 resultobj
= SWIG_Py_Void();
14415 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14416 PyObject
*resultobj
= 0;
14417 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14418 wxInputStream
*result
= 0 ;
14421 PyObject
*swig_obj
[1] ;
14423 if (!args
) SWIG_fail
;
14424 swig_obj
[0] = args
;
14425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14426 if (!SWIG_IsOK(res1
)) {
14427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14429 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= (wxInputStream
*)(arg1
)->GetInputStream();
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14437 wxPyInputStream
* _ptr
= NULL
;
14440 _ptr
= new wxPyInputStream(result
);
14442 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14450 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14451 PyObject
*resultobj
= 0;
14452 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14453 wxInputStream
*result
= 0 ;
14456 PyObject
*swig_obj
[1] ;
14458 if (!args
) SWIG_fail
;
14459 swig_obj
[0] = args
;
14460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14464 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 wxPyInputStream
* _ptr
= NULL
;
14475 _ptr
= new wxPyInputStream(result
);
14477 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
14485 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14488 wxOutputStream
*result
= 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14499 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
14513 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14518 PyObject
*swig_obj
[1] ;
14520 if (!args
) SWIG_fail
;
14521 swig_obj
[0] = args
;
14522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
14526 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14529 (arg1
)->CloseOutput();
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= SWIG_Py_Void();
14540 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14541 PyObject
*resultobj
= 0;
14542 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14546 PyObject
*swig_obj
[1] ;
14548 if (!args
) SWIG_fail
;
14549 swig_obj
[0] = args
;
14550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14551 if (!SWIG_IsOK(res1
)) {
14552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14554 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
14558 wxPyEndAllowThreads(__tstate
);
14559 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14570 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14571 PyObject
*resultobj
= 0;
14572 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14576 PyObject
*swig_obj
[1] ;
14578 if (!args
) SWIG_fail
;
14579 swig_obj
[0] = args
;
14580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14581 if (!SWIG_IsOK(res1
)) {
14582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14584 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14600 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
14614 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14630 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
14634 return SWIG_Py_Void();
14637 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14638 return SWIG_Python_InitShadowInstance(args
);
14641 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
= 0;
14643 int arg1
= (int) 0 ;
14644 int arg2
= (int) 0 ;
14645 int arg3
= (int) 0 ;
14646 wxProcessEvent
*result
= 0 ;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 PyObject
* obj2
= 0 ;
14656 char * kwnames
[] = {
14657 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
14660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14662 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14663 if (!SWIG_IsOK(ecode1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
14666 arg1
= static_cast< int >(val1
);
14669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14670 if (!SWIG_IsOK(ecode2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
14673 arg2
= static_cast< int >(val2
);
14676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14677 if (!SWIG_IsOK(ecode3
)) {
14678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
14680 arg3
= static_cast< int >(val3
);
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
14695 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14696 PyObject
*resultobj
= 0;
14697 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14701 PyObject
*swig_obj
[1] ;
14703 if (!args
) SWIG_fail
;
14704 swig_obj
[0] = args
;
14705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14709 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)(arg1
)->GetPid();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= SWIG_From_int(static_cast< int >(result
));
14723 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14724 PyObject
*resultobj
= 0;
14725 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14729 PyObject
*swig_obj
[1] ;
14731 if (!args
) SWIG_fail
;
14732 swig_obj
[0] = args
;
14733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14734 if (!SWIG_IsOK(res1
)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14737 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (int)(arg1
)->GetExitCode();
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= SWIG_From_int(static_cast< int >(result
));
14751 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14752 PyObject
*resultobj
= 0;
14753 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14759 PyObject
*swig_obj
[2] ;
14761 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
14762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14763 if (!SWIG_IsOK(res1
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14766 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14767 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14768 if (!SWIG_IsOK(ecode2
)) {
14769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
14771 arg2
= static_cast< int >(val2
);
14772 if (arg1
) (arg1
)->m_pid
= arg2
;
14774 resultobj
= SWIG_Py_Void();
14781 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14782 PyObject
*resultobj
= 0;
14783 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14787 PyObject
*swig_obj
[1] ;
14789 if (!args
) SWIG_fail
;
14790 swig_obj
[0] = args
;
14791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14792 if (!SWIG_IsOK(res1
)) {
14793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14795 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14796 result
= (int) ((arg1
)->m_pid
);
14797 resultobj
= SWIG_From_int(static_cast< int >(result
));
14804 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14805 PyObject
*resultobj
= 0;
14806 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14812 PyObject
*swig_obj
[2] ;
14814 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14819 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14820 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
14821 if (!SWIG_IsOK(ecode2
)) {
14822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
14824 arg2
= static_cast< int >(val2
);
14825 if (arg1
) (arg1
)->m_exitcode
= arg2
;
14827 resultobj
= SWIG_Py_Void();
14834 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14835 PyObject
*resultobj
= 0;
14836 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
14840 PyObject
*swig_obj
[1] ;
14842 if (!args
) SWIG_fail
;
14843 swig_obj
[0] = args
;
14844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
14845 if (!SWIG_IsOK(res1
)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
14848 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
14849 result
= (int) ((arg1
)->m_exitcode
);
14850 resultobj
= SWIG_From_int(static_cast< int >(result
));
14857 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14859 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14860 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
14861 return SWIG_Py_Void();
14864 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 return SWIG_Python_InitShadowInstance(args
);
14868 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxString
*arg1
= 0 ;
14871 int arg2
= (int) wxEXEC_ASYNC
;
14872 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
14874 bool temp1
= false ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 PyObject
* obj2
= 0 ;
14882 char * kwnames
[] = {
14883 (char *) "command",(char *) "flags",(char *) "process", NULL
14886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14888 arg1
= wxString_in_helper(obj0
);
14889 if (arg1
== NULL
) SWIG_fail
;
14893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14894 if (!SWIG_IsOK(ecode2
)) {
14895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
14897 arg2
= static_cast< int >(val2
);
14900 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14901 if (!SWIG_IsOK(res3
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14904 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14907 if (!wxPyCheckForApp()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= SWIG_From_long(static_cast< long >(result
));
14928 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= 0;
14931 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14932 wxKillError
*arg3
= (wxKillError
*) 0 ;
14933 int arg4
= (int) wxKILL_NOCHILDREN
;
14939 wxKillError temp3
;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 PyObject
* obj2
= 0 ;
14945 char * kwnames
[] = {
14946 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14953 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14954 if (!SWIG_IsOK(ecode1
)) {
14955 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14957 arg1
= static_cast< long >(val1
);
14959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14960 if (!SWIG_IsOK(ecode2
)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14963 arg2
= static_cast< wxSignal
>(val2
);
14966 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14967 if (!SWIG_IsOK(ecode4
)) {
14968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14970 arg4
= static_cast< int >(val4
);
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_From_int(static_cast< int >(result
));
14981 o
= PyInt_FromLong((long) (*arg3
));
14985 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14994 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
= 0;
14996 int arg1
= (int) wxJOYSTICK1
;
14997 wxJoystick
*result
= 0 ;
15000 PyObject
* obj0
= 0 ;
15001 char * kwnames
[] = {
15002 (char *) "joystick", NULL
15005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
15007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15008 if (!SWIG_IsOK(ecode1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
15011 arg1
= static_cast< int >(val1
);
15014 if (!wxPyCheckForApp()) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 result
= (wxJoystick
*)new wxJoystick(arg1
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
15027 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15028 PyObject
*resultobj
= 0;
15029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15032 PyObject
*swig_obj
[1] ;
15034 if (!args
) SWIG_fail
;
15035 swig_obj
[0] = args
;
15036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
15037 if (!SWIG_IsOK(res1
)) {
15038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
15040 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= SWIG_Py_Void();
15055 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15056 PyObject
*resultobj
= 0;
15057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15061 PyObject
*swig_obj
[1] ;
15063 if (!args
) SWIG_fail
;
15064 swig_obj
[0] = args
;
15065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15066 if (!SWIG_IsOK(res1
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15069 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 result
= (arg1
)->GetPosition();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15083 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15084 PyObject
*resultobj
= 0;
15085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15089 PyObject
*swig_obj
[1] ;
15091 if (!args
) SWIG_fail
;
15092 swig_obj
[0] = args
;
15093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15094 if (!SWIG_IsOK(res1
)) {
15095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15097 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (int)(arg1
)->GetZPosition();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_From_int(static_cast< int >(result
));
15111 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15112 PyObject
*resultobj
= 0;
15113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15117 PyObject
*swig_obj
[1] ;
15119 if (!args
) SWIG_fail
;
15120 swig_obj
[0] = args
;
15121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
15125 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (int)(arg1
)->GetButtonState();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_From_int(static_cast< int >(result
));
15139 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15140 PyObject
*resultobj
= 0;
15141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15145 PyObject
*swig_obj
[1] ;
15147 if (!args
) SWIG_fail
;
15148 swig_obj
[0] = args
;
15149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15153 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 result
= (int)(arg1
)->GetPOVPosition();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_From_int(static_cast< int >(result
));
15167 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15168 PyObject
*resultobj
= 0;
15169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15173 PyObject
*swig_obj
[1] ;
15175 if (!args
) SWIG_fail
;
15176 swig_obj
[0] = args
;
15177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15178 if (!SWIG_IsOK(res1
)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15181 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (int)(arg1
)->GetPOVCTSPosition();
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_From_int(static_cast< int >(result
));
15195 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15209 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (int)(arg1
)->GetRudderPosition();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= SWIG_From_int(static_cast< int >(result
));
15223 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15224 PyObject
*resultobj
= 0;
15225 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15229 PyObject
*swig_obj
[1] ;
15231 if (!args
) SWIG_fail
;
15232 swig_obj
[0] = args
;
15233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15234 if (!SWIG_IsOK(res1
)) {
15235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15237 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (int)(arg1
)->GetUPosition();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_From_int(static_cast< int >(result
));
15251 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15257 PyObject
*swig_obj
[1] ;
15259 if (!args
) SWIG_fail
;
15260 swig_obj
[0] = args
;
15261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
15265 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (int)(arg1
)->GetVPosition();
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= SWIG_From_int(static_cast< int >(result
));
15279 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15280 PyObject
*resultobj
= 0;
15281 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15285 PyObject
*swig_obj
[1] ;
15287 if (!args
) SWIG_fail
;
15288 swig_obj
[0] = args
;
15289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15290 if (!SWIG_IsOK(res1
)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15293 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (int)(arg1
)->GetMovementThreshold();
15297 wxPyEndAllowThreads(__tstate
);
15298 if (PyErr_Occurred()) SWIG_fail
;
15300 resultobj
= SWIG_From_int(static_cast< int >(result
));
15307 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15308 PyObject
*resultobj
= 0;
15309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 PyObject
* obj1
= 0 ;
15317 char * kwnames
[] = {
15318 (char *) "self",(char *) "threshold", NULL
15321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15323 if (!SWIG_IsOK(res1
)) {
15324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
15326 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15328 if (!SWIG_IsOK(ecode2
)) {
15329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
15331 arg2
= static_cast< int >(val2
);
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 (arg1
)->SetMovementThreshold(arg2
);
15335 wxPyEndAllowThreads(__tstate
);
15336 if (PyErr_Occurred()) SWIG_fail
;
15338 resultobj
= SWIG_Py_Void();
15345 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15346 PyObject
*resultobj
= 0;
15347 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15351 PyObject
*swig_obj
[1] ;
15353 if (!args
) SWIG_fail
;
15354 swig_obj
[0] = args
;
15355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15356 if (!SWIG_IsOK(res1
)) {
15357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
15359 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (bool)(arg1
)->IsOk();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15375 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15381 PyObject
*swig_obj
[1] ;
15383 if (!args
) SWIG_fail
;
15384 swig_obj
[0] = args
;
15385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
15389 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)(arg1
)->GetNumberJoysticks();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_From_int(static_cast< int >(result
));
15403 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15404 PyObject
*resultobj
= 0;
15405 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15409 PyObject
*swig_obj
[1] ;
15411 if (!args
) SWIG_fail
;
15412 swig_obj
[0] = args
;
15413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15414 if (!SWIG_IsOK(res1
)) {
15415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15417 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (int)(arg1
)->GetManufacturerId();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_From_int(static_cast< int >(result
));
15431 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15432 PyObject
*resultobj
= 0;
15433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15437 PyObject
*swig_obj
[1] ;
15439 if (!args
) SWIG_fail
;
15440 swig_obj
[0] = args
;
15441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15442 if (!SWIG_IsOK(res1
)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
15445 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (int)(arg1
)->GetProductId();
15449 wxPyEndAllowThreads(__tstate
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= SWIG_From_int(static_cast< int >(result
));
15459 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15460 PyObject
*resultobj
= 0;
15461 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15465 PyObject
*swig_obj
[1] ;
15467 if (!args
) SWIG_fail
;
15468 swig_obj
[0] = args
;
15469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15470 if (!SWIG_IsOK(res1
)) {
15471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
15473 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (arg1
)->GetProductName();
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15493 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15499 PyObject
*swig_obj
[1] ;
15501 if (!args
) SWIG_fail
;
15502 swig_obj
[0] = args
;
15503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15507 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= (int)(arg1
)->GetXMin();
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= SWIG_From_int(static_cast< int >(result
));
15521 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15522 PyObject
*resultobj
= 0;
15523 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15527 PyObject
*swig_obj
[1] ;
15529 if (!args
) SWIG_fail
;
15530 swig_obj
[0] = args
;
15531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15532 if (!SWIG_IsOK(res1
)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15535 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (int)(arg1
)->GetYMin();
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 resultobj
= SWIG_From_int(static_cast< int >(result
));
15549 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15550 PyObject
*resultobj
= 0;
15551 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15555 PyObject
*swig_obj
[1] ;
15557 if (!args
) SWIG_fail
;
15558 swig_obj
[0] = args
;
15559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15560 if (!SWIG_IsOK(res1
)) {
15561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15563 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (int)(arg1
)->GetZMin();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_From_int(static_cast< int >(result
));
15577 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15578 PyObject
*resultobj
= 0;
15579 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15583 PyObject
*swig_obj
[1] ;
15585 if (!args
) SWIG_fail
;
15586 swig_obj
[0] = args
;
15587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15588 if (!SWIG_IsOK(res1
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15591 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (int)(arg1
)->GetXMax();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= SWIG_From_int(static_cast< int >(result
));
15605 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15606 PyObject
*resultobj
= 0;
15607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15611 PyObject
*swig_obj
[1] ;
15613 if (!args
) SWIG_fail
;
15614 swig_obj
[0] = args
;
15615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15616 if (!SWIG_IsOK(res1
)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15619 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (int)(arg1
)->GetYMax();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_From_int(static_cast< int >(result
));
15633 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15634 PyObject
*resultobj
= 0;
15635 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15639 PyObject
*swig_obj
[1] ;
15641 if (!args
) SWIG_fail
;
15642 swig_obj
[0] = args
;
15643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15644 if (!SWIG_IsOK(res1
)) {
15645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15647 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (int)(arg1
)->GetZMax();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= SWIG_From_int(static_cast< int >(result
));
15661 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15662 PyObject
*resultobj
= 0;
15663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15667 PyObject
*swig_obj
[1] ;
15669 if (!args
) SWIG_fail
;
15670 swig_obj
[0] = args
;
15671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15672 if (!SWIG_IsOK(res1
)) {
15673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15675 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (int)(arg1
)->GetNumberButtons();
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_From_int(static_cast< int >(result
));
15689 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15690 PyObject
*resultobj
= 0;
15691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15695 PyObject
*swig_obj
[1] ;
15697 if (!args
) SWIG_fail
;
15698 swig_obj
[0] = args
;
15699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15700 if (!SWIG_IsOK(res1
)) {
15701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15703 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (int)(arg1
)->GetNumberAxes();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_From_int(static_cast< int >(result
));
15717 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15718 PyObject
*resultobj
= 0;
15719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15723 PyObject
*swig_obj
[1] ;
15725 if (!args
) SWIG_fail
;
15726 swig_obj
[0] = args
;
15727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
15731 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (int)(arg1
)->GetMaxButtons();
15735 wxPyEndAllowThreads(__tstate
);
15736 if (PyErr_Occurred()) SWIG_fail
;
15738 resultobj
= SWIG_From_int(static_cast< int >(result
));
15745 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15751 PyObject
*swig_obj
[1] ;
15753 if (!args
) SWIG_fail
;
15754 swig_obj
[0] = args
;
15755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
15759 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (int)(arg1
)->GetMaxAxes();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_From_int(static_cast< int >(result
));
15773 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15774 PyObject
*resultobj
= 0;
15775 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15779 PyObject
*swig_obj
[1] ;
15781 if (!args
) SWIG_fail
;
15782 swig_obj
[0] = args
;
15783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15787 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15790 result
= (int)(arg1
)->GetPollingMin();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= SWIG_From_int(static_cast< int >(result
));
15801 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15807 PyObject
*swig_obj
[1] ;
15809 if (!args
) SWIG_fail
;
15810 swig_obj
[0] = args
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15815 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (int)(arg1
)->GetPollingMax();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= SWIG_From_int(static_cast< int >(result
));
15829 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15830 PyObject
*resultobj
= 0;
15831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15835 PyObject
*swig_obj
[1] ;
15837 if (!args
) SWIG_fail
;
15838 swig_obj
[0] = args
;
15839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15840 if (!SWIG_IsOK(res1
)) {
15841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15843 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (int)(arg1
)->GetRudderMin();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_From_int(static_cast< int >(result
));
15857 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15858 PyObject
*resultobj
= 0;
15859 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15863 PyObject
*swig_obj
[1] ;
15865 if (!args
) SWIG_fail
;
15866 swig_obj
[0] = args
;
15867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15868 if (!SWIG_IsOK(res1
)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15871 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15874 result
= (int)(arg1
)->GetRudderMax();
15875 wxPyEndAllowThreads(__tstate
);
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 resultobj
= SWIG_From_int(static_cast< int >(result
));
15885 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15899 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (int)(arg1
)->GetUMin();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int(static_cast< int >(result
));
15913 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15919 PyObject
*swig_obj
[1] ;
15921 if (!args
) SWIG_fail
;
15922 swig_obj
[0] = args
;
15923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15927 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (int)(arg1
)->GetUMax();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= SWIG_From_int(static_cast< int >(result
));
15941 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 PyObject
*resultobj
= 0;
15943 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15947 PyObject
*swig_obj
[1] ;
15949 if (!args
) SWIG_fail
;
15950 swig_obj
[0] = args
;
15951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15955 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (int)(arg1
)->GetVMin();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_From_int(static_cast< int >(result
));
15969 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15970 PyObject
*resultobj
= 0;
15971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15975 PyObject
*swig_obj
[1] ;
15977 if (!args
) SWIG_fail
;
15978 swig_obj
[0] = args
;
15979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15980 if (!SWIG_IsOK(res1
)) {
15981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15983 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (int)(arg1
)->GetVMax();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_From_int(static_cast< int >(result
));
15997 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16003 PyObject
*swig_obj
[1] ;
16005 if (!args
) SWIG_fail
;
16006 swig_obj
[0] = args
;
16007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16008 if (!SWIG_IsOK(res1
)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
16011 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)(arg1
)->HasRudder();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16028 PyObject
*resultobj
= 0;
16029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16033 PyObject
*swig_obj
[1] ;
16035 if (!args
) SWIG_fail
;
16036 swig_obj
[0] = args
;
16037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16038 if (!SWIG_IsOK(res1
)) {
16039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
16041 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (bool)(arg1
)->HasZ();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16057 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16058 PyObject
*resultobj
= 0;
16059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16063 PyObject
*swig_obj
[1] ;
16065 if (!args
) SWIG_fail
;
16066 swig_obj
[0] = args
;
16067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16068 if (!SWIG_IsOK(res1
)) {
16069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
16071 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (bool)(arg1
)->HasU();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16088 PyObject
*resultobj
= 0;
16089 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16093 PyObject
*swig_obj
[1] ;
16095 if (!args
) SWIG_fail
;
16096 swig_obj
[0] = args
;
16097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16101 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16104 result
= (bool)(arg1
)->HasV();
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16117 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16118 PyObject
*resultobj
= 0;
16119 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16123 PyObject
*swig_obj
[1] ;
16125 if (!args
) SWIG_fail
;
16126 swig_obj
[0] = args
;
16127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
16131 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (bool)(arg1
)->HasPOV();
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16147 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16148 PyObject
*resultobj
= 0;
16149 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16153 PyObject
*swig_obj
[1] ;
16155 if (!args
) SWIG_fail
;
16156 swig_obj
[0] = args
;
16157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16158 if (!SWIG_IsOK(res1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
16161 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)(arg1
)->HasPOV4Dir();
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16177 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16178 PyObject
*resultobj
= 0;
16179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16183 PyObject
*swig_obj
[1] ;
16185 if (!args
) SWIG_fail
;
16186 swig_obj
[0] = args
;
16187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
16191 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (bool)(arg1
)->HasPOVCTS();
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16207 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
= 0;
16209 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16210 wxWindow
*arg2
= (wxWindow
*) 0 ;
16211 int arg3
= (int) 0 ;
16219 PyObject
* obj0
= 0 ;
16220 PyObject
* obj1
= 0 ;
16221 PyObject
* obj2
= 0 ;
16222 char * kwnames
[] = {
16223 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
16226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16228 if (!SWIG_IsOK(res1
)) {
16229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16231 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16233 if (!SWIG_IsOK(res2
)) {
16234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
16236 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16239 if (!SWIG_IsOK(ecode3
)) {
16240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
16242 arg3
= static_cast< int >(val3
);
16245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16246 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16259 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16260 PyObject
*resultobj
= 0;
16261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
16265 PyObject
*swig_obj
[1] ;
16267 if (!args
) SWIG_fail
;
16268 swig_obj
[0] = args
;
16269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
16270 if (!SWIG_IsOK(res1
)) {
16271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
16273 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)(arg1
)->ReleaseCapture();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16289 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16292 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
16293 return SWIG_Py_Void();
16296 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16297 return SWIG_Python_InitShadowInstance(args
);
16300 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= 0;
16302 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16303 int arg2
= (int) 0 ;
16304 int arg3
= (int) wxJOYSTICK1
;
16305 int arg4
= (int) 0 ;
16306 wxJoystickEvent
*result
= 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 PyObject
* obj2
= 0 ;
16318 PyObject
* obj3
= 0 ;
16319 char * kwnames
[] = {
16320 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
16323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16326 if (!SWIG_IsOK(ecode1
)) {
16327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16329 arg1
= static_cast< wxEventType
>(val1
);
16332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16333 if (!SWIG_IsOK(ecode2
)) {
16334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
16336 arg2
= static_cast< int >(val2
);
16339 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16340 if (!SWIG_IsOK(ecode3
)) {
16341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
16343 arg3
= static_cast< int >(val3
);
16346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16347 if (!SWIG_IsOK(ecode4
)) {
16348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
16350 arg4
= static_cast< int >(val4
);
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
16365 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16366 PyObject
*resultobj
= 0;
16367 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16371 PyObject
*swig_obj
[1] ;
16373 if (!args
) SWIG_fail
;
16374 swig_obj
[0] = args
;
16375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16376 if (!SWIG_IsOK(res1
)) {
16377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16379 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
16393 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 PyObject
*resultobj
= 0;
16395 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16399 PyObject
*swig_obj
[1] ;
16401 if (!args
) SWIG_fail
;
16402 swig_obj
[0] = args
;
16403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16404 if (!SWIG_IsOK(res1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16407 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_From_int(static_cast< int >(result
));
16421 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16422 PyObject
*resultobj
= 0;
16423 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16427 PyObject
*swig_obj
[1] ;
16429 if (!args
) SWIG_fail
;
16430 swig_obj
[0] = args
;
16431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16432 if (!SWIG_IsOK(res1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16435 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_From_int(static_cast< int >(result
));
16449 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16450 PyObject
*resultobj
= 0;
16451 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16455 PyObject
*swig_obj
[1] ;
16457 if (!args
) SWIG_fail
;
16458 swig_obj
[0] = args
;
16459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16460 if (!SWIG_IsOK(res1
)) {
16461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16463 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= SWIG_From_int(static_cast< int >(result
));
16477 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16483 PyObject
*swig_obj
[1] ;
16485 if (!args
) SWIG_fail
;
16486 swig_obj
[0] = args
;
16487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16491 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_From_int(static_cast< int >(result
));
16505 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 char * kwnames
[] = {
16516 (char *) "self",(char *) "stick", NULL
16519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16521 if (!SWIG_IsOK(res1
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16524 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16526 if (!SWIG_IsOK(ecode2
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
16529 arg2
= static_cast< int >(val2
);
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->SetJoystick(arg2
);
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= SWIG_Py_Void();
16543 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
= 0;
16545 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 char * kwnames
[] = {
16554 (char *) "self",(char *) "state", NULL
16557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16559 if (!SWIG_IsOK(res1
)) {
16560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16562 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16564 if (!SWIG_IsOK(ecode2
)) {
16565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
16567 arg2
= static_cast< int >(val2
);
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 (arg1
)->SetButtonState(arg2
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= SWIG_Py_Void();
16581 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
= 0;
16583 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char * kwnames
[] = {
16592 (char *) "self",(char *) "change", NULL
16595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16600 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16602 if (!SWIG_IsOK(ecode2
)) {
16603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
16605 arg2
= static_cast< int >(val2
);
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->SetButtonChange(arg2
);
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16612 resultobj
= SWIG_Py_Void();
16619 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
= 0;
16621 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16622 wxPoint
*arg2
= 0 ;
16626 PyObject
* obj0
= 0 ;
16627 PyObject
* obj1
= 0 ;
16628 char * kwnames
[] = {
16629 (char *) "self",(char *) "pos", NULL
16632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",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_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16637 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_Py_Void();
16655 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16656 PyObject
*resultobj
= 0;
16657 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char * kwnames
[] = {
16666 (char *) "self",(char *) "zPos", NULL
16669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",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_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
16674 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16676 if (!SWIG_IsOK(ecode2
)) {
16677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
16679 arg2
= static_cast< int >(val2
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 (arg1
)->SetZPosition(arg2
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_Py_Void();
16693 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16694 PyObject
*resultobj
= 0;
16695 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16699 PyObject
*swig_obj
[1] ;
16701 if (!args
) SWIG_fail
;
16702 swig_obj
[0] = args
;
16703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16704 if (!SWIG_IsOK(res1
)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16707 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16723 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16724 PyObject
*resultobj
= 0;
16725 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16729 PyObject
*swig_obj
[1] ;
16731 if (!args
) SWIG_fail
;
16732 swig_obj
[0] = args
;
16733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16737 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16754 PyObject
*resultobj
= 0;
16755 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16759 PyObject
*swig_obj
[1] ;
16761 if (!args
) SWIG_fail
;
16762 swig_obj
[0] = args
;
16763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16764 if (!SWIG_IsOK(res1
)) {
16765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16767 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16783 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16784 PyObject
*resultobj
= 0;
16785 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16786 int arg2
= (int) wxJOY_BUTTON_ANY
;
16792 PyObject
* obj0
= 0 ;
16793 PyObject
* obj1
= 0 ;
16794 char * kwnames
[] = {
16795 (char *) "self",(char *) "but", NULL
16798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16800 if (!SWIG_IsOK(res1
)) {
16801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16803 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16806 if (!SWIG_IsOK(ecode2
)) {
16807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
16809 arg2
= static_cast< int >(val2
);
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16826 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16827 PyObject
*resultobj
= 0;
16828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16829 int arg2
= (int) wxJOY_BUTTON_ANY
;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "but", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16846 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16849 if (!SWIG_IsOK(ecode2
)) {
16850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
16852 arg2
= static_cast< int >(val2
);
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16869 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
= 0;
16871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
16872 int arg2
= (int) wxJOY_BUTTON_ANY
;
16878 PyObject
* obj0
= 0 ;
16879 PyObject
* obj1
= 0 ;
16880 char * kwnames
[] = {
16881 (char *) "self",(char *) "but", NULL
16884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
16886 if (!SWIG_IsOK(res1
)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
16889 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
16891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16892 if (!SWIG_IsOK(ecode2
)) {
16893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
16895 arg2
= static_cast< int >(val2
);
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16912 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16915 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16916 return SWIG_Py_Void();
16919 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16920 return SWIG_Python_InitShadowInstance(args
);
16923 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
= 0;
16925 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16926 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16927 wxSound
*result
= 0 ;
16928 bool temp1
= false ;
16929 PyObject
* obj0
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "fileName", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16937 arg1
= wxString_in_helper(obj0
);
16938 if (arg1
== NULL
) SWIG_fail
;
16943 if (!wxPyCheckForApp()) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16964 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
= 0;
16966 PyObject
*arg1
= (PyObject
*) 0 ;
16967 wxSound
*result
= 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char * kwnames
[] = {
16970 (char *) "data", NULL
16973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16976 if (!wxPyCheckForApp()) SWIG_fail
;
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (wxSound
*)new_wxSound(arg1
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16989 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16990 PyObject
*resultobj
= 0;
16991 wxSound
*arg1
= (wxSound
*) 0 ;
16994 PyObject
*swig_obj
[1] ;
16996 if (!args
) SWIG_fail
;
16997 swig_obj
[0] = args
;
16998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16999 if (!SWIG_IsOK(res1
)) {
17000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
17002 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= SWIG_Py_Void();
17017 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17018 PyObject
*resultobj
= 0;
17019 wxSound
*arg1
= (wxSound
*) 0 ;
17020 wxString
*arg2
= 0 ;
17024 bool temp2
= false ;
17025 PyObject
* obj0
= 0 ;
17026 PyObject
* obj1
= 0 ;
17027 char * kwnames
[] = {
17028 (char *) "self",(char *) "fileName", NULL
17031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
17036 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17038 arg2
= wxString_in_helper(obj1
);
17039 if (arg2
== NULL
) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17065 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= 0;
17067 wxSound
*arg1
= (wxSound
*) 0 ;
17068 PyObject
*arg2
= (PyObject
*) 0 ;
17072 PyObject
* obj0
= 0 ;
17073 PyObject
* obj1
= 0 ;
17074 char * kwnames
[] = {
17075 (char *) "self",(char *) "data", NULL
17078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17080 if (!SWIG_IsOK(res1
)) {
17081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
17083 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17101 PyObject
*resultobj
= 0;
17102 wxSound
*arg1
= (wxSound
*) 0 ;
17106 PyObject
*swig_obj
[1] ;
17108 if (!args
) SWIG_fail
;
17109 swig_obj
[0] = args
;
17110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17111 if (!SWIG_IsOK(res1
)) {
17112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
17114 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= (bool)(arg1
)->IsOk();
17118 wxPyEndAllowThreads(__tstate
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxSound
*arg1
= (wxSound
*) 0 ;
17133 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17137 unsigned int val2
;
17139 PyObject
* obj0
= 0 ;
17140 PyObject
* obj1
= 0 ;
17141 char * kwnames
[] = {
17142 (char *) "self",(char *) "flags", NULL
17145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
17147 if (!SWIG_IsOK(res1
)) {
17148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
17150 arg1
= reinterpret_cast< wxSound
* >(argp1
);
17152 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17153 if (!SWIG_IsOK(ecode2
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
17156 arg2
= static_cast< unsigned int >(val2
);
17159 if (!wxPyCheckForApp()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17174 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
= 0;
17176 wxString
*arg1
= 0 ;
17177 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
17179 bool temp1
= false ;
17180 unsigned int val2
;
17182 PyObject
* obj0
= 0 ;
17183 PyObject
* obj1
= 0 ;
17184 char * kwnames
[] = {
17185 (char *) "filename",(char *) "flags", NULL
17188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17190 arg1
= wxString_in_helper(obj0
);
17191 if (arg1
== NULL
) SWIG_fail
;
17195 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17196 if (!SWIG_IsOK(ecode2
)) {
17197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
17199 arg2
= static_cast< unsigned int >(val2
);
17202 if (!wxPyCheckForApp()) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17225 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17226 PyObject
*resultobj
= 0;
17228 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
17230 if (!wxPyCheckForApp()) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_Py_Void();
17243 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17246 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
17247 return SWIG_Py_Void();
17250 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17251 return SWIG_Python_InitShadowInstance(args
);
17254 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxString
*arg1
= 0 ;
17257 wxString
*arg2
= 0 ;
17258 wxString
*arg3
= 0 ;
17259 wxString
*arg4
= 0 ;
17260 wxFileTypeInfo
*result
= 0 ;
17261 bool temp1
= false ;
17262 bool temp2
= false ;
17263 bool temp3
= false ;
17264 bool temp4
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 PyObject
* obj3
= 0 ;
17269 char * kwnames
[] = {
17270 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
17273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17275 arg1
= wxString_in_helper(obj0
);
17276 if (arg1
== NULL
) SWIG_fail
;
17280 arg2
= wxString_in_helper(obj1
);
17281 if (arg2
== NULL
) SWIG_fail
;
17285 arg3
= wxString_in_helper(obj2
);
17286 if (arg3
== NULL
) SWIG_fail
;
17290 arg4
= wxString_in_helper(obj3
);
17291 if (arg4
== NULL
) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
17339 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
= 0;
17341 wxArrayString
*arg1
= 0 ;
17342 wxFileTypeInfo
*result
= 0 ;
17343 bool temp1
= false ;
17344 PyObject
* obj0
= 0 ;
17345 char * kwnames
[] = {
17346 (char *) "sArray", NULL
17349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
17351 if (! PySequence_Check(obj0
)) {
17352 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
17355 arg1
= new wxArrayString
;
17357 int i
, len
=PySequence_Length(obj0
);
17358 for (i
=0; i
<len
; i
++) {
17359 PyObject
* item
= PySequence_GetItem(obj0
, i
);
17360 wxString
* s
= wxString_in_helper(item
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17375 if (temp1
) delete arg1
;
17380 if (temp1
) delete arg1
;
17386 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17387 PyObject
*resultobj
= 0;
17388 wxFileTypeInfo
*result
= 0 ;
17390 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
17404 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17405 PyObject
*resultobj
= 0;
17406 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17410 PyObject
*swig_obj
[1] ;
17412 if (!args
) SWIG_fail
;
17413 swig_obj
[0] = args
;
17414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17415 if (!SWIG_IsOK(res1
)) {
17416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17418 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
= 0;
17436 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17437 wxString
*arg2
= 0 ;
17438 int arg3
= (int) 0 ;
17441 bool temp2
= false ;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 PyObject
* obj2
= 0 ;
17447 char * kwnames
[] = {
17448 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
17451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17453 if (!SWIG_IsOK(res1
)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17456 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17458 arg2
= wxString_in_helper(obj1
);
17459 if (arg2
== NULL
) SWIG_fail
;
17463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17464 if (!SWIG_IsOK(ecode3
)) {
17465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
17467 arg3
= static_cast< int >(val3
);
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_Py_Void();
17490 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17491 PyObject
*resultobj
= 0;
17492 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17493 wxString
*arg2
= 0 ;
17496 bool temp2
= false ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 char * kwnames
[] = {
17500 (char *) "self",(char *) "shortDesc", NULL
17503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17505 if (!SWIG_IsOK(res1
)) {
17506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
17508 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17510 arg2
= wxString_in_helper(obj1
);
17511 if (arg2
== NULL
) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_Py_Void();
17535 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17536 PyObject
*resultobj
= 0;
17537 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17538 wxString
*result
= 0 ;
17541 PyObject
*swig_obj
[1] ;
17543 if (!args
) SWIG_fail
;
17544 swig_obj
[0] = args
;
17545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17546 if (!SWIG_IsOK(res1
)) {
17547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17549 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
17554 result
= (wxString
*) &_result_ref
;
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17572 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(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_GetOpenCommand" "', 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
)->GetOpenCommand();
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_GetPrintCommand(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_GetPrintCommand" "', 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
)->GetPrintCommand();
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_GetShortDesc(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_GetShortDesc" "', 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
)->GetShortDesc();
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_GetDescription(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_GetDescription" "', 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
)->GetDescription();
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_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17721 PyObject
*resultobj
= 0;
17722 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17723 wxArrayString
*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_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17734 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
17739 result
= (wxArrayString
*) &_result_ref
;
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= wxArrayString2PyList_helper(*result
);
17753 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17754 PyObject
*resultobj
= 0;
17755 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17759 PyObject
*swig_obj
[1] ;
17761 if (!args
) SWIG_fail
;
17762 swig_obj
[0] = args
;
17763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17764 if (!SWIG_IsOK(res1
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17767 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
17781 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17782 PyObject
*resultobj
= 0;
17783 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
17784 wxString
*result
= 0 ;
17787 PyObject
*swig_obj
[1] ;
17789 if (!args
) SWIG_fail
;
17790 swig_obj
[0] = args
;
17791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
17792 if (!SWIG_IsOK(res1
)) {
17793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17795 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
17800 result
= (wxString
*) &_result_ref
;
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17818 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17819 PyObject
*resultobj
= 0;
17820 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 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_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
17832 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_From_int(static_cast< int >(result
));
17846 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17849 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
17850 return SWIG_Py_Void();
17853 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17854 return SWIG_Python_InitShadowInstance(args
);
17857 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
= 0;
17859 wxFileTypeInfo
*arg1
= 0 ;
17860 wxFileType
*result
= 0 ;
17863 PyObject
* obj0
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "ftInfo", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
17876 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
17890 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17891 PyObject
*resultobj
= 0;
17892 wxFileType
*arg1
= (wxFileType
*) 0 ;
17895 PyObject
*swig_obj
[1] ;
17897 if (!args
) SWIG_fail
;
17898 swig_obj
[0] = args
;
17899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17903 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_Py_Void();
17918 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17919 PyObject
*resultobj
= 0;
17920 wxFileType
*arg1
= (wxFileType
*) 0 ;
17921 PyObject
*result
= 0 ;
17924 PyObject
*swig_obj
[1] ;
17926 if (!args
) SWIG_fail
;
17927 swig_obj
[0] = args
;
17928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17932 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
;
17946 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17947 PyObject
*resultobj
= 0;
17948 wxFileType
*arg1
= (wxFileType
*) 0 ;
17949 PyObject
*result
= 0 ;
17952 PyObject
*swig_obj
[1] ;
17954 if (!args
) SWIG_fail
;
17955 swig_obj
[0] = args
;
17956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17957 if (!SWIG_IsOK(res1
)) {
17958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17960 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= result
;
17974 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17975 PyObject
*resultobj
= 0;
17976 wxFileType
*arg1
= (wxFileType
*) 0 ;
17977 PyObject
*result
= 0 ;
17980 PyObject
*swig_obj
[1] ;
17982 if (!args
) SWIG_fail
;
17983 swig_obj
[0] = args
;
17984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17985 if (!SWIG_IsOK(res1
)) {
17986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17988 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= result
;
18002 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18003 PyObject
*resultobj
= 0;
18004 wxFileType
*arg1
= (wxFileType
*) 0 ;
18005 wxIcon
*result
= 0 ;
18008 PyObject
*swig_obj
[1] ;
18010 if (!args
) SWIG_fail
;
18011 swig_obj
[0] = args
;
18012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18013 if (!SWIG_IsOK(res1
)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18016 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
18030 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18031 PyObject
*resultobj
= 0;
18032 wxFileType
*arg1
= (wxFileType
*) 0 ;
18033 PyObject
*result
= 0 ;
18036 PyObject
*swig_obj
[1] ;
18038 if (!args
) SWIG_fail
;
18039 swig_obj
[0] = args
;
18040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18041 if (!SWIG_IsOK(res1
)) {
18042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
18044 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= result
;
18058 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18059 PyObject
*resultobj
= 0;
18060 wxFileType
*arg1
= (wxFileType
*) 0 ;
18061 PyObject
*result
= 0 ;
18064 PyObject
*swig_obj
[1] ;
18066 if (!args
) SWIG_fail
;
18067 swig_obj
[0] = args
;
18068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18069 if (!SWIG_IsOK(res1
)) {
18070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
18072 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= result
;
18086 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
= 0;
18088 wxFileType
*arg1
= (wxFileType
*) 0 ;
18089 wxString
*arg2
= 0 ;
18090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18092 PyObject
*result
= 0 ;
18095 bool temp2
= false ;
18096 bool temp3
= false ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 PyObject
* obj2
= 0 ;
18100 char * kwnames
[] = {
18101 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18106 if (!SWIG_IsOK(res1
)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18109 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18111 arg2
= wxString_in_helper(obj1
);
18112 if (arg2
== NULL
) SWIG_fail
;
18117 arg3
= wxString_in_helper(obj2
);
18118 if (arg3
== NULL
) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= result
;
18151 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
= 0;
18153 wxFileType
*arg1
= (wxFileType
*) 0 ;
18154 wxString
*arg2
= 0 ;
18155 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18156 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18157 PyObject
*result
= 0 ;
18160 bool temp2
= false ;
18161 bool temp3
= false ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 PyObject
* obj2
= 0 ;
18165 char * kwnames
[] = {
18166 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18171 if (!SWIG_IsOK(res1
)) {
18172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18174 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18176 arg2
= wxString_in_helper(obj1
);
18177 if (arg2
== NULL
) SWIG_fail
;
18182 arg3
= wxString_in_helper(obj2
);
18183 if (arg3
== NULL
) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= result
;
18216 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
= 0;
18218 wxFileType
*arg1
= (wxFileType
*) 0 ;
18219 wxString
*arg2
= 0 ;
18220 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18221 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18222 PyObject
*result
= 0 ;
18225 bool temp2
= false ;
18226 bool temp3
= false ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 PyObject
* obj2
= 0 ;
18230 char * kwnames
[] = {
18231 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
18234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18236 if (!SWIG_IsOK(res1
)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
18239 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18241 arg2
= wxString_in_helper(obj1
);
18242 if (arg2
== NULL
) SWIG_fail
;
18247 arg3
= wxString_in_helper(obj2
);
18248 if (arg3
== NULL
) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= result
;
18281 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxFileType
*arg1
= (wxFileType
*) 0 ;
18284 wxString
*arg2
= 0 ;
18285 wxString
*arg3
= 0 ;
18286 bool arg4
= (bool) true ;
18290 bool temp2
= false ;
18291 bool temp3
= false ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 PyObject
* obj2
= 0 ;
18297 PyObject
* obj3
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
18307 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18309 arg2
= wxString_in_helper(obj1
);
18310 if (arg2
== NULL
) SWIG_fail
;
18314 arg3
= wxString_in_helper(obj2
);
18315 if (arg3
== NULL
) SWIG_fail
;
18319 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18320 if (!SWIG_IsOK(ecode4
)) {
18321 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
18323 arg4
= static_cast< bool >(val4
);
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
= 0;
18358 wxFileType
*arg1
= (wxFileType
*) 0 ;
18359 wxString
const &arg2_defvalue
= wxPyEmptyString
;
18360 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18361 int arg3
= (int) 0 ;
18365 bool temp2
= false ;
18368 PyObject
* obj0
= 0 ;
18369 PyObject
* obj1
= 0 ;
18370 PyObject
* obj2
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "cmd",(char *) "index", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
18380 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18383 arg2
= wxString_in_helper(obj1
);
18384 if (arg2
== NULL
) SWIG_fail
;
18389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18390 if (!SWIG_IsOK(ecode3
)) {
18391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
18393 arg3
= static_cast< int >(val3
);
18396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18397 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
18398 wxPyEndAllowThreads(__tstate
);
18399 if (PyErr_Occurred()) SWIG_fail
;
18402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18418 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18419 PyObject
*resultobj
= 0;
18420 wxFileType
*arg1
= (wxFileType
*) 0 ;
18424 PyObject
*swig_obj
[1] ;
18426 if (!args
) SWIG_fail
;
18427 swig_obj
[0] = args
;
18428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18429 if (!SWIG_IsOK(res1
)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
18432 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= (bool)(arg1
)->Unassociate();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18448 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
= 0;
18450 wxString
*arg1
= 0 ;
18451 wxString
*arg2
= 0 ;
18452 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18453 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18455 bool temp1
= false ;
18456 bool temp2
= false ;
18457 bool temp3
= false ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 PyObject
* obj2
= 0 ;
18461 char * kwnames
[] = {
18462 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
18465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18467 arg1
= wxString_in_helper(obj0
);
18468 if (arg1
== NULL
) SWIG_fail
;
18472 arg2
= wxString_in_helper(obj1
);
18473 if (arg2
== NULL
) SWIG_fail
;
18478 arg3
= wxString_in_helper(obj2
);
18479 if (arg3
== NULL
) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18493 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18526 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18529 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
18530 return SWIG_Py_Void();
18533 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18534 return SWIG_Python_InitShadowInstance(args
);
18537 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
18538 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
18543 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
18544 PyObject
*pyobj
= 0;
18546 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
18551 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
= 0;
18553 wxString
*arg1
= 0 ;
18554 wxString
*arg2
= 0 ;
18556 bool temp1
= false ;
18557 bool temp2
= false ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 char * kwnames
[] = {
18561 (char *) "mimeType",(char *) "wildcard", NULL
18564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18566 arg1
= wxString_in_helper(obj0
);
18567 if (arg1
== NULL
) SWIG_fail
;
18571 arg2
= wxString_in_helper(obj1
);
18572 if (arg2
== NULL
) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18606 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18607 PyObject
*resultobj
= 0;
18608 wxMimeTypesManager
*result
= 0 ;
18610 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
18624 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
= 0;
18626 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18627 int arg2
= (int) wxMAILCAP_ALL
;
18628 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18629 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18634 bool temp3
= false ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 PyObject
* obj2
= 0 ;
18638 char * kwnames
[] = {
18639 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
18642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18644 if (!SWIG_IsOK(res1
)) {
18645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18647 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18650 if (!SWIG_IsOK(ecode2
)) {
18651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
18653 arg2
= static_cast< int >(val2
);
18657 arg3
= wxString_in_helper(obj2
);
18658 if (arg3
== NULL
) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_Py_Void();
18683 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18684 PyObject
*resultobj
= 0;
18685 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18688 PyObject
*swig_obj
[1] ;
18690 if (!args
) SWIG_fail
;
18691 swig_obj
[0] = args
;
18692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18696 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->ClearData();
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_Py_Void();
18710 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
= 0;
18712 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18713 wxString
*arg2
= 0 ;
18714 wxFileType
*result
= 0 ;
18717 bool temp2
= false ;
18718 PyObject
* obj0
= 0 ;
18719 PyObject
* obj1
= 0 ;
18720 char * kwnames
[] = {
18721 (char *) "self",(char *) "ext", NULL
18724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18726 if (!SWIG_IsOK(res1
)) {
18727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18729 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18731 arg2
= wxString_in_helper(obj1
);
18732 if (arg2
== NULL
) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18756 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= 0;
18758 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18759 wxString
*arg2
= 0 ;
18760 wxFileType
*result
= 0 ;
18763 bool temp2
= false ;
18764 PyObject
* obj0
= 0 ;
18765 PyObject
* obj1
= 0 ;
18766 char * kwnames
[] = {
18767 (char *) "self",(char *) "mimeType", NULL
18770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18772 if (!SWIG_IsOK(res1
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18775 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18777 arg2
= wxString_in_helper(obj1
);
18778 if (arg2
== NULL
) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18802 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
= 0;
18804 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18805 wxString
*arg2
= 0 ;
18806 bool arg3
= (bool) false ;
18810 bool temp2
= false ;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 PyObject
* obj2
= 0 ;
18816 char * kwnames
[] = {
18817 (char *) "self",(char *) "filename",(char *) "fallback", NULL
18820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18822 if (!SWIG_IsOK(res1
)) {
18823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18825 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18827 arg2
= wxString_in_helper(obj1
);
18828 if (arg2
== NULL
) SWIG_fail
;
18832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18833 if (!SWIG_IsOK(ecode3
)) {
18834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
18836 arg3
= static_cast< bool >(val3
);
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18861 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
= 0;
18863 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18864 wxString
*arg2
= 0 ;
18868 bool temp2
= false ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char * kwnames
[] = {
18872 (char *) "self",(char *) "filename", NULL
18875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18877 if (!SWIG_IsOK(res1
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18880 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18882 arg2
= wxString_in_helper(obj1
);
18883 if (arg2
== NULL
) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18909 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18910 PyObject
*resultobj
= 0;
18911 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18912 PyObject
*result
= 0 ;
18915 PyObject
*swig_obj
[1] ;
18917 if (!args
) SWIG_fail
;
18918 swig_obj
[0] = args
;
18919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18920 if (!SWIG_IsOK(res1
)) {
18921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18923 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
;
18937 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
= 0;
18939 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18940 wxFileTypeInfo
*arg2
= 0 ;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char * kwnames
[] = {
18948 (char *) "self",(char *) "ft", NULL
18951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18953 if (!SWIG_IsOK(res1
)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18956 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18958 if (!SWIG_IsOK(res2
)) {
18959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18964 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 resultobj
= SWIG_Py_Void();
18978 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
= 0;
18980 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18981 wxFileTypeInfo
*arg2
= 0 ;
18982 wxFileType
*result
= 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char * kwnames
[] = {
18990 (char *) "self",(char *) "ftInfo", NULL
18993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18995 if (!SWIG_IsOK(res1
)) {
18996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18998 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
19000 if (!SWIG_IsOK(res2
)) {
19001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
19006 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
19020 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
= 0;
19022 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19023 wxFileType
*arg2
= (wxFileType
*) 0 ;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char * kwnames
[] = {
19032 (char *) "self",(char *) "ft", NULL
19035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
19037 if (!SWIG_IsOK(res1
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19040 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19041 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
19042 if (!SWIG_IsOK(res2
)) {
19043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
19045 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 result
= (bool)(arg1
)->Unassociate(arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19061 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19062 PyObject
*resultobj
= 0;
19063 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
19066 PyObject
*swig_obj
[1] ;
19068 if (!args
) SWIG_fail
;
19069 swig_obj
[0] = args
;
19070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
19074 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 resultobj
= SWIG_Py_Void();
19089 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19092 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
19093 return SWIG_Py_Void();
19096 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19097 return SWIG_Python_InitShadowInstance(args
);
19100 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
19101 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
19106 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
19107 PyObject
*pyobj
= 0;
19111 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19113 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
19120 SWIGINTERN
int ART_MENU_set(PyObject
*) {
19121 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
19126 SWIGINTERN PyObject
*ART_MENU_get(void) {
19127 PyObject
*pyobj
= 0;
19131 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19133 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
19140 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
19141 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
19146 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
19147 PyObject
*pyobj
= 0;
19151 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19153 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
19160 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
19161 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
19166 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
19167 PyObject
*pyobj
= 0;
19171 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19173 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
19180 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
19181 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
19186 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
19187 PyObject
*pyobj
= 0;
19191 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19193 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
19200 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
19201 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
19206 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
19207 PyObject
*pyobj
= 0;
19211 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19213 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
19220 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
19221 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
19226 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
19227 PyObject
*pyobj
= 0;
19231 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19233 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
19240 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
19241 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
19246 SWIGINTERN PyObject
*ART_OTHER_get(void) {
19247 PyObject
*pyobj
= 0;
19251 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19253 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
19260 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
19261 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
19266 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
19267 PyObject
*pyobj
= 0;
19271 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19273 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
19280 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
19281 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
19286 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
19287 PyObject
*pyobj
= 0;
19291 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19293 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
19300 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
19301 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
19306 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
19307 PyObject
*pyobj
= 0;
19311 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19313 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
19320 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
19321 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
19326 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
19327 PyObject
*pyobj
= 0;
19331 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19333 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
19340 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
19341 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
19346 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
19347 PyObject
*pyobj
= 0;
19351 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19353 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
19360 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
19361 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
19366 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
19367 PyObject
*pyobj
= 0;
19371 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19373 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
19380 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
19381 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
19386 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
19387 PyObject
*pyobj
= 0;
19391 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19393 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
19400 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
19401 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
19406 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
19407 PyObject
*pyobj
= 0;
19411 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19413 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
19420 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
19421 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
19426 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
19427 PyObject
*pyobj
= 0;
19431 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19433 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
19440 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
19441 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
19446 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
19447 PyObject
*pyobj
= 0;
19451 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19453 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
19460 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
19461 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
19466 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
19467 PyObject
*pyobj
= 0;
19471 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19473 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
19480 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
19481 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
19486 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
19487 PyObject
*pyobj
= 0;
19491 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19493 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
19500 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
19501 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
19506 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
19507 PyObject
*pyobj
= 0;
19511 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19513 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
19520 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
19521 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
19526 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
19527 PyObject
*pyobj
= 0;
19531 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19533 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
19540 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
19541 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
19546 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
19547 PyObject
*pyobj
= 0;
19551 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19553 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
19560 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
19561 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
19566 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
19567 PyObject
*pyobj
= 0;
19571 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19573 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
19580 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
19581 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
19586 SWIGINTERN PyObject
*ART_PRINT_get(void) {
19587 PyObject
*pyobj
= 0;
19591 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19593 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
19600 SWIGINTERN
int ART_HELP_set(PyObject
*) {
19601 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
19606 SWIGINTERN PyObject
*ART_HELP_get(void) {
19607 PyObject
*pyobj
= 0;
19611 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19613 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
19620 SWIGINTERN
int ART_TIP_set(PyObject
*) {
19621 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
19626 SWIGINTERN PyObject
*ART_TIP_get(void) {
19627 PyObject
*pyobj
= 0;
19631 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19633 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
19640 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
19641 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
19646 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
19647 PyObject
*pyobj
= 0;
19651 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19653 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
19660 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
19661 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
19666 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
19667 PyObject
*pyobj
= 0;
19671 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19673 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
19680 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
19681 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
19686 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
19687 PyObject
*pyobj
= 0;
19691 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19693 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
19700 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
19701 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
19706 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
19707 PyObject
*pyobj
= 0;
19711 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19713 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
19720 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
19721 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
19726 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
19727 PyObject
*pyobj
= 0;
19731 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19733 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
19740 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
19741 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
19746 SWIGINTERN PyObject
*ART_CDROM_get(void) {
19747 PyObject
*pyobj
= 0;
19751 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19753 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
19760 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
19761 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
19766 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
19767 PyObject
*pyobj
= 0;
19771 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19773 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
19780 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
19781 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
19786 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
19787 PyObject
*pyobj
= 0;
19791 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19793 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
19800 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
19801 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
19806 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
19807 PyObject
*pyobj
= 0;
19811 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19813 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
19820 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
19821 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
19826 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
19827 PyObject
*pyobj
= 0;
19831 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19833 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
19840 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
19841 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
19846 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
19847 PyObject
*pyobj
= 0;
19851 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19853 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
19860 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
19861 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
19866 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
19867 PyObject
*pyobj
= 0;
19871 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19873 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
19880 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
19881 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
19886 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
19887 PyObject
*pyobj
= 0;
19891 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19893 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19900 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19901 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19906 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19907 PyObject
*pyobj
= 0;
19911 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19913 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19920 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19921 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19926 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19927 PyObject
*pyobj
= 0;
19931 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19933 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19940 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19941 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19946 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19947 PyObject
*pyobj
= 0;
19951 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19953 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19960 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19961 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19966 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19967 PyObject
*pyobj
= 0;
19971 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19973 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19980 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19981 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19986 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19987 PyObject
*pyobj
= 0;
19991 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19993 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
20000 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
20001 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
20006 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
20007 PyObject
*pyobj
= 0;
20011 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20013 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
20020 SWIGINTERN
int ART_COPY_set(PyObject
*) {
20021 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
20026 SWIGINTERN PyObject
*ART_COPY_get(void) {
20027 PyObject
*pyobj
= 0;
20031 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20033 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
20040 SWIGINTERN
int ART_CUT_set(PyObject
*) {
20041 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
20046 SWIGINTERN PyObject
*ART_CUT_get(void) {
20047 PyObject
*pyobj
= 0;
20051 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20053 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
20060 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
20061 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
20066 SWIGINTERN PyObject
*ART_PASTE_get(void) {
20067 PyObject
*pyobj
= 0;
20071 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20073 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
20080 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
20081 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
20086 SWIGINTERN PyObject
*ART_DELETE_get(void) {
20087 PyObject
*pyobj
= 0;
20091 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20093 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
20100 SWIGINTERN
int ART_NEW_set(PyObject
*) {
20101 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
20106 SWIGINTERN PyObject
*ART_NEW_get(void) {
20107 PyObject
*pyobj
= 0;
20111 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20113 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
20120 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
20121 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
20126 SWIGINTERN PyObject
*ART_UNDO_get(void) {
20127 PyObject
*pyobj
= 0;
20131 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20133 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
20140 SWIGINTERN
int ART_REDO_set(PyObject
*) {
20141 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
20146 SWIGINTERN PyObject
*ART_REDO_get(void) {
20147 PyObject
*pyobj
= 0;
20151 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20153 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
20160 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
20161 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
20166 SWIGINTERN PyObject
*ART_QUIT_get(void) {
20167 PyObject
*pyobj
= 0;
20171 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20173 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
20180 SWIGINTERN
int ART_FIND_set(PyObject
*) {
20181 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
20186 SWIGINTERN PyObject
*ART_FIND_get(void) {
20187 PyObject
*pyobj
= 0;
20191 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20193 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
20200 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
20201 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
20206 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
20207 PyObject
*pyobj
= 0;
20211 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20213 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
20220 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20221 PyObject
*resultobj
= 0;
20222 wxPyArtProvider
*result
= 0 ;
20224 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
20226 if (!wxPyCheckForApp()) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (wxPyArtProvider
*)new wxPyArtProvider();
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
20239 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20240 PyObject
*resultobj
= 0;
20241 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20244 PyObject
*swig_obj
[1] ;
20246 if (!args
) SWIG_fail
;
20247 swig_obj
[0] = args
;
20248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20249 if (!SWIG_IsOK(res1
)) {
20250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20252 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= SWIG_Py_Void();
20267 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
= 0;
20269 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20270 PyObject
*arg2
= (PyObject
*) 0 ;
20271 PyObject
*arg3
= (PyObject
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 PyObject
* obj2
= 0 ;
20277 char * kwnames
[] = {
20278 (char *) "self",(char *) "self",(char *) "_class", NULL
20281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20283 if (!SWIG_IsOK(res1
)) {
20284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20286 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= SWIG_Py_Void();
20302 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20306 PyObject
* obj0
= 0 ;
20307 char * kwnames
[] = {
20308 (char *) "provider", NULL
20311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
20312 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
20313 if (!SWIG_IsOK(res1
)) {
20314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 wxPyArtProvider::PushProvider(arg1
);
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 resultobj
= SWIG_Py_Void();
20329 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20330 PyObject
*resultobj
= 0;
20333 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 result
= (bool)wxPyArtProvider::PopProvider();
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20349 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
= 0;
20351 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20355 PyObject
* obj0
= 0 ;
20356 char * kwnames
[] = {
20357 (char *) "provider", NULL
20360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
20361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20362 if (!SWIG_IsOK(res1
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20365 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20381 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
= 0;
20383 wxString
*arg1
= 0 ;
20384 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20385 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20386 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20387 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20389 bool temp1
= false ;
20390 bool temp2
= false ;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20394 PyObject
* obj2
= 0 ;
20395 char * kwnames
[] = {
20396 (char *) "id",(char *) "client",(char *) "size", NULL
20399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20401 arg1
= wxString_in_helper(obj0
);
20402 if (arg1
== NULL
) SWIG_fail
;
20407 arg2
= wxString_in_helper(obj1
);
20408 if (arg2
== NULL
) SWIG_fail
;
20415 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20419 if (!wxPyCheckForApp()) SWIG_fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
20448 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
= 0;
20450 wxString
*arg1
= 0 ;
20451 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
20452 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20453 wxSize
const &arg3_defvalue
= wxDefaultSize
;
20454 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
20456 bool temp1
= false ;
20457 bool temp2
= false ;
20459 PyObject
* obj0
= 0 ;
20460 PyObject
* obj1
= 0 ;
20461 PyObject
* obj2
= 0 ;
20462 char * kwnames
[] = {
20463 (char *) "id",(char *) "client",(char *) "size", NULL
20466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20468 arg1
= wxString_in_helper(obj0
);
20469 if (arg1
== NULL
) SWIG_fail
;
20474 arg2
= wxString_in_helper(obj1
);
20475 if (arg2
== NULL
) SWIG_fail
;
20482 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20486 if (!wxPyCheckForApp()) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
20489 wxPyEndAllowThreads(__tstate
);
20490 if (PyErr_Occurred()) SWIG_fail
;
20492 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
20515 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
= 0;
20517 wxString
*arg1
= 0 ;
20518 bool arg2
= (bool) false ;
20520 bool temp1
= false ;
20523 PyObject
* obj0
= 0 ;
20524 PyObject
* obj1
= 0 ;
20525 char * kwnames
[] = {
20526 (char *) "client",(char *) "platform_dependent", NULL
20529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20531 arg1
= wxString_in_helper(obj0
);
20532 if (arg1
== NULL
) SWIG_fail
;
20536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20537 if (!SWIG_IsOK(ecode2
)) {
20538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
20540 arg2
= static_cast< bool >(val2
);
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20563 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20564 PyObject
*resultobj
= 0;
20565 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
20568 PyObject
*swig_obj
[1] ;
20570 if (!args
) SWIG_fail
;
20571 swig_obj
[0] = args
;
20572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
20573 if (!SWIG_IsOK(res1
)) {
20574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
20576 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 wxPyArtProvider_Destroy(arg1
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_Py_Void();
20590 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20593 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
20594 return SWIG_Py_Void();
20597 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20598 return SWIG_Python_InitShadowInstance(args
);
20601 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20602 PyObject
*resultobj
= 0;
20603 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20606 PyObject
*swig_obj
[1] ;
20608 if (!args
) SWIG_fail
;
20609 swig_obj
[0] = args
;
20610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20611 if (!SWIG_IsOK(res1
)) {
20612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20614 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_Py_Void();
20629 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
= 0;
20631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20632 wxConfigBase
*result
= 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char * kwnames
[] = {
20636 (char *) "config", NULL
20639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
20640 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
20641 if (!SWIG_IsOK(res1
)) {
20642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20646 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20657 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 bool arg1
= (bool) true ;
20660 wxConfigBase
*result
= 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char * kwnames
[] = {
20665 (char *) "createOnDemand", NULL
20668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
20670 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
20671 if (!SWIG_IsOK(ecode1
)) {
20672 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
20674 arg1
= static_cast< bool >(val1
);
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20689 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20690 PyObject
*resultobj
= 0;
20691 wxConfigBase
*result
= 0 ;
20693 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (wxConfigBase
*)wxConfigBase::Create();
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20707 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20708 PyObject
*resultobj
= 0;
20710 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 wxConfigBase::DontCreateOnDemand();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= SWIG_Py_Void();
20724 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= 0;
20726 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20727 wxString
*arg2
= 0 ;
20730 bool temp2
= false ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char * kwnames
[] = {
20734 (char *) "self",(char *) "path", NULL
20737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20742 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20744 arg2
= wxString_in_helper(obj1
);
20745 if (arg2
== NULL
) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 (arg1
)->SetPath((wxString
const &)*arg2
);
20751 wxPyEndAllowThreads(__tstate
);
20752 if (PyErr_Occurred()) SWIG_fail
;
20754 resultobj
= SWIG_Py_Void();
20769 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20770 PyObject
*resultobj
= 0;
20771 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20772 wxString
*result
= 0 ;
20775 PyObject
*swig_obj
[1] ;
20777 if (!args
) SWIG_fail
;
20778 swig_obj
[0] = args
;
20779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20783 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
20788 result
= (wxString
*) &_result_ref
;
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20797 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20806 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 PyObject
*resultobj
= 0;
20808 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20809 PyObject
*result
= 0 ;
20812 PyObject
*swig_obj
[1] ;
20814 if (!args
) SWIG_fail
;
20815 swig_obj
[0] = args
;
20816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20817 if (!SWIG_IsOK(res1
)) {
20818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20820 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20827 resultobj
= result
;
20834 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20835 PyObject
*resultobj
= 0;
20836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20838 PyObject
*result
= 0 ;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 char * kwnames
[] = {
20846 (char *) "self",(char *) "index", NULL
20849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20851 if (!SWIG_IsOK(res1
)) {
20852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20854 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20855 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20856 if (!SWIG_IsOK(ecode2
)) {
20857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
20859 arg2
= static_cast< long >(val2
);
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
20863 wxPyEndAllowThreads(__tstate
);
20864 if (PyErr_Occurred()) SWIG_fail
;
20866 resultobj
= result
;
20873 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20874 PyObject
*resultobj
= 0;
20875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20876 PyObject
*result
= 0 ;
20879 PyObject
*swig_obj
[1] ;
20881 if (!args
) SWIG_fail
;
20882 swig_obj
[0] = args
;
20883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20884 if (!SWIG_IsOK(res1
)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20887 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= result
;
20901 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
= 0;
20903 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20905 PyObject
*result
= 0 ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char * kwnames
[] = {
20913 (char *) "self",(char *) "index", NULL
20916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20921 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20923 if (!SWIG_IsOK(ecode2
)) {
20924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20926 arg2
= static_cast< long >(val2
);
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= result
;
20940 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
= 0;
20942 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20943 bool arg2
= (bool) false ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char * kwnames
[] = {
20952 (char *) "self",(char *) "recursive", NULL
20955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20957 if (!SWIG_IsOK(res1
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20960 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20963 if (!SWIG_IsOK(ecode2
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20966 arg2
= static_cast< bool >(val2
);
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20981 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
= 0;
20983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20984 bool arg2
= (bool) false ;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 char * kwnames
[] = {
20993 (char *) "self",(char *) "recursive", NULL
20996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20998 if (!SWIG_IsOK(res1
)) {
20999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21001 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21004 if (!SWIG_IsOK(ecode2
)) {
21005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
21007 arg2
= static_cast< bool >(val2
);
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
21022 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21025 wxString
*arg2
= 0 ;
21029 bool temp2
= false ;
21030 PyObject
* obj0
= 0 ;
21031 PyObject
* obj1
= 0 ;
21032 char * kwnames
[] = {
21033 (char *) "self",(char *) "name", NULL
21036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21038 if (!SWIG_IsOK(res1
)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21041 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21043 arg2
= wxString_in_helper(obj1
);
21044 if (arg2
== NULL
) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21070 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
= 0;
21072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21073 wxString
*arg2
= 0 ;
21077 bool temp2
= false ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 char * kwnames
[] = {
21081 (char *) "self",(char *) "name", NULL
21084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21086 if (!SWIG_IsOK(res1
)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21089 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21091 arg2
= wxString_in_helper(obj1
);
21092 if (arg2
== NULL
) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21118 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
= 0;
21120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21121 wxString
*arg2
= 0 ;
21125 bool temp2
= false ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char * kwnames
[] = {
21129 (char *) "self",(char *) "name", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21137 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21139 arg2
= wxString_in_helper(obj1
);
21140 if (arg2
== NULL
) SWIG_fail
;
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
= 0;
21168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21169 wxString
*arg2
= 0 ;
21170 wxConfigBase::EntryType result
;
21173 bool temp2
= false ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char * kwnames
[] = {
21177 (char *) "self",(char *) "name", NULL
21180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21182 if (!SWIG_IsOK(res1
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21185 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21187 arg2
= wxString_in_helper(obj1
);
21188 if (arg2
== NULL
) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_From_int(static_cast< int >(result
));
21212 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
= 0;
21214 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21215 wxString
*arg2
= 0 ;
21216 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21217 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21221 bool temp2
= false ;
21222 bool temp3
= false ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 PyObject
* obj2
= 0 ;
21226 char * kwnames
[] = {
21227 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21232 if (!SWIG_IsOK(res1
)) {
21233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21235 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21237 arg2
= wxString_in_helper(obj1
);
21238 if (arg2
== NULL
) SWIG_fail
;
21243 arg3
= wxString_in_helper(obj2
);
21244 if (arg3
== NULL
) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21283 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
= 0;
21285 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21286 wxString
*arg2
= 0 ;
21287 long arg3
= (long) 0 ;
21291 bool temp2
= false ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 char * kwnames
[] = {
21298 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21306 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21308 arg2
= wxString_in_helper(obj1
);
21309 if (arg2
== NULL
) SWIG_fail
;
21313 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21314 if (!SWIG_IsOK(ecode3
)) {
21315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
21317 arg3
= static_cast< long >(val3
);
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 resultobj
= SWIG_From_long(static_cast< long >(result
));
21340 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
= 0;
21342 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21343 wxString
*arg2
= 0 ;
21344 double arg3
= (double) 0.0 ;
21348 bool temp2
= false ;
21351 PyObject
* obj0
= 0 ;
21352 PyObject
* obj1
= 0 ;
21353 PyObject
* obj2
= 0 ;
21354 char * kwnames
[] = {
21355 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21360 if (!SWIG_IsOK(res1
)) {
21361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21363 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21365 arg2
= wxString_in_helper(obj1
);
21366 if (arg2
== NULL
) SWIG_fail
;
21370 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21371 if (!SWIG_IsOK(ecode3
)) {
21372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
21374 arg3
= static_cast< double >(val3
);
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_From_double(static_cast< double >(result
));
21397 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= 0;
21399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21400 wxString
*arg2
= 0 ;
21401 bool arg3
= (bool) false ;
21405 bool temp2
= false ;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 char * kwnames
[] = {
21412 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
21415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21417 if (!SWIG_IsOK(res1
)) {
21418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21420 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21422 arg2
= wxString_in_helper(obj1
);
21423 if (arg2
== NULL
) SWIG_fail
;
21427 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21428 if (!SWIG_IsOK(ecode3
)) {
21429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
21431 arg3
= static_cast< bool >(val3
);
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21456 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
= 0;
21458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21459 wxString
*arg2
= 0 ;
21460 wxString
*arg3
= 0 ;
21464 bool temp2
= false ;
21465 bool temp3
= false ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 char * kwnames
[] = {
21470 (char *) "self",(char *) "key",(char *) "value", NULL
21473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21475 if (!SWIG_IsOK(res1
)) {
21476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21478 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21480 arg2
= wxString_in_helper(obj1
);
21481 if (arg2
== NULL
) SWIG_fail
;
21485 arg3
= wxString_in_helper(obj2
);
21486 if (arg3
== NULL
) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21520 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
= 0;
21522 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21523 wxString
*arg2
= 0 ;
21528 bool temp2
= false ;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 PyObject
* obj2
= 0 ;
21534 char * kwnames
[] = {
21535 (char *) "self",(char *) "key",(char *) "value", NULL
21538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21540 if (!SWIG_IsOK(res1
)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21543 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21545 arg2
= wxString_in_helper(obj1
);
21546 if (arg2
== NULL
) SWIG_fail
;
21549 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21550 if (!SWIG_IsOK(ecode3
)) {
21551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
21553 arg3
= static_cast< long >(val3
);
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21577 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21578 PyObject
*resultobj
= 0;
21579 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21580 wxString
*arg2
= 0 ;
21585 bool temp2
= false ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 PyObject
* obj2
= 0 ;
21591 char * kwnames
[] = {
21592 (char *) "self",(char *) "key",(char *) "value", NULL
21595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21597 if (!SWIG_IsOK(res1
)) {
21598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21600 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21602 arg2
= wxString_in_helper(obj1
);
21603 if (arg2
== NULL
) SWIG_fail
;
21606 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21607 if (!SWIG_IsOK(ecode3
)) {
21608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
21610 arg3
= static_cast< double >(val3
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21634 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
= 0;
21636 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21637 wxString
*arg2
= 0 ;
21642 bool temp2
= false ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 PyObject
* obj2
= 0 ;
21648 char * kwnames
[] = {
21649 (char *) "self",(char *) "key",(char *) "value", NULL
21652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21654 if (!SWIG_IsOK(res1
)) {
21655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21657 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21659 arg2
= wxString_in_helper(obj1
);
21660 if (arg2
== NULL
) SWIG_fail
;
21663 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21664 if (!SWIG_IsOK(ecode3
)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
21667 arg3
= static_cast< bool >(val3
);
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
= 0;
21693 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21694 bool arg2
= (bool) false ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "self",(char *) "currentOnly", NULL
21706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21711 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21713 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21714 if (!SWIG_IsOK(ecode2
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
21717 arg2
= static_cast< bool >(val2
);
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)(arg1
)->Flush(arg2
);
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21734 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21735 PyObject
*resultobj
= 0;
21736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21737 wxString
*arg2
= 0 ;
21738 wxString
*arg3
= 0 ;
21742 bool temp2
= false ;
21743 bool temp3
= false ;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 PyObject
* obj2
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "oldName",(char *) "newName", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21756 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21758 arg2
= wxString_in_helper(obj1
);
21759 if (arg2
== NULL
) SWIG_fail
;
21763 arg3
= wxString_in_helper(obj2
);
21764 if (arg3
== NULL
) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21798 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(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_RenameGroup",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_RenameGroup" "', 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
)->RenameGroup((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_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
= 0;
21864 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21865 wxString
*arg2
= 0 ;
21866 bool arg3
= (bool) true ;
21870 bool temp2
= false ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char * kwnames
[] = {
21877 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
21880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21885 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21887 arg2
= wxString_in_helper(obj1
);
21888 if (arg2
== NULL
) SWIG_fail
;
21892 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21893 if (!SWIG_IsOK(ecode3
)) {
21894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21896 arg3
= static_cast< bool >(val3
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21921 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= 0;
21923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21924 wxString
*arg2
= 0 ;
21928 bool temp2
= false ;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 char * kwnames
[] = {
21932 (char *) "self",(char *) "key", NULL
21935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21937 if (!SWIG_IsOK(res1
)) {
21938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21940 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21942 arg2
= wxString_in_helper(obj1
);
21943 if (arg2
== NULL
) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21969 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21970 PyObject
*resultobj
= 0;
21971 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21975 PyObject
*swig_obj
[1] ;
21977 if (!args
) SWIG_fail
;
21978 swig_obj
[0] = args
;
21979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21980 if (!SWIG_IsOK(res1
)) {
21981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21983 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (bool)(arg1
)->DeleteAll();
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21999 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
= 0;
22001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22002 bool arg2
= (bool) true ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char * kwnames
[] = {
22010 (char *) "self",(char *) "doIt", NULL
22013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22018 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22020 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22021 if (!SWIG_IsOK(ecode2
)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
22024 arg2
= static_cast< bool >(val2
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 (arg1
)->SetExpandEnvVars(arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_Py_Void();
22039 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22045 PyObject
*swig_obj
[1] ;
22047 if (!args
) SWIG_fail
;
22048 swig_obj
[0] = args
;
22049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22050 if (!SWIG_IsOK(res1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22053 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
22057 wxPyEndAllowThreads(__tstate
);
22058 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22069 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
= 0;
22071 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22072 bool arg2
= (bool) true ;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char * kwnames
[] = {
22080 (char *) "self",(char *) "doIt", NULL
22083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22085 if (!SWIG_IsOK(res1
)) {
22086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22088 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22090 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22091 if (!SWIG_IsOK(ecode2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
22094 arg2
= static_cast< bool >(val2
);
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 (arg1
)->SetRecordDefaults(arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_Py_Void();
22109 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22110 PyObject
*resultobj
= 0;
22111 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22115 PyObject
*swig_obj
[1] ;
22117 if (!args
) SWIG_fail
;
22118 swig_obj
[0] = args
;
22119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22120 if (!SWIG_IsOK(res1
)) {
22121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22123 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22142 wxString
*arg2
= 0 ;
22146 bool temp2
= false ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char * kwnames
[] = {
22150 (char *) "self",(char *) "str", NULL
22153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22155 if (!SWIG_IsOK(res1
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22158 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22160 arg2
= wxString_in_helper(obj1
);
22161 if (arg2
== NULL
) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22191 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22192 PyObject
*resultobj
= 0;
22193 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22197 PyObject
*swig_obj
[1] ;
22199 if (!args
) SWIG_fail
;
22200 swig_obj
[0] = args
;
22201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22202 if (!SWIG_IsOK(res1
)) {
22203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22205 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22225 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22226 PyObject
*resultobj
= 0;
22227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22231 PyObject
*swig_obj
[1] ;
22233 if (!args
) SWIG_fail
;
22234 swig_obj
[0] = args
;
22235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22239 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22259 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= 0;
22261 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22262 wxString
*arg2
= 0 ;
22265 bool temp2
= false ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char * kwnames
[] = {
22269 (char *) "self",(char *) "appName", NULL
22272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22274 if (!SWIG_IsOK(res1
)) {
22275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22277 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22279 arg2
= wxString_in_helper(obj1
);
22280 if (arg2
== NULL
) SWIG_fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 (arg1
)->SetAppName((wxString
const &)*arg2
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_Py_Void();
22304 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
= 0;
22306 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22307 wxString
*arg2
= 0 ;
22310 bool temp2
= false ;
22311 PyObject
* obj0
= 0 ;
22312 PyObject
* obj1
= 0 ;
22313 char * kwnames
[] = {
22314 (char *) "self",(char *) "vendorName", NULL
22317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22322 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22324 arg2
= wxString_in_helper(obj1
);
22325 if (arg2
== NULL
) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22334 resultobj
= SWIG_Py_Void();
22349 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 char * kwnames
[] = {
22360 (char *) "self",(char *) "style", NULL
22363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22365 if (!SWIG_IsOK(res1
)) {
22366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
22368 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22369 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
22370 if (!SWIG_IsOK(ecode2
)) {
22371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
22373 arg2
= static_cast< long >(val2
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->SetStyle(arg2
);
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_Py_Void();
22387 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22388 PyObject
*resultobj
= 0;
22389 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22393 PyObject
*swig_obj
[1] ;
22395 if (!args
) SWIG_fail
;
22396 swig_obj
[0] = args
;
22397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22398 if (!SWIG_IsOK(res1
)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22401 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_From_long(static_cast< long >(result
));
22415 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22417 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22418 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
22419 return SWIG_Py_Void();
22422 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
= 0;
22424 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22425 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22426 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22427 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22428 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22429 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22430 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22431 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22432 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22433 wxConfig
*result
= 0 ;
22434 bool temp1
= false ;
22435 bool temp2
= false ;
22436 bool temp3
= false ;
22437 bool temp4
= false ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 PyObject
* obj2
= 0 ;
22443 PyObject
* obj3
= 0 ;
22444 PyObject
* obj4
= 0 ;
22445 char * kwnames
[] = {
22446 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22452 arg1
= wxString_in_helper(obj0
);
22453 if (arg1
== NULL
) SWIG_fail
;
22459 arg2
= wxString_in_helper(obj1
);
22460 if (arg2
== NULL
) SWIG_fail
;
22466 arg3
= wxString_in_helper(obj2
);
22467 if (arg3
== NULL
) SWIG_fail
;
22473 arg4
= wxString_in_helper(obj3
);
22474 if (arg4
== NULL
) SWIG_fail
;
22479 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22480 if (!SWIG_IsOK(ecode5
)) {
22481 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
22483 arg5
= static_cast< long >(val5
);
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
22530 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22531 PyObject
*resultobj
= 0;
22532 wxConfig
*arg1
= (wxConfig
*) 0 ;
22535 PyObject
*swig_obj
[1] ;
22537 if (!args
) SWIG_fail
;
22538 swig_obj
[0] = args
;
22539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
22540 if (!SWIG_IsOK(res1
)) {
22541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
22543 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_Py_Void();
22558 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22560 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22561 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
22562 return SWIG_Py_Void();
22565 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 return SWIG_Python_InitShadowInstance(args
);
22569 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
= 0;
22571 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22572 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22573 wxString
const &arg2_defvalue
= wxPyEmptyString
;
22574 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22575 wxString
const &arg3_defvalue
= wxPyEmptyString
;
22576 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
22577 wxString
const &arg4_defvalue
= wxPyEmptyString
;
22578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
22579 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
22580 wxFileConfig
*result
= 0 ;
22581 bool temp1
= false ;
22582 bool temp2
= false ;
22583 bool temp3
= false ;
22584 bool temp4
= false ;
22587 PyObject
* obj0
= 0 ;
22588 PyObject
* obj1
= 0 ;
22589 PyObject
* obj2
= 0 ;
22590 PyObject
* obj3
= 0 ;
22591 PyObject
* obj4
= 0 ;
22592 char * kwnames
[] = {
22593 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
22596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22599 arg1
= wxString_in_helper(obj0
);
22600 if (arg1
== NULL
) SWIG_fail
;
22606 arg2
= wxString_in_helper(obj1
);
22607 if (arg2
== NULL
) SWIG_fail
;
22613 arg3
= wxString_in_helper(obj2
);
22614 if (arg3
== NULL
) SWIG_fail
;
22620 arg4
= wxString_in_helper(obj3
);
22621 if (arg4
== NULL
) SWIG_fail
;
22626 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22627 if (!SWIG_IsOK(ecode5
)) {
22628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
22630 arg5
= static_cast< long >(val5
);
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
22677 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22678 PyObject
*resultobj
= 0;
22679 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
22682 PyObject
*swig_obj
[1] ;
22684 if (!args
) SWIG_fail
;
22685 swig_obj
[0] = args
;
22686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
22690 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_Py_Void();
22705 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22708 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
22709 return SWIG_Py_Void();
22712 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22713 return SWIG_Python_InitShadowInstance(args
);
22716 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22717 PyObject
*resultobj
= 0;
22718 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
22719 wxString
*arg2
= 0 ;
22720 wxConfigPathChanger
*result
= 0 ;
22723 bool temp2
= false ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char * kwnames
[] = {
22727 (char *) "config",(char *) "entry", NULL
22730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
22732 if (!SWIG_IsOK(res1
)) {
22733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
22735 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
22737 arg2
= wxString_in_helper(obj1
);
22738 if (arg2
== NULL
) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
22762 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22763 PyObject
*resultobj
= 0;
22764 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22767 PyObject
*swig_obj
[1] ;
22769 if (!args
) SWIG_fail
;
22770 swig_obj
[0] = args
;
22771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
22772 if (!SWIG_IsOK(res1
)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
22775 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_Py_Void();
22790 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22791 PyObject
*resultobj
= 0;
22792 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
22793 wxString
*result
= 0 ;
22796 PyObject
*swig_obj
[1] ;
22798 if (!args
) SWIG_fail
;
22799 swig_obj
[0] = args
;
22800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
22801 if (!SWIG_IsOK(res1
)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
22804 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
22809 result
= (wxString
*) &_result_ref
;
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22827 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22830 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
22831 return SWIG_Py_Void();
22834 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22835 return SWIG_Python_InitShadowInstance(args
);
22838 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
= 0;
22840 wxString
*arg1
= 0 ;
22842 bool temp1
= false ;
22843 PyObject
* obj0
= 0 ;
22844 char * kwnames
[] = {
22845 (char *) "sz", NULL
22848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
22850 arg1
= wxString_in_helper(obj0
);
22851 if (arg1
== NULL
) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= wxExpandEnvVars((wxString
const &)*arg1
);
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22881 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
22882 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
22887 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
22888 PyObject
*pyobj
= 0;
22892 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22894 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22901 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22902 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22907 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22908 PyObject
*pyobj
= 0;
22912 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22914 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22921 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxDateTime::Country arg1
;
22926 PyObject
* obj0
= 0 ;
22927 char * kwnames
[] = {
22928 (char *) "country", NULL
22931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22932 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22933 if (!SWIG_IsOK(ecode1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22936 arg1
= static_cast< wxDateTime::Country
>(val1
);
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 wxDateTime::SetCountry(arg1
);
22940 wxPyEndAllowThreads(__tstate
);
22941 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= SWIG_Py_Void();
22950 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22951 PyObject
*resultobj
= 0;
22952 wxDateTime::Country result
;
22954 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_From_int(static_cast< int >(result
));
22968 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
= 0;
22970 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22974 PyObject
* obj0
= 0 ;
22975 char * kwnames
[] = {
22976 (char *) "country", NULL
22979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22982 if (!SWIG_IsOK(ecode1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22985 arg1
= static_cast< wxDateTime::Country
>(val1
);
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23002 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
= 0;
23004 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23008 PyObject
* obj0
= 0 ;
23009 char * kwnames
[] = {
23010 (char *) "cal", NULL
23013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
23015 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23016 if (!SWIG_IsOK(ecode1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23019 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (int)wxDateTime::GetCurrentYear(arg1
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_From_int(static_cast< int >(result
));
23034 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
= 0;
23040 PyObject
* obj0
= 0 ;
23041 char * kwnames
[] = {
23042 (char *) "year", NULL
23045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
23046 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23047 if (!SWIG_IsOK(ecode1
)) {
23048 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
23050 arg1
= static_cast< int >(val1
);
23052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23053 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_From_int(static_cast< int >(result
));
23064 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
= 0;
23066 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23067 wxDateTime::Month result
;
23070 PyObject
* obj0
= 0 ;
23071 char * kwnames
[] = {
23072 (char *) "cal", NULL
23075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
23077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23078 if (!SWIG_IsOK(ecode1
)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
23081 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_int(static_cast< int >(result
));
23096 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
= 0;
23098 int arg1
= (int) wxDateTime::Inv_Year
;
23099 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23105 PyObject
* obj0
= 0 ;
23106 PyObject
* obj1
= 0 ;
23107 char * kwnames
[] = {
23108 (char *) "year",(char *) "cal", NULL
23111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23114 if (!SWIG_IsOK(ecode1
)) {
23115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
23117 arg1
= static_cast< int >(val1
);
23120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23121 if (!SWIG_IsOK(ecode2
)) {
23122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23124 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23141 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
= 0;
23143 int arg1
= (int) wxDateTime::Inv_Year
;
23147 PyObject
* obj0
= 0 ;
23148 char * kwnames
[] = {
23149 (char *) "year", NULL
23152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
23154 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23155 if (!SWIG_IsOK(ecode1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
23158 arg1
= static_cast< int >(val1
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (int)wxDateTime::GetCentury(arg1
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_From_int(static_cast< int >(result
));
23173 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
= 0;
23176 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23182 PyObject
* obj0
= 0 ;
23183 PyObject
* obj1
= 0 ;
23184 char * kwnames
[] = {
23185 (char *) "year",(char *) "cal", NULL
23188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23190 if (!SWIG_IsOK(ecode1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
23193 arg1
= static_cast< int >(val1
);
23195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23196 if (!SWIG_IsOK(ecode2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
23199 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_From_int(static_cast< int >(result
));
23214 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxDateTime::Month arg1
;
23217 int arg2
= (int) wxDateTime::Inv_Year
;
23218 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
23226 PyObject
* obj0
= 0 ;
23227 PyObject
* obj1
= 0 ;
23228 PyObject
* obj2
= 0 ;
23229 char * kwnames
[] = {
23230 (char *) "month",(char *) "year",(char *) "cal", NULL
23233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23235 if (!SWIG_IsOK(ecode1
)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23238 arg1
= static_cast< wxDateTime::Month
>(val1
);
23240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23241 if (!SWIG_IsOK(ecode2
)) {
23242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
23244 arg2
= static_cast< int >(val2
);
23247 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23248 if (!SWIG_IsOK(ecode3
)) {
23249 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
23251 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_From_int(static_cast< int >(result
));
23266 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
= 0;
23268 wxDateTime::Month arg1
;
23269 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char * kwnames
[] = {
23278 (char *) "month",(char *) "flags", NULL
23281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23283 if (!SWIG_IsOK(ecode1
)) {
23284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
23286 arg1
= static_cast< wxDateTime::Month
>(val1
);
23288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23289 if (!SWIG_IsOK(ecode2
)) {
23290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23292 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= wxDateTime::GetMonthName(arg1
,arg2
);
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23313 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
= 0;
23315 wxDateTime::WeekDay arg1
;
23316 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
23322 PyObject
* obj0
= 0 ;
23323 PyObject
* obj1
= 0 ;
23324 char * kwnames
[] = {
23325 (char *) "weekday",(char *) "flags", NULL
23328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23330 if (!SWIG_IsOK(ecode1
)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
23333 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
23335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23336 if (!SWIG_IsOK(ecode2
)) {
23337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
23339 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23360 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23361 PyObject
*resultobj
= 0;
23362 PyObject
*result
= 0 ;
23364 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= result
;
23378 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
= 0;
23380 int arg1
= (int) wxDateTime::Inv_Year
;
23381 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 char * kwnames
[] = {
23390 (char *) "year",(char *) "country", NULL
23393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23395 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23396 if (!SWIG_IsOK(ecode1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
23399 arg1
= static_cast< int >(val1
);
23402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23403 if (!SWIG_IsOK(ecode2
)) {
23404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23406 arg2
= static_cast< wxDateTime::Country
>(val2
);
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23423 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= 0;
23425 int arg1
= (int) wxDateTime::Inv_Year
;
23426 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char * kwnames
[] = {
23435 (char *) "year",(char *) "country", NULL
23438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23441 if (!SWIG_IsOK(ecode1
)) {
23442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
23444 arg1
= static_cast< int >(val1
);
23447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23448 if (!SWIG_IsOK(ecode2
)) {
23449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23451 arg2
= static_cast< wxDateTime::Country
>(val2
);
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23466 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
= 0;
23468 int arg1
= (int) wxDateTime::Inv_Year
;
23469 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
23475 PyObject
* obj0
= 0 ;
23476 PyObject
* obj1
= 0 ;
23477 char * kwnames
[] = {
23478 (char *) "year",(char *) "country", NULL
23481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23484 if (!SWIG_IsOK(ecode1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
23487 arg1
= static_cast< int >(val1
);
23490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23491 if (!SWIG_IsOK(ecode2
)) {
23492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
23494 arg2
= static_cast< wxDateTime::Country
>(val2
);
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= wxDateTime::GetEndDST(arg1
,arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23509 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 PyObject
*resultobj
= 0;
23513 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= wxDateTime::Now();
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23527 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23528 PyObject
*resultobj
= 0;
23531 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= wxDateTime::UNow();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23545 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23546 PyObject
*resultobj
= 0;
23549 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= wxDateTime::Today();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23563 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23564 PyObject
*resultobj
= 0;
23565 wxDateTime
*result
= 0 ;
23567 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (wxDateTime
*)new wxDateTime();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
23581 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
= 0;
23584 wxDateTime
*result
= 0 ;
23585 unsigned int val1
;
23587 PyObject
* obj0
= 0 ;
23588 char * kwnames
[] = {
23589 (char *) "timet", NULL
23592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
23593 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
23594 if (!SWIG_IsOK(ecode1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
23597 arg1
= static_cast< time_t >(val1
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (wxDateTime
*)new wxDateTime(arg1
);
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23611 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
= 0;
23614 wxDateTime
*result
= 0 ;
23617 PyObject
* obj0
= 0 ;
23618 char * kwnames
[] = {
23619 (char *) "jdn", NULL
23622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
23623 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
23624 if (!SWIG_IsOK(ecode1
)) {
23625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
23627 arg1
= static_cast< double >(val1
);
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (wxDateTime
*)new wxDateTime(arg1
);
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23641 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
= 0;
23644 int arg2
= (int) 0 ;
23645 int arg3
= (int) 0 ;
23646 int arg4
= (int) 0 ;
23647 wxDateTime
*result
= 0 ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 PyObject
* obj2
= 0 ;
23659 PyObject
* obj3
= 0 ;
23660 char * kwnames
[] = {
23661 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23665 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23666 if (!SWIG_IsOK(ecode1
)) {
23667 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
23669 arg1
= static_cast< int >(val1
);
23671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23672 if (!SWIG_IsOK(ecode2
)) {
23673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
23675 arg2
= static_cast< int >(val2
);
23678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23679 if (!SWIG_IsOK(ecode3
)) {
23680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
23682 arg3
= static_cast< int >(val3
);
23685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23686 if (!SWIG_IsOK(ecode4
)) {
23687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
23689 arg4
= static_cast< int >(val4
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23704 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23707 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23708 int arg3
= (int) wxDateTime::Inv_Year
;
23709 int arg4
= (int) 0 ;
23710 int arg5
= (int) 0 ;
23711 int arg6
= (int) 0 ;
23712 int arg7
= (int) 0 ;
23713 wxDateTime
*result
= 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 PyObject
* obj3
= 0 ;
23732 PyObject
* obj4
= 0 ;
23733 PyObject
* obj5
= 0 ;
23734 PyObject
* obj6
= 0 ;
23735 char * kwnames
[] = {
23736 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
23740 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23741 if (!SWIG_IsOK(ecode1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
23744 arg1
= static_cast< int >(val1
);
23746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23747 if (!SWIG_IsOK(ecode2
)) {
23748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23750 arg2
= static_cast< wxDateTime::Month
>(val2
);
23753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23754 if (!SWIG_IsOK(ecode3
)) {
23755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
23757 arg3
= static_cast< int >(val3
);
23760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23761 if (!SWIG_IsOK(ecode4
)) {
23762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
23764 arg4
= static_cast< int >(val4
);
23767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23768 if (!SWIG_IsOK(ecode5
)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
23771 arg5
= static_cast< int >(val5
);
23774 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23775 if (!SWIG_IsOK(ecode6
)) {
23776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
23778 arg6
= static_cast< int >(val6
);
23781 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23782 if (!SWIG_IsOK(ecode7
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
23785 arg7
= static_cast< int >(val7
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23800 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
= 0;
23802 wxDateTime
*arg1
= 0 ;
23803 wxDateTime
*result
= 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char * kwnames
[] = {
23808 (char *) "date", NULL
23811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
23812 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
23813 if (!SWIG_IsOK(res1
)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
23819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23822 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23833 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23834 PyObject
*resultobj
= 0;
23835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23838 PyObject
*swig_obj
[1] ;
23840 if (!args
) SWIG_fail
;
23841 swig_obj
[0] = args
;
23842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23846 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= SWIG_Py_Void();
23861 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23862 PyObject
*resultobj
= 0;
23863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23864 wxDateTime
*result
= 0 ;
23867 PyObject
*swig_obj
[1] ;
23869 if (!args
) SWIG_fail
;
23870 swig_obj
[0] = args
;
23871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23872 if (!SWIG_IsOK(res1
)) {
23873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
23875 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23879 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
23880 result
= (wxDateTime
*) &_result_ref
;
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23892 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
= 0;
23894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23896 wxDateTime
*result
= 0 ;
23899 unsigned int val2
;
23901 PyObject
* obj0
= 0 ;
23902 PyObject
* obj1
= 0 ;
23903 char * kwnames
[] = {
23904 (char *) "self",(char *) "timet", NULL
23907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23912 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23913 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23914 if (!SWIG_IsOK(ecode2
)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23917 arg2
= static_cast< time_t >(val2
);
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23922 result
= (wxDateTime
*) &_result_ref
;
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23934 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23938 wxDateTime
*result
= 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char * kwnames
[] = {
23946 (char *) "self",(char *) "jdn", NULL
23949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23951 if (!SWIG_IsOK(res1
)) {
23952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23954 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23955 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23956 if (!SWIG_IsOK(ecode2
)) {
23957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23959 arg2
= static_cast< double >(val2
);
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23964 result
= (wxDateTime
*) &_result_ref
;
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23976 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23980 int arg3
= (int) 0 ;
23981 int arg4
= (int) 0 ;
23982 int arg5
= (int) 0 ;
23983 wxDateTime
*result
= 0 ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 PyObject
* obj2
= 0 ;
23997 PyObject
* obj3
= 0 ;
23998 PyObject
* obj4
= 0 ;
23999 char * kwnames
[] = {
24000 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24005 if (!SWIG_IsOK(res1
)) {
24006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
24008 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24010 if (!SWIG_IsOK(ecode2
)) {
24011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
24013 arg2
= static_cast< int >(val2
);
24015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24016 if (!SWIG_IsOK(ecode3
)) {
24017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
24019 arg3
= static_cast< int >(val3
);
24022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24023 if (!SWIG_IsOK(ecode4
)) {
24024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
24026 arg4
= static_cast< int >(val4
);
24029 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24030 if (!SWIG_IsOK(ecode5
)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
24033 arg5
= static_cast< int >(val5
);
24036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
24039 result
= (wxDateTime
*) &_result_ref
;
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24051 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
= 0;
24053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24055 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24056 int arg4
= (int) wxDateTime::Inv_Year
;
24057 int arg5
= (int) 0 ;
24058 int arg6
= (int) 0 ;
24059 int arg7
= (int) 0 ;
24060 int arg8
= (int) 0 ;
24061 wxDateTime
*result
= 0 ;
24078 PyObject
* obj0
= 0 ;
24079 PyObject
* obj1
= 0 ;
24080 PyObject
* obj2
= 0 ;
24081 PyObject
* obj3
= 0 ;
24082 PyObject
* obj4
= 0 ;
24083 PyObject
* obj5
= 0 ;
24084 PyObject
* obj6
= 0 ;
24085 PyObject
* obj7
= 0 ;
24086 char * kwnames
[] = {
24087 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
24090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
24091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24092 if (!SWIG_IsOK(res1
)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
24095 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24097 if (!SWIG_IsOK(ecode2
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
24100 arg2
= static_cast< int >(val2
);
24102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24103 if (!SWIG_IsOK(ecode3
)) {
24104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24106 arg3
= static_cast< wxDateTime::Month
>(val3
);
24109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24110 if (!SWIG_IsOK(ecode4
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
24113 arg4
= static_cast< int >(val4
);
24116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24117 if (!SWIG_IsOK(ecode5
)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
24120 arg5
= static_cast< int >(val5
);
24123 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24124 if (!SWIG_IsOK(ecode6
)) {
24125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
24127 arg6
= static_cast< int >(val6
);
24130 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24131 if (!SWIG_IsOK(ecode7
)) {
24132 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
24134 arg7
= static_cast< int >(val7
);
24137 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
24138 if (!SWIG_IsOK(ecode8
)) {
24139 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
24141 arg8
= static_cast< int >(val8
);
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
24147 result
= (wxDateTime
*) &_result_ref
;
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24159 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 PyObject
*resultobj
= 0;
24161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24162 wxDateTime
*result
= 0 ;
24165 PyObject
*swig_obj
[1] ;
24167 if (!args
) SWIG_fail
;
24168 swig_obj
[0] = args
;
24169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24170 if (!SWIG_IsOK(res1
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
24173 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
24178 result
= (wxDateTime
*) &_result_ref
;
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24190 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
= 0;
24192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24194 wxDateTime
*result
= 0 ;
24199 PyObject
* obj0
= 0 ;
24200 PyObject
* obj1
= 0 ;
24201 char * kwnames
[] = {
24202 (char *) "self",(char *) "year", NULL
24205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24207 if (!SWIG_IsOK(res1
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
24210 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24212 if (!SWIG_IsOK(ecode2
)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
24215 arg2
= static_cast< int >(val2
);
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
24220 result
= (wxDateTime
*) &_result_ref
;
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24232 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24235 wxDateTime::Month arg2
;
24236 wxDateTime
*result
= 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char * kwnames
[] = {
24244 (char *) "self",(char *) "month", NULL
24247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
24252 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24254 if (!SWIG_IsOK(ecode2
)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24257 arg2
= static_cast< wxDateTime::Month
>(val2
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
24262 result
= (wxDateTime
*) &_result_ref
;
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24274 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24278 wxDateTime
*result
= 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "self",(char *) "day", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24294 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24296 if (!SWIG_IsOK(ecode2
)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
24299 arg2
= static_cast< int >(val2
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
24304 result
= (wxDateTime
*) &_result_ref
;
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24316 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
= 0;
24318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24320 wxDateTime
*result
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char * kwnames
[] = {
24328 (char *) "self",(char *) "hour", NULL
24331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24333 if (!SWIG_IsOK(res1
)) {
24334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
24336 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24338 if (!SWIG_IsOK(ecode2
)) {
24339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
24341 arg2
= static_cast< int >(val2
);
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
24346 result
= (wxDateTime
*) &_result_ref
;
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24358 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
= 0;
24360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24362 wxDateTime
*result
= 0 ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "self",(char *) "minute", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
24378 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24380 if (!SWIG_IsOK(ecode2
)) {
24381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
24383 arg2
= static_cast< int >(val2
);
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24387 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
24388 result
= (wxDateTime
*) &_result_ref
;
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24400 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
= 0;
24402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24404 wxDateTime
*result
= 0 ;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 char * kwnames
[] = {
24412 (char *) "self",(char *) "second", NULL
24415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24417 if (!SWIG_IsOK(res1
)) {
24418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24420 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24422 if (!SWIG_IsOK(ecode2
)) {
24423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
24425 arg2
= static_cast< int >(val2
);
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
24430 result
= (wxDateTime
*) &_result_ref
;
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24442 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
= 0;
24444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24446 wxDateTime
*result
= 0 ;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char * kwnames
[] = {
24454 (char *) "self",(char *) "millisecond", NULL
24457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
24462 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24464 if (!SWIG_IsOK(ecode2
)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
24467 arg2
= static_cast< int >(val2
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
24472 result
= (wxDateTime
*) &_result_ref
;
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24484 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
= 0;
24486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24487 wxDateTime::WeekDay arg2
;
24488 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24489 wxDateTime
*result
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 PyObject
* obj2
= 0 ;
24499 char * kwnames
[] = {
24500 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24505 if (!SWIG_IsOK(res1
)) {
24506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24508 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24510 if (!SWIG_IsOK(ecode2
)) {
24511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24513 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24516 if (!SWIG_IsOK(ecode3
)) {
24517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24519 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
24525 result
= (wxDateTime
*) &_result_ref
;
24527 wxPyEndAllowThreads(__tstate
);
24528 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24537 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
= 0;
24539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24540 wxDateTime::WeekDay arg2
;
24541 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24549 PyObject
* obj0
= 0 ;
24550 PyObject
* obj1
= 0 ;
24551 PyObject
* obj2
= 0 ;
24552 char * kwnames
[] = {
24553 (char *) "self",(char *) "weekday",(char *) "flags", NULL
24556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24561 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24563 if (!SWIG_IsOK(ecode2
)) {
24564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24566 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24569 if (!SWIG_IsOK(ecode3
)) {
24570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
24572 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24587 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24588 PyObject
*resultobj
= 0;
24589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24590 wxDateTime::WeekDay arg2
;
24591 wxDateTime
*result
= 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "weekday", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24607 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24609 if (!SWIG_IsOK(ecode2
)) {
24610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24612 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
24617 result
= (wxDateTime
*) &_result_ref
;
24619 wxPyEndAllowThreads(__tstate
);
24620 if (PyErr_Occurred()) SWIG_fail
;
24622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24629 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
= 0;
24631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24632 wxDateTime::WeekDay arg2
;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char * kwnames
[] = {
24641 (char *) "self",(char *) "weekday", NULL
24644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24646 if (!SWIG_IsOK(res1
)) {
24647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24649 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24651 if (!SWIG_IsOK(ecode2
)) {
24652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24654 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (arg1
)->GetNextWeekDay(arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24668 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
= 0;
24670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24671 wxDateTime::WeekDay arg2
;
24672 wxDateTime
*result
= 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "self",(char *) "weekday", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24688 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24690 if (!SWIG_IsOK(ecode2
)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24693 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
24698 result
= (wxDateTime
*) &_result_ref
;
24700 wxPyEndAllowThreads(__tstate
);
24701 if (PyErr_Occurred()) SWIG_fail
;
24703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24710 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
= 0;
24712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24713 wxDateTime::WeekDay arg2
;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 char * kwnames
[] = {
24722 (char *) "self",(char *) "weekday", NULL
24725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24727 if (!SWIG_IsOK(res1
)) {
24728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24730 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24732 if (!SWIG_IsOK(ecode2
)) {
24733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24735 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (arg1
)->GetPrevWeekDay(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24749 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
= 0;
24751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24752 wxDateTime::WeekDay arg2
;
24753 int arg3
= (int) 1 ;
24754 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24755 int arg5
= (int) wxDateTime::Inv_Year
;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 PyObject
* obj2
= 0 ;
24770 PyObject
* obj3
= 0 ;
24771 PyObject
* obj4
= 0 ;
24772 char * kwnames
[] = {
24773 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
24776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24781 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24783 if (!SWIG_IsOK(ecode2
)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24786 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24789 if (!SWIG_IsOK(ecode3
)) {
24790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
24792 arg3
= static_cast< int >(val3
);
24795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24796 if (!SWIG_IsOK(ecode4
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
24799 arg4
= static_cast< wxDateTime::Month
>(val4
);
24802 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24803 if (!SWIG_IsOK(ecode5
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
24806 arg5
= static_cast< int >(val5
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= 0;
24825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24826 wxDateTime::WeekDay arg2
;
24827 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24828 int arg4
= (int) wxDateTime::Inv_Year
;
24838 PyObject
* obj0
= 0 ;
24839 PyObject
* obj1
= 0 ;
24840 PyObject
* obj2
= 0 ;
24841 PyObject
* obj3
= 0 ;
24842 char * kwnames
[] = {
24843 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24848 if (!SWIG_IsOK(res1
)) {
24849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24851 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24853 if (!SWIG_IsOK(ecode2
)) {
24854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24856 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24859 if (!SWIG_IsOK(ecode3
)) {
24860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24862 arg3
= static_cast< wxDateTime::Month
>(val3
);
24865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24866 if (!SWIG_IsOK(ecode4
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24869 arg4
= static_cast< int >(val4
);
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
= 0;
24888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24889 wxDateTime::WeekDay arg2
;
24890 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24891 int arg4
= (int) wxDateTime::Inv_Year
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 PyObject
* obj2
= 0 ;
24904 PyObject
* obj3
= 0 ;
24905 char * kwnames
[] = {
24906 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24911 if (!SWIG_IsOK(res1
)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24914 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24916 if (!SWIG_IsOK(ecode2
)) {
24917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24919 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24921 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24922 if (!SWIG_IsOK(ecode3
)) {
24923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24925 arg3
= static_cast< wxDateTime::Month
>(val3
);
24928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24929 if (!SWIG_IsOK(ecode4
)) {
24930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24932 arg4
= static_cast< int >(val4
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24947 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
= 0;
24949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24951 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24952 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 PyObject
* obj2
= 0 ;
24965 PyObject
* obj3
= 0 ;
24966 char * kwnames
[] = {
24967 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24972 if (!SWIG_IsOK(res1
)) {
24973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24975 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24977 if (!SWIG_IsOK(ecode2
)) {
24978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24980 arg2
= static_cast< int >(val2
);
24982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24983 if (!SWIG_IsOK(ecode3
)) {
24984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24986 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24989 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24990 if (!SWIG_IsOK(ecode4
)) {
24991 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24993 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25010 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= 0;
25012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25014 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25015 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 PyObject
* obj2
= 0 ;
25028 PyObject
* obj3
= 0 ;
25029 char * kwnames
[] = {
25030 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
25033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25035 if (!SWIG_IsOK(res1
)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
25038 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25040 if (!SWIG_IsOK(ecode2
)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
25043 arg2
= static_cast< int >(val2
);
25045 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25046 if (!SWIG_IsOK(ecode3
)) {
25047 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25049 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25052 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25053 if (!SWIG_IsOK(ecode4
)) {
25054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
25056 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25071 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25072 PyObject
*resultobj
= 0;
25075 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 PyObject
* obj2
= 0 ;
25086 char * kwnames
[] = {
25087 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
25090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25091 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25092 if (!SWIG_IsOK(ecode1
)) {
25093 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
25095 arg1
= static_cast< int >(val1
);
25096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25097 if (!SWIG_IsOK(ecode2
)) {
25098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
25100 arg2
= static_cast< int >(val2
);
25102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25103 if (!SWIG_IsOK(ecode3
)) {
25104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
25106 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
25109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25110 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
25111 wxPyEndAllowThreads(__tstate
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25121 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
= 0;
25123 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25124 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25125 int arg3
= (int) wxDateTime::Inv_Year
;
25126 wxDateTime
*result
= 0 ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 PyObject
* obj2
= 0 ;
25136 char * kwnames
[] = {
25137 (char *) "self",(char *) "month",(char *) "year", NULL
25140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25142 if (!SWIG_IsOK(res1
)) {
25143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25148 if (!SWIG_IsOK(ecode2
)) {
25149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25151 arg2
= static_cast< wxDateTime::Month
>(val2
);
25154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25155 if (!SWIG_IsOK(ecode3
)) {
25156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25158 arg3
= static_cast< int >(val3
);
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
25164 result
= (wxDateTime
*) &_result_ref
;
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25176 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
= 0;
25178 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25179 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
25180 int arg3
= (int) wxDateTime::Inv_Year
;
25188 PyObject
* obj0
= 0 ;
25189 PyObject
* obj1
= 0 ;
25190 PyObject
* obj2
= 0 ;
25191 char * kwnames
[] = {
25192 (char *) "self",(char *) "month",(char *) "year", NULL
25195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25200 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25203 if (!SWIG_IsOK(ecode2
)) {
25204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
25206 arg2
= static_cast< wxDateTime::Month
>(val2
);
25209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25210 if (!SWIG_IsOK(ecode3
)) {
25211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
25213 arg3
= static_cast< int >(val3
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25228 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
= 0;
25230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25232 wxDateTime
*result
= 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "yday", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
25253 arg2
= static_cast< int >(val2
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25257 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
25258 result
= (wxDateTime
*) &_result_ref
;
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25270 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char * kwnames
[] = {
25282 (char *) "self",(char *) "yday", NULL
25285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
25290 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25292 if (!SWIG_IsOK(ecode2
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
25295 arg2
= static_cast< int >(val2
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (arg1
)->GetYearDay(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25309 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 PyObject
*resultobj
= 0;
25311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25315 PyObject
*swig_obj
[1] ;
25317 if (!args
) SWIG_fail
;
25318 swig_obj
[0] = args
;
25319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25320 if (!SWIG_IsOK(res1
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
25323 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 result
= (double)(arg1
)->GetJulianDayNumber();
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_From_double(static_cast< double >(result
));
25337 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25338 PyObject
*resultobj
= 0;
25339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25343 PyObject
*swig_obj
[1] ;
25345 if (!args
) SWIG_fail
;
25346 swig_obj
[0] = args
;
25347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25348 if (!SWIG_IsOK(res1
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
25351 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (double)(arg1
)->GetJDN();
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_From_double(static_cast< double >(result
));
25365 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25379 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_From_double(static_cast< double >(result
));
25393 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25399 PyObject
*swig_obj
[1] ;
25401 if (!args
) SWIG_fail
;
25402 swig_obj
[0] = args
;
25403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
25407 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (double)(arg1
)->GetMJD();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_double(static_cast< double >(result
));
25421 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25422 PyObject
*resultobj
= 0;
25423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25427 PyObject
*swig_obj
[1] ;
25429 if (!args
) SWIG_fail
;
25430 swig_obj
[0] = args
;
25431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
25435 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (double)(arg1
)->GetRataDie();
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 resultobj
= SWIG_From_double(static_cast< double >(result
));
25449 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
= 0;
25451 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25452 wxDateTime::TimeZone
*arg2
= 0 ;
25453 bool arg3
= (bool) false ;
25457 bool temp2
= false ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 PyObject
* obj2
= 0 ;
25463 char * kwnames
[] = {
25464 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25469 if (!SWIG_IsOK(res1
)) {
25470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25472 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25474 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25478 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25479 if (!SWIG_IsOK(ecode3
)) {
25480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
25482 arg3
= static_cast< bool >(val3
);
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25492 if (temp2
) delete arg2
;
25497 if (temp2
) delete arg2
;
25503 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= 0;
25505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25506 wxDateTime::TimeZone
*arg2
= 0 ;
25507 bool arg3
= (bool) false ;
25508 wxDateTime
*result
= 0 ;
25511 bool temp2
= false ;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 PyObject
* obj2
= 0 ;
25517 char * kwnames
[] = {
25518 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25523 if (!SWIG_IsOK(res1
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25526 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25528 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25532 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25533 if (!SWIG_IsOK(ecode3
)) {
25534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
25536 arg3
= static_cast< bool >(val3
);
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25542 result
= (wxDateTime
*) &_result_ref
;
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25549 if (temp2
) delete arg2
;
25554 if (temp2
) delete arg2
;
25560 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
= 0;
25562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25563 wxDateTime::TimeZone
*arg2
= 0 ;
25564 bool arg3
= (bool) false ;
25568 bool temp2
= false ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25574 char * kwnames
[] = {
25575 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25580 if (!SWIG_IsOK(res1
)) {
25581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25583 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25585 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25589 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25590 if (!SWIG_IsOK(ecode3
)) {
25591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
25593 arg3
= static_cast< bool >(val3
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25603 if (temp2
) delete arg2
;
25608 if (temp2
) delete arg2
;
25614 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
= 0;
25616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25617 wxDateTime::TimeZone
*arg2
= 0 ;
25618 bool arg3
= (bool) false ;
25619 wxDateTime
*result
= 0 ;
25622 bool temp2
= false ;
25625 PyObject
* obj0
= 0 ;
25626 PyObject
* obj1
= 0 ;
25627 PyObject
* obj2
= 0 ;
25628 char * kwnames
[] = {
25629 (char *) "self",(char *) "tz",(char *) "noDST", NULL
25632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25634 if (!SWIG_IsOK(res1
)) {
25635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
25637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25639 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25643 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
25644 if (!SWIG_IsOK(ecode3
)) {
25645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
25647 arg3
= static_cast< bool >(val3
);
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
25653 result
= (wxDateTime
*) &_result_ref
;
25655 wxPyEndAllowThreads(__tstate
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25660 if (temp2
) delete arg2
;
25665 if (temp2
) delete arg2
;
25671 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
= 0;
25673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25674 bool arg2
= (bool) false ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char * kwnames
[] = {
25683 (char *) "self",(char *) "noDST", NULL
25686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25688 if (!SWIG_IsOK(res1
)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25691 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25694 if (!SWIG_IsOK(ecode2
)) {
25695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
25697 arg2
= static_cast< bool >(val2
);
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25712 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
= 0;
25714 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25715 bool arg2
= (bool) false ;
25716 wxDateTime
*result
= 0 ;
25721 PyObject
* obj0
= 0 ;
25722 PyObject
* obj1
= 0 ;
25723 char * kwnames
[] = {
25724 (char *) "self",(char *) "noDST", NULL
25727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25729 if (!SWIG_IsOK(res1
)) {
25730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25732 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25734 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25735 if (!SWIG_IsOK(ecode2
)) {
25736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
25738 arg2
= static_cast< bool >(val2
);
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
25744 result
= (wxDateTime
*) &_result_ref
;
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25756 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
= 0;
25758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25759 bool arg2
= (bool) false ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 char * kwnames
[] = {
25768 (char *) "self",(char *) "noDST", NULL
25771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25773 if (!SWIG_IsOK(res1
)) {
25774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25776 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25778 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25779 if (!SWIG_IsOK(ecode2
)) {
25780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
25782 arg2
= static_cast< bool >(val2
);
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25797 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
= 0;
25799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25800 bool arg2
= (bool) false ;
25801 wxDateTime
*result
= 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj1
= 0 ;
25808 char * kwnames
[] = {
25809 (char *) "self",(char *) "noDST", NULL
25812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25814 if (!SWIG_IsOK(res1
)) {
25815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
25817 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25820 if (!SWIG_IsOK(ecode2
)) {
25821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
25823 arg2
= static_cast< bool >(val2
);
25826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
25829 result
= (wxDateTime
*) &_result_ref
;
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25841 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
= 0;
25843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25844 bool arg2
= (bool) false ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 char * kwnames
[] = {
25853 (char *) "self",(char *) "noDST", NULL
25856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25864 if (!SWIG_IsOK(ecode2
)) {
25865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
25867 arg2
= static_cast< bool >(val2
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
25882 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25885 bool arg2
= (bool) false ;
25886 wxDateTime
*result
= 0 ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 char * kwnames
[] = {
25894 (char *) "self",(char *) "noDST", NULL
25897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25899 if (!SWIG_IsOK(res1
)) {
25900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25904 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25905 if (!SWIG_IsOK(ecode2
)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25908 arg2
= static_cast< bool >(val2
);
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25914 result
= (wxDateTime
*) &_result_ref
;
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25926 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= 0;
25928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25929 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char * kwnames
[] = {
25938 (char *) "self",(char *) "country", NULL
25941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
25946 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25949 if (!SWIG_IsOK(ecode2
)) {
25950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25952 arg2
= static_cast< wxDateTime::Country
>(val2
);
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= (int)(arg1
)->IsDST(arg2
);
25957 wxPyEndAllowThreads(__tstate
);
25958 if (PyErr_Occurred()) SWIG_fail
;
25960 resultobj
= SWIG_From_int(static_cast< int >(result
));
25967 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 PyObject
*resultobj
= 0;
25969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25973 PyObject
*swig_obj
[1] ;
25975 if (!args
) SWIG_fail
;
25976 swig_obj
[0] = args
;
25977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25981 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25997 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25998 PyObject
*resultobj
= 0;
25999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26003 PyObject
*swig_obj
[1] ;
26005 if (!args
) SWIG_fail
;
26006 swig_obj
[0] = args
;
26007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26011 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
26025 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
= 0;
26027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26028 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26029 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26033 bool temp2
= false ;
26034 PyObject
* obj0
= 0 ;
26035 PyObject
* obj1
= 0 ;
26036 char * kwnames
[] = {
26037 (char *) "self",(char *) "tz", NULL
26040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26042 if (!SWIG_IsOK(res1
)) {
26043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26045 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26048 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_From_int(static_cast< int >(result
));
26060 if (temp2
) delete arg2
;
26065 if (temp2
) delete arg2
;
26071 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
= 0;
26073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26074 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26075 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26076 wxDateTime::Month result
;
26079 bool temp2
= false ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 char * kwnames
[] = {
26083 (char *) "self",(char *) "tz", NULL
26086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26091 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26094 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_From_int(static_cast< int >(result
));
26106 if (temp2
) delete arg2
;
26111 if (temp2
) delete arg2
;
26117 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
= 0;
26119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26120 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26121 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26125 bool temp2
= false ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 char * kwnames
[] = {
26129 (char *) "self",(char *) "tz", NULL
26132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26137 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26140 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_From_int(static_cast< int >(result
));
26152 if (temp2
) delete arg2
;
26157 if (temp2
) delete arg2
;
26163 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
= 0;
26165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26166 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26167 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26168 wxDateTime::WeekDay result
;
26171 bool temp2
= false ;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 char * kwnames
[] = {
26175 (char *) "self",(char *) "tz", NULL
26178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26180 if (!SWIG_IsOK(res1
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26183 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26186 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26192 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
26193 wxPyEndAllowThreads(__tstate
);
26194 if (PyErr_Occurred()) SWIG_fail
;
26196 resultobj
= SWIG_From_int(static_cast< int >(result
));
26198 if (temp2
) delete arg2
;
26203 if (temp2
) delete arg2
;
26209 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
= 0;
26211 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26212 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26213 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26217 bool temp2
= false ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 char * kwnames
[] = {
26221 (char *) "self",(char *) "tz", NULL
26224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26226 if (!SWIG_IsOK(res1
)) {
26227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26229 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26232 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_From_int(static_cast< int >(result
));
26244 if (temp2
) delete arg2
;
26249 if (temp2
) delete arg2
;
26255 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
= 0;
26257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26258 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26259 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26263 bool temp2
= false ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char * kwnames
[] = {
26267 (char *) "self",(char *) "tz", NULL
26270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26272 if (!SWIG_IsOK(res1
)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26275 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26278 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_From_int(static_cast< int >(result
));
26290 if (temp2
) delete arg2
;
26295 if (temp2
) delete arg2
;
26301 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= 0;
26303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26304 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26305 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26309 bool temp2
= false ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char * kwnames
[] = {
26313 (char *) "self",(char *) "tz", NULL
26316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26321 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26324 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26334 resultobj
= SWIG_From_int(static_cast< int >(result
));
26336 if (temp2
) delete arg2
;
26341 if (temp2
) delete arg2
;
26347 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
= 0;
26349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26350 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26351 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26355 bool temp2
= false ;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 char * kwnames
[] = {
26359 (char *) "self",(char *) "tz", NULL
26362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26370 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= SWIG_From_int(static_cast< int >(result
));
26382 if (temp2
) delete arg2
;
26387 if (temp2
) delete arg2
;
26393 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
= 0;
26395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26396 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
26397 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
26401 bool temp2
= false ;
26402 PyObject
* obj0
= 0 ;
26403 PyObject
* obj1
= 0 ;
26404 char * kwnames
[] = {
26405 (char *) "self",(char *) "tz", NULL
26408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26410 if (!SWIG_IsOK(res1
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26413 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26416 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_From_int(static_cast< int >(result
));
26428 if (temp2
) delete arg2
;
26433 if (temp2
) delete arg2
;
26439 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
= 0;
26441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26442 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26443 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26444 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26450 bool temp3
= false ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 PyObject
* obj2
= 0 ;
26454 char * kwnames
[] = {
26455 (char *) "self",(char *) "flags",(char *) "tz", NULL
26458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26463 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26466 if (!SWIG_IsOK(ecode2
)) {
26467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26469 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26473 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_From_int(static_cast< int >(result
));
26485 if (temp3
) delete arg3
;
26490 if (temp3
) delete arg3
;
26496 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
= 0;
26498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26499 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
26500 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
26501 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
26507 bool temp3
= false ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 PyObject
* obj2
= 0 ;
26511 char * kwnames
[] = {
26512 (char *) "self",(char *) "flags",(char *) "tz", NULL
26515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26523 if (!SWIG_IsOK(ecode2
)) {
26524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
26526 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
26530 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_From_int(static_cast< int >(result
));
26542 if (temp3
) delete arg3
;
26547 if (temp3
) delete arg3
;
26553 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
= 0;
26555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26556 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 char * kwnames
[] = {
26565 (char *) "self",(char *) "country", NULL
26568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26570 if (!SWIG_IsOK(res1
)) {
26571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26573 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26576 if (!SWIG_IsOK(ecode2
)) {
26577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
26579 arg2
= static_cast< wxDateTime::Country
>(val2
);
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26596 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
= 0;
26598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26599 wxDateTime
*arg2
= 0 ;
26605 PyObject
* obj0
= 0 ;
26606 PyObject
* obj1
= 0 ;
26607 char * kwnames
[] = {
26608 (char *) "self",(char *) "datetime", NULL
26611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26616 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26618 if (!SWIG_IsOK(res2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26624 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26640 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26643 wxDateTime
*arg2
= 0 ;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char * kwnames
[] = {
26652 (char *) "self",(char *) "datetime", NULL
26655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26660 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26662 if (!SWIG_IsOK(res2
)) {
26663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26668 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26684 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
= 0;
26686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26687 wxDateTime
*arg2
= 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char * kwnames
[] = {
26696 (char *) "self",(char *) "datetime", NULL
26699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26701 if (!SWIG_IsOK(res1
)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26704 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26706 if (!SWIG_IsOK(res2
)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26712 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26728 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26731 wxDateTime
*arg2
= 0 ;
26732 wxDateTime
*arg3
= 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 PyObject
* obj2
= 0 ;
26743 char * kwnames
[] = {
26744 (char *) "self",(char *) "t1",(char *) "t2", NULL
26747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26754 if (!SWIG_IsOK(res2
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26760 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26762 if (!SWIG_IsOK(res3
)) {
26763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26768 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26772 wxPyEndAllowThreads(__tstate
);
26773 if (PyErr_Occurred()) SWIG_fail
;
26776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26784 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
= 0;
26786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26787 wxDateTime
*arg2
= 0 ;
26788 wxDateTime
*arg3
= 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 PyObject
* obj2
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "t1",(char *) "t2", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26808 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26810 if (!SWIG_IsOK(res2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26816 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26817 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26818 if (!SWIG_IsOK(res3
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
26824 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26840 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
= 0;
26842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26843 wxDateTime
*arg2
= 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 char * kwnames
[] = {
26852 (char *) "self",(char *) "dt", NULL
26855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26860 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26862 if (!SWIG_IsOK(res2
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26868 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
= 0;
26886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26887 wxDateTime
*arg2
= 0 ;
26893 PyObject
* obj0
= 0 ;
26894 PyObject
* obj1
= 0 ;
26895 char * kwnames
[] = {
26896 (char *) "self",(char *) "dt", NULL
26899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26904 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26906 if (!SWIG_IsOK(res2
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26912 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26928 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
= 0;
26930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26931 wxDateTime
*arg2
= 0 ;
26932 wxTimeSpan
*arg3
= 0 ;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "dt",(char *) "ts", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26952 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26954 if (!SWIG_IsOK(res2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26960 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26961 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26962 if (!SWIG_IsOK(res3
)) {
26963 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26968 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26984 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
= 0;
26986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26987 wxTimeSpan
*arg2
= 0 ;
26988 wxDateTime
*result
= 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char * kwnames
[] = {
26996 (char *) "self",(char *) "diff", NULL
26999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27001 if (!SWIG_IsOK(res1
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27004 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27006 if (!SWIG_IsOK(res2
)) {
27007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27012 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27017 result
= (wxDateTime
*) &_result_ref
;
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27029 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= 0;
27031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27032 wxDateSpan
*arg2
= 0 ;
27033 wxDateTime
*result
= 0 ;
27038 PyObject
* obj0
= 0 ;
27039 PyObject
* obj1
= 0 ;
27040 char * kwnames
[] = {
27041 (char *) "self",(char *) "diff", NULL
27044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27049 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27051 if (!SWIG_IsOK(res2
)) {
27052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27057 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
27062 result
= (wxDateTime
*) &_result_ref
;
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27074 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27077 wxTimeSpan
*arg2
= 0 ;
27078 wxDateTime
*result
= 0 ;
27083 PyObject
* obj0
= 0 ;
27084 PyObject
* obj1
= 0 ;
27085 char * kwnames
[] = {
27086 (char *) "self",(char *) "diff", NULL
27089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27091 if (!SWIG_IsOK(res1
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27094 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27096 if (!SWIG_IsOK(res2
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27102 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27107 result
= (wxDateTime
*) &_result_ref
;
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27119 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
= 0;
27121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27122 wxDateSpan
*arg2
= 0 ;
27123 wxDateTime
*result
= 0 ;
27128 PyObject
* obj0
= 0 ;
27129 PyObject
* obj1
= 0 ;
27130 char * kwnames
[] = {
27131 (char *) "self",(char *) "diff", NULL
27134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27136 if (!SWIG_IsOK(res1
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
27139 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27141 if (!SWIG_IsOK(res2
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27147 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
27152 result
= (wxDateTime
*) &_result_ref
;
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
27164 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
= 0;
27166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27167 wxDateTime
*arg2
= 0 ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 char * kwnames
[] = {
27176 (char *) "self",(char *) "dt", NULL
27179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27181 if (!SWIG_IsOK(res1
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27184 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27185 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27186 if (!SWIG_IsOK(res2
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27192 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27199 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27206 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27207 PyObject
*resultobj
= 0;
27208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27209 wxTimeSpan
*arg2
= 0 ;
27210 wxDateTime
*result
= 0 ;
27216 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27221 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27222 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27223 if (!SWIG_IsOK(res2
)) {
27224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27227 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27229 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27234 result
= (wxDateTime
*) &_result_ref
;
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27246 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27247 PyObject
*resultobj
= 0;
27248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27249 wxDateSpan
*arg2
= 0 ;
27250 wxDateTime
*result
= 0 ;
27256 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27261 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27262 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27263 if (!SWIG_IsOK(res2
)) {
27264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27269 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
27274 result
= (wxDateTime
*) &_result_ref
;
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27286 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
27290 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
27295 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27296 _v
= SWIG_CheckState(res
);
27298 if (!_v
) goto check_1
;
27299 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
27304 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
27308 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
27313 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27314 PyObject
*resultobj
= 0;
27315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27316 wxTimeSpan
*arg2
= 0 ;
27317 wxDateTime
*result
= 0 ;
27323 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27329 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27330 if (!SWIG_IsOK(res2
)) {
27331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27336 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27341 result
= (wxDateTime
*) &_result_ref
;
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27353 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27354 PyObject
*resultobj
= 0;
27355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27356 wxDateSpan
*arg2
= 0 ;
27357 wxDateTime
*result
= 0 ;
27363 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
27365 if (!SWIG_IsOK(res1
)) {
27366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27368 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27369 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27370 if (!SWIG_IsOK(res2
)) {
27371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27376 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27380 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
27381 result
= (wxDateTime
*) &_result_ref
;
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27393 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
27397 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
27402 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27403 _v
= SWIG_CheckState(res
);
27405 if (!_v
) goto check_1
;
27406 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
27411 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
27415 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
27420 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27421 PyObject
*resultobj
= 0;
27422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27423 wxTimeSpan
*arg2
= 0 ;
27430 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27432 if (!SWIG_IsOK(res1
)) {
27433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27435 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27436 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27437 if (!SWIG_IsOK(res2
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27443 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27457 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27458 PyObject
*resultobj
= 0;
27459 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27460 wxDateSpan
*arg2
= 0 ;
27467 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27469 if (!SWIG_IsOK(res1
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27472 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27473 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27474 if (!SWIG_IsOK(res2
)) {
27475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27480 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27494 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
27498 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
27503 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27504 _v
= SWIG_CheckState(res
);
27506 if (!_v
) goto check_1
;
27507 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
27512 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
27516 Py_INCREF(Py_NotImplemented
);
27517 return Py_NotImplemented
;
27521 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27522 PyObject
*resultobj
= 0;
27523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27524 wxDateTime
*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___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27536 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27537 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27538 if (!SWIG_IsOK(res2
)) {
27539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
27544 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
27548 wxPyEndAllowThreads(__tstate
);
27549 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27558 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27559 PyObject
*resultobj
= 0;
27560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27561 wxTimeSpan
*arg2
= 0 ;
27568 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27570 if (!SWIG_IsOK(res1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27573 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27574 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27575 if (!SWIG_IsOK(res2
)) {
27576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27581 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27595 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27596 PyObject
*resultobj
= 0;
27597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27598 wxDateSpan
*arg2
= 0 ;
27605 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27610 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27611 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
27612 if (!SWIG_IsOK(res2
)) {
27613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
27618 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
27632 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
27636 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
27641 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
27642 _v
= SWIG_CheckState(res
);
27644 if (!_v
) goto check_1
;
27645 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
27652 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
27653 _v
= SWIG_CheckState(res
);
27655 if (!_v
) goto check_2
;
27656 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
27661 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
27665 Py_INCREF(Py_NotImplemented
);
27666 return Py_NotImplemented
;
27670 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
= 0;
27672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27673 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 char * kwnames
[] = {
27682 (char *) "self",(char *) "other", NULL
27685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27690 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27692 if (!SWIG_IsOK(res2
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27695 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27711 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
= 0;
27713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27714 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 char * kwnames
[] = {
27723 (char *) "self",(char *) "other", NULL
27726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27731 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27733 if (!SWIG_IsOK(res2
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27736 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27739 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27752 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
= 0;
27754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27755 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 PyObject
* obj1
= 0 ;
27763 char * kwnames
[] = {
27764 (char *) "self",(char *) "other", NULL
27767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27772 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27774 if (!SWIG_IsOK(res2
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27777 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27796 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 char * kwnames
[] = {
27805 (char *) "self",(char *) "other", NULL
27808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27813 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27815 if (!SWIG_IsOK(res2
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27818 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27834 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
= 0;
27836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27837 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char * kwnames
[] = {
27846 (char *) "self",(char *) "other", NULL
27849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27854 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27855 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27856 if (!SWIG_IsOK(res2
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27859 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27875 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27878 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "other", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27895 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27900 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27903 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27916 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
= 0;
27918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27919 wxString
*arg2
= 0 ;
27923 bool temp2
= false ;
27924 PyObject
* obj0
= 0 ;
27925 PyObject
* obj1
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "date", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27935 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27937 arg2
= wxString_in_helper(obj1
);
27938 if (arg2
== NULL
) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= SWIG_From_int(static_cast< int >(result
));
27962 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
= 0;
27964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27965 wxString
*arg2
= 0 ;
27966 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27968 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27969 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27973 bool temp2
= false ;
27974 bool temp3
= false ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 PyObject
* obj2
= 0 ;
27980 PyObject
* obj3
= 0 ;
27981 char * kwnames
[] = {
27982 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27987 if (!SWIG_IsOK(res1
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27990 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27992 arg2
= wxString_in_helper(obj1
);
27993 if (arg2
== NULL
) SWIG_fail
;
27998 arg3
= wxString_in_helper(obj2
);
27999 if (arg3
== NULL
) SWIG_fail
;
28004 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
28005 if (!SWIG_IsOK(res4
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
28011 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
28014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28015 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_From_int(static_cast< int >(result
));
28042 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
= 0;
28044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28045 wxString
*arg2
= 0 ;
28049 bool temp2
= false ;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char * kwnames
[] = {
28053 (char *) "self",(char *) "datetime", NULL
28056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28061 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28063 arg2
= wxString_in_helper(obj1
);
28064 if (arg2
== NULL
) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_From_int(static_cast< int >(result
));
28088 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28091 wxString
*arg2
= 0 ;
28095 bool temp2
= false ;
28096 PyObject
* obj0
= 0 ;
28097 PyObject
* obj1
= 0 ;
28098 char * kwnames
[] = {
28099 (char *) "self",(char *) "date", NULL
28102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28104 if (!SWIG_IsOK(res1
)) {
28105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
28107 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28109 arg2
= wxString_in_helper(obj1
);
28110 if (arg2
== NULL
) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28119 resultobj
= SWIG_From_int(static_cast< int >(result
));
28134 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28135 PyObject
*resultobj
= 0;
28136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28137 wxString
*arg2
= 0 ;
28141 bool temp2
= false ;
28142 PyObject
* obj0
= 0 ;
28143 PyObject
* obj1
= 0 ;
28144 char * kwnames
[] = {
28145 (char *) "self",(char *) "time", NULL
28148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28150 if (!SWIG_IsOK(res1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
28153 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28155 arg2
= wxString_in_helper(obj1
);
28156 if (arg2
== NULL
) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
28162 wxPyEndAllowThreads(__tstate
);
28163 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= SWIG_From_int(static_cast< int >(result
));
28180 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28183 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
28184 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28185 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
28186 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
28190 bool temp2
= false ;
28191 bool temp3
= false ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 PyObject
* obj2
= 0 ;
28195 char * kwnames
[] = {
28196 (char *) "self",(char *) "format",(char *) "tz", NULL
28199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28201 if (!SWIG_IsOK(res1
)) {
28202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28204 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28207 arg2
= wxString_in_helper(obj1
);
28208 if (arg2
== NULL
) SWIG_fail
;
28214 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28236 if (temp3
) delete arg3
;
28245 if (temp3
) delete arg3
;
28251 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28252 PyObject
*resultobj
= 0;
28253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28257 PyObject
*swig_obj
[1] ;
28259 if (!args
) SWIG_fail
;
28260 swig_obj
[0] = args
;
28261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28262 if (!SWIG_IsOK(res1
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 result
= ((wxDateTime
const *)arg1
)->FormatDate();
28269 wxPyEndAllowThreads(__tstate
);
28270 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28285 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28286 PyObject
*resultobj
= 0;
28287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28291 PyObject
*swig_obj
[1] ;
28293 if (!args
) SWIG_fail
;
28294 swig_obj
[0] = args
;
28295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28299 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= ((wxDateTime
const *)arg1
)->FormatTime();
28303 wxPyEndAllowThreads(__tstate
);
28304 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28319 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 PyObject
*resultobj
= 0;
28321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28325 PyObject
*swig_obj
[1] ;
28327 if (!args
) SWIG_fail
;
28328 swig_obj
[0] = args
;
28329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28330 if (!SWIG_IsOK(res1
)) {
28331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28333 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28336 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28353 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28354 PyObject
*resultobj
= 0;
28355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
28359 PyObject
*swig_obj
[1] ;
28361 if (!args
) SWIG_fail
;
28362 swig_obj
[0] = args
;
28363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
28367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
28369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28370 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28387 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28390 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
28391 return SWIG_Py_Void();
28394 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 return SWIG_Python_InitShadowInstance(args
);
28398 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28404 PyObject
* obj0
= 0 ;
28405 char * kwnames
[] = {
28406 (char *) "ms", NULL
28409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
28410 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28411 if (!SWIG_IsOK(ecode1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
28414 arg1
= static_cast< long >(val1
);
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 result
= wxTimeSpan::Milliseconds(arg1
);
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28428 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28429 PyObject
*resultobj
= 0;
28432 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 result
= wxTimeSpan::Millisecond();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28446 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28452 PyObject
* obj0
= 0 ;
28453 char * kwnames
[] = {
28454 (char *) "sec", NULL
28457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
28458 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28459 if (!SWIG_IsOK(ecode1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
28462 arg1
= static_cast< long >(val1
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= wxTimeSpan::Seconds(arg1
);
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28469 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28476 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28480 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= wxTimeSpan::Second();
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28494 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
= 0;
28500 PyObject
* obj0
= 0 ;
28501 char * kwnames
[] = {
28502 (char *) "min", NULL
28505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
28506 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28507 if (!SWIG_IsOK(ecode1
)) {
28508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
28510 arg1
= static_cast< long >(val1
);
28512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28513 result
= wxTimeSpan::Minutes(arg1
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28524 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28525 PyObject
*resultobj
= 0;
28528 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= wxTimeSpan::Minute();
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28542 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
= 0;
28548 PyObject
* obj0
= 0 ;
28549 char * kwnames
[] = {
28550 (char *) "hours", NULL
28553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
28554 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28555 if (!SWIG_IsOK(ecode1
)) {
28556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
28558 arg1
= static_cast< long >(val1
);
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= wxTimeSpan::Hours(arg1
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28572 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28573 PyObject
*resultobj
= 0;
28576 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= wxTimeSpan::Hour();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28590 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28591 PyObject
*resultobj
= 0;
28596 PyObject
* obj0
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "days", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28602 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28603 if (!SWIG_IsOK(ecode1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
28606 arg1
= static_cast< long >(val1
);
28608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28609 result
= wxTimeSpan::Days(arg1
);
28610 wxPyEndAllowThreads(__tstate
);
28611 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28620 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28621 PyObject
*resultobj
= 0;
28624 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= wxTimeSpan::Day();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28638 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28639 PyObject
*resultobj
= 0;
28644 PyObject
* obj0
= 0 ;
28645 char * kwnames
[] = {
28646 (char *) "days", NULL
28649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
28650 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28651 if (!SWIG_IsOK(ecode1
)) {
28652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
28654 arg1
= static_cast< long >(val1
);
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= wxTimeSpan::Weeks(arg1
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28668 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28669 PyObject
*resultobj
= 0;
28672 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
28674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28675 result
= wxTimeSpan::Week();
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28686 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
= 0;
28688 long arg1
= (long) 0 ;
28689 long arg2
= (long) 0 ;
28690 long arg3
= (long) 0 ;
28691 long arg4
= (long) 0 ;
28692 wxTimeSpan
*result
= 0 ;
28701 PyObject
* obj0
= 0 ;
28702 PyObject
* obj1
= 0 ;
28703 PyObject
* obj2
= 0 ;
28704 PyObject
* obj3
= 0 ;
28705 char * kwnames
[] = {
28706 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
28709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28711 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28712 if (!SWIG_IsOK(ecode1
)) {
28713 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
28715 arg1
= static_cast< long >(val1
);
28718 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28719 if (!SWIG_IsOK(ecode2
)) {
28720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
28722 arg2
= static_cast< long >(val2
);
28725 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
28726 if (!SWIG_IsOK(ecode3
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
28729 arg3
= static_cast< long >(val3
);
28732 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
28733 if (!SWIG_IsOK(ecode4
)) {
28734 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
28736 arg4
= static_cast< long >(val4
);
28739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28740 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
28751 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28752 PyObject
*resultobj
= 0;
28753 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28756 PyObject
*swig_obj
[1] ;
28758 if (!args
) SWIG_fail
;
28759 swig_obj
[0] = args
;
28760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28761 if (!SWIG_IsOK(res1
)) {
28762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28764 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 wxPyEndAllowThreads(__tstate
);
28770 if (PyErr_Occurred()) SWIG_fail
;
28772 resultobj
= SWIG_Py_Void();
28779 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
= 0;
28781 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28782 wxTimeSpan
*arg2
= 0 ;
28783 wxTimeSpan
*result
= 0 ;
28788 PyObject
* obj0
= 0 ;
28789 PyObject
* obj1
= 0 ;
28790 char * kwnames
[] = {
28791 (char *) "self",(char *) "diff", NULL
28794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28796 if (!SWIG_IsOK(res1
)) {
28797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28799 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28801 if (!SWIG_IsOK(res2
)) {
28802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28807 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
28812 result
= (wxTimeSpan
*) &_result_ref
;
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28824 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
= 0;
28826 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28827 wxTimeSpan
*arg2
= 0 ;
28828 wxTimeSpan
*result
= 0 ;
28833 PyObject
* obj0
= 0 ;
28834 PyObject
* obj1
= 0 ;
28835 char * kwnames
[] = {
28836 (char *) "self",(char *) "diff", NULL
28839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28841 if (!SWIG_IsOK(res1
)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28844 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28846 if (!SWIG_IsOK(res2
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28852 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
28857 result
= (wxTimeSpan
*) &_result_ref
;
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28869 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28870 PyObject
*resultobj
= 0;
28871 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28873 wxTimeSpan
*result
= 0 ;
28878 PyObject
* obj0
= 0 ;
28879 PyObject
* obj1
= 0 ;
28880 char * kwnames
[] = {
28881 (char *) "self",(char *) "n", NULL
28884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28886 if (!SWIG_IsOK(res1
)) {
28887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28889 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28891 if (!SWIG_IsOK(ecode2
)) {
28892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28894 arg2
= static_cast< int >(val2
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28899 result
= (wxTimeSpan
*) &_result_ref
;
28901 wxPyEndAllowThreads(__tstate
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28911 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28912 PyObject
*resultobj
= 0;
28913 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28914 wxTimeSpan
*result
= 0 ;
28917 PyObject
*swig_obj
[1] ;
28919 if (!args
) SWIG_fail
;
28920 swig_obj
[0] = args
;
28921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28922 if (!SWIG_IsOK(res1
)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28925 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28930 result
= (wxTimeSpan
*) &_result_ref
;
28932 wxPyEndAllowThreads(__tstate
);
28933 if (PyErr_Occurred()) SWIG_fail
;
28935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28942 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28943 PyObject
*resultobj
= 0;
28944 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28948 PyObject
*swig_obj
[1] ;
28950 if (!args
) SWIG_fail
;
28951 swig_obj
[0] = args
;
28952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28953 if (!SWIG_IsOK(res1
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28956 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28970 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
= 0;
28972 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28973 wxTimeSpan
*arg2
= 0 ;
28974 wxTimeSpan
*result
= 0 ;
28979 PyObject
* obj0
= 0 ;
28980 PyObject
* obj1
= 0 ;
28981 char * kwnames
[] = {
28982 (char *) "self",(char *) "diff", NULL
28985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28987 if (!SWIG_IsOK(res1
)) {
28988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28990 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28992 if (!SWIG_IsOK(res2
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28998 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29002 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
29003 result
= (wxTimeSpan
*) &_result_ref
;
29005 wxPyEndAllowThreads(__tstate
);
29006 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29015 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29016 PyObject
*resultobj
= 0;
29017 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29018 wxTimeSpan
*arg2
= 0 ;
29019 wxTimeSpan
*result
= 0 ;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 char * kwnames
[] = {
29027 (char *) "self",(char *) "diff", NULL
29030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29035 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29037 if (!SWIG_IsOK(res2
)) {
29038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29043 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
29048 result
= (wxTimeSpan
*) &_result_ref
;
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29060 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
= 0;
29062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29064 wxTimeSpan
*result
= 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "n", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29080 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29082 if (!SWIG_IsOK(ecode2
)) {
29083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29085 arg2
= static_cast< int >(val2
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29090 result
= (wxTimeSpan
*) &_result_ref
;
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29102 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29103 PyObject
*resultobj
= 0;
29104 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29105 wxTimeSpan
*result
= 0 ;
29108 PyObject
*swig_obj
[1] ;
29110 if (!args
) SWIG_fail
;
29111 swig_obj
[0] = args
;
29112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29116 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29120 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
29121 result
= (wxTimeSpan
*) &_result_ref
;
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29133 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
= 0;
29135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29136 wxTimeSpan
*arg2
= 0 ;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 char * kwnames
[] = {
29145 (char *) "self",(char *) "other", NULL
29148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29150 if (!SWIG_IsOK(res1
)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29153 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29155 if (!SWIG_IsOK(res2
)) {
29156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29161 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29164 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29175 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
= 0;
29177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29178 wxTimeSpan
*arg2
= 0 ;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 char * kwnames
[] = {
29187 (char *) "self",(char *) "other", NULL
29190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29195 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29197 if (!SWIG_IsOK(res2
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29203 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29217 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29218 PyObject
*resultobj
= 0;
29219 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29226 PyObject
* obj0
= 0 ;
29227 PyObject
* obj1
= 0 ;
29228 char * kwnames
[] = {
29229 (char *) "self",(char *) "n", NULL
29232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29234 if (!SWIG_IsOK(res1
)) {
29235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29237 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29239 if (!SWIG_IsOK(ecode2
)) {
29240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29242 arg2
= static_cast< int >(val2
);
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= wxTimeSpan___mul__(arg1
,arg2
);
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29256 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
= 0;
29258 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29265 PyObject
* obj0
= 0 ;
29266 PyObject
* obj1
= 0 ;
29267 char * kwnames
[] = {
29268 (char *) "self",(char *) "n", NULL
29271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29273 if (!SWIG_IsOK(res1
)) {
29274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29276 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29278 if (!SWIG_IsOK(ecode2
)) {
29279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29281 arg2
= static_cast< int >(val2
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 result
= wxTimeSpan___rmul__(arg1
,arg2
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
29295 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
= 0;
29297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29298 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 PyObject
* obj1
= 0 ;
29306 char * kwnames
[] = {
29307 (char *) "self",(char *) "other", NULL
29310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29312 if (!SWIG_IsOK(res1
)) {
29313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29315 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29316 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29317 if (!SWIG_IsOK(res2
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29320 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29336 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29337 PyObject
*resultobj
= 0;
29338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29339 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29345 PyObject
* obj0
= 0 ;
29346 PyObject
* obj1
= 0 ;
29347 char * kwnames
[] = {
29348 (char *) "self",(char *) "other", NULL
29351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29353 if (!SWIG_IsOK(res1
)) {
29354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29356 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29358 if (!SWIG_IsOK(res2
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29361 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29377 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29378 PyObject
*resultobj
= 0;
29379 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29380 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29386 PyObject
* obj0
= 0 ;
29387 PyObject
* obj1
= 0 ;
29388 char * kwnames
[] = {
29389 (char *) "self",(char *) "other", NULL
29392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29394 if (!SWIG_IsOK(res1
)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29397 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29399 if (!SWIG_IsOK(res2
)) {
29400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29402 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
29406 wxPyEndAllowThreads(__tstate
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29418 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29419 PyObject
*resultobj
= 0;
29420 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29421 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29427 PyObject
* obj0
= 0 ;
29428 PyObject
* obj1
= 0 ;
29429 char * kwnames
[] = {
29430 (char *) "self",(char *) "other", NULL
29433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29438 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29440 if (!SWIG_IsOK(res2
)) {
29441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29443 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
29447 wxPyEndAllowThreads(__tstate
);
29448 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29459 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
= 0;
29461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29462 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char * kwnames
[] = {
29471 (char *) "self",(char *) "other", NULL
29474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29479 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29481 if (!SWIG_IsOK(res2
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29484 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29500 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29503 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "other", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
29520 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29521 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29522 if (!SWIG_IsOK(res2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
29525 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29528 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
29529 wxPyEndAllowThreads(__tstate
);
29530 if (PyErr_Occurred()) SWIG_fail
;
29533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29541 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29542 PyObject
*resultobj
= 0;
29543 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29547 PyObject
*swig_obj
[1] ;
29549 if (!args
) SWIG_fail
;
29550 swig_obj
[0] = args
;
29551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29555 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29571 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29585 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29601 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29602 PyObject
*resultobj
= 0;
29603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29607 PyObject
*swig_obj
[1] ;
29609 if (!args
) SWIG_fail
;
29610 swig_obj
[0] = args
;
29611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29615 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29631 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
= 0;
29633 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29634 wxTimeSpan
*arg2
= 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "ts", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29651 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29652 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29653 if (!SWIG_IsOK(res2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29659 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29675 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29676 PyObject
*resultobj
= 0;
29677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29678 wxTimeSpan
*arg2
= 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "ts", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29695 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29696 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29697 if (!SWIG_IsOK(res2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29703 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29719 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
= 0;
29721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29722 wxTimeSpan
*arg2
= 0 ;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char * kwnames
[] = {
29731 (char *) "self",(char *) "t", NULL
29734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29739 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
29741 if (!SWIG_IsOK(res2
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
29747 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29763 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29769 PyObject
*swig_obj
[1] ;
29771 if (!args
) SWIG_fail
;
29772 swig_obj
[0] = args
;
29773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29777 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= SWIG_From_int(static_cast< int >(result
));
29791 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29792 PyObject
*resultobj
= 0;
29793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29797 PyObject
*swig_obj
[1] ;
29799 if (!args
) SWIG_fail
;
29800 swig_obj
[0] = args
;
29801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29805 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_From_int(static_cast< int >(result
));
29819 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29820 PyObject
*resultobj
= 0;
29821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29833 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_From_int(static_cast< int >(result
));
29847 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29848 PyObject
*resultobj
= 0;
29849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29853 PyObject
*swig_obj
[1] ;
29855 if (!args
) SWIG_fail
;
29856 swig_obj
[0] = args
;
29857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29858 if (!SWIG_IsOK(res1
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29861 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29868 resultobj
= SWIG_From_int(static_cast< int >(result
));
29875 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29876 PyObject
*resultobj
= 0;
29877 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29881 PyObject
*swig_obj
[1] ;
29883 if (!args
) SWIG_fail
;
29884 swig_obj
[0] = args
;
29885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29889 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29897 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29898 hi
= PyLong_FromLong( (&result
)->GetHi() );
29899 lo
= PyLong_FromLong( (&result
)->GetLo() );
29900 shifter
= PyLong_FromLong(32);
29901 shifted
= PyNumber_Lshift(hi
, shifter
);
29902 resultobj
= PyNumber_Or(shifted
, lo
);
29905 Py_DECREF(shifter
);
29906 Py_DECREF(shifted
);
29914 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29915 PyObject
*resultobj
= 0;
29916 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29920 PyObject
*swig_obj
[1] ;
29922 if (!args
) SWIG_fail
;
29923 swig_obj
[0] = args
;
29924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29928 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29932 wxPyEndAllowThreads(__tstate
);
29933 if (PyErr_Occurred()) SWIG_fail
;
29936 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29937 hi
= PyLong_FromLong( (&result
)->GetHi() );
29938 lo
= PyLong_FromLong( (&result
)->GetLo() );
29939 shifter
= PyLong_FromLong(32);
29940 shifted
= PyNumber_Lshift(hi
, shifter
);
29941 resultobj
= PyNumber_Or(shifted
, lo
);
29944 Py_DECREF(shifter
);
29945 Py_DECREF(shifted
);
29953 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
= 0;
29955 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29956 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29957 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29961 bool temp2
= false ;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 char * kwnames
[] = {
29965 (char *) "self",(char *) "format", NULL
29968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29970 if (!SWIG_IsOK(res1
)) {
29971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29973 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29976 arg2
= wxString_in_helper(obj1
);
29977 if (arg2
== NULL
) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30008 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30010 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30011 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
30012 return SWIG_Py_Void();
30015 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30016 return SWIG_Python_InitShadowInstance(args
);
30019 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30020 PyObject
*resultobj
= 0;
30021 int arg1
= (int) 0 ;
30022 int arg2
= (int) 0 ;
30023 int arg3
= (int) 0 ;
30024 int arg4
= (int) 0 ;
30025 wxDateSpan
*result
= 0 ;
30034 PyObject
* obj0
= 0 ;
30035 PyObject
* obj1
= 0 ;
30036 PyObject
* obj2
= 0 ;
30037 PyObject
* obj3
= 0 ;
30038 char * kwnames
[] = {
30039 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
30042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30044 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30045 if (!SWIG_IsOK(ecode1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
30048 arg1
= static_cast< int >(val1
);
30051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30052 if (!SWIG_IsOK(ecode2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
30055 arg2
= static_cast< int >(val2
);
30058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30059 if (!SWIG_IsOK(ecode3
)) {
30060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
30062 arg3
= static_cast< int >(val3
);
30065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30066 if (!SWIG_IsOK(ecode4
)) {
30067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
30069 arg4
= static_cast< int >(val4
);
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
30084 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30085 PyObject
*resultobj
= 0;
30086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30089 PyObject
*swig_obj
[1] ;
30091 if (!args
) SWIG_fail
;
30092 swig_obj
[0] = args
;
30093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30097 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= SWIG_Py_Void();
30112 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
= 0;
30118 PyObject
* obj0
= 0 ;
30119 char * kwnames
[] = {
30120 (char *) "days", NULL
30123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
30124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30125 if (!SWIG_IsOK(ecode1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
30128 arg1
= static_cast< int >(val1
);
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 result
= wxDateSpan::Days(arg1
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30142 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30143 PyObject
*resultobj
= 0;
30146 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= wxDateSpan::Day();
30150 wxPyEndAllowThreads(__tstate
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30153 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30160 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30161 PyObject
*resultobj
= 0;
30166 PyObject
* obj0
= 0 ;
30167 char * kwnames
[] = {
30168 (char *) "weeks", NULL
30171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
30172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30173 if (!SWIG_IsOK(ecode1
)) {
30174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
30176 arg1
= static_cast< int >(val1
);
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= wxDateSpan::Weeks(arg1
);
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30190 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30191 PyObject
*resultobj
= 0;
30194 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= wxDateSpan::Week();
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30208 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
= 0;
30214 PyObject
* obj0
= 0 ;
30215 char * kwnames
[] = {
30216 (char *) "mon", NULL
30219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
30220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30221 if (!SWIG_IsOK(ecode1
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
30224 arg1
= static_cast< int >(val1
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= wxDateSpan::Months(arg1
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30238 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30239 PyObject
*resultobj
= 0;
30242 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 result
= wxDateSpan::Month();
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30256 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
= 0;
30262 PyObject
* obj0
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "years", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
30268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30269 if (!SWIG_IsOK(ecode1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
30272 arg1
= static_cast< int >(val1
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= wxDateSpan::Years(arg1
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30286 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30287 PyObject
*resultobj
= 0;
30290 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 result
= wxDateSpan::Year();
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30304 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30308 wxDateSpan
*result
= 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "n", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30324 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30326 if (!SWIG_IsOK(ecode2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
30329 arg2
= static_cast< int >(val2
);
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
30334 result
= (wxDateSpan
*) &_result_ref
;
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30346 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
= 0;
30348 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30350 wxDateSpan
*result
= 0 ;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 char * kwnames
[] = {
30358 (char *) "self",(char *) "n", NULL
30361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30366 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30368 if (!SWIG_IsOK(ecode2
)) {
30369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
30371 arg2
= static_cast< int >(val2
);
30373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30375 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
30376 result
= (wxDateSpan
*) &_result_ref
;
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30388 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
= 0;
30390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30392 wxDateSpan
*result
= 0 ;
30397 PyObject
* obj0
= 0 ;
30398 PyObject
* obj1
= 0 ;
30399 char * kwnames
[] = {
30400 (char *) "self",(char *) "n", NULL
30403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30405 if (!SWIG_IsOK(res1
)) {
30406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30408 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30410 if (!SWIG_IsOK(ecode2
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
30413 arg2
= static_cast< int >(val2
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
30418 result
= (wxDateSpan
*) &_result_ref
;
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30430 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
= 0;
30432 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30434 wxDateSpan
*result
= 0 ;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 char * kwnames
[] = {
30442 (char *) "self",(char *) "n", NULL
30445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30447 if (!SWIG_IsOK(res1
)) {
30448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30450 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30452 if (!SWIG_IsOK(ecode2
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
30455 arg2
= static_cast< int >(val2
);
30457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
30460 result
= (wxDateSpan
*) &_result_ref
;
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30472 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30473 PyObject
*resultobj
= 0;
30474 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30478 PyObject
*swig_obj
[1] ;
30480 if (!args
) SWIG_fail
;
30481 swig_obj
[0] = args
;
30482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30486 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_From_int(static_cast< int >(result
));
30500 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30501 PyObject
*resultobj
= 0;
30502 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30506 PyObject
*swig_obj
[1] ;
30508 if (!args
) SWIG_fail
;
30509 swig_obj
[0] = args
;
30510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30511 if (!SWIG_IsOK(res1
)) {
30512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30514 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30517 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_From_int(static_cast< int >(result
));
30528 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30529 PyObject
*resultobj
= 0;
30530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30534 PyObject
*swig_obj
[1] ;
30536 if (!args
) SWIG_fail
;
30537 swig_obj
[0] = args
;
30538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30539 if (!SWIG_IsOK(res1
)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30542 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30545 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= SWIG_From_int(static_cast< int >(result
));
30556 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30557 PyObject
*resultobj
= 0;
30558 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30562 PyObject
*swig_obj
[1] ;
30564 if (!args
) SWIG_fail
;
30565 swig_obj
[0] = args
;
30566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30567 if (!SWIG_IsOK(res1
)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30570 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30577 resultobj
= SWIG_From_int(static_cast< int >(result
));
30584 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30585 PyObject
*resultobj
= 0;
30586 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30590 PyObject
*swig_obj
[1] ;
30592 if (!args
) SWIG_fail
;
30593 swig_obj
[0] = args
;
30594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
30598 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30601 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30605 resultobj
= SWIG_From_int(static_cast< int >(result
));
30612 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30613 PyObject
*resultobj
= 0;
30614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30615 wxDateSpan
*arg2
= 0 ;
30616 wxDateSpan
*result
= 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "other", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30632 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30634 if (!SWIG_IsOK(res2
)) {
30635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30640 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
30645 result
= (wxDateSpan
*) &_result_ref
;
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30657 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
= 0;
30659 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30660 wxDateSpan
*arg2
= 0 ;
30661 wxDateSpan
*result
= 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char * kwnames
[] = {
30669 (char *) "self",(char *) "other", NULL
30672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30677 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30679 if (!SWIG_IsOK(res2
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30685 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
30690 result
= (wxDateSpan
*) &_result_ref
;
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30702 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30703 PyObject
*resultobj
= 0;
30704 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30705 wxDateSpan
*result
= 0 ;
30708 PyObject
*swig_obj
[1] ;
30710 if (!args
) SWIG_fail
;
30711 swig_obj
[0] = args
;
30712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30713 if (!SWIG_IsOK(res1
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30716 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 wxDateSpan
&_result_ref
= (arg1
)->Neg();
30721 result
= (wxDateSpan
*) &_result_ref
;
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30733 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
= 0;
30735 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30737 wxDateSpan
*result
= 0 ;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 char * kwnames
[] = {
30745 (char *) "self",(char *) "factor", NULL
30748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30753 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30755 if (!SWIG_IsOK(ecode2
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
30758 arg2
= static_cast< int >(val2
);
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
30763 result
= (wxDateSpan
*) &_result_ref
;
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30775 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30778 wxDateSpan
*arg2
= 0 ;
30779 wxDateSpan
*result
= 0 ;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "self",(char *) "other", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30795 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30797 if (!SWIG_IsOK(res2
)) {
30798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30803 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
30808 result
= (wxDateSpan
*) &_result_ref
;
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30820 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
= 0;
30822 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30823 wxDateSpan
*arg2
= 0 ;
30824 wxDateSpan
*result
= 0 ;
30829 PyObject
* obj0
= 0 ;
30830 PyObject
* obj1
= 0 ;
30831 char * kwnames
[] = {
30832 (char *) "self",(char *) "other", NULL
30835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30837 if (!SWIG_IsOK(res1
)) {
30838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30840 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30842 if (!SWIG_IsOK(res2
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30848 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
30853 result
= (wxDateSpan
*) &_result_ref
;
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30865 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30866 PyObject
*resultobj
= 0;
30867 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30868 wxDateSpan
*result
= 0 ;
30871 PyObject
*swig_obj
[1] ;
30873 if (!args
) SWIG_fail
;
30874 swig_obj
[0] = args
;
30875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30879 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 wxDateSpan
&_result_ref
= (arg1
)->operator -();
30884 result
= (wxDateSpan
*) &_result_ref
;
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30896 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
= 0;
30898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30900 wxDateSpan
*result
= 0 ;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char * kwnames
[] = {
30908 (char *) "self",(char *) "factor", NULL
30911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30913 if (!SWIG_IsOK(res1
)) {
30914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30916 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30918 if (!SWIG_IsOK(ecode2
)) {
30919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30921 arg2
= static_cast< int >(val2
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30925 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30926 result
= (wxDateSpan
*) &_result_ref
;
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30938 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30939 PyObject
*resultobj
= 0;
30940 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30941 wxDateSpan
*arg2
= 0 ;
30947 PyObject
* obj0
= 0 ;
30948 PyObject
* obj1
= 0 ;
30949 char * kwnames
[] = {
30950 (char *) "self",(char *) "other", NULL
30953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30955 if (!SWIG_IsOK(res1
)) {
30956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30958 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30959 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30960 if (!SWIG_IsOK(res2
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30966 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30980 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
= 0;
30982 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30983 wxDateSpan
*arg2
= 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "other", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31000 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
31002 if (!SWIG_IsOK(res2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
31008 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31022 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
= 0;
31024 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 PyObject
* obj1
= 0 ;
31033 char * kwnames
[] = {
31034 (char *) "self",(char *) "n", NULL
31037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31042 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31044 if (!SWIG_IsOK(ecode2
)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
31047 arg2
= static_cast< int >(val2
);
31049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31050 result
= wxDateSpan___mul__(arg1
,arg2
);
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31054 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31061 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
= 0;
31063 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31070 PyObject
* obj0
= 0 ;
31071 PyObject
* obj1
= 0 ;
31072 char * kwnames
[] = {
31073 (char *) "self",(char *) "n", NULL
31076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31081 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31083 if (!SWIG_IsOK(ecode2
)) {
31084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
31086 arg2
= static_cast< int >(val2
);
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= wxDateSpan___rmul__(arg1
,arg2
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
31100 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
= 0;
31102 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31103 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 char * kwnames
[] = {
31112 (char *) "self",(char *) "other", NULL
31115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31117 if (!SWIG_IsOK(res1
)) {
31118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31120 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31122 if (!SWIG_IsOK(res2
)) {
31123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31125 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31128 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
31129 wxPyEndAllowThreads(__tstate
);
31130 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31141 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
= 0;
31143 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
31144 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char * kwnames
[] = {
31153 (char *) "self",(char *) "other", NULL
31156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31158 if (!SWIG_IsOK(res1
)) {
31159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
31161 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
31162 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
31163 if (!SWIG_IsOK(res2
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
31166 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31182 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31184 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31185 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
31186 return SWIG_Py_Void();
31189 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31190 return SWIG_Python_InitShadowInstance(args
);
31193 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31194 PyObject
*resultobj
= 0;
31197 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
31199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 result
= (long)wxGetLocalTime();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 resultobj
= SWIG_From_long(static_cast< long >(result
));
31211 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31212 PyObject
*resultobj
= 0;
31215 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
31217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31218 result
= (long)wxGetUTCTime();
31219 wxPyEndAllowThreads(__tstate
);
31220 if (PyErr_Occurred()) SWIG_fail
;
31222 resultobj
= SWIG_From_long(static_cast< long >(result
));
31229 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31230 PyObject
*resultobj
= 0;
31233 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= (long)wxGetCurrentTime();
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= SWIG_From_long(static_cast< long >(result
));
31247 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31248 PyObject
*resultobj
= 0;
31251 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
31253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31254 result
= wxGetLocalTimeMillis();
31255 wxPyEndAllowThreads(__tstate
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31259 PyObject
*hi
, *lo
, *shifter
, *shifted
;
31260 hi
= PyLong_FromLong( (&result
)->GetHi() );
31261 lo
= PyLong_FromLong( (&result
)->GetLo() );
31262 shifter
= PyLong_FromLong(32);
31263 shifted
= PyNumber_Lshift(hi
, shifter
);
31264 resultobj
= PyNumber_Or(shifted
, lo
);
31267 Py_DECREF(shifter
);
31268 Py_DECREF(shifted
);
31276 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
31277 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
31282 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
31283 PyObject
*pyobj
= 0;
31285 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
31290 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
= 0;
31292 wxDataFormatId arg1
;
31293 wxDataFormat
*result
= 0 ;
31296 PyObject
* obj0
= 0 ;
31297 char * kwnames
[] = {
31298 (char *) "type", NULL
31301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
31302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31303 if (!SWIG_IsOK(ecode1
)) {
31304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
31306 arg1
= static_cast< wxDataFormatId
>(val1
);
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
31320 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
= 0;
31322 wxString
*arg1
= 0 ;
31323 wxDataFormat
*result
= 0 ;
31324 bool temp1
= false ;
31325 PyObject
* obj0
= 0 ;
31326 char * kwnames
[] = {
31327 (char *) "format", NULL
31330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
31332 arg1
= wxString_in_helper(obj0
);
31333 if (arg1
== NULL
) SWIG_fail
;
31337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31357 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 PyObject
*resultobj
= 0;
31359 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31362 PyObject
*swig_obj
[1] ;
31364 if (!args
) SWIG_fail
;
31365 swig_obj
[0] = args
;
31366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
31367 if (!SWIG_IsOK(res1
)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31370 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_Py_Void();
31385 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31386 PyObject
*resultobj
= 0;
31387 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31388 wxDataFormatId arg2
;
31395 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31400 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31401 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31402 if (!SWIG_IsOK(ecode2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31405 arg2
= static_cast< wxDataFormatId
>(val2
);
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31421 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31422 PyObject
*resultobj
= 0;
31423 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31424 wxDataFormatId arg2
;
31431 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31433 if (!SWIG_IsOK(res1
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31436 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31437 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
31438 if (!SWIG_IsOK(ecode2
)) {
31439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31441 arg2
= static_cast< wxDataFormatId
>(val2
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31457 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31458 PyObject
*resultobj
= 0;
31459 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31460 wxDataFormat
*arg2
= 0 ;
31467 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31469 if (!SWIG_IsOK(res1
)) {
31470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31472 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31473 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31474 if (!SWIG_IsOK(res2
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31480 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31496 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
31500 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
31505 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31506 _v
= SWIG_CheckState(res
);
31508 if (!_v
) goto check_1
;
31509 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
31514 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
31518 Py_INCREF(Py_NotImplemented
);
31519 return Py_NotImplemented
;
31523 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31524 PyObject
*resultobj
= 0;
31525 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31526 wxDataFormat
*arg2
= 0 ;
31533 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
31534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31535 if (!SWIG_IsOK(res1
)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31538 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31539 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31540 if (!SWIG_IsOK(res2
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31546 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31549 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31562 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
31566 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
31571 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
31572 _v
= SWIG_CheckState(res
);
31574 if (!_v
) goto check_1
;
31575 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
31580 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
31584 Py_INCREF(Py_NotImplemented
);
31585 return Py_NotImplemented
;
31589 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
= 0;
31591 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31592 wxDataFormatId arg2
;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 char * kwnames
[] = {
31600 (char *) "self",(char *) "format", NULL
31603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31605 if (!SWIG_IsOK(res1
)) {
31606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31608 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31610 if (!SWIG_IsOK(ecode2
)) {
31611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
31613 arg2
= static_cast< wxDataFormatId
>(val2
);
31615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31616 (arg1
)->SetType(arg2
);
31617 wxPyEndAllowThreads(__tstate
);
31618 if (PyErr_Occurred()) SWIG_fail
;
31620 resultobj
= SWIG_Py_Void();
31627 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31628 PyObject
*resultobj
= 0;
31629 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31630 wxDataFormatId result
;
31633 PyObject
*swig_obj
[1] ;
31635 if (!args
) SWIG_fail
;
31636 swig_obj
[0] = args
;
31637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31638 if (!SWIG_IsOK(res1
)) {
31639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31641 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
31645 wxPyEndAllowThreads(__tstate
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 resultobj
= SWIG_From_int(static_cast< int >(result
));
31655 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31656 PyObject
*resultobj
= 0;
31657 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31661 PyObject
*swig_obj
[1] ;
31663 if (!args
) SWIG_fail
;
31664 swig_obj
[0] = args
;
31665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31666 if (!SWIG_IsOK(res1
)) {
31667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
31669 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31672 result
= ((wxDataFormat
const *)arg1
)->GetId();
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31678 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31680 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31689 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
= 0;
31691 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
31692 wxString
*arg2
= 0 ;
31695 bool temp2
= false ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char * kwnames
[] = {
31699 (char *) "self",(char *) "format", NULL
31702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31704 if (!SWIG_IsOK(res1
)) {
31705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
31707 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31709 arg2
= wxString_in_helper(obj1
);
31710 if (arg2
== NULL
) SWIG_fail
;
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->SetId((wxString
const &)*arg2
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31734 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31737 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
31738 return SWIG_Py_Void();
31741 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31742 return SWIG_Python_InitShadowInstance(args
);
31745 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
31746 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
31751 SWIGINTERN PyObject
*FormatInvalid_get(void) {
31752 PyObject
*pyobj
= 0;
31754 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
31759 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31760 PyObject
*resultobj
= 0;
31761 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31764 PyObject
*swig_obj
[1] ;
31766 if (!args
) SWIG_fail
;
31767 swig_obj
[0] = args
;
31768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
31772 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 wxPyEndAllowThreads(__tstate
);
31778 if (PyErr_Occurred()) SWIG_fail
;
31780 resultobj
= SWIG_Py_Void();
31787 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
= 0;
31789 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31790 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31791 SwigValueWrapper
<wxDataFormat
> result
;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 char * kwnames
[] = {
31799 (char *) "self",(char *) "dir", NULL
31802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31804 if (!SWIG_IsOK(res1
)) {
31805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31807 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31810 if (!SWIG_IsOK(ecode2
)) {
31811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31813 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31828 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
= 0;
31830 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31831 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 char * kwnames
[] = {
31840 (char *) "self",(char *) "dir", NULL
31843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31845 if (!SWIG_IsOK(res1
)) {
31846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31848 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31851 if (!SWIG_IsOK(ecode2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31854 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31869 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
= 0;
31871 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31872 wxDataFormat
*arg2
= 0 ;
31873 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
31881 PyObject
* obj0
= 0 ;
31882 PyObject
* obj1
= 0 ;
31883 PyObject
* obj2
= 0 ;
31884 char * kwnames
[] = {
31885 (char *) "self",(char *) "format",(char *) "dir", NULL
31888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31890 if (!SWIG_IsOK(res1
)) {
31891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31893 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31895 if (!SWIG_IsOK(res2
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31901 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31904 if (!SWIG_IsOK(ecode3
)) {
31905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31907 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31924 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
= 0;
31926 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31927 wxDataFormat
*arg2
= 0 ;
31933 PyObject
* obj0
= 0 ;
31934 PyObject
* obj1
= 0 ;
31935 char * kwnames
[] = {
31936 (char *) "self",(char *) "format", NULL
31939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31941 if (!SWIG_IsOK(res1
)) {
31942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31944 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31946 if (!SWIG_IsOK(res2
)) {
31947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31952 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31955 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31966 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
= 0;
31968 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31969 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31970 PyObject
*result
= 0 ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 char * kwnames
[] = {
31978 (char *) "self",(char *) "dir", NULL
31981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31983 if (!SWIG_IsOK(res1
)) {
31984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31986 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31989 if (!SWIG_IsOK(ecode2
)) {
31990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31992 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= result
;
32007 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
= 0;
32009 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32010 wxDataFormat
*arg2
= 0 ;
32011 PyObject
*result
= 0 ;
32016 PyObject
* obj0
= 0 ;
32017 PyObject
* obj1
= 0 ;
32018 char * kwnames
[] = {
32019 (char *) "self",(char *) "format", NULL
32022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32024 if (!SWIG_IsOK(res1
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
32027 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32028 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32029 if (!SWIG_IsOK(res2
)) {
32030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32035 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
32039 wxPyEndAllowThreads(__tstate
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= result
;
32049 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
= 0;
32051 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
32052 wxDataFormat
*arg2
= 0 ;
32053 PyObject
*arg3
= (PyObject
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 PyObject
* obj2
= 0 ;
32062 char * kwnames
[] = {
32063 (char *) "self",(char *) "format",(char *) "data", NULL
32066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
32068 if (!SWIG_IsOK(res1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
32071 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
32072 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32073 if (!SWIG_IsOK(res2
)) {
32074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32079 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32083 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32096 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32098 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32099 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
32100 return SWIG_Py_Void();
32103 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32104 PyObject
*resultobj
= 0;
32105 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32106 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32107 wxDataObjectSimple
*result
= 0 ;
32110 PyObject
* obj0
= 0 ;
32111 char * kwnames
[] = {
32112 (char *) "format", NULL
32115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32117 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32118 if (!SWIG_IsOK(res1
)) {
32119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32124 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
32129 wxPyEndAllowThreads(__tstate
);
32130 if (PyErr_Occurred()) SWIG_fail
;
32132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32139 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32140 PyObject
*resultobj
= 0;
32141 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32142 wxDataFormat
*result
= 0 ;
32145 PyObject
*swig_obj
[1] ;
32147 if (!args
) SWIG_fail
;
32148 swig_obj
[0] = args
;
32149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32150 if (!SWIG_IsOK(res1
)) {
32151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32153 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
32158 result
= (wxDataFormat
*) &_result_ref
;
32160 wxPyEndAllowThreads(__tstate
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
32170 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
= 0;
32172 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32173 wxDataFormat
*arg2
= 0 ;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 char * kwnames
[] = {
32181 (char *) "self",(char *) "format", NULL
32184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32186 if (!SWIG_IsOK(res1
)) {
32187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32189 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32191 if (!SWIG_IsOK(res2
)) {
32192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
32197 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
32199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32200 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
32201 wxPyEndAllowThreads(__tstate
);
32202 if (PyErr_Occurred()) SWIG_fail
;
32204 resultobj
= SWIG_Py_Void();
32211 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32212 PyObject
*resultobj
= 0;
32213 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32217 PyObject
*swig_obj
[1] ;
32219 if (!args
) SWIG_fail
;
32220 swig_obj
[0] = args
;
32221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
32225 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32228 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32239 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32240 PyObject
*resultobj
= 0;
32241 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32242 PyObject
*result
= 0 ;
32245 PyObject
*swig_obj
[1] ;
32247 if (!args
) SWIG_fail
;
32248 swig_obj
[0] = args
;
32249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32253 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32256 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= result
;
32267 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
= 0;
32269 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
32270 PyObject
*arg2
= (PyObject
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "data", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
32285 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32302 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32305 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
32306 return SWIG_Py_Void();
32309 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32310 return SWIG_Python_InitShadowInstance(args
);
32313 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
= 0;
32315 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
32316 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
32317 wxPyDataObjectSimple
*result
= 0 ;
32320 PyObject
* obj0
= 0 ;
32321 char * kwnames
[] = {
32322 (char *) "format", NULL
32325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
32327 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32328 if (!SWIG_IsOK(res1
)) {
32329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32334 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32338 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
32349 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
= 0;
32351 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
32352 PyObject
*arg2
= (PyObject
*) 0 ;
32353 PyObject
*arg3
= (PyObject
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 PyObject
* obj1
= 0 ;
32358 PyObject
* obj2
= 0 ;
32359 char * kwnames
[] = {
32360 (char *) "self",(char *) "self",(char *) "_class", NULL
32363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
32365 if (!SWIG_IsOK(res1
)) {
32366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
32368 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
32372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32373 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32374 wxPyEndAllowThreads(__tstate
);
32375 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= SWIG_Py_Void();
32384 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
32388 return SWIG_Py_Void();
32391 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32392 return SWIG_Python_InitShadowInstance(args
);
32395 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32396 PyObject
*resultobj
= 0;
32397 wxDataObjectComposite
*result
= 0 ;
32399 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
32413 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32416 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
32417 bool arg3
= (bool) false ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
32435 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32436 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
32437 if (!SWIG_IsOK(res2
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
32441 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32442 if (!SWIG_IsOK(ecode3
)) {
32443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
32445 arg3
= static_cast< bool >(val3
);
32448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32449 (arg1
)->Add(arg2
,arg3
);
32450 wxPyEndAllowThreads(__tstate
);
32451 if (PyErr_Occurred()) SWIG_fail
;
32453 resultobj
= SWIG_Py_Void();
32460 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32461 PyObject
*resultobj
= 0;
32462 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
32463 SwigValueWrapper
<wxDataFormat
> result
;
32466 PyObject
*swig_obj
[1] ;
32468 if (!args
) SWIG_fail
;
32469 swig_obj
[0] = args
;
32470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
32471 if (!SWIG_IsOK(res1
)) {
32472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
32474 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
32476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32477 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
32488 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32491 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
32492 return SWIG_Py_Void();
32495 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32496 return SWIG_Python_InitShadowInstance(args
);
32499 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
= 0;
32501 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32502 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32503 wxTextDataObject
*result
= 0 ;
32504 bool temp1
= false ;
32505 PyObject
* obj0
= 0 ;
32506 char * kwnames
[] = {
32507 (char *) "text", NULL
32510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32513 arg1
= wxString_in_helper(obj0
);
32514 if (arg1
== NULL
) SWIG_fail
;
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
32539 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32545 PyObject
*swig_obj
[1] ;
32547 if (!args
) SWIG_fail
;
32548 swig_obj
[0] = args
;
32549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32550 if (!SWIG_IsOK(res1
)) {
32551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32553 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32556 result
= (size_t)(arg1
)->GetTextLength();
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32567 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32568 PyObject
*resultobj
= 0;
32569 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32573 PyObject
*swig_obj
[1] ;
32575 if (!args
) SWIG_fail
;
32576 swig_obj
[0] = args
;
32577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32578 if (!SWIG_IsOK(res1
)) {
32579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32581 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 result
= (arg1
)->GetText();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32601 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
32604 wxString
*arg2
= 0 ;
32607 bool temp2
= false ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char * kwnames
[] = {
32611 (char *) "self",(char *) "text", NULL
32614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
32619 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
32621 arg2
= wxString_in_helper(obj1
);
32622 if (arg2
== NULL
) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 (arg1
)->SetText((wxString
const &)*arg2
);
32628 wxPyEndAllowThreads(__tstate
);
32629 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= SWIG_Py_Void();
32646 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32649 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
32650 return SWIG_Py_Void();
32653 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32654 return SWIG_Python_InitShadowInstance(args
);
32657 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32658 PyObject
*resultobj
= 0;
32659 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32660 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32661 wxPyTextDataObject
*result
= 0 ;
32662 bool temp1
= false ;
32663 PyObject
* obj0
= 0 ;
32664 char * kwnames
[] = {
32665 (char *) "text", NULL
32668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
32671 arg1
= wxString_in_helper(obj0
);
32672 if (arg1
== NULL
) SWIG_fail
;
32677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32678 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
32679 wxPyEndAllowThreads(__tstate
);
32680 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
32697 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32698 PyObject
*resultobj
= 0;
32699 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
32700 PyObject
*arg2
= (PyObject
*) 0 ;
32701 PyObject
*arg3
= (PyObject
*) 0 ;
32704 PyObject
* obj0
= 0 ;
32705 PyObject
* obj1
= 0 ;
32706 PyObject
* obj2
= 0 ;
32707 char * kwnames
[] = {
32708 (char *) "self",(char *) "self",(char *) "_class", NULL
32711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
32713 if (!SWIG_IsOK(res1
)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
32716 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= SWIG_Py_Void();
32732 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32735 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
32736 return SWIG_Py_Void();
32739 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32740 return SWIG_Python_InitShadowInstance(args
);
32743 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
= 0;
32745 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32746 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32747 wxBitmapDataObject
*result
= 0 ;
32750 PyObject
* obj0
= 0 ;
32751 char * kwnames
[] = {
32752 (char *) "bitmap", NULL
32755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32757 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
32769 wxPyEndAllowThreads(__tstate
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32779 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32780 PyObject
*resultobj
= 0;
32781 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32785 PyObject
*swig_obj
[1] ;
32787 if (!args
) SWIG_fail
;
32788 swig_obj
[0] = args
;
32789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32790 if (!SWIG_IsOK(res1
)) {
32791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
32793 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32796 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
32797 wxPyEndAllowThreads(__tstate
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32800 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
32807 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
= 0;
32809 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
32810 wxBitmap
*arg2
= 0 ;
32815 PyObject
* obj0
= 0 ;
32816 PyObject
* obj1
= 0 ;
32817 char * kwnames
[] = {
32818 (char *) "self",(char *) "bitmap", NULL
32821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
32823 if (!SWIG_IsOK(res1
)) {
32824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
32826 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
32827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32828 if (!SWIG_IsOK(res2
)) {
32829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
32834 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32841 resultobj
= SWIG_Py_Void();
32848 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32851 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
32852 return SWIG_Py_Void();
32855 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32856 return SWIG_Python_InitShadowInstance(args
);
32859 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32860 PyObject
*resultobj
= 0;
32861 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
32862 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
32863 wxPyBitmapDataObject
*result
= 0 ;
32866 PyObject
* obj0
= 0 ;
32867 char * kwnames
[] = {
32868 (char *) "bitmap", NULL
32871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
32873 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
32880 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
32883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32884 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32895 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
= 0;
32897 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32898 PyObject
*arg2
= (PyObject
*) 0 ;
32899 PyObject
*arg3
= (PyObject
*) 0 ;
32902 PyObject
* obj0
= 0 ;
32903 PyObject
* obj1
= 0 ;
32904 PyObject
* obj2
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "self",(char *) "self",(char *) "_class", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32914 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= SWIG_Py_Void();
32930 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32932 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32933 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32934 return SWIG_Py_Void();
32937 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32938 return SWIG_Python_InitShadowInstance(args
);
32941 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32942 PyObject
*resultobj
= 0;
32943 wxFileDataObject
*result
= 0 ;
32945 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (wxFileDataObject
*)new wxFileDataObject();
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32959 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32960 PyObject
*resultobj
= 0;
32961 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32962 wxArrayString
*result
= 0 ;
32965 PyObject
*swig_obj
[1] ;
32967 if (!args
) SWIG_fail
;
32968 swig_obj
[0] = args
;
32969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32970 if (!SWIG_IsOK(res1
)) {
32971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32973 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32977 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32978 result
= (wxArrayString
*) &_result_ref
;
32980 wxPyEndAllowThreads(__tstate
);
32981 if (PyErr_Occurred()) SWIG_fail
;
32984 resultobj
= wxArrayString2PyList_helper(*result
);
32992 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= 0;
32994 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32995 wxString
*arg2
= 0 ;
32998 bool temp2
= false ;
32999 PyObject
* obj0
= 0 ;
33000 PyObject
* obj1
= 0 ;
33001 char * kwnames
[] = {
33002 (char *) "self",(char *) "filename", NULL
33005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
33007 if (!SWIG_IsOK(res1
)) {
33008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
33010 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
33012 arg2
= wxString_in_helper(obj1
);
33013 if (arg2
== NULL
) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 (arg1
)->AddFile((wxString
const &)*arg2
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= SWIG_Py_Void();
33037 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33040 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
33041 return SWIG_Py_Void();
33044 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33045 return SWIG_Python_InitShadowInstance(args
);
33048 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33049 PyObject
*resultobj
= 0;
33050 wxDataFormat
*arg1
= 0 ;
33051 wxCustomDataObject
*result
= 0 ;
33055 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
33057 if (!SWIG_IsOK(res1
)) {
33058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
33063 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33077 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33078 PyObject
*resultobj
= 0;
33079 wxString
*arg1
= 0 ;
33080 wxCustomDataObject
*result
= 0 ;
33081 bool temp1
= false ;
33083 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
33085 arg1
= wxString_in_helper(swig_obj
[0]);
33086 if (arg1
== NULL
) SWIG_fail
;
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33110 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
33111 PyObject
*resultobj
= 0;
33112 wxCustomDataObject
*result
= 0 ;
33114 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
33116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33117 result
= (wxCustomDataObject
*)new wxCustomDataObject();
33118 wxPyEndAllowThreads(__tstate
);
33119 if (PyErr_Occurred()) SWIG_fail
;
33121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
33128 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
33132 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
33135 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
33141 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
33144 if (!_v
) goto check_2
;
33145 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
33150 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
33154 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
33159 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33160 PyObject
*resultobj
= 0;
33161 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33162 PyObject
*arg2
= (PyObject
*) 0 ;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 char * kwnames
[] = {
33169 (char *) "self",(char *) "data", NULL
33172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33177 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33194 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33195 PyObject
*resultobj
= 0;
33196 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33200 PyObject
*swig_obj
[1] ;
33202 if (!args
) SWIG_fail
;
33203 swig_obj
[0] = args
;
33204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33205 if (!SWIG_IsOK(res1
)) {
33206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33208 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 result
= (size_t)(arg1
)->GetSize();
33212 wxPyEndAllowThreads(__tstate
);
33213 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
33222 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33223 PyObject
*resultobj
= 0;
33224 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
33225 PyObject
*result
= 0 ;
33228 PyObject
*swig_obj
[1] ;
33230 if (!args
) SWIG_fail
;
33231 swig_obj
[0] = args
;
33232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
33233 if (!SWIG_IsOK(res1
)) {
33234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
33236 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
33238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33239 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
33240 wxPyEndAllowThreads(__tstate
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 resultobj
= result
;
33250 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33252 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33253 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
33254 return SWIG_Py_Void();
33257 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33258 return SWIG_Python_InitShadowInstance(args
);
33261 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
= 0;
33263 wxString
const &arg1_defvalue
= wxPyEmptyString
;
33264 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
33265 wxURLDataObject
*result
= 0 ;
33266 bool temp1
= false ;
33267 PyObject
* obj0
= 0 ;
33268 char * kwnames
[] = {
33269 (char *) "url", NULL
33272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_URLDataObject",kwnames
,&obj0
)) SWIG_fail
;
33275 arg1
= wxString_in_helper(obj0
);
33276 if (arg1
== NULL
) SWIG_fail
;
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 result
= (wxURLDataObject
*)new wxURLDataObject((wxString
const &)*arg1
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
33301 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33302 PyObject
*resultobj
= 0;
33303 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33307 PyObject
*swig_obj
[1] ;
33309 if (!args
) SWIG_fail
;
33310 swig_obj
[0] = args
;
33311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33312 if (!SWIG_IsOK(res1
)) {
33313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33315 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 result
= (arg1
)->GetURL();
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33335 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33336 PyObject
*resultobj
= 0;
33337 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
33338 wxString
*arg2
= 0 ;
33341 bool temp2
= false ;
33342 PyObject
* obj0
= 0 ;
33343 PyObject
* obj1
= 0 ;
33344 char * kwnames
[] = {
33345 (char *) "self",(char *) "url", NULL
33348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
33353 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
33355 arg2
= wxString_in_helper(obj1
);
33356 if (arg2
== NULL
) SWIG_fail
;
33360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33361 (arg1
)->SetURL((wxString
const &)*arg2
);
33362 wxPyEndAllowThreads(__tstate
);
33363 if (PyErr_Occurred()) SWIG_fail
;
33365 resultobj
= SWIG_Py_Void();
33380 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33382 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33383 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
33384 return SWIG_Py_Void();
33387 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33388 return SWIG_Python_InitShadowInstance(args
);
33391 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33392 PyObject
*resultobj
= 0;
33393 wxMetafileDataObject
*result
= 0 ;
33395 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
33409 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33412 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
33413 return SWIG_Py_Void();
33416 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33417 return SWIG_Python_InitShadowInstance(args
);
33420 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33421 PyObject
*resultobj
= 0;
33422 wxDragResult arg1
;
33426 PyObject
* obj0
= 0 ;
33427 char * kwnames
[] = {
33428 (char *) "res", NULL
33431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
33432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
33433 if (!SWIG_IsOK(ecode1
)) {
33434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
33436 arg1
= static_cast< wxDragResult
>(val1
);
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (bool)wxIsDragResultOk(arg1
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33452 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33453 PyObject
*resultobj
= 0;
33454 wxWindow
*arg1
= (wxWindow
*) 0 ;
33455 wxIcon
const &arg2_defvalue
= wxNullIcon
;
33456 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
33457 wxIcon
const &arg3_defvalue
= wxNullIcon
;
33458 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
33459 wxIcon
const &arg4_defvalue
= wxNullIcon
;
33460 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
33461 wxPyDropSource
*result
= 0 ;
33470 PyObject
* obj0
= 0 ;
33471 PyObject
* obj1
= 0 ;
33472 PyObject
* obj2
= 0 ;
33473 PyObject
* obj3
= 0 ;
33474 char * kwnames
[] = {
33475 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
33478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
33483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33486 if (!SWIG_IsOK(res2
)) {
33487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
33492 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33495 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
33496 if (!SWIG_IsOK(res3
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
33502 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
33505 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
33506 if (!SWIG_IsOK(res4
)) {
33507 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33510 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
33512 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
33527 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
= 0;
33529 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33530 PyObject
*arg2
= (PyObject
*) 0 ;
33531 PyObject
*arg3
= (PyObject
*) 0 ;
33537 PyObject
* obj0
= 0 ;
33538 PyObject
* obj1
= 0 ;
33539 PyObject
* obj2
= 0 ;
33540 PyObject
* obj3
= 0 ;
33541 char * kwnames
[] = {
33542 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
33545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33547 if (!SWIG_IsOK(res1
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33550 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33553 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33554 if (!SWIG_IsOK(ecode4
)) {
33555 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
33557 arg4
= static_cast< int >(val4
);
33559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33560 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
33561 wxPyEndAllowThreads(__tstate
);
33562 if (PyErr_Occurred()) SWIG_fail
;
33564 resultobj
= SWIG_Py_Void();
33571 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33572 PyObject
*resultobj
= 0;
33573 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33576 PyObject
*swig_obj
[1] ;
33578 if (!args
) SWIG_fail
;
33579 swig_obj
[0] = args
;
33580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
33581 if (!SWIG_IsOK(res1
)) {
33582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33584 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= SWIG_Py_Void();
33599 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33600 PyObject
*resultobj
= 0;
33601 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33602 wxDataObject
*arg2
= 0 ;
33607 PyObject
* obj0
= 0 ;
33608 PyObject
* obj1
= 0 ;
33609 char * kwnames
[] = {
33610 (char *) "self",(char *) "data", NULL
33613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33615 if (!SWIG_IsOK(res1
)) {
33616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33618 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
33620 if (!SWIG_IsOK(res2
)) {
33621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
33626 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
33628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33629 (arg1
)->SetData(*arg2
);
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33633 resultobj
= SWIG_Py_Void();
33640 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33641 PyObject
*resultobj
= 0;
33642 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33643 wxDataObject
*result
= 0 ;
33646 PyObject
*swig_obj
[1] ;
33648 if (!args
) SWIG_fail
;
33649 swig_obj
[0] = args
;
33650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33651 if (!SWIG_IsOK(res1
)) {
33652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33654 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33658 wxPyEndAllowThreads(__tstate
);
33659 if (PyErr_Occurred()) SWIG_fail
;
33661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33668 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33669 PyObject
*resultobj
= 0;
33670 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33671 wxDragResult arg2
;
33672 wxCursor
*arg3
= 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 PyObject
* obj2
= 0 ;
33682 char * kwnames
[] = {
33683 (char *) "self",(char *) "res",(char *) "cursor", NULL
33686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33688 if (!SWIG_IsOK(res1
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33691 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33693 if (!SWIG_IsOK(ecode2
)) {
33694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
33696 arg2
= static_cast< wxDragResult
>(val2
);
33697 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
33698 if (!SWIG_IsOK(res3
)) {
33699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
33704 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= SWIG_Py_Void();
33718 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33721 int arg2
= (int) wxDrag_CopyOnly
;
33722 wxDragResult result
;
33727 PyObject
* obj0
= 0 ;
33728 PyObject
* obj1
= 0 ;
33729 char * kwnames
[] = {
33730 (char *) "self",(char *) "flags", NULL
33733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33738 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33741 if (!SWIG_IsOK(ecode2
)) {
33742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
33744 arg2
= static_cast< int >(val2
);
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= SWIG_From_int(static_cast< int >(result
));
33759 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33760 PyObject
*resultobj
= 0;
33761 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
33762 wxDragResult arg2
;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 char * kwnames
[] = {
33771 (char *) "self",(char *) "effect", NULL
33774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
33779 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
33780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33781 if (!SWIG_IsOK(ecode2
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
33784 arg2
= static_cast< wxDragResult
>(val2
);
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (bool)(arg1
)->GiveFeedback(arg2
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33800 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33803 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
33804 return SWIG_Py_Void();
33807 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33808 return SWIG_Python_InitShadowInstance(args
);
33811 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33812 PyObject
*resultobj
= 0;
33813 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
33814 wxPyDropTarget
*result
= 0 ;
33816 PyObject
* obj0
= 0 ;
33817 char * kwnames
[] = {
33818 (char *) "dataObject", NULL
33821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
33823 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33824 if (!SWIG_IsOK(res1
)) {
33825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
33829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33830 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
33841 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
= 0;
33843 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33844 PyObject
*arg2
= (PyObject
*) 0 ;
33845 PyObject
*arg3
= (PyObject
*) 0 ;
33848 PyObject
* obj0
= 0 ;
33849 PyObject
* obj1
= 0 ;
33850 PyObject
* obj2
= 0 ;
33851 char * kwnames
[] = {
33852 (char *) "self",(char *) "self",(char *) "_class", NULL
33855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33857 if (!SWIG_IsOK(res1
)) {
33858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33860 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33866 wxPyEndAllowThreads(__tstate
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33869 resultobj
= SWIG_Py_Void();
33876 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33877 PyObject
*resultobj
= 0;
33878 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33881 PyObject
*swig_obj
[1] ;
33883 if (!args
) SWIG_fail
;
33884 swig_obj
[0] = args
;
33885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33889 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_Py_Void();
33904 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33905 PyObject
*resultobj
= 0;
33906 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33907 wxDataObject
*result
= 0 ;
33910 PyObject
*swig_obj
[1] ;
33912 if (!args
) SWIG_fail
;
33913 swig_obj
[0] = args
;
33914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33915 if (!SWIG_IsOK(res1
)) {
33916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33918 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33921 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33922 wxPyEndAllowThreads(__tstate
);
33923 if (PyErr_Occurred()) SWIG_fail
;
33925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33932 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
= 0;
33934 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33935 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33941 char * kwnames
[] = {
33942 (char *) "self",(char *) "dataObject", NULL
33945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33947 if (!SWIG_IsOK(res1
)) {
33948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33950 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33951 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33952 if (!SWIG_IsOK(res2
)) {
33953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 (arg1
)->SetDataObject(arg2
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= SWIG_Py_Void();
33968 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
= 0;
33970 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33973 wxDragResult arg4
;
33974 wxDragResult result
;
33983 PyObject
* obj0
= 0 ;
33984 PyObject
* obj1
= 0 ;
33985 PyObject
* obj2
= 0 ;
33986 PyObject
* obj3
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33996 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33998 if (!SWIG_IsOK(ecode2
)) {
33999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34001 arg2
= static_cast< int >(val2
);
34002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34003 if (!SWIG_IsOK(ecode3
)) {
34004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34006 arg3
= static_cast< int >(val3
);
34007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34008 if (!SWIG_IsOK(ecode4
)) {
34009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34011 arg4
= static_cast< wxDragResult
>(val4
);
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34018 resultobj
= SWIG_From_int(static_cast< int >(result
));
34025 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
= 0;
34027 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34030 wxDragResult arg4
;
34031 wxDragResult result
;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 PyObject
* obj2
= 0 ;
34043 PyObject
* obj3
= 0 ;
34044 char * kwnames
[] = {
34045 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34053 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34055 if (!SWIG_IsOK(ecode2
)) {
34056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34058 arg2
= static_cast< int >(val2
);
34059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34060 if (!SWIG_IsOK(ecode3
)) {
34061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34063 arg3
= static_cast< int >(val3
);
34064 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34065 if (!SWIG_IsOK(ecode4
)) {
34066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34068 arg4
= static_cast< wxDragResult
>(val4
);
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34072 wxPyEndAllowThreads(__tstate
);
34073 if (PyErr_Occurred()) SWIG_fail
;
34075 resultobj
= SWIG_From_int(static_cast< int >(result
));
34082 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34083 PyObject
*resultobj
= 0;
34084 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34087 PyObject
*swig_obj
[1] ;
34089 if (!args
) SWIG_fail
;
34090 swig_obj
[0] = args
;
34091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34092 if (!SWIG_IsOK(res1
)) {
34093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34095 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34099 wxPyEndAllowThreads(__tstate
);
34100 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= SWIG_Py_Void();
34109 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
= 0;
34111 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34121 PyObject
* obj0
= 0 ;
34122 PyObject
* obj1
= 0 ;
34123 PyObject
* obj2
= 0 ;
34124 char * kwnames
[] = {
34125 (char *) "self",(char *) "x",(char *) "y", NULL
34128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34133 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34135 if (!SWIG_IsOK(ecode2
)) {
34136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34138 arg2
= static_cast< int >(val2
);
34139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34140 if (!SWIG_IsOK(ecode3
)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34143 arg3
= static_cast< int >(val3
);
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34147 wxPyEndAllowThreads(__tstate
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34159 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34160 PyObject
*resultobj
= 0;
34161 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34165 PyObject
*swig_obj
[1] ;
34167 if (!args
) SWIG_fail
;
34168 swig_obj
[0] = args
;
34169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34173 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34176 result
= (bool)(arg1
)->GetData();
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34189 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34190 PyObject
*resultobj
= 0;
34191 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34192 wxDragResult arg2
;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 char * kwnames
[] = {
34200 (char *) "self",(char *) "action", NULL
34203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34205 if (!SWIG_IsOK(res1
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34208 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34210 if (!SWIG_IsOK(ecode2
)) {
34211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
34213 arg2
= static_cast< wxDragResult
>(val2
);
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 (arg1
)->SetDefaultAction(arg2
);
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34220 resultobj
= SWIG_Py_Void();
34227 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34228 PyObject
*resultobj
= 0;
34229 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
34230 wxDragResult result
;
34233 PyObject
*swig_obj
[1] ;
34235 if (!args
) SWIG_fail
;
34236 swig_obj
[0] = args
;
34237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
34238 if (!SWIG_IsOK(res1
)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
34241 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
34243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34244 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= SWIG_From_int(static_cast< int >(result
));
34255 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34258 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
34259 return SWIG_Py_Void();
34262 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34263 return SWIG_Python_InitShadowInstance(args
);
34266 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34267 PyObject
*resultobj
= 0;
34268 wxPyTextDropTarget
*result
= 0 ;
34270 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
34274 wxPyEndAllowThreads(__tstate
);
34275 if (PyErr_Occurred()) SWIG_fail
;
34277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
34284 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34285 PyObject
*resultobj
= 0;
34286 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34287 PyObject
*arg2
= (PyObject
*) 0 ;
34288 PyObject
*arg3
= (PyObject
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 PyObject
* obj1
= 0 ;
34293 PyObject
* obj2
= 0 ;
34294 char * kwnames
[] = {
34295 (char *) "self",(char *) "self",(char *) "_class", NULL
34298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34300 if (!SWIG_IsOK(res1
)) {
34301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34303 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34308 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34312 resultobj
= SWIG_Py_Void();
34319 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34320 PyObject
*resultobj
= 0;
34321 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34324 wxString
*arg4
= 0 ;
34332 bool temp4
= false ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 PyObject
* obj2
= 0 ;
34336 PyObject
* obj3
= 0 ;
34337 char * kwnames
[] = {
34338 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
34341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34343 if (!SWIG_IsOK(res1
)) {
34344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34346 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34348 if (!SWIG_IsOK(ecode2
)) {
34349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
34351 arg2
= static_cast< int >(val2
);
34352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34353 if (!SWIG_IsOK(ecode3
)) {
34354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
34356 arg3
= static_cast< int >(val3
);
34358 arg4
= wxString_in_helper(obj3
);
34359 if (arg4
== NULL
) SWIG_fail
;
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34385 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
= 0;
34387 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34390 wxDragResult arg4
;
34391 wxDragResult result
;
34400 PyObject
* obj0
= 0 ;
34401 PyObject
* obj1
= 0 ;
34402 PyObject
* obj2
= 0 ;
34403 PyObject
* obj3
= 0 ;
34404 char * kwnames
[] = {
34405 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34410 if (!SWIG_IsOK(res1
)) {
34411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34413 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34415 if (!SWIG_IsOK(ecode2
)) {
34416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34418 arg2
= static_cast< int >(val2
);
34419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34420 if (!SWIG_IsOK(ecode3
)) {
34421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34423 arg3
= static_cast< int >(val3
);
34424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34425 if (!SWIG_IsOK(ecode4
)) {
34426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34428 arg4
= static_cast< wxDragResult
>(val4
);
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 resultobj
= SWIG_From_int(static_cast< int >(result
));
34442 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
= 0;
34444 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34447 wxDragResult arg4
;
34448 wxDragResult result
;
34457 PyObject
* obj0
= 0 ;
34458 PyObject
* obj1
= 0 ;
34459 PyObject
* obj2
= 0 ;
34460 PyObject
* obj3
= 0 ;
34461 char * kwnames
[] = {
34462 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34467 if (!SWIG_IsOK(res1
)) {
34468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34470 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34472 if (!SWIG_IsOK(ecode2
)) {
34473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34475 arg2
= static_cast< int >(val2
);
34476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34477 if (!SWIG_IsOK(ecode3
)) {
34478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34480 arg3
= static_cast< int >(val3
);
34481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34482 if (!SWIG_IsOK(ecode4
)) {
34483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34485 arg4
= static_cast< wxDragResult
>(val4
);
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34489 wxPyEndAllowThreads(__tstate
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= SWIG_From_int(static_cast< int >(result
));
34499 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34500 PyObject
*resultobj
= 0;
34501 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34504 PyObject
*swig_obj
[1] ;
34506 if (!args
) SWIG_fail
;
34507 swig_obj
[0] = args
;
34508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34512 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= SWIG_Py_Void();
34526 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
= 0;
34528 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34538 PyObject
* obj0
= 0 ;
34539 PyObject
* obj1
= 0 ;
34540 PyObject
* obj2
= 0 ;
34541 char * kwnames
[] = {
34542 (char *) "self",(char *) "x",(char *) "y", NULL
34545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34547 if (!SWIG_IsOK(res1
)) {
34548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34550 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34552 if (!SWIG_IsOK(ecode2
)) {
34553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34555 arg2
= static_cast< int >(val2
);
34556 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34557 if (!SWIG_IsOK(ecode3
)) {
34558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34560 arg3
= static_cast< int >(val3
);
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34564 wxPyEndAllowThreads(__tstate
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34576 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
= 0;
34578 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
34581 wxDragResult arg4
;
34582 wxDragResult result
;
34591 PyObject
* obj0
= 0 ;
34592 PyObject
* obj1
= 0 ;
34593 PyObject
* obj2
= 0 ;
34594 PyObject
* obj3
= 0 ;
34595 char * kwnames
[] = {
34596 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
34601 if (!SWIG_IsOK(res1
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
34604 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
34605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34606 if (!SWIG_IsOK(ecode2
)) {
34607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34609 arg2
= static_cast< int >(val2
);
34610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34611 if (!SWIG_IsOK(ecode3
)) {
34612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34614 arg3
= static_cast< int >(val3
);
34615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34616 if (!SWIG_IsOK(ecode4
)) {
34617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34619 arg4
= static_cast< wxDragResult
>(val4
);
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34623 wxPyEndAllowThreads(__tstate
);
34624 if (PyErr_Occurred()) SWIG_fail
;
34626 resultobj
= SWIG_From_int(static_cast< int >(result
));
34633 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
34637 return SWIG_Py_Void();
34640 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34641 return SWIG_Python_InitShadowInstance(args
);
34644 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34645 PyObject
*resultobj
= 0;
34646 wxPyFileDropTarget
*result
= 0 ;
34648 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
34662 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
= 0;
34664 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34665 PyObject
*arg2
= (PyObject
*) 0 ;
34666 PyObject
*arg3
= (PyObject
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 PyObject
* obj1
= 0 ;
34671 PyObject
* obj2
= 0 ;
34672 char * kwnames
[] = {
34673 (char *) "self",(char *) "self",(char *) "_class", NULL
34676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34678 if (!SWIG_IsOK(res1
)) {
34679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34681 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34686 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_Py_Void();
34697 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
= 0;
34699 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34702 wxArrayString
*arg4
= 0 ;
34710 bool temp4
= false ;
34711 PyObject
* obj0
= 0 ;
34712 PyObject
* obj1
= 0 ;
34713 PyObject
* obj2
= 0 ;
34714 PyObject
* obj3
= 0 ;
34715 char * kwnames
[] = {
34716 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
34719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34721 if (!SWIG_IsOK(res1
)) {
34722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34724 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34726 if (!SWIG_IsOK(ecode2
)) {
34727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
34729 arg2
= static_cast< int >(val2
);
34730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34731 if (!SWIG_IsOK(ecode3
)) {
34732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
34734 arg3
= static_cast< int >(val3
);
34736 if (! PySequence_Check(obj3
)) {
34737 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
34740 arg4
= new wxArrayString
;
34742 int i
, len
=PySequence_Length(obj3
);
34743 for (i
=0; i
<len
; i
++) {
34744 PyObject
* item
= PySequence_GetItem(obj3
, i
);
34745 wxString
* s
= wxString_in_helper(item
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
34755 wxPyEndAllowThreads(__tstate
);
34756 if (PyErr_Occurred()) SWIG_fail
;
34759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34762 if (temp4
) delete arg4
;
34767 if (temp4
) delete arg4
;
34773 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
= 0;
34775 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34778 wxDragResult arg4
;
34779 wxDragResult result
;
34788 PyObject
* obj0
= 0 ;
34789 PyObject
* obj1
= 0 ;
34790 PyObject
* obj2
= 0 ;
34791 PyObject
* obj3
= 0 ;
34792 char * kwnames
[] = {
34793 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34801 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34803 if (!SWIG_IsOK(ecode2
)) {
34804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
34806 arg2
= static_cast< int >(val2
);
34807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34808 if (!SWIG_IsOK(ecode3
)) {
34809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
34811 arg3
= static_cast< int >(val3
);
34812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34813 if (!SWIG_IsOK(ecode4
)) {
34814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
34816 arg4
= static_cast< wxDragResult
>(val4
);
34818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34819 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
34820 wxPyEndAllowThreads(__tstate
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34823 resultobj
= SWIG_From_int(static_cast< int >(result
));
34830 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
= 0;
34832 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34835 wxDragResult arg4
;
34836 wxDragResult result
;
34845 PyObject
* obj0
= 0 ;
34846 PyObject
* obj1
= 0 ;
34847 PyObject
* obj2
= 0 ;
34848 PyObject
* obj3
= 0 ;
34849 char * kwnames
[] = {
34850 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34855 if (!SWIG_IsOK(res1
)) {
34856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34858 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34860 if (!SWIG_IsOK(ecode2
)) {
34861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
34863 arg2
= static_cast< int >(val2
);
34864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34865 if (!SWIG_IsOK(ecode3
)) {
34866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
34868 arg3
= static_cast< int >(val3
);
34869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34870 if (!SWIG_IsOK(ecode4
)) {
34871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
34873 arg4
= static_cast< wxDragResult
>(val4
);
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
34877 wxPyEndAllowThreads(__tstate
);
34878 if (PyErr_Occurred()) SWIG_fail
;
34880 resultobj
= SWIG_From_int(static_cast< int >(result
));
34887 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34888 PyObject
*resultobj
= 0;
34889 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34892 PyObject
*swig_obj
[1] ;
34894 if (!args
) SWIG_fail
;
34895 swig_obj
[0] = args
;
34896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34897 if (!SWIG_IsOK(res1
)) {
34898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34900 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 wxPyEndAllowThreads(__tstate
);
34905 if (PyErr_Occurred()) SWIG_fail
;
34907 resultobj
= SWIG_Py_Void();
34914 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34915 PyObject
*resultobj
= 0;
34916 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 PyObject
* obj1
= 0 ;
34928 PyObject
* obj2
= 0 ;
34929 char * kwnames
[] = {
34930 (char *) "self",(char *) "x",(char *) "y", NULL
34933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34935 if (!SWIG_IsOK(res1
)) {
34936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34938 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34940 if (!SWIG_IsOK(ecode2
)) {
34941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34943 arg2
= static_cast< int >(val2
);
34944 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34945 if (!SWIG_IsOK(ecode3
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34948 arg3
= static_cast< int >(val3
);
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34964 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
= 0;
34966 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34969 wxDragResult arg4
;
34970 wxDragResult result
;
34979 PyObject
* obj0
= 0 ;
34980 PyObject
* obj1
= 0 ;
34981 PyObject
* obj2
= 0 ;
34982 PyObject
* obj3
= 0 ;
34983 char * kwnames
[] = {
34984 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34989 if (!SWIG_IsOK(res1
)) {
34990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34992 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34994 if (!SWIG_IsOK(ecode2
)) {
34995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34997 arg2
= static_cast< int >(val2
);
34998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34999 if (!SWIG_IsOK(ecode3
)) {
35000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
35002 arg3
= static_cast< int >(val3
);
35003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35004 if (!SWIG_IsOK(ecode4
)) {
35005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
35007 arg4
= static_cast< wxDragResult
>(val4
);
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 resultobj
= SWIG_From_int(static_cast< int >(result
));
35021 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
35025 return SWIG_Py_Void();
35028 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35029 return SWIG_Python_InitShadowInstance(args
);
35032 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35033 PyObject
*resultobj
= 0;
35034 wxClipboard
*result
= 0 ;
35036 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
35038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35039 result
= (wxClipboard
*)new wxClipboard();
35040 wxPyEndAllowThreads(__tstate
);
35041 if (PyErr_Occurred()) SWIG_fail
;
35043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
35050 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35051 PyObject
*resultobj
= 0;
35052 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35055 PyObject
*swig_obj
[1] ;
35057 if (!args
) SWIG_fail
;
35058 swig_obj
[0] = args
;
35059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
35060 if (!SWIG_IsOK(res1
)) {
35061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
35063 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35068 wxPyEndAllowThreads(__tstate
);
35069 if (PyErr_Occurred()) SWIG_fail
;
35071 resultobj
= SWIG_Py_Void();
35078 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35079 PyObject
*resultobj
= 0;
35080 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35084 PyObject
*swig_obj
[1] ;
35086 if (!args
) SWIG_fail
;
35087 swig_obj
[0] = args
;
35088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35089 if (!SWIG_IsOK(res1
)) {
35090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
35092 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35095 result
= (bool)(arg1
)->Open();
35096 wxPyEndAllowThreads(__tstate
);
35097 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35108 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35109 PyObject
*resultobj
= 0;
35110 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35113 PyObject
*swig_obj
[1] ;
35115 if (!args
) SWIG_fail
;
35116 swig_obj
[0] = args
;
35117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35118 if (!SWIG_IsOK(res1
)) {
35119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
35121 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= SWIG_Py_Void();
35135 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35136 PyObject
*resultobj
= 0;
35137 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35141 PyObject
*swig_obj
[1] ;
35143 if (!args
) SWIG_fail
;
35144 swig_obj
[0] = args
;
35145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35146 if (!SWIG_IsOK(res1
)) {
35147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
35149 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35165 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35166 PyObject
*resultobj
= 0;
35167 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35168 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 PyObject
* obj1
= 0 ;
35175 char * kwnames
[] = {
35176 (char *) "self",(char *) "data", NULL
35179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35181 if (!SWIG_IsOK(res1
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35184 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35185 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35186 if (!SWIG_IsOK(res2
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35191 result
= (bool)(arg1
)->AddData(arg2
);
35192 wxPyEndAllowThreads(__tstate
);
35193 if (PyErr_Occurred()) SWIG_fail
;
35196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35204 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
= 0;
35206 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35207 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
35212 PyObject
* obj0
= 0 ;
35213 PyObject
* obj1
= 0 ;
35214 char * kwnames
[] = {
35215 (char *) "self",(char *) "data", NULL
35218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35223 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35224 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
35225 if (!SWIG_IsOK(res2
)) {
35226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
35229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35230 result
= (bool)(arg1
)->SetData(arg2
);
35231 wxPyEndAllowThreads(__tstate
);
35232 if (PyErr_Occurred()) SWIG_fail
;
35235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35243 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35244 PyObject
*resultobj
= 0;
35245 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35246 wxDataFormat
*arg2
= 0 ;
35252 PyObject
* obj0
= 0 ;
35253 PyObject
* obj1
= 0 ;
35254 char * kwnames
[] = {
35255 (char *) "self",(char *) "format", NULL
35258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35260 if (!SWIG_IsOK(res1
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
35263 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
35265 if (!SWIG_IsOK(res2
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
35271 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35287 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
= 0;
35289 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35290 wxDataObject
*arg2
= 0 ;
35296 PyObject
* obj0
= 0 ;
35297 PyObject
* obj1
= 0 ;
35298 char * kwnames
[] = {
35299 (char *) "self",(char *) "data", NULL
35302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35304 if (!SWIG_IsOK(res1
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
35307 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35308 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
35309 if (!SWIG_IsOK(res2
)) {
35310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
35315 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (bool)(arg1
)->GetData(*arg2
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35331 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35332 PyObject
*resultobj
= 0;
35333 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35336 PyObject
*swig_obj
[1] ;
35338 if (!args
) SWIG_fail
;
35339 swig_obj
[0] = args
;
35340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35341 if (!SWIG_IsOK(res1
)) {
35342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
35344 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 wxPyEndAllowThreads(__tstate
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= SWIG_Py_Void();
35358 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35359 PyObject
*resultobj
= 0;
35360 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35364 PyObject
*swig_obj
[1] ;
35366 if (!args
) SWIG_fail
;
35367 swig_obj
[0] = args
;
35368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35369 if (!SWIG_IsOK(res1
)) {
35370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
35372 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 result
= (bool)(arg1
)->Flush();
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35388 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
= 0;
35390 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
35391 bool arg2
= (bool) true ;
35396 PyObject
* obj0
= 0 ;
35397 PyObject
* obj1
= 0 ;
35398 char * kwnames
[] = {
35399 (char *) "self",(char *) "primary", NULL
35402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35404 if (!SWIG_IsOK(res1
)) {
35405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
35407 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
35410 if (!SWIG_IsOK(ecode2
)) {
35411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
35413 arg2
= static_cast< bool >(val2
);
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 (arg1
)->UsePrimarySelection(arg2
);
35418 wxPyEndAllowThreads(__tstate
);
35419 if (PyErr_Occurred()) SWIG_fail
;
35421 resultobj
= SWIG_Py_Void();
35428 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35429 PyObject
*resultobj
= 0;
35430 wxClipboard
*result
= 0 ;
35432 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= (wxClipboard
*)wxClipboard::Get();
35436 wxPyEndAllowThreads(__tstate
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
35446 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35449 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
35450 return SWIG_Py_Void();
35453 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35454 return SWIG_Python_InitShadowInstance(args
);
35457 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35458 PyObject
*resultobj
= 0;
35459 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
35460 wxClipboardLocker
*result
= 0 ;
35463 PyObject
* obj0
= 0 ;
35464 char * kwnames
[] = {
35465 (char *) "clipboard", NULL
35468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
35470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
35471 if (!SWIG_IsOK(res1
)) {
35472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
35474 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
35477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35478 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
35479 wxPyEndAllowThreads(__tstate
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
35489 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35490 PyObject
*resultobj
= 0;
35491 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35494 PyObject
*swig_obj
[1] ;
35496 if (!args
) SWIG_fail
;
35497 swig_obj
[0] = args
;
35498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
35499 if (!SWIG_IsOK(res1
)) {
35500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35502 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35510 resultobj
= SWIG_Py_Void();
35517 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35518 PyObject
*resultobj
= 0;
35519 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
35523 PyObject
*swig_obj
[1] ;
35525 if (!args
) SWIG_fail
;
35526 swig_obj
[0] = args
;
35527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
35528 if (!SWIG_IsOK(res1
)) {
35529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
35531 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35547 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35550 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
35551 return SWIG_Py_Void();
35554 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35555 return SWIG_Python_InitShadowInstance(args
);
35558 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
= 0;
35560 int arg1
= (int) 0 ;
35561 int arg2
= (int) 0 ;
35562 int arg3
= (int) 0 ;
35563 int arg4
= (int) 0 ;
35564 wxVideoMode
*result
= 0 ;
35573 PyObject
* obj0
= 0 ;
35574 PyObject
* obj1
= 0 ;
35575 PyObject
* obj2
= 0 ;
35576 PyObject
* obj3
= 0 ;
35577 char * kwnames
[] = {
35578 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
35581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35583 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
35584 if (!SWIG_IsOK(ecode1
)) {
35585 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
35587 arg1
= static_cast< int >(val1
);
35590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35591 if (!SWIG_IsOK(ecode2
)) {
35592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
35594 arg2
= static_cast< int >(val2
);
35597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35598 if (!SWIG_IsOK(ecode3
)) {
35599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
35601 arg3
= static_cast< int >(val3
);
35604 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35605 if (!SWIG_IsOK(ecode4
)) {
35606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
35608 arg4
= static_cast< int >(val4
);
35611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35612 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
35613 wxPyEndAllowThreads(__tstate
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
35623 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35624 PyObject
*resultobj
= 0;
35625 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35628 PyObject
*swig_obj
[1] ;
35630 if (!args
) SWIG_fail
;
35631 swig_obj
[0] = args
;
35632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
35633 if (!SWIG_IsOK(res1
)) {
35634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35636 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 resultobj
= SWIG_Py_Void();
35651 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35652 PyObject
*resultobj
= 0;
35653 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35654 wxVideoMode
*arg2
= 0 ;
35660 PyObject
* obj0
= 0 ;
35661 PyObject
* obj1
= 0 ;
35662 char * kwnames
[] = {
35663 (char *) "self",(char *) "other", NULL
35666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35668 if (!SWIG_IsOK(res1
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35671 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35673 if (!SWIG_IsOK(res2
)) {
35674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35679 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35682 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
35683 wxPyEndAllowThreads(__tstate
);
35684 if (PyErr_Occurred()) SWIG_fail
;
35687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35695 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35696 PyObject
*resultobj
= 0;
35697 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35701 PyObject
*swig_obj
[1] ;
35703 if (!args
) SWIG_fail
;
35704 swig_obj
[0] = args
;
35705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35706 if (!SWIG_IsOK(res1
)) {
35707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35709 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
35713 wxPyEndAllowThreads(__tstate
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 resultobj
= SWIG_From_int(static_cast< int >(result
));
35723 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35724 PyObject
*resultobj
= 0;
35725 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35729 PyObject
*swig_obj
[1] ;
35731 if (!args
) SWIG_fail
;
35732 swig_obj
[0] = args
;
35733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35734 if (!SWIG_IsOK(res1
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35737 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35740 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= SWIG_From_int(static_cast< int >(result
));
35751 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35752 PyObject
*resultobj
= 0;
35753 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35757 PyObject
*swig_obj
[1] ;
35759 if (!args
) SWIG_fail
;
35760 swig_obj
[0] = args
;
35761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35762 if (!SWIG_IsOK(res1
)) {
35763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35765 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35768 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35772 resultobj
= SWIG_From_int(static_cast< int >(result
));
35779 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35780 PyObject
*resultobj
= 0;
35781 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35785 PyObject
*swig_obj
[1] ;
35787 if (!args
) SWIG_fail
;
35788 swig_obj
[0] = args
;
35789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35790 if (!SWIG_IsOK(res1
)) {
35791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
35793 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35796 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
35797 wxPyEndAllowThreads(__tstate
);
35798 if (PyErr_Occurred()) SWIG_fail
;
35801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35809 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35810 PyObject
*resultobj
= 0;
35811 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35812 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 char * kwnames
[] = {
35821 (char *) "self",(char *) "other", NULL
35824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35826 if (!SWIG_IsOK(res1
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35829 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35831 if (!SWIG_IsOK(res2
)) {
35832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35834 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35850 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35853 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char * kwnames
[] = {
35862 (char *) "self",(char *) "other", NULL
35865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35867 if (!SWIG_IsOK(res1
)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35870 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35872 if (!SWIG_IsOK(res2
)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
35875 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35891 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35892 PyObject
*resultobj
= 0;
35893 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35899 PyObject
*swig_obj
[2] ;
35901 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
35902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35903 if (!SWIG_IsOK(res1
)) {
35904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35906 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35907 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35908 if (!SWIG_IsOK(ecode2
)) {
35909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35911 arg2
= static_cast< int >(val2
);
35912 if (arg1
) (arg1
)->w
= arg2
;
35914 resultobj
= SWIG_Py_Void();
35921 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35922 PyObject
*resultobj
= 0;
35923 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35927 PyObject
*swig_obj
[1] ;
35929 if (!args
) SWIG_fail
;
35930 swig_obj
[0] = args
;
35931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35932 if (!SWIG_IsOK(res1
)) {
35933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35935 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35936 result
= (int) ((arg1
)->w
);
35937 resultobj
= SWIG_From_int(static_cast< int >(result
));
35944 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35945 PyObject
*resultobj
= 0;
35946 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35952 PyObject
*swig_obj
[2] ;
35954 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
35955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35956 if (!SWIG_IsOK(res1
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35959 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35960 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35961 if (!SWIG_IsOK(ecode2
)) {
35962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
35964 arg2
= static_cast< int >(val2
);
35965 if (arg1
) (arg1
)->h
= arg2
;
35967 resultobj
= SWIG_Py_Void();
35974 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35975 PyObject
*resultobj
= 0;
35976 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35980 PyObject
*swig_obj
[1] ;
35982 if (!args
) SWIG_fail
;
35983 swig_obj
[0] = args
;
35984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35985 if (!SWIG_IsOK(res1
)) {
35986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35988 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35989 result
= (int) ((arg1
)->h
);
35990 resultobj
= SWIG_From_int(static_cast< int >(result
));
35997 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35998 PyObject
*resultobj
= 0;
35999 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36005 PyObject
*swig_obj
[2] ;
36007 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36012 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36013 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36014 if (!SWIG_IsOK(ecode2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
36017 arg2
= static_cast< int >(val2
);
36018 if (arg1
) (arg1
)->bpp
= arg2
;
36020 resultobj
= SWIG_Py_Void();
36027 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36028 PyObject
*resultobj
= 0;
36029 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36033 PyObject
*swig_obj
[1] ;
36035 if (!args
) SWIG_fail
;
36036 swig_obj
[0] = args
;
36037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36038 if (!SWIG_IsOK(res1
)) {
36039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36041 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36042 result
= (int) ((arg1
)->bpp
);
36043 resultobj
= SWIG_From_int(static_cast< int >(result
));
36050 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36051 PyObject
*resultobj
= 0;
36052 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36058 PyObject
*swig_obj
[2] ;
36060 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
36061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36062 if (!SWIG_IsOK(res1
)) {
36063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36065 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36066 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
36067 if (!SWIG_IsOK(ecode2
)) {
36068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
36070 arg2
= static_cast< int >(val2
);
36071 if (arg1
) (arg1
)->refresh
= arg2
;
36073 resultobj
= SWIG_Py_Void();
36080 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36081 PyObject
*resultobj
= 0;
36082 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
36086 PyObject
*swig_obj
[1] ;
36088 if (!args
) SWIG_fail
;
36089 swig_obj
[0] = args
;
36090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
36091 if (!SWIG_IsOK(res1
)) {
36092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
36094 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
36095 result
= (int) ((arg1
)->refresh
);
36096 resultobj
= SWIG_From_int(static_cast< int >(result
));
36103 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36106 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
36107 return SWIG_Py_Void();
36110 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36111 return SWIG_Python_InitShadowInstance(args
);
36114 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
36115 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
36120 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
36121 PyObject
*pyobj
= 0;
36123 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
36128 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36129 PyObject
*resultobj
= 0;
36130 size_t arg1
= (size_t) 0 ;
36131 wxDisplay
*result
= 0 ;
36134 PyObject
* obj0
= 0 ;
36135 char * kwnames
[] = {
36136 (char *) "index", NULL
36139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
36141 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
36142 if (!SWIG_IsOK(ecode1
)) {
36143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
36145 arg1
= static_cast< size_t >(val1
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 result
= (wxDisplay
*)new wxDisplay(arg1
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
36160 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36161 PyObject
*resultobj
= 0;
36162 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36165 PyObject
*swig_obj
[1] ;
36167 if (!args
) SWIG_fail
;
36168 swig_obj
[0] = args
;
36169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
36170 if (!SWIG_IsOK(res1
)) {
36171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
36173 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36178 wxPyEndAllowThreads(__tstate
);
36179 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_Py_Void();
36188 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36189 PyObject
*resultobj
= 0;
36192 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 result
= (size_t)wxDisplay::GetCount();
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
36206 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
= 0;
36208 wxPoint
*arg1
= 0 ;
36211 PyObject
* obj0
= 0 ;
36212 char * kwnames
[] = {
36213 (char *) "pt", NULL
36216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
36219 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
36222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36223 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
36224 wxPyEndAllowThreads(__tstate
);
36225 if (PyErr_Occurred()) SWIG_fail
;
36227 resultobj
= SWIG_From_int(static_cast< int >(result
));
36234 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36235 PyObject
*resultobj
= 0;
36236 wxWindow
*arg1
= (wxWindow
*) 0 ;
36240 PyObject
* obj0
= 0 ;
36241 char * kwnames
[] = {
36242 (char *) "window", NULL
36245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
36246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36247 if (!SWIG_IsOK(res1
)) {
36248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36250 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 result
= (int)wxDisplay::GetFromWindow(arg1
);
36254 wxPyEndAllowThreads(__tstate
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= SWIG_From_int(static_cast< int >(result
));
36264 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36265 PyObject
*resultobj
= 0;
36266 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36270 PyObject
*swig_obj
[1] ;
36272 if (!args
) SWIG_fail
;
36273 swig_obj
[0] = args
;
36274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36275 if (!SWIG_IsOK(res1
)) {
36276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36278 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36281 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36294 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36295 PyObject
*resultobj
= 0;
36296 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36300 PyObject
*swig_obj
[1] ;
36302 if (!args
) SWIG_fail
;
36303 swig_obj
[0] = args
;
36304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36305 if (!SWIG_IsOK(res1
)) {
36306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36308 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36311 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36322 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36323 PyObject
*resultobj
= 0;
36324 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36328 PyObject
*swig_obj
[1] ;
36330 if (!args
) SWIG_fail
;
36331 swig_obj
[0] = args
;
36332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36333 if (!SWIG_IsOK(res1
)) {
36334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36336 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
36340 wxPyEndAllowThreads(__tstate
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36343 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
36350 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36351 PyObject
*resultobj
= 0;
36352 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36356 PyObject
*swig_obj
[1] ;
36358 if (!args
) SWIG_fail
;
36359 swig_obj
[0] = args
;
36360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36361 if (!SWIG_IsOK(res1
)) {
36362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36364 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36367 result
= ((wxDisplay
const *)arg1
)->GetName();
36368 wxPyEndAllowThreads(__tstate
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36384 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36385 PyObject
*resultobj
= 0;
36386 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36390 PyObject
*swig_obj
[1] ;
36392 if (!args
) SWIG_fail
;
36393 swig_obj
[0] = args
;
36394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36395 if (!SWIG_IsOK(res1
)) {
36396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36398 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36414 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
= 0;
36416 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36417 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36418 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36419 PyObject
*result
= 0 ;
36424 PyObject
* obj0
= 0 ;
36425 PyObject
* obj1
= 0 ;
36426 char * kwnames
[] = {
36427 (char *) "self",(char *) "mode", NULL
36430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36432 if (!SWIG_IsOK(res1
)) {
36433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
36435 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36438 if (!SWIG_IsOK(res2
)) {
36439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36444 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36448 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36452 resultobj
= result
;
36459 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36460 PyObject
*resultobj
= 0;
36461 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36462 wxVideoMode result
;
36465 PyObject
*swig_obj
[1] ;
36467 if (!args
) SWIG_fail
;
36468 swig_obj
[0] = args
;
36469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36470 if (!SWIG_IsOK(res1
)) {
36471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
36473 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36476 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
36477 wxPyEndAllowThreads(__tstate
);
36478 if (PyErr_Occurred()) SWIG_fail
;
36480 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
36487 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36488 PyObject
*resultobj
= 0;
36489 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36490 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
36491 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
36497 PyObject
* obj0
= 0 ;
36498 PyObject
* obj1
= 0 ;
36499 char * kwnames
[] = {
36500 (char *) "self",(char *) "mode", NULL
36503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36505 if (!SWIG_IsOK(res1
)) {
36506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36508 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
36511 if (!SWIG_IsOK(res2
)) {
36512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
36517 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
36520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
36522 wxPyEndAllowThreads(__tstate
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36534 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36535 PyObject
*resultobj
= 0;
36536 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
36539 PyObject
*swig_obj
[1] ;
36541 if (!args
) SWIG_fail
;
36542 swig_obj
[0] = args
;
36543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
36544 if (!SWIG_IsOK(res1
)) {
36545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
36547 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 wxDisplay_ResetMode(arg1
);
36551 wxPyEndAllowThreads(__tstate
);
36552 if (PyErr_Occurred()) SWIG_fail
;
36554 resultobj
= SWIG_Py_Void();
36561 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36563 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36564 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
36565 return SWIG_Py_Void();
36568 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36569 return SWIG_Python_InitShadowInstance(args
);
36572 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36573 PyObject
*resultobj
= 0;
36574 wxStandardPaths
*result
= 0 ;
36576 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
36578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36579 result
= (wxStandardPaths
*)wxStandardPaths_Get();
36580 wxPyEndAllowThreads(__tstate
);
36581 if (PyErr_Occurred()) SWIG_fail
;
36583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36590 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36591 PyObject
*resultobj
= 0;
36592 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36596 PyObject
*swig_obj
[1] ;
36598 if (!args
) SWIG_fail
;
36599 swig_obj
[0] = args
;
36600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36601 if (!SWIG_IsOK(res1
)) {
36602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36604 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36607 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
36608 wxPyEndAllowThreads(__tstate
);
36609 if (PyErr_Occurred()) SWIG_fail
;
36613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36624 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36625 PyObject
*resultobj
= 0;
36626 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36630 PyObject
*swig_obj
[1] ;
36632 if (!args
) SWIG_fail
;
36633 swig_obj
[0] = args
;
36634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36635 if (!SWIG_IsOK(res1
)) {
36636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36638 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
36642 wxPyEndAllowThreads(__tstate
);
36643 if (PyErr_Occurred()) SWIG_fail
;
36647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36658 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36659 PyObject
*resultobj
= 0;
36660 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36664 PyObject
*swig_obj
[1] ;
36666 if (!args
) SWIG_fail
;
36667 swig_obj
[0] = args
;
36668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36669 if (!SWIG_IsOK(res1
)) {
36670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36672 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36675 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
36676 wxPyEndAllowThreads(__tstate
);
36677 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36692 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36693 PyObject
*resultobj
= 0;
36694 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36698 PyObject
*swig_obj
[1] ;
36700 if (!args
) SWIG_fail
;
36701 swig_obj
[0] = args
;
36702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36703 if (!SWIG_IsOK(res1
)) {
36704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36706 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36709 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
36710 wxPyEndAllowThreads(__tstate
);
36711 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36726 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36727 PyObject
*resultobj
= 0;
36728 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36732 PyObject
*swig_obj
[1] ;
36734 if (!args
) SWIG_fail
;
36735 swig_obj
[0] = args
;
36736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36737 if (!SWIG_IsOK(res1
)) {
36738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36740 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36743 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
36744 wxPyEndAllowThreads(__tstate
);
36745 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36760 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36761 PyObject
*resultobj
= 0;
36762 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36766 PyObject
*swig_obj
[1] ;
36768 if (!args
) SWIG_fail
;
36769 swig_obj
[0] = args
;
36770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36771 if (!SWIG_IsOK(res1
)) {
36772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36774 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36777 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
36778 wxPyEndAllowThreads(__tstate
);
36779 if (PyErr_Occurred()) SWIG_fail
;
36783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36794 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36795 PyObject
*resultobj
= 0;
36796 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36800 PyObject
*swig_obj
[1] ;
36802 if (!args
) SWIG_fail
;
36803 swig_obj
[0] = args
;
36804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36805 if (!SWIG_IsOK(res1
)) {
36806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36808 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36811 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36828 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36829 PyObject
*resultobj
= 0;
36830 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36834 PyObject
*swig_obj
[1] ;
36836 if (!args
) SWIG_fail
;
36837 swig_obj
[0] = args
;
36838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36839 if (!SWIG_IsOK(res1
)) {
36840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36842 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36862 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36863 PyObject
*resultobj
= 0;
36864 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36865 wxString
*arg2
= 0 ;
36866 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
36870 bool temp2
= false ;
36873 PyObject
* obj0
= 0 ;
36874 PyObject
* obj1
= 0 ;
36875 PyObject
* obj2
= 0 ;
36876 char * kwnames
[] = {
36877 (char *) "self",(char *) "lang",(char *) "category", NULL
36880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36882 if (!SWIG_IsOK(res1
)) {
36883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36885 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36887 arg2
= wxString_in_helper(obj1
);
36888 if (arg2
== NULL
) SWIG_fail
;
36892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36893 if (!SWIG_IsOK(ecode3
)) {
36894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
36896 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
36901 wxPyEndAllowThreads(__tstate
);
36902 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36925 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36926 PyObject
*resultobj
= 0;
36927 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36931 PyObject
*swig_obj
[1] ;
36933 if (!args
) SWIG_fail
;
36934 swig_obj
[0] = args
;
36935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36936 if (!SWIG_IsOK(res1
)) {
36937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36939 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36959 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36960 PyObject
*resultobj
= 0;
36961 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36962 wxString
*arg2
= 0 ;
36965 bool temp2
= false ;
36966 PyObject
* obj0
= 0 ;
36967 PyObject
* obj1
= 0 ;
36968 char * kwnames
[] = {
36969 (char *) "self",(char *) "prefix", NULL
36972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36974 if (!SWIG_IsOK(res1
)) {
36975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36977 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36979 arg2
= wxString_in_helper(obj1
);
36980 if (arg2
== NULL
) SWIG_fail
;
36984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36985 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
36986 wxPyEndAllowThreads(__tstate
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36989 resultobj
= SWIG_Py_Void();
37004 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37005 PyObject
*resultobj
= 0;
37006 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
37010 PyObject
*swig_obj
[1] ;
37012 if (!args
) SWIG_fail
;
37013 swig_obj
[0] = args
;
37014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
37015 if (!SWIG_IsOK(res1
)) {
37016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
37018 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
37022 wxPyEndAllowThreads(__tstate
);
37023 if (PyErr_Occurred()) SWIG_fail
;
37027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37038 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37041 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
37042 return SWIG_Py_Void();
37045 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37046 PyObject
*resultobj
= 0;
37048 wxPowerEvent
*result
= 0 ;
37051 PyObject
* obj0
= 0 ;
37052 char * kwnames
[] = {
37053 (char *) "evtType", NULL
37056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
37057 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37058 if (!SWIG_IsOK(ecode1
)) {
37059 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
37061 arg1
= static_cast< wxEventType
>(val1
);
37063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37064 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
37065 wxPyEndAllowThreads(__tstate
);
37066 if (PyErr_Occurred()) SWIG_fail
;
37068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
37075 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37076 PyObject
*resultobj
= 0;
37077 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37080 PyObject
*swig_obj
[1] ;
37082 if (!args
) SWIG_fail
;
37083 swig_obj
[0] = args
;
37084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37085 if (!SWIG_IsOK(res1
)) {
37086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
37088 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37092 wxPyEndAllowThreads(__tstate
);
37093 if (PyErr_Occurred()) SWIG_fail
;
37095 resultobj
= SWIG_Py_Void();
37102 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37103 PyObject
*resultobj
= 0;
37104 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
37108 PyObject
*swig_obj
[1] ;
37110 if (!args
) SWIG_fail
;
37111 swig_obj
[0] = args
;
37112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
37113 if (!SWIG_IsOK(res1
)) {
37114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
37116 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
37118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37119 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37132 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
37136 return SWIG_Py_Void();
37139 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37140 return SWIG_Python_InitShadowInstance(args
);
37143 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37144 PyObject
*resultobj
= 0;
37145 wxPowerType result
;
37147 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
37149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37150 result
= (wxPowerType
)wxGetPowerType();
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37154 resultobj
= SWIG_From_int(static_cast< int >(result
));
37161 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37162 PyObject
*resultobj
= 0;
37163 wxBatteryState result
;
37165 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
37167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37168 result
= (wxBatteryState
)wxGetBatteryState();
37169 wxPyEndAllowThreads(__tstate
);
37170 if (PyErr_Occurred()) SWIG_fail
;
37172 resultobj
= SWIG_From_int(static_cast< int >(result
));
37179 static PyMethodDef SwigMethods
[] = {
37180 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37182 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37184 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
37185 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
37187 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
37188 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37189 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37190 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37191 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37192 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37193 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37194 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
37195 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
37196 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
37197 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37198 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
37199 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37200 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37201 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37202 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
37203 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
37204 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37205 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
37206 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
37207 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37208 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
37209 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
37210 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
37211 { (char *)"IsPlatformLittleEndian", (PyCFunction
)_wrap_IsPlatformLittleEndian
, METH_NOARGS
, NULL
},
37212 { (char *)"IsPlatform64Bit", (PyCFunction
)_wrap_IsPlatform64Bit
, METH_NOARGS
, NULL
},
37213 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
37214 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37215 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37216 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37217 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37218 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37219 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37220 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
37221 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
37222 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
37223 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
37224 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
37225 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
37226 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37227 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
37228 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
37229 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37230 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37231 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37232 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37233 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37234 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37235 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37236 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37237 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37238 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37239 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
37240 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
37241 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
37242 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
37243 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
37244 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
37245 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
37246 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
37247 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
37248 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37249 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
37250 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37251 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
37252 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
37253 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
37254 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37255 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37256 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37257 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37258 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37259 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
37260 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
37261 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
37262 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
37263 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
37264 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
37265 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
37266 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
37267 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
37268 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
37269 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
37270 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
37271 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37272 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37273 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37274 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37275 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37276 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37277 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37278 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37279 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37280 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
37281 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
37282 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
37283 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
37284 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
37285 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
37286 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
37287 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
37288 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
37289 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
37290 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
37291 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37292 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
37293 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37294 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
37295 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
37296 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37297 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37298 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
37299 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
37300 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37301 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
37302 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
37303 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
37304 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
37305 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
37306 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
37307 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
37308 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
37309 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
37310 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37311 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37312 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37313 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37314 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37315 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
37316 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
37317 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37318 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
37319 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
37320 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37321 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
37322 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
37323 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
37324 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37325 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
37326 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
37327 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
37328 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37329 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
37330 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
37331 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
37332 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
37333 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37334 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
37335 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
37336 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
37337 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
37338 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
37339 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37340 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
37341 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37342 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37343 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
37344 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37345 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37346 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37347 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37348 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
37349 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37350 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37351 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
37352 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
37353 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
37354 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37355 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
37356 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
37357 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37358 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
37359 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
37360 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
37361 { (char *)"new_PlatformInformation", (PyCFunction
)_wrap_new_PlatformInformation
, METH_NOARGS
, NULL
},
37362 { (char *)"PlatformInformation___eq__", (PyCFunction
) _wrap_PlatformInformation___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37363 { (char *)"PlatformInformation___ne__", (PyCFunction
) _wrap_PlatformInformation___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37364 { (char *)"PlatformInformation_GetOSMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMajorVersion
, METH_O
, NULL
},
37365 { (char *)"PlatformInformation_GetOSMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetOSMinorVersion
, METH_O
, NULL
},
37366 { (char *)"PlatformInformation_GetToolkitMajorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMajorVersion
, METH_O
, NULL
},
37367 { (char *)"PlatformInformation_GetToolkitMinorVersion", (PyCFunction
)_wrap_PlatformInformation_GetToolkitMinorVersion
, METH_O
, NULL
},
37368 { (char *)"PlatformInformation_IsUsingUniversalWidgets", (PyCFunction
)_wrap_PlatformInformation_IsUsingUniversalWidgets
, METH_O
, NULL
},
37369 { (char *)"PlatformInformation_GetOperatingSystemId", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemId
, METH_O
, NULL
},
37370 { (char *)"PlatformInformation_GetPortId", (PyCFunction
)_wrap_PlatformInformation_GetPortId
, METH_O
, NULL
},
37371 { (char *)"PlatformInformation_GetArchitecture", (PyCFunction
)_wrap_PlatformInformation_GetArchitecture
, METH_O
, NULL
},
37372 { (char *)"PlatformInformation_GetEndianness", (PyCFunction
)_wrap_PlatformInformation_GetEndianness
, METH_O
, NULL
},
37373 { (char *)"PlatformInformation_GetOperatingSystemFamilyName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemFamilyName
, METH_O
, NULL
},
37374 { (char *)"PlatformInformation_GetOperatingSystemIdName", (PyCFunction
)_wrap_PlatformInformation_GetOperatingSystemIdName
, METH_O
, NULL
},
37375 { (char *)"PlatformInformation_GetPortIdName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdName
, METH_O
, NULL
},
37376 { (char *)"PlatformInformation_GetPortIdShortName", (PyCFunction
)_wrap_PlatformInformation_GetPortIdShortName
, METH_O
, NULL
},
37377 { (char *)"PlatformInformation_GetArchName", (PyCFunction
)_wrap_PlatformInformation_GetArchName
, METH_O
, NULL
},
37378 { (char *)"PlatformInformation_GetEndiannessName", (PyCFunction
)_wrap_PlatformInformation_GetEndiannessName
, METH_O
, NULL
},
37379 { (char *)"PlatformInformation_SetOSVersion", (PyCFunction
) _wrap_PlatformInformation_SetOSVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37380 { (char *)"PlatformInformation_SetToolkitVersion", (PyCFunction
) _wrap_PlatformInformation_SetToolkitVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37381 { (char *)"PlatformInformation_SetOperatingSystemId", (PyCFunction
) _wrap_PlatformInformation_SetOperatingSystemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37382 { (char *)"PlatformInformation_SetPortId", (PyCFunction
) _wrap_PlatformInformation_SetPortId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37383 { (char *)"PlatformInformation_SetArchitecture", (PyCFunction
) _wrap_PlatformInformation_SetArchitecture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37384 { (char *)"PlatformInformation_SetEndianness", (PyCFunction
) _wrap_PlatformInformation_SetEndianness
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37385 { (char *)"PlatformInformation_IsOk", (PyCFunction
)_wrap_PlatformInformation_IsOk
, METH_O
, NULL
},
37386 { (char *)"PlatformInformation_swigregister", PlatformInformation_swigregister
, METH_VARARGS
, NULL
},
37387 { (char *)"PlatformInformation_swiginit", PlatformInformation_swiginit
, METH_VARARGS
, NULL
},
37388 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37389 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
37390 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
37391 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
37392 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37393 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
37394 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37395 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37396 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
37397 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
37398 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37399 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37400 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37401 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
37402 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37403 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37404 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
37405 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37406 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
37407 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
37408 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
37409 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
37410 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
37411 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
37412 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
37413 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
37414 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37415 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
37416 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
37417 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
37418 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
37419 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
37420 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37421 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
37422 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
37423 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
37424 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
37425 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
37426 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37427 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37428 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
37429 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
37430 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
37431 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37432 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
37433 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
37434 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37435 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37436 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37437 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37438 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
37439 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37440 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37441 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37442 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
37443 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
37444 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37445 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
37446 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
37447 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37448 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
37449 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
37450 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
37451 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
37452 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
37453 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
37454 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
37455 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
37456 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
37457 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37458 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
37459 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
37460 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
37461 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
37462 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
37463 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37464 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37465 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
37466 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
37467 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
37468 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37469 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
37470 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
37471 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37472 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37473 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37474 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
37475 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
37476 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
37477 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
37478 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
37479 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
37480 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
37481 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
37482 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
37483 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37484 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37485 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37486 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37487 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37488 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37489 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37490 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37491 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37492 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37493 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37494 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37495 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
37496 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37497 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
37498 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
37499 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
37500 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
37501 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
37502 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37503 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
37504 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
37505 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37506 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37507 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37508 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37509 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37510 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37511 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
37512 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
37513 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
37514 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
37515 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
37516 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
37517 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
37518 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
37519 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
37520 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
37521 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
37522 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
37523 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37524 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
37525 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
37526 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
37527 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
37528 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
37529 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
37530 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
37531 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
37532 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37533 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37534 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37535 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
37536 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
37537 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
37538 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
37539 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
37540 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
37541 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
37542 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
37543 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
37544 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
37545 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37546 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
37547 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
37548 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
37549 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
37550 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
37551 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
37552 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
37553 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
37554 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
37555 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
37556 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
37557 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
37558 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
37559 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
37560 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
37561 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
37562 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
37563 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
37564 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
37565 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
37566 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
37567 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
37568 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
37569 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
37570 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
37571 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
37572 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
37573 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
37574 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
37575 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
37576 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37577 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
37578 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
37579 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
37580 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37581 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
37582 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
37583 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
37584 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
37585 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
37586 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37587 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37588 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37589 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37590 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37591 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
37592 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
37593 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
37594 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37595 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37596 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37597 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
37598 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
37599 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37600 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37601 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
37602 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37603 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37604 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
37605 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37606 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37607 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
37608 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
37609 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
37610 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37611 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37612 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
37613 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
37614 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37615 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37616 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
37617 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
37618 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
37619 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
37620 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
37621 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
37622 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
37623 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
37624 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
37625 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
37626 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
37627 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37628 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
37629 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
37630 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
37631 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
37632 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
37633 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
37634 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
37635 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37636 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37637 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37638 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37639 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37640 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
37641 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37642 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
37643 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
37644 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37645 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
37646 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37647 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
37648 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37649 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37650 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37651 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37652 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
37653 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37654 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37655 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37656 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
37657 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
37658 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
37659 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
37660 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
37661 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37662 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37663 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
37664 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37665 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37666 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37667 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37668 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
37669 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
37670 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
37671 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
37672 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37673 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37674 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
37675 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
37676 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37677 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
37678 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
37679 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37680 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
37681 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37682 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37683 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37684 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37685 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37686 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37687 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37688 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37689 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37690 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37691 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37692 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37693 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37694 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37695 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37696 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37697 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37698 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37699 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37700 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37701 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
37702 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37703 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
37704 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37705 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
37706 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37707 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
37708 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
37709 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37710 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37711 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37712 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
37713 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
37714 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37715 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
37716 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
37717 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
37718 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37719 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
37720 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
37721 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
37722 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37723 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
37724 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
37725 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
37726 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
37727 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37728 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37729 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
37730 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37731 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37732 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37733 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37734 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37735 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37736 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37737 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37738 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37739 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37740 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
37741 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37742 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37743 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37744 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
37745 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
37746 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
37747 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
37748 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37749 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37750 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37751 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37752 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37753 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
37754 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
37755 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37756 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37757 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37758 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37759 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
37760 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37761 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37762 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37763 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37764 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37765 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37766 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37767 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37768 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37769 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37770 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37771 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37772 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37773 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37774 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37775 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37776 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37777 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37778 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37779 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37780 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37781 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37782 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37783 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
37784 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
37785 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
37786 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
37787 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
37788 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37789 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37790 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37791 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37792 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37793 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37794 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37795 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37796 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37797 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37798 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37799 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
37800 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
37801 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37802 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37803 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37804 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37805 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37806 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37807 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37808 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37809 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37810 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37811 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37812 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37813 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37814 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37815 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37816 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37817 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37818 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37819 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37820 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37821 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37822 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37823 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37824 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37825 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37826 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
37827 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
37828 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
37829 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
37830 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37831 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37832 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37833 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37834 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37835 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37836 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37837 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37838 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37839 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37840 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37841 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37842 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
37843 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
37844 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
37845 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
37846 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
37847 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
37848 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37849 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
37850 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37851 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
37852 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37853 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
37854 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37855 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
37856 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37857 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
37858 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37859 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
37860 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37861 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
37862 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37863 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37864 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37865 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
37866 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
37867 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37868 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37869 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37870 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
37871 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37872 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37873 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37874 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37875 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37876 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37877 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37878 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37879 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37880 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37881 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
37882 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
37883 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
37884 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37885 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37886 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37887 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
37888 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
37889 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
37890 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
37891 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
37892 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
37893 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37894 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
37895 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
37896 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37897 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
37898 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37899 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
37900 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37901 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
37902 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37903 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
37904 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37905 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
37906 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37907 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37908 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37909 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37910 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
37911 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
37912 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
37913 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
37914 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
37915 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37916 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37917 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
37918 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37919 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37920 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37921 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
37922 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37923 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37924 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37925 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37926 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37927 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37928 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37929 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
37930 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
37931 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
37932 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
37933 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
37934 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
37935 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37936 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37937 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
37938 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
37939 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
37940 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37941 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
37942 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
37943 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37944 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
37945 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
37946 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
37947 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37948 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37949 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37950 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37951 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37952 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37953 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37954 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
37955 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37956 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
37957 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37958 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
37959 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
37960 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37961 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37962 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37963 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37964 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37965 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37966 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37967 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
37968 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37969 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
37970 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
37971 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
37972 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37973 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
37974 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
37975 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37976 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
37977 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
37978 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37979 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37980 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
37981 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
37982 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37983 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
37984 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37985 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37986 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37987 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37988 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37989 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37990 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37991 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
37992 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
37993 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37994 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
37995 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
37996 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
37997 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37998 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
37999 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
38000 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
38001 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
38002 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38003 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
38004 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38005 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
38006 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
38007 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
38008 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
38009 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
38010 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38011 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38012 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38013 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
38014 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38015 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
38016 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38017 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38018 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38019 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
38020 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
38021 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38022 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38023 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
38024 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
38025 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38026 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38027 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38028 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
38029 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38030 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
38031 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38032 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
38033 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
38034 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
38035 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
38036 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38037 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38038 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38039 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38040 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
38041 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38042 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38043 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
38044 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
38045 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
38046 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38047 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38048 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38049 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38050 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
38051 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38052 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38053 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
38054 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
38055 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
38056 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
38057 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
38058 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
38059 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
38060 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38061 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38062 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38063 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38064 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
38065 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
38066 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38067 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
38068 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
38069 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
38070 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38071 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
38072 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
38073 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
38074 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
38075 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38076 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
38077 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38078 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
38079 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
38080 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
38081 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
38082 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38083 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38084 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
38085 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
38086 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
38087 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
38088 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
38089 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
38090 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
38091 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
38092 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
38093 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
38094 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38095 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
38096 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
38097 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38098 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38099 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
38100 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
38101 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
38102 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
38103 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
38104 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38105 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
38106 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38107 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
38108 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
38109 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
38110 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
38111 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
38112 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
38113 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
38114 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
38115 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
38116 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
38117 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
38118 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
38119 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38120 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
38121 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38122 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
38123 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
38124 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38125 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
38126 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
38127 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
38128 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
38129 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
38130 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
38131 { NULL
, NULL
, 0, NULL
}
38135 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
38137 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
38138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38140 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
38141 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
38143 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
38144 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
38146 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
38147 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
38149 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
38150 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
38152 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
38153 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
38155 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
38156 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
38158 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
38159 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
38161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
38162 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
38164 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
38165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
38167 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
38168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38170 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
38171 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38173 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
38174 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
38176 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
38177 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
38179 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
38180 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
38182 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
38183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38185 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
38186 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38188 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
38189 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
38191 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
38192 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
38194 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
38195 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
38197 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
38198 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
38200 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
38201 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
38203 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
38204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
38206 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
38207 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
38209 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
38210 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
38212 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
38213 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38215 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
38216 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38218 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
38219 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38221 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
38222 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38224 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
38225 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38227 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
38228 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38230 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
38231 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
38233 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
38234 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
38236 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
38237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38239 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
38240 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
38242 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
38243 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
38245 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
38246 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
38248 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
38249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38251 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
38252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38254 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
38255 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38257 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
38258 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
38260 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
38261 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
38263 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
38264 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
38266 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
38267 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
38269 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
38270 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38272 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
38273 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38275 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
38276 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
38278 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
38279 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38281 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
38282 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
38284 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
38285 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38287 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
38288 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38290 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
38291 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38293 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
38294 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38296 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
38297 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38299 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
38300 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38302 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
38303 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
38305 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
38306 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38308 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
38309 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
38311 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38312 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
38314 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
38315 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
38317 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38318 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
38320 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
38321 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
38323 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38324 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
38326 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
38327 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
38329 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
38330 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
38332 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
38333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
38335 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
38336 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
38338 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
38339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38341 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
38342 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
38344 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
38345 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
38347 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
38348 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
38350 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
38351 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
38353 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
38354 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
38356 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
38357 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
38359 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
38360 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
38362 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
38363 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
38365 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
38366 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
38368 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
38369 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
38371 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
38372 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
38374 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
38375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
38377 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
38378 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
38380 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
38381 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
38383 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
38384 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
38386 static void *_p_wxSizerTo_p_wxObject(void *x
) {
38387 return (void *)((wxObject
*) ((wxSizer
*) x
));
38389 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
38390 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
38392 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
38393 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
38395 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
38396 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
38398 static void *_p_wxEventTo_p_wxObject(void *x
) {
38399 return (void *)((wxObject
*) ((wxEvent
*) x
));
38401 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
38402 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
38404 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
38405 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
38407 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
38408 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
38410 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
38411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
38413 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
38414 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
38416 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
38417 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
38419 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
38420 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
38422 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
38423 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
38425 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
38426 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
38428 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
38429 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
38431 static void *_p_wxControlTo_p_wxObject(void *x
) {
38432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
38434 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
38435 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
38437 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
38438 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
38440 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
38441 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
38443 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
38444 return (void *)((wxObject
*) ((wxFSFile
*) x
));
38446 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
38447 return (void *)((wxObject
*) ((wxClipboard
*) x
));
38449 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
38450 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
38452 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
38453 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
38455 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
38456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
38458 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
38459 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
38461 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
38462 return (void *)((wxObject
*) ((wxToolTip
*) x
));
38464 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
38465 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
38467 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
38468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
38470 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
38471 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
38473 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
38474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
38476 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
38477 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
38479 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
38480 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
38482 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
38483 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
38485 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
38486 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
38488 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
38489 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
38491 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
38492 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
38494 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
38495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
38497 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
38498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
38500 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
38501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
38503 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
38504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
38506 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
38507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
38509 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
38510 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
38512 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
38513 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
38515 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
38516 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
38518 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
38519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
38521 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
38522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
38524 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
38525 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
38527 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
38528 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
38530 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
38531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
38533 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
38534 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
38536 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
38537 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
38539 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
38540 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
38542 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
38543 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
38545 static void *_p_wxImageTo_p_wxObject(void *x
) {
38546 return (void *)((wxObject
*) ((wxImage
*) x
));
38548 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
38549 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
38551 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
38552 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
38554 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
38555 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
38557 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
38558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
38560 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
38561 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
38563 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
38564 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
38566 static void *_p_wxWindowTo_p_wxObject(void *x
) {
38567 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
38569 static void *_p_wxMenuTo_p_wxObject(void *x
) {
38570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
38572 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
38573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
38575 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
38576 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
38578 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
38579 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
38581 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
38582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
38584 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
38585 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
38587 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
38588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
38590 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
38591 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
38593 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
38594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
38596 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
38597 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
38599 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
38600 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
38602 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
38603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
38605 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
38606 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
38608 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
38609 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
38611 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
38612 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
38614 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
38615 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
38617 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
38618 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
38620 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
38621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
38623 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
38624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
38626 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
38627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
38629 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
38630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
38632 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
38633 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
38635 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
38636 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
38638 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
38639 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
38641 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
38642 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
38644 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
38645 return (void *)((wxLog
*) ((wxLogChain
*) x
));
38647 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
38648 return (void *)((wxLog
*) ((wxLogGui
*) x
));
38650 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
38651 return (void *)((wxLog
*) ((wxPyLog
*) x
));
38653 static void *_p_wxControlTo_p_wxWindow(void *x
) {
38654 return (void *)((wxWindow
*) ((wxControl
*) x
));
38656 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
38657 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
38659 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
38660 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
38662 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
38663 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
38665 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
38666 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
38668 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
38669 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};
38670 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
38671 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
38672 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
38673 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
38674 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
38675 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
38676 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
38677 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
38678 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
38679 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
38680 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
38681 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
38682 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
38683 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
38684 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
38685 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
38686 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
38687 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
38688 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
38689 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
38690 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
38691 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
38692 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
38693 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
38694 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
38695 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
38696 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
38697 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
38698 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
38699 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
38700 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
38701 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
38702 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
38703 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
38704 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
38705 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
38706 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
38707 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
38708 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
38709 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
38710 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
38711 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
38712 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
38713 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
38714 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
38715 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
38716 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
38717 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
38718 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
38719 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
38720 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
38721 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
38722 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
38723 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
38724 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
38725 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
38726 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
38727 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
38728 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
38729 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
38730 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
38731 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
38732 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
38733 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
38734 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
38735 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
38736 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
38737 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
38738 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
38739 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
38740 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
38741 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
38742 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
38743 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
38744 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
38745 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
38746 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
38747 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
38748 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
38749 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
38750 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
38751 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
38752 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
38753 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
38754 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
38755 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
38756 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
38757 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
38758 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
38759 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
38760 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
38761 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
38762 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
38763 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
38764 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
38765 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
38766 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
38767 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
38768 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
38769 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
38770 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
38771 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
38772 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
38773 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
38774 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
38775 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
38776 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
38777 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
38778 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
38779 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
38780 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
38781 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
38782 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
38783 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
38784 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
38785 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
38786 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
38787 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
38788 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
38789 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
38790 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
38791 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
38792 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
38793 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
38794 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
38795 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
38796 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
38797 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
38798 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
38799 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
38800 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
38801 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
38802 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
38803 static swig_type_info _swigt__p_wxPlatformInfo
= {"_p_wxPlatformInfo", "wxPlatformInfo *", 0, 0, (void*)0, 0};
38804 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
38805 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
38806 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
38807 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
38808 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
38809 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
38810 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
38811 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
38812 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
38813 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
38814 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
38815 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
38816 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
38817 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
38818 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
38819 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
38820 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
38821 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
38822 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
38823 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
38824 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
38825 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
38826 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
38827 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
38828 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
38829 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
38830 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
38831 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
38832 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
38833 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
38834 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
38835 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
38836 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
38837 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
38838 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
38839 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
38841 static swig_type_info
*swig_type_initial
[] = {
38843 &_swigt__p_form_ops_t
,
38845 &_swigt__p_unsigned_char
,
38846 &_swigt__p_unsigned_int
,
38847 &_swigt__p_unsigned_long
,
38849 &_swigt__p_wxANIHandler
,
38850 &_swigt__p_wxAcceleratorTable
,
38851 &_swigt__p_wxActivateEvent
,
38852 &_swigt__p_wxArrayString
,
38853 &_swigt__p_wxBMPHandler
,
38854 &_swigt__p_wxBitmap
,
38855 &_swigt__p_wxBitmapDataObject
,
38856 &_swigt__p_wxBoxSizer
,
38857 &_swigt__p_wxBusyCursor
,
38858 &_swigt__p_wxBusyInfo
,
38859 &_swigt__p_wxCURHandler
,
38860 &_swigt__p_wxCaret
,
38862 &_swigt__p_wxChildFocusEvent
,
38863 &_swigt__p_wxClipboard
,
38864 &_swigt__p_wxClipboardLocker
,
38865 &_swigt__p_wxClipboardTextEvent
,
38866 &_swigt__p_wxCloseEvent
,
38867 &_swigt__p_wxColour
,
38868 &_swigt__p_wxCommandEvent
,
38869 &_swigt__p_wxConfig
,
38870 &_swigt__p_wxConfigBase
,
38871 &_swigt__p_wxConfigPathChanger
,
38872 &_swigt__p_wxContextMenuEvent
,
38873 &_swigt__p_wxControl
,
38874 &_swigt__p_wxControlWithItems
,
38875 &_swigt__p_wxCursor
,
38876 &_swigt__p_wxCustomDataObject
,
38878 &_swigt__p_wxDataFormat
,
38879 &_swigt__p_wxDataObject
,
38880 &_swigt__p_wxDataObjectComposite
,
38881 &_swigt__p_wxDataObjectSimple
,
38882 &_swigt__p_wxDateEvent
,
38883 &_swigt__p_wxDateSpan
,
38884 &_swigt__p_wxDateTime
,
38885 &_swigt__p_wxDateTime__TimeZone
,
38886 &_swigt__p_wxDisplay
,
38887 &_swigt__p_wxDisplayChangedEvent
,
38888 &_swigt__p_wxDropFilesEvent
,
38889 &_swigt__p_wxDuplexMode
,
38890 &_swigt__p_wxEraseEvent
,
38891 &_swigt__p_wxEvent
,
38892 &_swigt__p_wxEvtHandler
,
38893 &_swigt__p_wxFSFile
,
38894 &_swigt__p_wxFileConfig
,
38895 &_swigt__p_wxFileDataObject
,
38896 &_swigt__p_wxFileHistory
,
38897 &_swigt__p_wxFileSystem
,
38898 &_swigt__p_wxFileType
,
38899 &_swigt__p_wxFileTypeInfo
,
38900 &_swigt__p_wxFlexGridSizer
,
38901 &_swigt__p_wxFocusEvent
,
38903 &_swigt__p_wxFrame
,
38904 &_swigt__p_wxGBSizerItem
,
38905 &_swigt__p_wxGIFHandler
,
38906 &_swigt__p_wxGridBagSizer
,
38907 &_swigt__p_wxGridSizer
,
38908 &_swigt__p_wxICOHandler
,
38910 &_swigt__p_wxIconizeEvent
,
38911 &_swigt__p_wxIdleEvent
,
38912 &_swigt__p_wxImage
,
38913 &_swigt__p_wxImageHandler
,
38914 &_swigt__p_wxIndividualLayoutConstraint
,
38915 &_swigt__p_wxInitDialogEvent
,
38916 &_swigt__p_wxJPEGHandler
,
38917 &_swigt__p_wxJoystick
,
38918 &_swigt__p_wxJoystickEvent
,
38919 &_swigt__p_wxKeyEvent
,
38920 &_swigt__p_wxKillError
,
38921 &_swigt__p_wxLayoutConstraints
,
38923 &_swigt__p_wxLogBuffer
,
38924 &_swigt__p_wxLogChain
,
38925 &_swigt__p_wxLogGui
,
38926 &_swigt__p_wxLogNull
,
38927 &_swigt__p_wxLogStderr
,
38928 &_swigt__p_wxLogTextCtrl
,
38929 &_swigt__p_wxLogWindow
,
38930 &_swigt__p_wxMaximizeEvent
,
38932 &_swigt__p_wxMenuBar
,
38933 &_swigt__p_wxMenuEvent
,
38934 &_swigt__p_wxMenuItem
,
38935 &_swigt__p_wxMetafileDataObject
,
38936 &_swigt__p_wxMimeTypesManager
,
38937 &_swigt__p_wxMouseCaptureChangedEvent
,
38938 &_swigt__p_wxMouseCaptureLostEvent
,
38939 &_swigt__p_wxMouseEvent
,
38940 &_swigt__p_wxMouseState
,
38941 &_swigt__p_wxMoveEvent
,
38942 &_swigt__p_wxMutexGuiLocker
,
38943 &_swigt__p_wxNavigationKeyEvent
,
38944 &_swigt__p_wxNcPaintEvent
,
38945 &_swigt__p_wxNotifyEvent
,
38946 &_swigt__p_wxObject
,
38947 &_swigt__p_wxOutputStream
,
38948 &_swigt__p_wxPCXHandler
,
38949 &_swigt__p_wxPNGHandler
,
38950 &_swigt__p_wxPNMHandler
,
38951 &_swigt__p_wxPaintEvent
,
38952 &_swigt__p_wxPaletteChangedEvent
,
38953 &_swigt__p_wxPaperSize
,
38954 &_swigt__p_wxPlatformInfo
,
38955 &_swigt__p_wxPoint
,
38956 &_swigt__p_wxPowerEvent
,
38957 &_swigt__p_wxProcessEvent
,
38958 &_swigt__p_wxPyApp
,
38959 &_swigt__p_wxPyArtProvider
,
38960 &_swigt__p_wxPyBitmapDataObject
,
38961 &_swigt__p_wxPyCommandEvent
,
38962 &_swigt__p_wxPyDataObjectSimple
,
38963 &_swigt__p_wxPyDropSource
,
38964 &_swigt__p_wxPyDropTarget
,
38965 &_swigt__p_wxPyEvent
,
38966 &_swigt__p_wxPyFileDropTarget
,
38967 &_swigt__p_wxPyImageHandler
,
38968 &_swigt__p_wxPyLog
,
38969 &_swigt__p_wxPyProcess
,
38970 &_swigt__p_wxPySizer
,
38971 &_swigt__p_wxPyTextDataObject
,
38972 &_swigt__p_wxPyTextDropTarget
,
38973 &_swigt__p_wxPyTimer
,
38974 &_swigt__p_wxPyTipProvider
,
38975 &_swigt__p_wxPyValidator
,
38976 &_swigt__p_wxQueryNewPaletteEvent
,
38978 &_swigt__p_wxScrollEvent
,
38979 &_swigt__p_wxScrollWinEvent
,
38980 &_swigt__p_wxSetCursorEvent
,
38981 &_swigt__p_wxShowEvent
,
38982 &_swigt__p_wxSingleInstanceChecker
,
38984 &_swigt__p_wxSizeEvent
,
38985 &_swigt__p_wxSizer
,
38986 &_swigt__p_wxSizerItem
,
38987 &_swigt__p_wxSound
,
38988 &_swigt__p_wxStandardPaths
,
38989 &_swigt__p_wxStaticBoxSizer
,
38990 &_swigt__p_wxStdDialogButtonSizer
,
38991 &_swigt__p_wxStopWatch
,
38992 &_swigt__p_wxString
,
38993 &_swigt__p_wxSysColourChangedEvent
,
38994 &_swigt__p_wxSystemOptions
,
38995 &_swigt__p_wxSystemSettings
,
38996 &_swigt__p_wxTIFFHandler
,
38997 &_swigt__p_wxTextCtrl
,
38998 &_swigt__p_wxTextDataObject
,
38999 &_swigt__p_wxTimeSpan
,
39000 &_swigt__p_wxTimer
,
39001 &_swigt__p_wxTimerEvent
,
39002 &_swigt__p_wxTimerRunner
,
39003 &_swigt__p_wxTipProvider
,
39004 &_swigt__p_wxToolTip
,
39005 &_swigt__p_wxURLDataObject
,
39006 &_swigt__p_wxUpdateUIEvent
,
39007 &_swigt__p_wxValidator
,
39008 &_swigt__p_wxVideoMode
,
39009 &_swigt__p_wxWindow
,
39010 &_swigt__p_wxWindowCreateEvent
,
39011 &_swigt__p_wxWindowDestroyEvent
,
39012 &_swigt__p_wxWindowDisabler
,
39013 &_swigt__p_wxXPMHandler
,
39016 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
39017 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
39018 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
39019 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
39020 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
39021 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
39022 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
39023 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
39024 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
39025 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}};
39026 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
39027 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
39028 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
39029 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
39030 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
39031 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
39032 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
39033 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
39034 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}};
39035 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
39036 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
39037 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39038 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
39039 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
39040 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}};
39041 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
39042 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}};
39043 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
39044 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
39045 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
39046 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
39047 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
39048 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39049 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
39050 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39051 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39052 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
39053 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
39054 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
39055 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
39056 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39057 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39058 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
39059 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
39060 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39061 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
39062 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39063 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39064 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39065 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
39066 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
39067 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
39068 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39069 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
39070 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
39071 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
39072 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39073 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39074 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39075 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
39076 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
39077 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39078 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
39079 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
39080 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39081 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
39082 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39083 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39084 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
39085 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
39086 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}};
39087 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
39088 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
39089 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
39090 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
39091 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
39092 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
39093 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}};
39094 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
39095 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39096 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
39097 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
39098 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
39099 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
39100 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
39101 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
39102 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
39103 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
39104 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
39105 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}};
39106 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
39107 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
39108 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
39109 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
39110 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
39111 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39112 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
39113 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
39114 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39115 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
39116 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
39117 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
39118 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
39119 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39120 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
39121 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
39122 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39123 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39124 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
39125 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
39126 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39127 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
39128 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
39129 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
39130 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
39131 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39132 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39133 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39134 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
39135 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
39136 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
39137 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
39138 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
39139 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39140 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
39141 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
39142 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
39143 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
39144 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
39145 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
39146 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
39147 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
39148 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}};
39149 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
39150 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
39151 static swig_cast_info _swigc__p_wxPlatformInfo
[] = { {&_swigt__p_wxPlatformInfo
, 0, 0, 0},{0, 0, 0, 0}};
39152 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
39153 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39154 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
39155 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
39156 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39157 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
39158 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
39159 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}};
39160 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39161 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
39162 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
39163 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39164 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
39165 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
39166 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
39167 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
39168 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
39169 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
39170 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
39171 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
39172 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
39173 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
39174 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
39175 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
39176 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
39177 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}};
39178 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
39179 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
39180 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
39181 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
39182 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}};
39183 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
39184 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
39185 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
39186 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}};
39187 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
39189 static swig_cast_info
*swig_cast_initial
[] = {
39191 _swigc__p_form_ops_t
,
39193 _swigc__p_unsigned_char
,
39194 _swigc__p_unsigned_int
,
39195 _swigc__p_unsigned_long
,
39197 _swigc__p_wxANIHandler
,
39198 _swigc__p_wxAcceleratorTable
,
39199 _swigc__p_wxActivateEvent
,
39200 _swigc__p_wxArrayString
,
39201 _swigc__p_wxBMPHandler
,
39202 _swigc__p_wxBitmap
,
39203 _swigc__p_wxBitmapDataObject
,
39204 _swigc__p_wxBoxSizer
,
39205 _swigc__p_wxBusyCursor
,
39206 _swigc__p_wxBusyInfo
,
39207 _swigc__p_wxCURHandler
,
39210 _swigc__p_wxChildFocusEvent
,
39211 _swigc__p_wxClipboard
,
39212 _swigc__p_wxClipboardLocker
,
39213 _swigc__p_wxClipboardTextEvent
,
39214 _swigc__p_wxCloseEvent
,
39215 _swigc__p_wxColour
,
39216 _swigc__p_wxCommandEvent
,
39217 _swigc__p_wxConfig
,
39218 _swigc__p_wxConfigBase
,
39219 _swigc__p_wxConfigPathChanger
,
39220 _swigc__p_wxContextMenuEvent
,
39221 _swigc__p_wxControl
,
39222 _swigc__p_wxControlWithItems
,
39223 _swigc__p_wxCursor
,
39224 _swigc__p_wxCustomDataObject
,
39226 _swigc__p_wxDataFormat
,
39227 _swigc__p_wxDataObject
,
39228 _swigc__p_wxDataObjectComposite
,
39229 _swigc__p_wxDataObjectSimple
,
39230 _swigc__p_wxDateEvent
,
39231 _swigc__p_wxDateSpan
,
39232 _swigc__p_wxDateTime
,
39233 _swigc__p_wxDateTime__TimeZone
,
39234 _swigc__p_wxDisplay
,
39235 _swigc__p_wxDisplayChangedEvent
,
39236 _swigc__p_wxDropFilesEvent
,
39237 _swigc__p_wxDuplexMode
,
39238 _swigc__p_wxEraseEvent
,
39240 _swigc__p_wxEvtHandler
,
39241 _swigc__p_wxFSFile
,
39242 _swigc__p_wxFileConfig
,
39243 _swigc__p_wxFileDataObject
,
39244 _swigc__p_wxFileHistory
,
39245 _swigc__p_wxFileSystem
,
39246 _swigc__p_wxFileType
,
39247 _swigc__p_wxFileTypeInfo
,
39248 _swigc__p_wxFlexGridSizer
,
39249 _swigc__p_wxFocusEvent
,
39252 _swigc__p_wxGBSizerItem
,
39253 _swigc__p_wxGIFHandler
,
39254 _swigc__p_wxGridBagSizer
,
39255 _swigc__p_wxGridSizer
,
39256 _swigc__p_wxICOHandler
,
39258 _swigc__p_wxIconizeEvent
,
39259 _swigc__p_wxIdleEvent
,
39261 _swigc__p_wxImageHandler
,
39262 _swigc__p_wxIndividualLayoutConstraint
,
39263 _swigc__p_wxInitDialogEvent
,
39264 _swigc__p_wxJPEGHandler
,
39265 _swigc__p_wxJoystick
,
39266 _swigc__p_wxJoystickEvent
,
39267 _swigc__p_wxKeyEvent
,
39268 _swigc__p_wxKillError
,
39269 _swigc__p_wxLayoutConstraints
,
39271 _swigc__p_wxLogBuffer
,
39272 _swigc__p_wxLogChain
,
39273 _swigc__p_wxLogGui
,
39274 _swigc__p_wxLogNull
,
39275 _swigc__p_wxLogStderr
,
39276 _swigc__p_wxLogTextCtrl
,
39277 _swigc__p_wxLogWindow
,
39278 _swigc__p_wxMaximizeEvent
,
39280 _swigc__p_wxMenuBar
,
39281 _swigc__p_wxMenuEvent
,
39282 _swigc__p_wxMenuItem
,
39283 _swigc__p_wxMetafileDataObject
,
39284 _swigc__p_wxMimeTypesManager
,
39285 _swigc__p_wxMouseCaptureChangedEvent
,
39286 _swigc__p_wxMouseCaptureLostEvent
,
39287 _swigc__p_wxMouseEvent
,
39288 _swigc__p_wxMouseState
,
39289 _swigc__p_wxMoveEvent
,
39290 _swigc__p_wxMutexGuiLocker
,
39291 _swigc__p_wxNavigationKeyEvent
,
39292 _swigc__p_wxNcPaintEvent
,
39293 _swigc__p_wxNotifyEvent
,
39294 _swigc__p_wxObject
,
39295 _swigc__p_wxOutputStream
,
39296 _swigc__p_wxPCXHandler
,
39297 _swigc__p_wxPNGHandler
,
39298 _swigc__p_wxPNMHandler
,
39299 _swigc__p_wxPaintEvent
,
39300 _swigc__p_wxPaletteChangedEvent
,
39301 _swigc__p_wxPaperSize
,
39302 _swigc__p_wxPlatformInfo
,
39304 _swigc__p_wxPowerEvent
,
39305 _swigc__p_wxProcessEvent
,
39307 _swigc__p_wxPyArtProvider
,
39308 _swigc__p_wxPyBitmapDataObject
,
39309 _swigc__p_wxPyCommandEvent
,
39310 _swigc__p_wxPyDataObjectSimple
,
39311 _swigc__p_wxPyDropSource
,
39312 _swigc__p_wxPyDropTarget
,
39313 _swigc__p_wxPyEvent
,
39314 _swigc__p_wxPyFileDropTarget
,
39315 _swigc__p_wxPyImageHandler
,
39317 _swigc__p_wxPyProcess
,
39318 _swigc__p_wxPySizer
,
39319 _swigc__p_wxPyTextDataObject
,
39320 _swigc__p_wxPyTextDropTarget
,
39321 _swigc__p_wxPyTimer
,
39322 _swigc__p_wxPyTipProvider
,
39323 _swigc__p_wxPyValidator
,
39324 _swigc__p_wxQueryNewPaletteEvent
,
39326 _swigc__p_wxScrollEvent
,
39327 _swigc__p_wxScrollWinEvent
,
39328 _swigc__p_wxSetCursorEvent
,
39329 _swigc__p_wxShowEvent
,
39330 _swigc__p_wxSingleInstanceChecker
,
39332 _swigc__p_wxSizeEvent
,
39334 _swigc__p_wxSizerItem
,
39336 _swigc__p_wxStandardPaths
,
39337 _swigc__p_wxStaticBoxSizer
,
39338 _swigc__p_wxStdDialogButtonSizer
,
39339 _swigc__p_wxStopWatch
,
39340 _swigc__p_wxString
,
39341 _swigc__p_wxSysColourChangedEvent
,
39342 _swigc__p_wxSystemOptions
,
39343 _swigc__p_wxSystemSettings
,
39344 _swigc__p_wxTIFFHandler
,
39345 _swigc__p_wxTextCtrl
,
39346 _swigc__p_wxTextDataObject
,
39347 _swigc__p_wxTimeSpan
,
39349 _swigc__p_wxTimerEvent
,
39350 _swigc__p_wxTimerRunner
,
39351 _swigc__p_wxTipProvider
,
39352 _swigc__p_wxToolTip
,
39353 _swigc__p_wxURLDataObject
,
39354 _swigc__p_wxUpdateUIEvent
,
39355 _swigc__p_wxValidator
,
39356 _swigc__p_wxVideoMode
,
39357 _swigc__p_wxWindow
,
39358 _swigc__p_wxWindowCreateEvent
,
39359 _swigc__p_wxWindowDestroyEvent
,
39360 _swigc__p_wxWindowDisabler
,
39361 _swigc__p_wxXPMHandler
,
39365 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
39367 static swig_const_info swig_const_table
[] = {
39368 {0, 0, 0, 0.0, 0, 0}};
39373 /* -----------------------------------------------------------------------------
39374 * Type initialization:
39375 * This problem is tough by the requirement that no dynamic
39376 * memory is used. Also, since swig_type_info structures store pointers to
39377 * swig_cast_info structures and swig_cast_info structures store pointers back
39378 * to swig_type_info structures, we need some lookup code at initialization.
39379 * The idea is that swig generates all the structures that are needed.
39380 * The runtime then collects these partially filled structures.
39381 * The SWIG_InitializeModule function takes these initial arrays out of
39382 * swig_module, and does all the lookup, filling in the swig_module.types
39383 * array with the correct data and linking the correct swig_cast_info
39384 * structures together.
39386 * The generated swig_type_info structures are assigned staticly to an initial
39387 * array. We just loop though that array, and handle each type individually.
39388 * First we lookup if this type has been already loaded, and if so, use the
39389 * loaded structure instead of the generated one. Then we have to fill in the
39390 * cast linked list. The cast data is initially stored in something like a
39391 * two-dimensional array. Each row corresponds to a type (there are the same
39392 * number of rows as there are in the swig_type_initial array). Each entry in
39393 * a column is one of the swig_cast_info structures for that type.
39394 * The cast_initial array is actually an array of arrays, because each row has
39395 * a variable number of columns. So to actually build the cast linked list,
39396 * we find the array of casts associated with the type, and loop through it
39397 * adding the casts to the list. The one last trick we need to do is making
39398 * sure the type pointer in the swig_cast_info struct is correct.
39400 * First off, we lookup the cast->type name to see if it is already loaded.
39401 * There are three cases to handle:
39402 * 1) If the cast->type has already been loaded AND the type we are adding
39403 * casting info to has not been loaded (it is in this module), THEN we
39404 * replace the cast->type pointer with the type pointer that has already
39406 * 2) If BOTH types (the one we are adding casting info to, and the
39407 * cast->type) are loaded, THEN the cast info has already been loaded by
39408 * the previous module so we just ignore it.
39409 * 3) Finally, if cast->type has not already been loaded, then we add that
39410 * swig_cast_info to the linked list (because the cast->type) pointer will
39412 * ----------------------------------------------------------------------------- */
39422 #define SWIGRUNTIME_DEBUG
39426 SWIG_InitializeModule(void *clientdata
) {
39428 swig_module_info
*module_head
;
39429 static int init_run
= 0;
39431 clientdata
= clientdata
;
39433 if (init_run
) return;
39436 /* Initialize the swig_module */
39437 swig_module
.type_initial
= swig_type_initial
;
39438 swig_module
.cast_initial
= swig_cast_initial
;
39440 /* Try and load any already created modules */
39441 module_head
= SWIG_GetModule(clientdata
);
39443 swig_module
.next
= module_head
->next
;
39444 module_head
->next
= &swig_module
;
39446 /* This is the first module loaded */
39447 swig_module
.next
= &swig_module
;
39448 SWIG_SetModule(clientdata
, &swig_module
);
39451 /* Now work on filling in swig_module.types */
39452 #ifdef SWIGRUNTIME_DEBUG
39453 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
39455 for (i
= 0; i
< swig_module
.size
; ++i
) {
39456 swig_type_info
*type
= 0;
39457 swig_type_info
*ret
;
39458 swig_cast_info
*cast
;
39460 #ifdef SWIGRUNTIME_DEBUG
39461 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39464 /* if there is another module already loaded */
39465 if (swig_module
.next
!= &swig_module
) {
39466 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
39469 /* Overwrite clientdata field */
39470 #ifdef SWIGRUNTIME_DEBUG
39471 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
39473 if (swig_module
.type_initial
[i
]->clientdata
) {
39474 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
39475 #ifdef SWIGRUNTIME_DEBUG
39476 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
39480 type
= swig_module
.type_initial
[i
];
39483 /* Insert casting types */
39484 cast
= swig_module
.cast_initial
[i
];
39485 while (cast
->type
) {
39486 /* Don't need to add information already in the list */
39488 #ifdef SWIGRUNTIME_DEBUG
39489 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
39491 if (swig_module
.next
!= &swig_module
) {
39492 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
39493 #ifdef SWIGRUNTIME_DEBUG
39494 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
39498 if (type
== swig_module
.type_initial
[i
]) {
39499 #ifdef SWIGRUNTIME_DEBUG
39500 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
39505 /* Check for casting already in the list */
39506 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
39507 #ifdef SWIGRUNTIME_DEBUG
39508 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
39510 if (!ocast
) ret
= 0;
39515 #ifdef SWIGRUNTIME_DEBUG
39516 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
39519 type
->cast
->prev
= cast
;
39520 cast
->next
= type
->cast
;
39526 /* Set entry in modules->types array equal to the type */
39527 swig_module
.types
[i
] = type
;
39529 swig_module
.types
[i
] = 0;
39531 #ifdef SWIGRUNTIME_DEBUG
39532 printf("**** SWIG_InitializeModule: Cast List ******\n");
39533 for (i
= 0; i
< swig_module
.size
; ++i
) {
39535 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
39536 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
39537 while (cast
->type
) {
39538 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
39542 printf("---- Total casts: %d\n",j
);
39544 printf("**** SWIG_InitializeModule: Cast List ******\n");
39548 /* This function will propagate the clientdata field of type to
39549 * any new swig_type_info structures that have been added into the list
39550 * of equivalent types. It is like calling
39551 * SWIG_TypeClientData(type, clientdata) a second time.
39554 SWIG_PropagateClientData(void) {
39556 swig_cast_info
*equiv
;
39557 static int init_run
= 0;
39559 if (init_run
) return;
39562 for (i
= 0; i
< swig_module
.size
; i
++) {
39563 if (swig_module
.types
[i
]->clientdata
) {
39564 equiv
= swig_module
.types
[i
]->cast
;
39566 if (!equiv
->converter
) {
39567 if (equiv
->type
&& !equiv
->type
->clientdata
)
39568 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
39570 equiv
= equiv
->next
;
39590 /* Python-specific SWIG API */
39591 #define SWIG_newvarlink() SWIG_Python_newvarlink()
39592 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
39593 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
39595 /* -----------------------------------------------------------------------------
39596 * global variable support code.
39597 * ----------------------------------------------------------------------------- */
39599 typedef struct swig_globalvar
{
39600 char *name
; /* Name of global variable */
39601 PyObject
*(*get_attr
)(void); /* Return the current value */
39602 int (*set_attr
)(PyObject
*); /* Set the value */
39603 struct swig_globalvar
*next
;
39606 typedef struct swig_varlinkobject
{
39608 swig_globalvar
*vars
;
39609 } swig_varlinkobject
;
39611 SWIGINTERN PyObject
*
39612 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
39613 return PyString_FromString("<Swig global variables>");
39616 SWIGINTERN PyObject
*
39617 swig_varlink_str(swig_varlinkobject
*v
) {
39618 PyObject
*str
= PyString_FromString("(");
39619 swig_globalvar
*var
;
39620 for (var
= v
->vars
; var
; var
=var
->next
) {
39621 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
39622 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
39624 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
39629 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
39630 PyObject
*str
= swig_varlink_str(v
);
39631 fprintf(fp
,"Swig global variables ");
39632 fprintf(fp
,"%s\n", PyString_AsString(str
));
39638 swig_varlink_dealloc(swig_varlinkobject
*v
) {
39639 swig_globalvar
*var
= v
->vars
;
39641 swig_globalvar
*n
= var
->next
;
39648 SWIGINTERN PyObject
*
39649 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
39650 PyObject
*res
= NULL
;
39651 swig_globalvar
*var
= v
->vars
;
39653 if (strcmp(var
->name
,n
) == 0) {
39654 res
= (*var
->get_attr
)();
39659 if (res
== NULL
&& !PyErr_Occurred()) {
39660 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39666 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
39668 swig_globalvar
*var
= v
->vars
;
39670 if (strcmp(var
->name
,n
) == 0) {
39671 res
= (*var
->set_attr
)(p
);
39676 if (res
== 1 && !PyErr_Occurred()) {
39677 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
39682 SWIGINTERN PyTypeObject
*
39683 swig_varlink_type(void) {
39684 static char varlink__doc__
[] = "Swig var link object";
39685 static PyTypeObject varlink_type
;
39686 static int type_init
= 0;
39688 const PyTypeObject tmp
39690 PyObject_HEAD_INIT(NULL
)
39691 0, /* Number of items in variable part (ob_size) */
39692 (char *)"swigvarlink", /* Type name (tp_name) */
39693 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
39694 0, /* Itemsize (tp_itemsize) */
39695 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
39696 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
39697 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
39698 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
39699 0, /* tp_compare */
39700 (reprfunc
) swig_varlink_repr
, /* tp_repr */
39701 0, /* tp_as_number */
39702 0, /* tp_as_sequence */
39703 0, /* tp_as_mapping */
39706 (reprfunc
)swig_varlink_str
, /* tp_str */
39707 0, /* tp_getattro */
39708 0, /* tp_setattro */
39709 0, /* tp_as_buffer */
39711 varlink__doc__
, /* tp_doc */
39712 0, /* tp_traverse */
39714 0, /* tp_richcompare */
39715 0, /* tp_weaklistoffset */
39716 #if PY_VERSION_HEX >= 0x02020000
39717 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
39719 #if PY_VERSION_HEX >= 0x02030000
39722 #ifdef COUNT_ALLOCS
39723 0,0,0,0 /* tp_alloc -> tp_next */
39726 varlink_type
= tmp
;
39727 varlink_type
.ob_type
= &PyType_Type
;
39730 return &varlink_type
;
39733 /* Create a variable linking object for use later */
39734 SWIGINTERN PyObject
*
39735 SWIG_Python_newvarlink(void) {
39736 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
39740 return ((PyObject
*) result
);
39744 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
39745 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
39746 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
39748 size_t size
= strlen(name
)+1;
39749 gv
->name
= (char *)malloc(size
);
39751 strncpy(gv
->name
,name
,size
);
39752 gv
->get_attr
= get_attr
;
39753 gv
->set_attr
= set_attr
;
39754 gv
->next
= v
->vars
;
39760 SWIGINTERN PyObject
*
39762 static PyObject
*_SWIG_globals
= 0;
39763 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
39764 return _SWIG_globals
;
39767 /* -----------------------------------------------------------------------------
39768 * constants/methods manipulation
39769 * ----------------------------------------------------------------------------- */
39771 /* Install Constants */
39773 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
39776 for (i
= 0; constants
[i
].type
; ++i
) {
39777 switch(constants
[i
].type
) {
39778 case SWIG_PY_POINTER
:
39779 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
39781 case SWIG_PY_BINARY
:
39782 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
39789 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
39795 /* -----------------------------------------------------------------------------*/
39796 /* Fix SwigMethods to carry the callback ptrs when needed */
39797 /* -----------------------------------------------------------------------------*/
39800 SWIG_Python_FixMethods(PyMethodDef
*methods
,
39801 swig_const_info
*const_table
,
39802 swig_type_info
**types
,
39803 swig_type_info
**types_initial
) {
39805 for (i
= 0; methods
[i
].ml_name
; ++i
) {
39806 const char *c
= methods
[i
].ml_doc
;
39807 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
39809 swig_const_info
*ci
= 0;
39810 const char *name
= c
+ 10;
39811 for (j
= 0; const_table
[j
].type
; ++j
) {
39812 if (strncmp(const_table
[j
].name
, name
,
39813 strlen(const_table
[j
].name
)) == 0) {
39814 ci
= &(const_table
[j
]);
39819 size_t shift
= (ci
->ptype
) - types
;
39820 swig_type_info
*ty
= types_initial
[shift
];
39821 size_t ldoc
= (c
- methods
[i
].ml_doc
);
39822 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
39823 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
39826 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
39828 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
39830 strncpy(buff
, "swig_ptr: ", 10);
39832 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
39833 methods
[i
].ml_doc
= ndoc
;
39845 /* -----------------------------------------------------------------------------*
39846 * Partial Init method
39847 * -----------------------------------------------------------------------------*/
39852 SWIGEXPORT
void SWIG_init(void) {
39855 /* Fix SwigMethods to carry the callback ptrs when needed */
39856 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
39858 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
39859 d
= PyModule_GetDict(m
);
39861 SWIG_InitializeModule(0);
39862 SWIG_InstallConstants(d
,swig_const_table
);
39865 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
39866 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
39867 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
39868 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
39869 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
39870 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
39871 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
39872 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
39873 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
39874 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
39875 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
39876 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
39877 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
39878 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
39879 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
39880 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
39881 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
39882 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
39883 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
39884 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
39885 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
39886 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
39887 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
39888 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
39889 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
39890 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
39891 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
39892 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
39893 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
39894 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
39895 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
39896 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
39897 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
39898 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
39899 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
39900 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
39901 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
39902 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
39903 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
39904 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
39905 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
39906 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
39907 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
39908 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
39909 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
39910 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
39911 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
39912 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
39913 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
39914 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
39915 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
39916 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
39917 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
39918 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
39919 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
39920 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
39921 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
39922 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
39923 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
39924 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
39925 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
39926 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
39927 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
39928 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
39929 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
39930 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
39931 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
39932 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
39933 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
39934 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
39935 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
39936 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
39937 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
39938 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
39939 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
39940 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
39941 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
39942 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
39943 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
39944 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
39945 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
39946 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
39947 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
39948 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
39949 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
39950 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
39951 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
39952 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
39953 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
39954 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
39955 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
39956 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
39957 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
39958 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
39959 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
39960 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
39961 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
39962 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
39963 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
39964 SWIG_Python_SetConstant(d
, "OS_UNKNOWN",SWIG_From_int(static_cast< int >(wxOS_UNKNOWN
)));
39965 SWIG_Python_SetConstant(d
, "OS_MAC_OS",SWIG_From_int(static_cast< int >(wxOS_MAC_OS
)));
39966 SWIG_Python_SetConstant(d
, "OS_MAC_OSX_DARWIN",SWIG_From_int(static_cast< int >(wxOS_MAC_OSX_DARWIN
)));
39967 SWIG_Python_SetConstant(d
, "OS_MAC",SWIG_From_int(static_cast< int >(wxOS_MAC
)));
39968 SWIG_Python_SetConstant(d
, "OS_WINDOWS_9X",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_9X
)));
39969 SWIG_Python_SetConstant(d
, "OS_WINDOWS_NT",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_NT
)));
39970 SWIG_Python_SetConstant(d
, "OS_WINDOWS_MICRO",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_MICRO
)));
39971 SWIG_Python_SetConstant(d
, "OS_WINDOWS_CE",SWIG_From_int(static_cast< int >(wxOS_WINDOWS_CE
)));
39972 SWIG_Python_SetConstant(d
, "OS_WINDOWS",SWIG_From_int(static_cast< int >(wxOS_WINDOWS
)));
39973 SWIG_Python_SetConstant(d
, "OS_UNIX_LINUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_LINUX
)));
39974 SWIG_Python_SetConstant(d
, "OS_UNIX_FREEBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_FREEBSD
)));
39975 SWIG_Python_SetConstant(d
, "OS_UNIX_OPENBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_OPENBSD
)));
39976 SWIG_Python_SetConstant(d
, "OS_UNIX_NETBSD",SWIG_From_int(static_cast< int >(wxOS_UNIX_NETBSD
)));
39977 SWIG_Python_SetConstant(d
, "OS_UNIX_SOLARIS",SWIG_From_int(static_cast< int >(wxOS_UNIX_SOLARIS
)));
39978 SWIG_Python_SetConstant(d
, "OS_UNIX_AIX",SWIG_From_int(static_cast< int >(wxOS_UNIX_AIX
)));
39979 SWIG_Python_SetConstant(d
, "OS_UNIX_HPUX",SWIG_From_int(static_cast< int >(wxOS_UNIX_HPUX
)));
39980 SWIG_Python_SetConstant(d
, "OS_UNIX",SWIG_From_int(static_cast< int >(wxOS_UNIX
)));
39981 SWIG_Python_SetConstant(d
, "OS_DOS",SWIG_From_int(static_cast< int >(wxOS_DOS
)));
39982 SWIG_Python_SetConstant(d
, "OS_OS2",SWIG_From_int(static_cast< int >(wxOS_OS2
)));
39983 SWIG_Python_SetConstant(d
, "PORT_UNKNOWN",SWIG_From_int(static_cast< int >(wxPORT_UNKNOWN
)));
39984 SWIG_Python_SetConstant(d
, "PORT_BASE",SWIG_From_int(static_cast< int >(wxPORT_BASE
)));
39985 SWIG_Python_SetConstant(d
, "PORT_MSW",SWIG_From_int(static_cast< int >(wxPORT_MSW
)));
39986 SWIG_Python_SetConstant(d
, "PORT_MOTIF",SWIG_From_int(static_cast< int >(wxPORT_MOTIF
)));
39987 SWIG_Python_SetConstant(d
, "PORT_GTK",SWIG_From_int(static_cast< int >(wxPORT_GTK
)));
39988 SWIG_Python_SetConstant(d
, "PORT_MGL",SWIG_From_int(static_cast< int >(wxPORT_MGL
)));
39989 SWIG_Python_SetConstant(d
, "PORT_X11",SWIG_From_int(static_cast< int >(wxPORT_X11
)));
39990 SWIG_Python_SetConstant(d
, "PORT_PM",SWIG_From_int(static_cast< int >(wxPORT_PM
)));
39991 SWIG_Python_SetConstant(d
, "PORT_OS2",SWIG_From_int(static_cast< int >(wxPORT_OS2
)));
39992 SWIG_Python_SetConstant(d
, "PORT_MAC",SWIG_From_int(static_cast< int >(wxPORT_MAC
)));
39993 SWIG_Python_SetConstant(d
, "PORT_COCOA",SWIG_From_int(static_cast< int >(wxPORT_COCOA
)));
39994 SWIG_Python_SetConstant(d
, "PORT_WINCE",SWIG_From_int(static_cast< int >(wxPORT_WINCE
)));
39995 SWIG_Python_SetConstant(d
, "PORT_PALMOS",SWIG_From_int(static_cast< int >(wxPORT_PALMOS
)));
39996 SWIG_Python_SetConstant(d
, "PORT_DFB",SWIG_From_int(static_cast< int >(wxPORT_DFB
)));
39997 SWIG_Python_SetConstant(d
, "ARCH_INVALID",SWIG_From_int(static_cast< int >(wxARCH_INVALID
)));
39998 SWIG_Python_SetConstant(d
, "ARCH_32",SWIG_From_int(static_cast< int >(wxARCH_32
)));
39999 SWIG_Python_SetConstant(d
, "ARCH_64",SWIG_From_int(static_cast< int >(wxARCH_64
)));
40000 SWIG_Python_SetConstant(d
, "ARCH_MAX",SWIG_From_int(static_cast< int >(wxARCH_MAX
)));
40001 SWIG_Python_SetConstant(d
, "ENDIAN_INVALID",SWIG_From_int(static_cast< int >(wxENDIAN_INVALID
)));
40002 SWIG_Python_SetConstant(d
, "ENDIAN_BIG",SWIG_From_int(static_cast< int >(wxENDIAN_BIG
)));
40003 SWIG_Python_SetConstant(d
, "ENDIAN_LITTLE",SWIG_From_int(static_cast< int >(wxENDIAN_LITTLE
)));
40004 SWIG_Python_SetConstant(d
, "ENDIAN_PDP",SWIG_From_int(static_cast< int >(wxENDIAN_PDP
)));
40005 SWIG_Python_SetConstant(d
, "ENDIAN_MAX",SWIG_From_int(static_cast< int >(wxENDIAN_MAX
)));
40006 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
40007 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
40008 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
40010 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
40012 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
40013 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
40014 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
40015 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
40016 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
40017 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
40018 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
40019 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
40020 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
40021 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
40022 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
40023 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
40024 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
40025 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
40026 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
40027 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
40028 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
40029 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
40030 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
40031 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
40032 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
40033 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
40034 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
40035 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
40036 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
40037 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
40038 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
40039 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
40040 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
40041 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
40042 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
40043 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
40044 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
40045 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
40046 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
40047 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
40048 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
40049 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
40050 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
40051 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
40052 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
40053 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
40054 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
40055 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
40056 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
40057 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
40058 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
40059 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
40060 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
40061 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
40062 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
40063 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
40064 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
40066 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
40068 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
40069 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
40070 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
40071 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
40072 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
40073 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
40074 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
40075 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
40076 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
40077 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
40078 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
40079 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
40080 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
40081 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
40082 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
40083 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
40084 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
40085 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
40086 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
40087 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
40088 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
40089 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
40090 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
40091 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
40092 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
40093 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
40094 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
40095 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
40096 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
40097 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
40098 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
40099 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
40100 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
40101 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
40102 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
40103 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
40104 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
40105 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
40106 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
40107 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
40108 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
40109 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
40110 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
40111 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
40112 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
40113 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
40114 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
40115 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
40116 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
40117 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
40118 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
40119 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
40120 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
40121 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
40122 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
40123 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
40124 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
40125 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
40126 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
40127 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
40128 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
40129 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
40130 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
40131 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
40132 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
40133 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
40134 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
40135 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
40136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
40137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
40138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
40139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
40140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
40141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
40142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
40143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
40145 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
40147 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
40148 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
40149 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
40150 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
40151 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
40152 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
40153 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
40154 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
40155 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
40156 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
40157 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
40158 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
40159 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
40160 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
40161 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
40162 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
40163 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
40164 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
40165 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
40166 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
40167 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
40168 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
40169 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
40170 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
40171 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
40172 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
40173 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
40174 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
40175 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
40176 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
40177 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
40178 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
40179 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
40180 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
40181 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
40182 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
40183 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
40184 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
40185 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
40186 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
40187 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
40188 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
40189 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
40190 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
40191 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
40192 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
40193 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
40194 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
40195 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
40196 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
40197 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
40198 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
40199 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
40200 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
40201 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
40202 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
40203 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
40204 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
40205 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
40206 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
40207 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
40208 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
40209 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
40210 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
40211 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
40212 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
40213 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
40214 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
40215 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
40216 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
40217 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
40218 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
40219 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
40220 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
40221 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
40222 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
40223 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
40224 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
40225 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
40226 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
40227 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
40228 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
40229 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
40230 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
40231 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
40232 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
40233 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
40234 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
40235 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
40236 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
40237 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
40238 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
40239 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
40240 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
40241 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
40242 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
40243 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
40244 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
40245 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
40246 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
40247 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
40248 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
40249 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
40250 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
40251 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
40252 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
40253 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
40254 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
40255 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
40256 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
40257 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
40258 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
40259 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
40260 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
40261 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
40262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
40263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
40264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
40265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
40266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
40267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
40268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
40269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
40270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
40271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
40272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
40273 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
40274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
40275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
40276 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
40277 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
40278 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
40279 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
40280 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
40281 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
40282 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
40283 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
40284 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
40285 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
40286 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
40287 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
40288 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
40289 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
40290 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
40291 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
40292 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
40293 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
40294 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
40295 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
40296 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
40297 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
40298 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
40299 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
40300 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
40301 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
40302 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
40303 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
40304 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
40305 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
40306 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
40307 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
40308 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
40309 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
40310 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
40311 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
40312 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
40313 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
40314 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
40315 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
40316 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
40317 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
40318 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
40319 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
40320 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
40321 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
40322 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
40323 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
40324 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
40325 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
40326 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
40327 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
40328 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
40329 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
40330 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
40331 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
40332 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
40333 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
40334 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
40335 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
40336 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
40337 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
40338 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
40339 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
40340 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
40341 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
40342 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
40343 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
40344 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
40345 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
40346 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
40348 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
40349 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
40350 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
40351 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
40353 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
40354 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
40355 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
40356 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
40357 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
40358 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
40359 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
40360 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
40361 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
40362 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
40363 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
40364 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
40365 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
40366 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
40367 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
40368 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));