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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_void swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2476 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2477 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2478 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxCaret swig_types[18]
2481 #define SWIGTYPE_p_wxChar swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxClipboard swig_types[21]
2484 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
2486 #define SWIGTYPE_p_wxColour swig_types[24]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
2488 #define SWIGTYPE_p_wxConfig swig_types[26]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[27]
2490 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2492 #define SWIGTYPE_p_wxControl swig_types[30]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2494 #define SWIGTYPE_p_wxCursor swig_types[32]
2495 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
2496 #define SWIGTYPE_p_wxDC swig_types[34]
2497 #define SWIGTYPE_p_wxDataFormat swig_types[35]
2498 #define SWIGTYPE_p_wxDataObject swig_types[36]
2499 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDateSpan swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
2505 #define SWIGTYPE_p_wxDisplay swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileConfig swig_types[51]
2514 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
2515 #define SWIGTYPE_p_wxFileHistory swig_types[53]
2516 #define SWIGTYPE_p_wxFileSystem swig_types[54]
2517 #define SWIGTYPE_p_wxFileType swig_types[55]
2518 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFrame swig_types[60]
2523 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2525 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
2526 #define SWIGTYPE_p_wxGridSizer swig_types[64]
2527 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2528 #define SWIGTYPE_p_wxIcon swig_types[66]
2529 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2530 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2531 #define SWIGTYPE_p_wxImage swig_types[69]
2532 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxJoystick swig_types[74]
2537 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
2538 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKillError swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxLog swig_types[79]
2542 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
2543 #define SWIGTYPE_p_wxLogChain swig_types[81]
2544 #define SWIGTYPE_p_wxLogGui swig_types[82]
2545 #define SWIGTYPE_p_wxLogNull swig_types[83]
2546 #define SWIGTYPE_p_wxLogStderr swig_types[84]
2547 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
2548 #define SWIGTYPE_p_wxLogWindow swig_types[86]
2549 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMemorySize swig_types[88]
2551 #define SWIGTYPE_p_wxMenu swig_types[89]
2552 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2553 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2555 #define SWIGTYPE_p_wxMetafileDataObject swig_types[93]
2556 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
2558 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMouseState swig_types[97]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
2562 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
2563 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxObject swig_types[103]
2566 #define SWIGTYPE_p_wxOutputStream swig_types[104]
2567 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
2568 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPaperSize swig_types[110]
2573 #define SWIGTYPE_p_wxPoint swig_types[111]
2574 #define SWIGTYPE_p_wxProcessEvent swig_types[112]
2575 #define SWIGTYPE_p_wxPyApp swig_types[113]
2576 #define SWIGTYPE_p_wxPyArtProvider swig_types[114]
2577 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[115]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
2579 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[117]
2580 #define SWIGTYPE_p_wxPyDropSource swig_types[118]
2581 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
2582 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2583 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[121]
2584 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
2585 #define SWIGTYPE_p_wxPyLog swig_types[123]
2586 #define SWIGTYPE_p_wxPyProcess swig_types[124]
2587 #define SWIGTYPE_p_wxPySizer swig_types[125]
2588 #define SWIGTYPE_p_wxPyTextDataObject swig_types[126]
2589 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[127]
2590 #define SWIGTYPE_p_wxPyTimer swig_types[128]
2591 #define SWIGTYPE_p_wxPyTipProvider swig_types[129]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[130]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[131]
2594 #define SWIGTYPE_p_wxRect swig_types[132]
2595 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2596 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2598 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2599 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[137]
2600 #define SWIGTYPE_p_wxSize swig_types[138]
2601 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSizer swig_types[140]
2603 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2604 #define SWIGTYPE_p_wxSound swig_types[142]
2605 #define SWIGTYPE_p_wxStandardPaths swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2608 #define SWIGTYPE_p_wxStopWatch swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxSystemOptions swig_types[149]
2612 #define SWIGTYPE_p_wxSystemSettings swig_types[150]
2613 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2614 #define SWIGTYPE_p_wxTextCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxTextDataObject swig_types[153]
2616 #define SWIGTYPE_p_wxTimeSpan swig_types[154]
2617 #define SWIGTYPE_p_wxTimer swig_types[155]
2618 #define SWIGTYPE_p_wxTimerEvent swig_types[156]
2619 #define SWIGTYPE_p_wxTimerRunner swig_types[157]
2620 #define SWIGTYPE_p_wxTipProvider swig_types[158]
2621 #define SWIGTYPE_p_wxToolTip swig_types[159]
2622 #define SWIGTYPE_p_wxURLDataObject swig_types[160]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[161]
2624 #define SWIGTYPE_p_wxValidator swig_types[162]
2625 #define SWIGTYPE_p_wxVideoMode swig_types[163]
2626 #define SWIGTYPE_p_wxWindow swig_types[164]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[165]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[166]
2629 #define SWIGTYPE_p_wxWindowDisabler swig_types[167]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[168]
2631 static swig_type_info
*swig_types
[170];
2632 static swig_module_info swig_module
= {swig_types
, 169, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _misc_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_misc_
2658 #define SWIG_name "_misc_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732 #include "wx/wxPython/pyistream.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2738 #define SWIG_From_long PyInt_FromLong
2741 SWIGINTERNINLINE PyObject
*
2742 SWIG_From_int (int value
)
2744 return SWIG_From_long (value
);
2750 # define LLONG_MIN LONG_LONG_MIN
2753 # define LLONG_MAX LONG_LONG_MAX
2756 # define ULLONG_MAX ULONG_LONG_MAX
2761 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2763 if (PyNumber_Check(obj
)) {
2764 if (val
) *val
= PyInt_AsLong(obj
);
2767 return SWIG_TypeError
;
2772 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2775 int res
= SWIG_AsVal_long (obj
, &v
);
2776 if (SWIG_IsOK(res
)) {
2777 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2778 return SWIG_OverflowError
;
2780 if (val
) *val
= static_cast< int >(v
);
2786 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2788 #include <wx/stockitem.h>
2790 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2791 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2792 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2795 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2797 if (obj
== Py_True
) {
2798 if (val
) *val
= true;
2800 } else if (obj
== Py_False
) {
2801 if (val
) *val
= false;
2805 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2806 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2812 wxMemorySize
wxGetFreeMemory()
2813 { wxPyRaiseNotImplemented(); return 0; }
2817 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2820 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2821 return SWIG_TypeError
;
2824 *val
= (unsigned long)v
;
2829 SWIGINTERNINLINE PyObject
*
2830 SWIG_From_unsigned_SS_long (unsigned long value
)
2832 return (value
> LONG_MAX
) ?
2833 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2837 void* wxGetXDisplay()
2840 return wxGetDisplay();
2847 wxWindow
* FindWindowAtPointer() {
2849 return wxFindWindowAtPointer(unused
);
2853 void wxWakeUpMainThread() {}
2856 bool wxThread_IsMain() {
2857 #ifdef WXP_WITH_THREAD
2858 return wxThread::IsMain();
2864 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2868 #include <wx/snglinst.h>
2872 #include <wx/msw/private.h>
2873 #include <wx/dynload.h>
2878 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2889 // This one only partially works. Appears to be an undocumented
2890 // "standard" convention that not all widgets adhear to. For
2891 // example, for some widgets backgrounds or non-client areas may
2893 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2898 // This one works much better, nearly all widgets and their
2899 // children are captured correctly[**]. Prior to the big
2900 // background erase changes that Vadim did in 2004-2005 this
2901 // method failed badly on XP with Themes activated, most native
2902 // widgets draw only partially, if at all. Without themes it
2903 // worked just like on Win2k. After those changes this method
2906 // ** For example the radio buttons in a wxRadioBox are not its
2907 // children by default, but you can capture it via the panel
2908 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2909 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2910 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2911 PRF_ERASEBKGND
| PRF_OWNED
);
2917 // This one is only defined in the latest SDK and is only
2918 // available on XP. MSDN says it is similar to sending WM_PRINT
2919 // so I expect that it will work similar to the above. Since it
2920 // is avaialble only on XP, it can't be compiled like this and
2921 // will have to be loaded dynamically.
2922 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2927 // Use PrintWindow if available, or fallback to WM_PRINT
2928 // otherwise. Unfortunately using PrintWindow is even worse than
2929 // WM_PRINT. For most native widgets nothing is drawn to the dc
2930 // at all, with or without Themes.
2931 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2932 static bool s_triedToLoad
= false;
2933 static PrintWindow_t pfnPrintWindow
= NULL
;
2934 if ( !s_triedToLoad
)
2937 s_triedToLoad
= true;
2938 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2939 if ( dllUser32
.IsLoaded() )
2941 wxLogNull nolog
; // Don't report errors here
2942 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2947 //printf("Using PrintWindow\n");
2948 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2952 //printf("Using WM_PRINT\n");
2953 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2954 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2955 PRF_ERASEBKGND
| PRF_OWNED
);
2966 #include <wx/tipdlg.h>
2969 SWIGINTERNINLINE PyObject
*
2970 SWIG_From_size_t (size_t value
)
2972 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2976 class wxPyTipProvider
: public wxTipProvider
{
2978 wxPyTipProvider(size_t currentTip
)
2979 : wxTipProvider(currentTip
) {}
2981 DEC_PYCALLBACK_STRING__pure(GetTip
);
2982 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2986 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2987 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2990 SWIGINTERNINLINE
int
2991 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2994 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2995 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3000 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3002 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3004 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3005 : wxTimer(owner
, id
)
3012 SWIGINTERN swig_type_info
*
3013 SWIG_pchar_descriptor()
3015 static int init
= 0;
3016 static swig_type_info
* info
= 0;
3018 info
= SWIG_TypeQuery("_p_char");
3025 SWIGINTERNINLINE PyObject
*
3026 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3029 if (size
> INT_MAX
) {
3030 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3031 return pchar_descriptor
?
3032 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3034 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3037 return SWIG_Py_Void();
3042 SWIGINTERNINLINE PyObject
*
3043 SWIG_FromCharPtr(const char *cptr
)
3045 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3050 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3053 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3054 if (SWIG_IsOK(res
)) {
3055 if ((v
> UINT_MAX
)) {
3056 return SWIG_OverflowError
;
3058 if (val
) *val
= static_cast< unsigned int >(v
);
3064 SWIGINTERN wxString
wxLog_TimeStamp(){
3066 wxLog::TimeStamp(&msg
);
3069 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3070 // Make some wrappers that double any % signs so they are 'escaped'
3071 void wxPyLogFatalError(const wxString
& msg
)
3074 m
.Replace(wxT("%"), wxT("%%"));
3078 void wxPyLogError(const wxString
& msg
)
3081 m
.Replace(wxT("%"), wxT("%%"));
3085 void wxPyLogWarning(const wxString
& msg
)
3088 m
.Replace(wxT("%"), wxT("%%"));
3092 void wxPyLogMessage(const wxString
& msg
)
3095 m
.Replace(wxT("%"), wxT("%%"));
3099 void wxPyLogInfo(const wxString
& msg
)
3102 m
.Replace(wxT("%"), wxT("%%"));
3106 void wxPyLogDebug(const wxString
& msg
)
3109 m
.Replace(wxT("%"), wxT("%%"));
3113 void wxPyLogVerbose(const wxString
& msg
)
3116 m
.Replace(wxT("%"), wxT("%%"));
3120 void wxPyLogStatus(const wxString
& msg
)
3123 m
.Replace(wxT("%"), wxT("%%"));
3127 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3130 m
.Replace(wxT("%"), wxT("%%"));
3131 wxLogStatus(pFrame
, m
);
3134 void wxPyLogSysError(const wxString
& msg
)
3137 m
.Replace(wxT("%"), wxT("%%"));
3141 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3144 m
.Replace(wxT("%"), wxT("%%"));
3145 wxLogGeneric(level
, m
);
3148 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3151 m
.Replace(wxT("%"), wxT("%%"));
3152 wxLogTrace(mask
, m
);
3155 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3158 m
.Replace(wxT("%"), wxT("%%"));
3159 wxLogTrace(mask
, m
);
3164 // A wxLog class that can be derived from in wxPython
3165 class wxPyLog
: public wxLog
{
3167 wxPyLog() : wxLog() {}
3169 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3171 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3172 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3173 PyObject
* s
= wx2PyString(szString
);
3174 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3177 wxPyEndBlockThreads(blocked
);
3179 wxLog::DoLog(level
, szString
, t
);
3182 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3186 PyObject
* s
= wx2PyString(szString
);
3187 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3190 wxPyEndBlockThreads(blocked
);
3192 wxLog::DoLogString(szString
, t
);
3195 DEC_PYCALLBACK_VOID_(Flush
);
3198 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3203 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3206 #include <wx/joystick.h>
3209 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3210 // A C++ stub class for wxJoystick for platforms that don't have it.
3211 class wxJoystick
: public wxObject
{
3213 wxJoystick(int joystick
= wxJOYSTICK1
) {
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyErr_SetString(PyExc_NotImplementedError
,
3216 "wxJoystick is not available on this platform.");
3217 wxPyEndBlockThreads(blocked
);
3219 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3220 int GetZPosition() { return -1; }
3221 int GetButtonState() { return -1; }
3222 int GetPOVPosition() { return -1; }
3223 int GetPOVCTSPosition() { return -1; }
3224 int GetRudderPosition() { return -1; }
3225 int GetUPosition() { return -1; }
3226 int GetVPosition() { return -1; }
3227 int GetMovementThreshold() { return -1; }
3228 void SetMovementThreshold(int threshold
) {}
3230 bool IsOk(void) { return false; }
3231 int GetNumberJoysticks() { return -1; }
3232 int GetManufacturerId() { return -1; }
3233 int GetProductId() { return -1; }
3234 wxString
GetProductName() { return wxEmptyString
; }
3235 int GetXMin() { return -1; }
3236 int GetYMin() { return -1; }
3237 int GetZMin() { return -1; }
3238 int GetXMax() { return -1; }
3239 int GetYMax() { return -1; }
3240 int GetZMax() { return -1; }
3241 int GetNumberButtons() { return -1; }
3242 int GetNumberAxes() { return -1; }
3243 int GetMaxButtons() { return -1; }
3244 int GetMaxAxes() { return -1; }
3245 int GetPollingMin() { return -1; }
3246 int GetPollingMax() { return -1; }
3247 int GetRudderMin() { return -1; }
3248 int GetRudderMax() { return -1; }
3249 int GetUMin() { return -1; }
3250 int GetUMax() { return -1; }
3251 int GetVMin() { return -1; }
3252 int GetVMax() { return -1; }
3254 bool HasRudder() { return false; }
3255 bool HasZ() { return false; }
3256 bool HasU() { return false; }
3257 bool HasV() { return false; }
3258 bool HasPOV() { return false; }
3259 bool HasPOV4Dir() { return false; }
3260 bool HasPOVCTS() { return false; }
3262 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3263 bool ReleaseCapture() { return false; }
3268 #include <wx/sound.h>
3272 // A C++ stub class for wxWave for platforms that don't have it.
3273 class wxSound
: public wxObject
3277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3278 PyErr_SetString(PyExc_NotImplementedError
,
3279 "wxSound is not available on this platform.");
3280 wxPyEndBlockThreads(blocked
);
3282 wxSound(const wxString
&/*, bool*/) {
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3288 wxSound(int, const wxByte
*) {
3289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3290 PyErr_SetString(PyExc_NotImplementedError
,
3291 "wxSound is not available on this platform.");
3292 wxPyEndBlockThreads(blocked
);
3297 bool Create(const wxString
&/*, bool*/) { return false; }
3298 bool Create(int, const wxByte
*) { return false; };
3299 bool IsOk() { return false; };
3300 bool Play(unsigned) const { return false; }
3301 static bool Play(const wxString
&, unsigned) { return false; }
3302 static void Stop() {}
3307 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3308 if (fileName
.Length() == 0)
3311 return new wxSound(fileName
);
3313 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3314 unsigned char* buffer
; int size
;
3315 wxSound
*sound
= NULL
;
3317 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3318 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3320 sound
= new wxSound(size
, buffer
);
3322 wxPyEndBlockThreads(blocked
);
3325 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3327 unsigned char* buffer
;
3331 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3332 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3334 rv
= self
->Create(size
, buffer
);
3336 wxPyEndBlockThreads(blocked
);
3339 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3340 PyErr_SetString(PyExc_NotImplementedError
,
3341 "Create from data is not available on this platform.");
3342 wxPyEndBlockThreads(blocked
);
3347 #include <wx/mimetype.h>
3349 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3351 if (self
->GetMimeType(&str
))
3352 return wx2PyString(str
);
3356 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3358 if (self
->GetMimeTypes(arr
))
3359 return wxArrayString2PyList_helper(arr
);
3363 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3365 if (self
->GetExtensions(arr
))
3366 return wxArrayString2PyList_helper(arr
);
3370 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3372 if (self
->GetIcon(&loc
))
3373 return new wxIcon(loc
);
3377 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3379 if (self
->GetIcon(&loc
)) {
3380 wxString iconFile
= loc
.GetFileName();
3385 // Make a tuple and put the values in it
3386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3387 PyObject
* tuple
= PyTuple_New(3);
3388 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3389 wxT("wxIcon"), true));
3390 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3391 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3392 wxPyEndBlockThreads(blocked
);
3398 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3400 if (self
->GetDescription(&str
))
3401 return wx2PyString(str
);
3405 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3407 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3408 return wx2PyString(str
);
3412 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3415 return wx2PyString(str
);
3419 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3420 wxArrayString verbs
;
3421 wxArrayString commands
;
3422 if (self
->GetAllCommands(&verbs
, &commands
,
3423 wxFileType::MessageParameters(filename
, mimetype
))) {
3424 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3425 PyObject
* tuple
= PyTuple_New(2);
3426 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3427 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3428 wxPyEndBlockThreads(blocked
);
3434 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3435 return wxFileType::ExpandCommand(command
,
3436 wxFileType::MessageParameters(filename
, mimetype
));
3438 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3440 self
->EnumAllFileTypes(arr
);
3441 return wxArrayString2PyList_helper(arr
);
3444 #include <wx/artprov.h>
3446 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3447 static const wxString
wxPyART_MENU(wxART_MENU
);
3448 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3449 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3450 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3451 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3452 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3453 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3454 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3455 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3456 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3457 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3458 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3459 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3460 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3461 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3462 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3463 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3464 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3465 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3466 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3467 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3468 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3469 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3470 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3471 static const wxString
wxPyART_HELP(wxART_HELP
);
3472 static const wxString
wxPyART_TIP(wxART_TIP
);
3473 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3474 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3475 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3476 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3477 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3478 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3479 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3480 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3481 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3482 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3483 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3484 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3485 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3486 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3487 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3488 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3489 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3490 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3491 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3492 static const wxString
wxPyART_COPY(wxART_COPY
);
3493 static const wxString
wxPyART_CUT(wxART_CUT
);
3494 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3495 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3496 static const wxString
wxPyART_NEW(wxART_NEW
);
3497 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3498 static const wxString
wxPyART_REDO(wxART_REDO
);
3499 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3500 static const wxString
wxPyART_FIND(wxART_FIND
);
3501 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3502 // Python aware wxArtProvider
3503 class wxPyArtProvider
: public wxArtProvider
{
3506 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3507 const wxArtClient
& client
,
3508 const wxSize
& size
) {
3509 wxBitmap rval
= wxNullBitmap
;
3510 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3511 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3512 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3516 s1
= wx2PyString(id
);
3517 s2
= wx2PyString(client
);
3518 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3523 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3528 wxPyEndBlockThreads(blocked
);
3535 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3539 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3540 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3541 PyObject
* ret
= PyTuple_New(3);
3543 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3544 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3545 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3547 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3556 cont
= self
->GetFirstGroup(value
, index
);
3557 return __EnumerationHelper(cont
, value
, index
);
3559 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3563 cont
= self
->GetNextGroup(value
, index
);
3564 return __EnumerationHelper(cont
, value
, index
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3571 cont
= self
->GetFirstEntry(value
, index
);
3572 return __EnumerationHelper(cont
, value
, index
);
3574 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3578 cont
= self
->GetNextEntry(value
, index
);
3579 return __EnumerationHelper(cont
, value
, index
);
3581 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3583 self
->Read(key
, &rv
, defaultVal
);
3588 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3590 if (PyNumber_Check(obj
)) {
3591 if (val
) *val
= PyFloat_AsDouble(obj
);
3594 return SWIG_TypeError
;
3597 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3599 self
->Read(key
, &rv
, defaultVal
);
3603 #define SWIG_From_double PyFloat_FromDouble
3605 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3607 self
->Read(key
, &rv
, defaultVal
);
3611 #include <wx/datetime.h>
3613 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3614 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3616 #define LOCAL_TZ wxDateTime::Local
3618 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3621 wxDateTime::GetAmPmStrings(&am
, &pm
);
3622 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3623 PyObject
* tup
= PyTuple_New(2);
3624 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3625 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3626 wxPyEndBlockThreads(blocked
);
3630 SWIGINTERNINLINE PyObject
*
3631 SWIG_From_unsigned_SS_int (unsigned int value
)
3633 return SWIG_From_unsigned_SS_long (value
);
3636 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3637 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3638 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3639 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3641 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3642 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3643 return (*self
< *other
);
3645 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3646 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3647 return (*self
<= *other
);
3649 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3650 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3651 return (*self
> *other
);
3653 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3654 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3655 return (*self
>= *other
);
3657 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3659 return (*self
== *other
);
3661 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3662 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3663 return (*self
!= *other
);
3665 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3667 const wxChar
* _date
= date
;
3668 rv
= self
->ParseRfc822Date(_date
);
3669 if (rv
== NULL
) return -1;
3672 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3674 const wxChar
* _date
= date
;
3675 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3676 if (rv
== NULL
) return -1;
3679 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3681 const wxChar
* _datetime
= datetime
;
3682 rv
= self
->ParseDateTime(_datetime
);
3683 if (rv
== NULL
) return -1;
3684 return rv
- _datetime
;
3686 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3688 const wxChar
* _date
= date
;
3689 rv
= self
->ParseDate(_date
);
3690 if (rv
== NULL
) return -1;
3693 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3695 const wxChar
* _time
= time
;
3696 rv
= self
->ParseTime(_time
);
3697 if (rv
== NULL
) return -1;
3700 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3704 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3706 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3707 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3708 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3709 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3710 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3714 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3715 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3717 #include <wx/dataobj.h>
3719 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3720 size_t count
= self
->GetFormatCount(dir
);
3721 wxDataFormat
* formats
= new wxDataFormat
[count
];
3722 self
->GetAllFormats(formats
, dir
);
3724 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3725 PyObject
* list
= PyList_New(count
);
3726 for (size_t i
=0; i
<count
; i
++) {
3727 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3728 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3729 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3731 wxPyEndBlockThreads(blocked
);
3735 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3736 PyObject
* rval
= NULL
;
3737 size_t size
= self
->GetDataSize(format
);
3738 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3740 char* buf
= new char[size
];
3741 if (self
->GetDataHere(format
, buf
))
3742 rval
= PyString_FromStringAndSize(buf
, size
);
3749 wxPyEndBlockThreads(blocked
);
3752 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3755 if (PyString_Check(data
)) {
3756 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3759 // raise a TypeError if not a string
3760 PyErr_SetString(PyExc_TypeError
, "String expected.");
3763 wxPyEndBlockThreads(blocked
);
3766 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3767 PyObject
* rval
= NULL
;
3768 size_t size
= self
->GetDataSize();
3769 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 char* buf
= new char[size
];
3772 if (self
->GetDataHere(buf
))
3773 rval
= PyString_FromStringAndSize(buf
, size
);
3780 wxPyEndBlockThreads(blocked
);
3783 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3786 if (PyString_Check(data
)) {
3787 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3790 // raise a TypeError if not a string
3791 PyErr_SetString(PyExc_TypeError
, "String expected.");
3794 wxPyEndBlockThreads(blocked
);
3797 // Create a new class for wxPython to use
3798 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3800 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3801 : wxDataObjectSimple(format
) {}
3803 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3804 bool GetDataHere(void *buf
) const;
3805 bool SetData(size_t len
, const void *buf
) const;
3809 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3811 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3812 // We need to get the data for this object and write it to buf. I think
3813 // the best way to do this for wxPython is to have the Python method
3814 // return either a string or None and then act appropriately with the
3818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3819 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3821 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3823 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3825 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3829 wxPyEndBlockThreads(blocked
);
3833 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3834 // For this one we simply need to make a string from buf and len
3835 // and send it to the Python method.
3837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3838 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3839 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3840 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3843 wxPyEndBlockThreads(blocked
);
3847 // Create a new class for wxPython to use
3848 class wxPyTextDataObject
: public wxTextDataObject
{
3850 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3851 : wxTextDataObject(text
) {}
3853 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3854 DEC_PYCALLBACK_STRING__const(GetText
);
3855 DEC_PYCALLBACK__STRING(SetText
);
3859 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3860 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3861 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3864 // Create a new class for wxPython to use
3865 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3867 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3868 : wxBitmapDataObject(bitmap
) {}
3870 wxBitmap
GetBitmap() const;
3871 void SetBitmap(const wxBitmap
& bitmap
);
3875 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3876 wxBitmap
* rval
= &wxNullBitmap
;
3877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3878 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3881 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3883 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3888 wxPyEndBlockThreads(blocked
);
3892 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3895 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3896 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3899 wxPyEndBlockThreads(blocked
);
3902 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3903 return new wxCustomDataObject(wxDataFormat(formatName
));
3905 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3908 if (PyString_Check(data
)) {
3909 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3912 // raise a TypeError if not a string
3913 PyErr_SetString(PyExc_TypeError
, "String expected.");
3916 wxPyEndBlockThreads(blocked
);
3919 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3921 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3922 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3923 wxPyEndBlockThreads(blocked
);
3927 class wxMetafileDataObject
: public wxDataObjectSimple
3930 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3934 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3937 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3938 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3939 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3940 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3941 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3944 class wxPyTextDropTarget
: public wxTextDropTarget
{
3946 wxPyTextDropTarget() {}
3948 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3950 DEC_PYCALLBACK__(OnLeave
);
3951 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3952 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3953 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3954 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3959 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3960 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3961 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3962 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3963 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3964 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3968 class wxPyFileDropTarget
: public wxFileDropTarget
{
3970 wxPyFileDropTarget() {}
3972 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3974 DEC_PYCALLBACK__(OnLeave
);
3975 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3976 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3977 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3978 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3983 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3984 const wxArrayString
& filenames
) {
3986 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3987 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3988 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3989 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3992 wxPyEndBlockThreads(blocked
);
3998 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3999 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4000 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4001 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4002 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4007 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4009 #include <wx/display.h>
4011 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4012 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4015 const wxVideoMode wxDefaultVideoMode
;
4018 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4020 PyObject
* pyList
= NULL
;
4021 wxArrayVideoModes arr
= self
->GetModes(mode
);
4022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4023 pyList
= PyList_New(0);
4024 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4026 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4027 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4028 PyList_Append(pyList
, pyObj
);
4031 wxPyEndBlockThreads(blocked
);
4034 wxPyRaiseNotImplemented();
4038 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4040 return self
->GetCurrentMode();
4042 wxPyRaiseNotImplemented();
4043 return wxDefaultVideoMode
;
4046 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4048 return self
->ChangeMode(mode
);
4050 wxPyRaiseNotImplemented();
4054 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4058 wxPyRaiseNotImplemented();
4062 #include <wx/stdpaths.h>
4064 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4065 return (wxStandardPaths
*) &wxStandardPaths::Get();
4070 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
*resultobj
= 0;
4072 wxSystemColour arg1
;
4076 PyObject
* obj0
= 0 ;
4077 char * kwnames
[] = {
4078 (char *) "index", NULL
4081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4083 if (!SWIG_IsOK(ecode1
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4086 arg1
= static_cast< wxSystemColour
>(val1
);
4088 if (!wxPyCheckForApp()) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= wxSystemSettings::GetColour(arg1
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4101 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
= 0;
4107 PyObject
* obj0
= 0 ;
4108 char * kwnames
[] = {
4109 (char *) "index", NULL
4112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4114 if (!SWIG_IsOK(ecode1
)) {
4115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4117 arg1
= static_cast< wxSystemFont
>(val1
);
4119 if (!wxPyCheckForApp()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= wxSystemSettings::GetFont(arg1
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4125 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4132 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
= 0;
4134 wxSystemMetric arg1
;
4135 wxWindow
*arg2
= (wxWindow
*) NULL
;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 char * kwnames
[] = {
4144 (char *) "index",(char *) "win", NULL
4147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4148 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4149 if (!SWIG_IsOK(ecode1
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4152 arg1
= static_cast< wxSystemMetric
>(val1
);
4154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4155 if (!SWIG_IsOK(res2
)) {
4156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4161 if (!wxPyCheckForApp()) SWIG_fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4163 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= SWIG_From_int(static_cast< int >(result
));
4174 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
= 0;
4176 wxSystemFeature arg1
;
4180 PyObject
* obj0
= 0 ;
4181 char * kwnames
[] = {
4182 (char *) "index", NULL
4185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4187 if (!SWIG_IsOK(ecode1
)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4190 arg1
= static_cast< wxSystemFeature
>(val1
);
4192 if (!wxPyCheckForApp()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4207 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4208 PyObject
*resultobj
= 0;
4209 wxSystemScreenType result
;
4211 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4213 if (!wxPyCheckForApp()) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_From_int(static_cast< int >(result
));
4226 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
= 0;
4228 wxSystemScreenType arg1
;
4231 PyObject
* obj0
= 0 ;
4232 char * kwnames
[] = {
4233 (char *) "screen", NULL
4236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4238 if (!SWIG_IsOK(ecode1
)) {
4239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4241 arg1
= static_cast< wxSystemScreenType
>(val1
);
4243 if (!wxPyCheckForApp()) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 wxSystemSettings::SetScreenType(arg1
);
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4249 resultobj
= SWIG_Py_Void();
4256 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4259 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4260 return SWIG_Py_Void();
4263 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4264 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4269 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4270 PyObject
*pyobj
= 0;
4274 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4276 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4283 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4284 PyObject
*resultobj
= 0;
4285 wxSystemOptions
*result
= 0 ;
4287 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (wxSystemOptions
*)new wxSystemOptions();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4301 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
= 0;
4303 wxString
*arg1
= 0 ;
4304 wxString
*arg2
= 0 ;
4305 bool temp1
= false ;
4306 bool temp2
= false ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4309 char * kwnames
[] = {
4310 (char *) "name",(char *) "value", NULL
4313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4315 arg1
= wxString_in_helper(obj0
);
4316 if (arg1
== NULL
) SWIG_fail
;
4320 arg2
= wxString_in_helper(obj1
);
4321 if (arg2
== NULL
) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_Py_Void();
4353 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
= 0;
4355 wxString
*arg1
= 0 ;
4357 bool temp1
= false ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 char * kwnames
[] = {
4363 (char *) "name",(char *) "value", NULL
4366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4368 arg1
= wxString_in_helper(obj0
);
4369 if (arg1
== NULL
) SWIG_fail
;
4372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4373 if (!SWIG_IsOK(ecode2
)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4376 arg2
= static_cast< int >(val2
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4398 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
= 0;
4400 wxString
*arg1
= 0 ;
4402 bool temp1
= false ;
4403 PyObject
* obj0
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "name", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4410 arg1
= wxString_in_helper(obj0
);
4411 if (arg1
== NULL
) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4441 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= 0;
4443 wxString
*arg1
= 0 ;
4445 bool temp1
= false ;
4446 PyObject
* obj0
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "name", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4453 arg1
= wxString_in_helper(obj0
);
4454 if (arg1
== NULL
) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_From_int(static_cast< int >(result
));
4478 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
= 0;
4480 wxString
*arg1
= 0 ;
4482 bool temp1
= false ;
4483 PyObject
* obj0
= 0 ;
4484 char * kwnames
[] = {
4485 (char *) "name", NULL
4488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4490 arg1
= wxString_in_helper(obj0
);
4491 if (arg1
== NULL
) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4517 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
= 0;
4519 wxString
*arg1
= 0 ;
4521 bool temp1
= false ;
4522 PyObject
* obj0
= 0 ;
4523 char * kwnames
[] = {
4524 (char *) "name", NULL
4527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4529 arg1
= wxString_in_helper(obj0
);
4530 if (arg1
== NULL
) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4556 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4558 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4559 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4560 return SWIG_Py_Void();
4563 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4564 return SWIG_Python_InitShadowInstance(args
);
4567 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4568 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4573 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4574 PyObject
*pyobj
= 0;
4578 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4580 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4587 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4588 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4593 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4594 PyObject
*pyobj
= 0;
4598 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4600 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4607 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4608 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4613 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4614 PyObject
*pyobj
= 0;
4618 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4620 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4627 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4628 PyObject
*resultobj
= 0;
4631 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (long)wxNewId();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_From_long(static_cast< long >(result
));
4645 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
= 0;
4650 PyObject
* obj0
= 0 ;
4651 char * kwnames
[] = {
4655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4656 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4657 if (!SWIG_IsOK(ecode1
)) {
4658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4660 arg1
= static_cast< long >(val1
);
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 wxPyEndAllowThreads(__tstate
);
4665 if (PyErr_Occurred()) SWIG_fail
;
4667 resultobj
= SWIG_Py_Void();
4674 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4675 PyObject
*resultobj
= 0;
4678 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4681 result
= (long)wxGetCurrentId();
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= SWIG_From_long(static_cast< long >(result
));
4692 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
= 0;
4698 PyObject
* obj0
= 0 ;
4699 char * kwnames
[] = {
4703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4704 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4705 if (!SWIG_IsOK(ecode1
)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4708 arg1
= static_cast< int >(val1
);
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (bool)wxIsStockID(arg1
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4724 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
= 0;
4727 wxString
*arg2
= 0 ;
4731 bool temp2
= false ;
4732 PyObject
* obj0
= 0 ;
4733 PyObject
* obj1
= 0 ;
4734 char * kwnames
[] = {
4735 (char *) "id",(char *) "label", NULL
4738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4739 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4740 if (!SWIG_IsOK(ecode1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4743 arg1
= static_cast< int >(val1
);
4745 arg2
= wxString_in_helper(obj1
);
4746 if (arg2
== NULL
) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4772 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
= 0;
4775 bool arg2
= (bool) true ;
4776 wxString arg3
= (wxString
) wxPyEmptyString
;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4784 PyObject
* obj2
= 0 ;
4785 char * kwnames
[] = {
4786 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4790 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4791 if (!SWIG_IsOK(ecode1
)) {
4792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4794 arg1
= static_cast< int >(val1
);
4796 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4797 if (!SWIG_IsOK(ecode2
)) {
4798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4800 arg2
= static_cast< bool >(val2
);
4804 wxString
* sptr
= wxString_in_helper(obj2
);
4805 if (sptr
== NULL
) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4829 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4830 PyObject
*resultobj
= 0;
4832 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4834 if (!wxPyCheckForApp()) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_Py_Void();
4847 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4848 PyObject
*resultobj
= 0;
4850 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4852 if (!wxPyCheckForApp()) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 bool arg1
= (bool) true ;
4871 PyObject
* obj0
= 0 ;
4872 char * kwnames
[] = {
4873 (char *) "resetTimer", NULL
4876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4878 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4879 if (!SWIG_IsOK(ecode1
)) {
4880 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4882 arg1
= static_cast< bool >(val1
);
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (long)wxGetElapsedTime(arg1
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_From_long(static_cast< long >(result
));
4897 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4898 PyObject
*resultobj
= 0;
4901 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (bool)wxIsBusy();
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4917 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4918 PyObject
*resultobj
= 0;
4921 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4941 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
= 0;
4943 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4944 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4946 bool temp1
= false ;
4947 PyObject
* obj0
= 0 ;
4948 char * kwnames
[] = {
4949 (char *) "command", NULL
4952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4955 arg1
= wxString_in_helper(obj0
);
4956 if (arg1
== NULL
) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (bool)wxShell((wxString
const &)*arg1
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4983 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4984 PyObject
*resultobj
= 0;
4986 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 resultobj
= SWIG_Py_Void();
5000 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5001 PyObject
*resultobj
= 0;
5002 int *arg1
= (int *) 0 ;
5003 int *arg2
= (int *) 0 ;
5006 int res1
= SWIG_TMPOBJ
;
5008 int res2
= SWIG_TMPOBJ
;
5012 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 result
= (int)wxGetOsVersion(arg1
,arg2
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= SWIG_From_int(static_cast< int >(result
));
5020 if (SWIG_IsTmpObj(res1
)) {
5021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5023 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5026 if (SWIG_IsTmpObj(res2
)) {
5027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5029 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5038 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 PyObject
*resultobj
= 0;
5042 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= wxGetOsDescription();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5062 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5063 PyObject
*resultobj
= 0;
5064 wxMemorySize result
;
5066 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= wxGetFreeMemory();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5080 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
*resultobj
= 0;
5082 wxShutdownFlags arg1
;
5086 PyObject
* obj0
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "wFlags", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5093 if (!SWIG_IsOK(ecode1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5096 arg1
= static_cast< wxShutdownFlags
>(val1
);
5098 if (!wxPyCheckForApp()) SWIG_fail
;
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 result
= (bool)wxShutdown(arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5113 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
= 0;
5118 PyObject
* obj0
= 0 ;
5119 char * kwnames
[] = {
5120 (char *) "secs", NULL
5123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5124 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5125 if (!SWIG_IsOK(ecode1
)) {
5126 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5128 arg1
= static_cast< int >(val1
);
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_Py_Void();
5142 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5144 unsigned long arg1
;
5145 unsigned long val1
;
5147 PyObject
* obj0
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "milliseconds", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5153 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5154 if (!SWIG_IsOK(ecode1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5157 arg1
= static_cast< unsigned long >(val1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_Py_Void();
5171 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
= 0;
5173 unsigned long arg1
;
5174 unsigned long val1
;
5176 PyObject
* obj0
= 0 ;
5177 char * kwnames
[] = {
5178 (char *) "microseconds", NULL
5181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5182 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5183 if (!SWIG_IsOK(ecode1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5186 arg1
= static_cast< unsigned long >(val1
);
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_Py_Void();
5200 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
= 0;
5205 PyObject
* obj0
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "enable", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5211 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5212 if (!SWIG_IsOK(ecode1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5215 arg1
= static_cast< bool >(val1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxEnableTopLevelWindows(arg1
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_Py_Void();
5229 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
= 0;
5231 wxString
*arg1
= 0 ;
5233 bool temp1
= false ;
5234 PyObject
* obj0
= 0 ;
5235 char * kwnames
[] = {
5236 (char *) "_in", NULL
5239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5241 arg1
= wxString_in_helper(obj0
);
5242 if (arg1
== NULL
) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5272 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5273 PyObject
*resultobj
= 0;
5276 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= wxGetEmailAddress();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5296 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5297 PyObject
*resultobj
= 0;
5300 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= wxGetHostName();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5320 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5321 PyObject
*resultobj
= 0;
5324 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= wxGetFullHostName();
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5344 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5345 PyObject
*resultobj
= 0;
5348 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 result
= wxGetUserId();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5368 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5369 PyObject
*resultobj
= 0;
5372 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= wxGetUserName();
5376 wxPyEndAllowThreads(__tstate
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5392 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5393 PyObject
*resultobj
= 0;
5396 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= wxGetHomeDir();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5416 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
= 0;
5418 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5419 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5421 bool temp1
= false ;
5422 PyObject
* obj0
= 0 ;
5423 char * kwnames
[] = {
5424 (char *) "user", NULL
5427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5430 arg1
= wxString_in_helper(obj0
);
5431 if (arg1
== NULL
) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5437 result
= wxGetUserHome((wxString
const &)*arg1
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5462 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5463 PyObject
*resultobj
= 0;
5464 unsigned long result
;
5466 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (unsigned long)wxGetProcessId();
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5480 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5481 PyObject
*resultobj
= 0;
5483 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= SWIG_Py_Void();
5497 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5498 PyObject
*resultobj
= 0;
5499 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5500 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5501 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5502 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5503 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5504 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5505 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5506 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5507 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5508 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5509 int arg6
= (int) 0 ;
5510 wxWindow
*arg7
= (wxWindow
*) NULL
;
5511 int arg8
= (int) -1 ;
5512 int arg9
= (int) -1 ;
5514 bool temp1
= false ;
5515 bool temp2
= false ;
5516 bool temp3
= false ;
5517 bool temp4
= false ;
5518 bool temp5
= false ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 PyObject
* obj2
= 0 ;
5530 PyObject
* obj3
= 0 ;
5531 PyObject
* obj4
= 0 ;
5532 PyObject
* obj5
= 0 ;
5533 PyObject
* obj6
= 0 ;
5534 PyObject
* obj7
= 0 ;
5535 PyObject
* obj8
= 0 ;
5536 char * kwnames
[] = {
5537 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5543 arg1
= wxString_in_helper(obj0
);
5544 if (arg1
== NULL
) SWIG_fail
;
5550 arg2
= wxString_in_helper(obj1
);
5551 if (arg2
== NULL
) SWIG_fail
;
5557 arg3
= wxString_in_helper(obj2
);
5558 if (arg3
== NULL
) SWIG_fail
;
5564 arg4
= wxString_in_helper(obj3
);
5565 if (arg4
== NULL
) SWIG_fail
;
5571 arg5
= wxString_in_helper(obj4
);
5572 if (arg5
== NULL
) SWIG_fail
;
5577 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5578 if (!SWIG_IsOK(ecode6
)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5581 arg6
= static_cast< int >(val6
);
5584 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res7
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5588 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5591 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5592 if (!SWIG_IsOK(ecode8
)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5595 arg8
= static_cast< int >(val8
);
5598 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5599 if (!SWIG_IsOK(ecode9
)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5602 arg9
= static_cast< int >(val9
);
5605 if (!wxPyCheckForApp()) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5664 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
= 0;
5666 wxString
*arg1
= 0 ;
5667 wxString
*arg2
= 0 ;
5668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5670 wxWindow
*arg4
= (wxWindow
*) NULL
;
5672 bool temp1
= false ;
5673 bool temp2
= false ;
5674 bool temp3
= false ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5680 PyObject
* obj3
= 0 ;
5681 char * kwnames
[] = {
5682 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5687 arg1
= wxString_in_helper(obj0
);
5688 if (arg1
== NULL
) SWIG_fail
;
5692 arg2
= wxString_in_helper(obj1
);
5693 if (arg2
== NULL
) SWIG_fail
;
5698 arg3
= wxString_in_helper(obj2
);
5699 if (arg3
== NULL
) SWIG_fail
;
5704 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5705 if (!SWIG_IsOK(res4
)) {
5706 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5708 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5711 if (!wxPyCheckForApp()) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5754 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
= 0;
5756 wxString
*arg1
= 0 ;
5757 wxString
*arg2
= 0 ;
5758 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5759 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5760 wxWindow
*arg4
= (wxWindow
*) NULL
;
5762 bool temp1
= false ;
5763 bool temp2
= false ;
5764 bool temp3
= false ;
5767 PyObject
* obj0
= 0 ;
5768 PyObject
* obj1
= 0 ;
5769 PyObject
* obj2
= 0 ;
5770 PyObject
* obj3
= 0 ;
5771 char * kwnames
[] = {
5772 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5777 arg1
= wxString_in_helper(obj0
);
5778 if (arg1
== NULL
) SWIG_fail
;
5782 arg2
= wxString_in_helper(obj1
);
5783 if (arg2
== NULL
) SWIG_fail
;
5788 arg3
= wxString_in_helper(obj2
);
5789 if (arg3
== NULL
) SWIG_fail
;
5794 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5795 if (!SWIG_IsOK(res4
)) {
5796 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5798 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5801 if (!wxPyCheckForApp()) SWIG_fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5844 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= 0;
5846 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5847 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5848 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5849 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5850 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5851 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5852 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5853 wxWindow
*arg5
= (wxWindow
*) NULL
;
5855 bool temp1
= false ;
5856 bool temp2
= false ;
5862 PyObject
* obj0
= 0 ;
5863 PyObject
* obj1
= 0 ;
5864 PyObject
* obj2
= 0 ;
5865 PyObject
* obj3
= 0 ;
5866 PyObject
* obj4
= 0 ;
5867 char * kwnames
[] = {
5868 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5874 arg1
= wxString_in_helper(obj0
);
5875 if (arg1
== NULL
) SWIG_fail
;
5881 arg2
= wxString_in_helper(obj1
);
5882 if (arg2
== NULL
) SWIG_fail
;
5887 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5888 if (!SWIG_IsOK(ecode3
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5891 arg3
= static_cast< long >(val3
);
5896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5900 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5901 if (!SWIG_IsOK(res5
)) {
5902 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5904 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5907 if (!wxPyCheckForApp()) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5942 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
= 0;
5944 wxString
*arg1
= 0 ;
5945 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5946 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5949 wxWindow
*arg4
= (wxWindow
*) NULL
;
5950 int arg5
= (int) -1 ;
5951 int arg6
= (int) -1 ;
5952 bool arg7
= (bool) true ;
5954 bool temp1
= false ;
5955 bool temp2
= false ;
5956 bool temp3
= false ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5967 PyObject
* obj2
= 0 ;
5968 PyObject
* obj3
= 0 ;
5969 PyObject
* obj4
= 0 ;
5970 PyObject
* obj5
= 0 ;
5971 PyObject
* obj6
= 0 ;
5972 char * kwnames
[] = {
5973 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5978 arg1
= wxString_in_helper(obj0
);
5979 if (arg1
== NULL
) SWIG_fail
;
5984 arg2
= wxString_in_helper(obj1
);
5985 if (arg2
== NULL
) SWIG_fail
;
5991 arg3
= wxString_in_helper(obj2
);
5992 if (arg3
== NULL
) SWIG_fail
;
5997 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5998 if (!SWIG_IsOK(res4
)) {
5999 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6001 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6004 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6005 if (!SWIG_IsOK(ecode5
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6008 arg5
= static_cast< int >(val5
);
6011 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6012 if (!SWIG_IsOK(ecode6
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6015 arg6
= static_cast< int >(val6
);
6018 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6019 if (!SWIG_IsOK(ecode7
)) {
6020 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6022 arg7
= static_cast< bool >(val7
);
6025 if (!wxPyCheckForApp()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6068 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
= 0;
6070 wxString
*arg1
= 0 ;
6071 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6072 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6075 wxWindow
*arg4
= (wxWindow
*) NULL
;
6077 bool temp1
= false ;
6078 bool temp2
= false ;
6079 bool temp3
= false ;
6082 PyObject
* obj0
= 0 ;
6083 PyObject
* obj1
= 0 ;
6084 PyObject
* obj2
= 0 ;
6085 PyObject
* obj3
= 0 ;
6086 char * kwnames
[] = {
6087 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6092 arg1
= wxString_in_helper(obj0
);
6093 if (arg1
== NULL
) SWIG_fail
;
6098 arg2
= wxString_in_helper(obj1
);
6099 if (arg2
== NULL
) SWIG_fail
;
6105 arg3
= wxString_in_helper(obj2
);
6106 if (arg3
== NULL
) SWIG_fail
;
6111 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6112 if (!SWIG_IsOK(res4
)) {
6113 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6115 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6118 if (!wxPyCheckForApp()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6121 wxPyEndAllowThreads(__tstate
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6161 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= 0;
6163 wxString
*arg1
= 0 ;
6164 wxString
*arg2
= 0 ;
6166 wxString
*arg4
= (wxString
*) 0 ;
6167 wxWindow
*arg5
= (wxWindow
*) NULL
;
6168 int arg6
= (int) -1 ;
6169 int arg7
= (int) -1 ;
6170 bool arg8
= (bool) true ;
6171 int arg9
= (int) 150 ;
6172 int arg10
= (int) 200 ;
6174 bool temp1
= false ;
6175 bool temp2
= false ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6190 PyObject
* obj2
= 0 ;
6191 PyObject
* obj3
= 0 ;
6192 PyObject
* obj4
= 0 ;
6193 PyObject
* obj5
= 0 ;
6194 PyObject
* obj6
= 0 ;
6195 PyObject
* obj7
= 0 ;
6196 PyObject
* obj8
= 0 ;
6197 char * kwnames
[] = {
6198 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6203 arg1
= wxString_in_helper(obj0
);
6204 if (arg1
== NULL
) SWIG_fail
;
6208 arg2
= wxString_in_helper(obj1
);
6209 if (arg2
== NULL
) SWIG_fail
;
6213 arg3
= PyList_Size(obj2
);
6214 arg4
= wxString_LIST_helper(obj2
);
6215 if (arg4
== NULL
) SWIG_fail
;
6218 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6219 if (!SWIG_IsOK(res5
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6222 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6225 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6226 if (!SWIG_IsOK(ecode6
)) {
6227 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6229 arg6
= static_cast< int >(val6
);
6232 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6233 if (!SWIG_IsOK(ecode7
)) {
6234 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6236 arg7
= static_cast< int >(val7
);
6239 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6240 if (!SWIG_IsOK(ecode8
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6243 arg8
= static_cast< bool >(val8
);
6246 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6247 if (!SWIG_IsOK(ecode9
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6250 arg9
= static_cast< int >(val9
);
6253 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6254 if (!SWIG_IsOK(ecode10
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6257 arg10
= static_cast< int >(val10
);
6260 if (!wxPyCheckForApp()) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6282 if (arg4
) delete [] arg4
;
6295 if (arg4
) delete [] arg4
;
6301 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
= 0;
6303 wxString
*arg1
= 0 ;
6304 wxString
*arg2
= 0 ;
6306 wxString
*arg4
= (wxString
*) 0 ;
6307 wxWindow
*arg5
= (wxWindow
*) NULL
;
6308 int arg6
= (int) -1 ;
6309 int arg7
= (int) -1 ;
6310 bool arg8
= (bool) true ;
6311 int arg9
= (int) 150 ;
6312 int arg10
= (int) 200 ;
6314 bool temp1
= false ;
6315 bool temp2
= false ;
6328 PyObject
* obj0
= 0 ;
6329 PyObject
* obj1
= 0 ;
6330 PyObject
* obj2
= 0 ;
6331 PyObject
* obj3
= 0 ;
6332 PyObject
* obj4
= 0 ;
6333 PyObject
* obj5
= 0 ;
6334 PyObject
* obj6
= 0 ;
6335 PyObject
* obj7
= 0 ;
6336 PyObject
* obj8
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6343 arg1
= wxString_in_helper(obj0
);
6344 if (arg1
== NULL
) SWIG_fail
;
6348 arg2
= wxString_in_helper(obj1
);
6349 if (arg2
== NULL
) SWIG_fail
;
6353 arg3
= PyList_Size(obj2
);
6354 arg4
= wxString_LIST_helper(obj2
);
6355 if (arg4
== NULL
) SWIG_fail
;
6358 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6359 if (!SWIG_IsOK(res5
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6362 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6365 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6366 if (!SWIG_IsOK(ecode6
)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6369 arg6
= static_cast< int >(val6
);
6372 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6373 if (!SWIG_IsOK(ecode7
)) {
6374 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6376 arg7
= static_cast< int >(val7
);
6379 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6380 if (!SWIG_IsOK(ecode8
)) {
6381 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6383 arg8
= static_cast< bool >(val8
);
6386 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6387 if (!SWIG_IsOK(ecode9
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6390 arg9
= static_cast< int >(val9
);
6393 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6394 if (!SWIG_IsOK(ecode10
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6397 arg10
= static_cast< int >(val10
);
6400 if (!wxPyCheckForApp()) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 resultobj
= SWIG_From_int(static_cast< int >(result
));
6416 if (arg4
) delete [] arg4
;
6429 if (arg4
) delete [] arg4
;
6435 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
= 0;
6437 wxString
*arg1
= 0 ;
6438 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6439 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6440 int arg3
= (int) wxOK
|wxCENTRE
;
6441 wxWindow
*arg4
= (wxWindow
*) NULL
;
6442 int arg5
= (int) -1 ;
6443 int arg6
= (int) -1 ;
6445 bool temp1
= false ;
6446 bool temp2
= false ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6457 PyObject
* obj2
= 0 ;
6458 PyObject
* obj3
= 0 ;
6459 PyObject
* obj4
= 0 ;
6460 PyObject
* obj5
= 0 ;
6461 char * kwnames
[] = {
6462 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6467 arg1
= wxString_in_helper(obj0
);
6468 if (arg1
== NULL
) SWIG_fail
;
6473 arg2
= wxString_in_helper(obj1
);
6474 if (arg2
== NULL
) SWIG_fail
;
6479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6480 if (!SWIG_IsOK(ecode3
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6483 arg3
= static_cast< int >(val3
);
6486 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6487 if (!SWIG_IsOK(res4
)) {
6488 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6490 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6493 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6494 if (!SWIG_IsOK(ecode5
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6497 arg5
= static_cast< int >(val5
);
6500 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6501 if (!SWIG_IsOK(ecode6
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6504 arg6
= static_cast< int >(val6
);
6507 if (!wxPyCheckForApp()) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6513 resultobj
= SWIG_From_int(static_cast< int >(result
));
6536 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6540 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6542 if (!wxPyCheckForApp()) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (bool)wxColourDisplay();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6557 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6558 PyObject
*resultobj
= 0;
6561 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6563 if (!wxPyCheckForApp()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (int)wxDisplayDepth();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_From_int(static_cast< int >(result
));
6576 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6577 PyObject
*resultobj
= 0;
6580 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6582 if (!wxPyCheckForApp()) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (int)wxGetDisplayDepth();
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= SWIG_From_int(static_cast< int >(result
));
6595 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 int *arg1
= (int *) 0 ;
6598 int *arg2
= (int *) 0 ;
6600 int res1
= SWIG_TMPOBJ
;
6602 int res2
= SWIG_TMPOBJ
;
6606 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6608 if (!wxPyCheckForApp()) SWIG_fail
;
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 wxDisplaySize(arg1
,arg2
);
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_Py_Void();
6615 if (SWIG_IsTmpObj(res1
)) {
6616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6618 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6621 if (SWIG_IsTmpObj(res2
)) {
6622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6624 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6633 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6634 PyObject
*resultobj
= 0;
6637 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6639 if (!wxPyCheckForApp()) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= wxGetDisplaySize();
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6652 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6653 PyObject
*resultobj
= 0;
6654 int *arg1
= (int *) 0 ;
6655 int *arg2
= (int *) 0 ;
6657 int res1
= SWIG_TMPOBJ
;
6659 int res2
= SWIG_TMPOBJ
;
6663 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6665 if (!wxPyCheckForApp()) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 wxDisplaySizeMM(arg1
,arg2
);
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_Py_Void();
6672 if (SWIG_IsTmpObj(res1
)) {
6673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6675 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6678 if (SWIG_IsTmpObj(res2
)) {
6679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6681 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6690 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6691 PyObject
*resultobj
= 0;
6694 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6696 if (!wxPyCheckForApp()) SWIG_fail
;
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= wxGetDisplaySizeMM();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6709 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6710 PyObject
*resultobj
= 0;
6711 int *arg1
= (int *) 0 ;
6712 int *arg2
= (int *) 0 ;
6713 int *arg3
= (int *) 0 ;
6714 int *arg4
= (int *) 0 ;
6716 int res1
= SWIG_TMPOBJ
;
6718 int res2
= SWIG_TMPOBJ
;
6720 int res3
= SWIG_TMPOBJ
;
6722 int res4
= SWIG_TMPOBJ
;
6728 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6730 if (!wxPyCheckForApp()) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= SWIG_Py_Void();
6737 if (SWIG_IsTmpObj(res1
)) {
6738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6740 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6743 if (SWIG_IsTmpObj(res2
)) {
6744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6746 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6749 if (SWIG_IsTmpObj(res3
)) {
6750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6752 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6755 if (SWIG_IsTmpObj(res4
)) {
6756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6758 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6767 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6768 PyObject
*resultobj
= 0;
6771 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6773 if (!wxPyCheckForApp()) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 result
= wxGetClientDisplayRect();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6786 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
= 0;
6788 wxCursor
*arg1
= 0 ;
6791 PyObject
* obj0
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "cursor", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6804 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_Py_Void();
6819 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6823 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6825 if (!wxPyCheckForApp()) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (void *)wxGetXDisplay();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6838 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
= 0;
6840 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6843 PyObject
* obj0
= 0 ;
6844 char * kwnames
[] = {
6845 (char *) "cursor", NULL
6848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6851 if (!SWIG_IsOK(res1
)) {
6852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6854 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6857 if (!wxPyCheckForApp()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxBeginBusyCursor(arg1
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_Py_Void();
6870 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6871 PyObject
*resultobj
= 0;
6874 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6876 if (!wxPyCheckForApp()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= wxGetMousePosition();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6890 PyObject
*resultobj
= 0;
6891 wxWindow
*result
= 0 ;
6893 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6895 if (!wxPyCheckForApp()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxWindow
*)FindWindowAtPointer();
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= wxPyMake_wxObject(result
, 0);
6910 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6911 PyObject
*resultobj
= 0;
6912 wxWindow
*result
= 0 ;
6914 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6916 if (!wxPyCheckForApp()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= (wxWindow
*)wxGetActiveWindow();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6923 resultobj
= wxPyMake_wxObject(result
, 0);
6931 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6932 PyObject
*resultobj
= 0;
6934 wxWindow
*result
= 0 ;
6936 PyObject
* obj0
= 0 ;
6937 char * kwnames
[] = {
6941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6944 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6947 if (!wxPyCheckForApp()) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6954 resultobj
= wxPyMake_wxObject(result
, 0);
6962 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6965 wxWindow
*result
= 0 ;
6967 PyObject
* obj0
= 0 ;
6968 char * kwnames
[] = {
6972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6975 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6978 if (!wxPyCheckForApp()) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= wxPyMake_wxObject(result
, 0);
6993 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
= 0;
6995 wxWindow
*arg1
= (wxWindow
*) 0 ;
6996 wxWindow
*result
= 0 ;
6999 PyObject
* obj0
= 0 ;
7000 char * kwnames
[] = {
7001 (char *) "win", NULL
7004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7006 if (!SWIG_IsOK(res1
)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7009 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7011 if (!wxPyCheckForApp()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= wxPyMake_wxObject(result
, 0);
7026 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
= 0;
7028 wxString
*arg1
= 0 ;
7030 bool temp1
= false ;
7031 PyObject
* obj0
= 0 ;
7032 char * kwnames
[] = {
7033 (char *) "url", NULL
7036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7038 arg1
= wxString_in_helper(obj0
);
7039 if (arg1
== NULL
) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7045 wxPyEndAllowThreads(__tstate
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7065 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
= 0;
7071 PyObject
* obj0
= 0 ;
7072 char * kwnames
[] = {
7073 (char *) "key", NULL
7076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7078 if (!SWIG_IsOK(ecode1
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7081 arg1
= static_cast< wxKeyCode
>(val1
);
7083 if (!wxPyCheckForApp()) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (bool)wxGetKeyState(arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7098 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7099 PyObject
*resultobj
= 0;
7100 wxMouseState
*result
= 0 ;
7102 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (wxMouseState
*)new wxMouseState();
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7116 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7117 PyObject
*resultobj
= 0;
7118 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7121 PyObject
*swig_obj
[1] ;
7123 if (!args
) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7129 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_Py_Void();
7144 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7145 PyObject
*resultobj
= 0;
7146 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7150 PyObject
*swig_obj
[1] ;
7152 if (!args
) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7158 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 result
= (int)(arg1
)->GetX();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= SWIG_From_int(static_cast< int >(result
));
7172 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7173 PyObject
*resultobj
= 0;
7174 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7178 PyObject
*swig_obj
[1] ;
7180 if (!args
) SWIG_fail
;
7182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7183 if (!SWIG_IsOK(res1
)) {
7184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7186 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (int)(arg1
)->GetY();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_From_int(static_cast< int >(result
));
7200 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7201 PyObject
*resultobj
= 0;
7202 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7206 PyObject
*swig_obj
[1] ;
7208 if (!args
) SWIG_fail
;
7210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7211 if (!SWIG_IsOK(res1
)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7214 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (bool)(arg1
)->LeftDown();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7230 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7231 PyObject
*resultobj
= 0;
7232 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7236 PyObject
*swig_obj
[1] ;
7238 if (!args
) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7244 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (bool)(arg1
)->MiddleDown();
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7260 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7261 PyObject
*resultobj
= 0;
7262 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7266 PyObject
*swig_obj
[1] ;
7268 if (!args
) SWIG_fail
;
7270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7271 if (!SWIG_IsOK(res1
)) {
7272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7274 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (bool)(arg1
)->RightDown();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7290 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7291 PyObject
*resultobj
= 0;
7292 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7296 PyObject
*swig_obj
[1] ;
7298 if (!args
) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7304 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (bool)(arg1
)->ControlDown();
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7320 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7321 PyObject
*resultobj
= 0;
7322 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7326 PyObject
*swig_obj
[1] ;
7328 if (!args
) SWIG_fail
;
7330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7331 if (!SWIG_IsOK(res1
)) {
7332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7334 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (bool)(arg1
)->ShiftDown();
7338 wxPyEndAllowThreads(__tstate
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7350 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 PyObject
*resultobj
= 0;
7352 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7356 PyObject
*swig_obj
[1] ;
7358 if (!args
) SWIG_fail
;
7360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7361 if (!SWIG_IsOK(res1
)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7364 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (bool)(arg1
)->AltDown();
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7380 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 PyObject
*resultobj
= 0;
7382 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7386 PyObject
*swig_obj
[1] ;
7388 if (!args
) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7394 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (bool)(arg1
)->MetaDown();
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7410 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7411 PyObject
*resultobj
= 0;
7412 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7416 PyObject
*swig_obj
[1] ;
7418 if (!args
) SWIG_fail
;
7420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7421 if (!SWIG_IsOK(res1
)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7424 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 result
= (bool)(arg1
)->CmdDown();
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7440 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
= 0;
7442 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 char * kwnames
[] = {
7451 (char *) "self",(char *) "x", NULL
7454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7459 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7461 if (!SWIG_IsOK(ecode2
)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7464 arg2
= static_cast< int >(val2
);
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= SWIG_Py_Void();
7478 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7479 PyObject
*resultobj
= 0;
7480 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7488 char * kwnames
[] = {
7489 (char *) "self",(char *) "y", NULL
7492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7494 if (!SWIG_IsOK(res1
)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7497 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7499 if (!SWIG_IsOK(ecode2
)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7502 arg2
= static_cast< int >(val2
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_Py_Void();
7516 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
= 0;
7518 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7526 char * kwnames
[] = {
7527 (char *) "self",(char *) "down", NULL
7530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7535 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7536 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7537 if (!SWIG_IsOK(ecode2
)) {
7538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7540 arg2
= static_cast< bool >(val2
);
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 (arg1
)->SetLeftDown(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_Py_Void();
7554 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
= 0;
7556 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 char * kwnames
[] = {
7565 (char *) "self",(char *) "down", NULL
7568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7570 if (!SWIG_IsOK(res1
)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7573 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7574 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7575 if (!SWIG_IsOK(ecode2
)) {
7576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7578 arg2
= static_cast< bool >(val2
);
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->SetMiddleDown(arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_Py_Void();
7592 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
= 0;
7594 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 char * kwnames
[] = {
7603 (char *) "self",(char *) "down", NULL
7606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7608 if (!SWIG_IsOK(res1
)) {
7609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7611 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7613 if (!SWIG_IsOK(ecode2
)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7616 arg2
= static_cast< bool >(val2
);
7618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 (arg1
)->SetRightDown(arg2
);
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_Py_Void();
7630 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
= 0;
7632 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 char * kwnames
[] = {
7641 (char *) "self",(char *) "down", NULL
7644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7646 if (!SWIG_IsOK(res1
)) {
7647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7649 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7650 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7651 if (!SWIG_IsOK(ecode2
)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7654 arg2
= static_cast< bool >(val2
);
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 (arg1
)->SetControlDown(arg2
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= SWIG_Py_Void();
7668 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
*resultobj
= 0;
7670 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7678 char * kwnames
[] = {
7679 (char *) "self",(char *) "down", NULL
7682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7684 if (!SWIG_IsOK(res1
)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7687 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7689 if (!SWIG_IsOK(ecode2
)) {
7690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7692 arg2
= static_cast< bool >(val2
);
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->SetShiftDown(arg2
);
7696 wxPyEndAllowThreads(__tstate
);
7697 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= SWIG_Py_Void();
7706 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
= 0;
7708 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7716 char * kwnames
[] = {
7717 (char *) "self",(char *) "down", NULL
7720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7722 if (!SWIG_IsOK(res1
)) {
7723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7725 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7726 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7727 if (!SWIG_IsOK(ecode2
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7730 arg2
= static_cast< bool >(val2
);
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 (arg1
)->SetAltDown(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_Py_Void();
7744 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
= 0;
7746 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7752 PyObject
* obj0
= 0 ;
7753 PyObject
* obj1
= 0 ;
7754 char * kwnames
[] = {
7755 (char *) "self",(char *) "down", NULL
7758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7760 if (!SWIG_IsOK(res1
)) {
7761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7763 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7764 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7765 if (!SWIG_IsOK(ecode2
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7768 arg2
= static_cast< bool >(val2
);
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 (arg1
)->SetMetaDown(arg2
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_Py_Void();
7782 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7785 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7786 return SWIG_Py_Void();
7789 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7790 return SWIG_Python_InitShadowInstance(args
);
7793 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7794 PyObject
*resultobj
= 0;
7795 wxMouseState result
;
7797 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= wxGetMouseState();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7811 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7812 PyObject
*resultobj
= 0;
7814 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7816 if (!wxPyCheckForApp()) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 wxWakeUpMainThread();
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7822 resultobj
= SWIG_Py_Void();
7829 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 PyObject
*resultobj
= 0;
7832 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7834 if (!wxPyCheckForApp()) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_Py_Void();
7847 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7848 PyObject
*resultobj
= 0;
7850 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7852 if (!wxPyCheckForApp()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_Py_Void();
7865 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 PyObject
*resultobj
= 0;
7867 wxMutexGuiLocker
*result
= 0 ;
7869 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7871 if (!wxPyCheckForApp()) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7884 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7885 PyObject
*resultobj
= 0;
7886 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7889 PyObject
*swig_obj
[1] ;
7891 if (!args
) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7897 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= SWIG_Py_Void();
7912 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7915 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7916 return SWIG_Py_Void();
7919 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 return SWIG_Python_InitShadowInstance(args
);
7923 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7924 PyObject
*resultobj
= 0;
7927 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (bool)wxThread_IsMain();
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
= 0;
7945 wxString
*arg1
= 0 ;
7946 wxToolTip
*result
= 0 ;
7947 bool temp1
= false ;
7948 PyObject
* obj0
= 0 ;
7949 char * kwnames
[] = {
7950 (char *) "tip", NULL
7953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7955 arg1
= wxString_in_helper(obj0
);
7956 if (arg1
== NULL
) SWIG_fail
;
7960 if (!wxPyCheckForApp()) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7963 wxPyEndAllowThreads(__tstate
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7981 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7982 PyObject
*resultobj
= 0;
7983 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7986 PyObject
*swig_obj
[1] ;
7988 if (!args
) SWIG_fail
;
7990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7991 if (!SWIG_IsOK(res1
)) {
7992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
7994 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_Py_Void();
8009 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
= 0;
8011 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8012 wxString
*arg2
= 0 ;
8015 bool temp2
= false ;
8016 PyObject
* obj0
= 0 ;
8017 PyObject
* obj1
= 0 ;
8018 char * kwnames
[] = {
8019 (char *) "self",(char *) "tip", NULL
8022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8024 if (!SWIG_IsOK(res1
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8027 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8029 arg2
= wxString_in_helper(obj1
);
8030 if (arg2
== NULL
) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 (arg1
)->SetTip((wxString
const &)*arg2
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= SWIG_Py_Void();
8054 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 PyObject
*resultobj
= 0;
8056 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8060 PyObject
*swig_obj
[1] ;
8062 if (!args
) SWIG_fail
;
8064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8065 if (!SWIG_IsOK(res1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8068 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (arg1
)->GetTip();
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8088 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8089 PyObject
*resultobj
= 0;
8090 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8091 wxWindow
*result
= 0 ;
8094 PyObject
*swig_obj
[1] ;
8096 if (!args
) SWIG_fail
;
8098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8099 if (!SWIG_IsOK(res1
)) {
8100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8102 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (wxWindow
*)(arg1
)->GetWindow();
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= wxPyMake_wxObject(result
, 0);
8118 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
= 0;
8123 PyObject
* obj0
= 0 ;
8124 char * kwnames
[] = {
8125 (char *) "flag", NULL
8128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8129 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8130 if (!SWIG_IsOK(ecode1
)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8133 arg1
= static_cast< bool >(val1
);
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 wxToolTip::Enable(arg1
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8152 PyObject
* obj0
= 0 ;
8153 char * kwnames
[] = {
8154 (char *) "milliseconds", NULL
8157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8158 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8159 if (!SWIG_IsOK(ecode1
)) {
8160 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8162 arg1
= static_cast< long >(val1
);
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 wxToolTip::SetDelay(arg1
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= SWIG_Py_Void();
8176 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8179 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8180 return SWIG_Py_Void();
8183 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8184 return SWIG_Python_InitShadowInstance(args
);
8187 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
= 0;
8189 wxWindow
*arg1
= (wxWindow
*) 0 ;
8191 wxCaret
*result
= 0 ;
8195 PyObject
* obj0
= 0 ;
8196 PyObject
* obj1
= 0 ;
8197 char * kwnames
[] = {
8198 (char *) "window",(char *) "size", NULL
8201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8212 if (!wxPyCheckForApp()) SWIG_fail
;
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8225 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8226 PyObject
*resultobj
= 0;
8227 wxCaret
*arg1
= (wxCaret
*) 0 ;
8230 PyObject
*swig_obj
[1] ;
8232 if (!args
) SWIG_fail
;
8234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8235 if (!SWIG_IsOK(res1
)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8238 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= SWIG_Py_Void();
8253 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8254 PyObject
*resultobj
= 0;
8255 wxCaret
*arg1
= (wxCaret
*) 0 ;
8258 PyObject
*swig_obj
[1] ;
8260 if (!args
) SWIG_fail
;
8262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8263 if (!SWIG_IsOK(res1
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8266 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxCaret_Destroy(arg1
);
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_Py_Void();
8280 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8281 PyObject
*resultobj
= 0;
8282 wxCaret
*arg1
= (wxCaret
*) 0 ;
8286 PyObject
*swig_obj
[1] ;
8288 if (!args
) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8294 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (bool)(arg1
)->IsOk();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 PyObject
*resultobj
= 0;
8312 wxCaret
*arg1
= (wxCaret
*) 0 ;
8316 PyObject
*swig_obj
[1] ;
8318 if (!args
) SWIG_fail
;
8320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8321 if (!SWIG_IsOK(res1
)) {
8322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8324 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)(arg1
)->IsVisible();
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8340 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8341 PyObject
*resultobj
= 0;
8342 wxCaret
*arg1
= (wxCaret
*) 0 ;
8346 PyObject
*swig_obj
[1] ;
8348 if (!args
) SWIG_fail
;
8350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8351 if (!SWIG_IsOK(res1
)) {
8352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8354 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (arg1
)->GetPosition();
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8368 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxCaret
*arg1
= (wxCaret
*) 0 ;
8371 int *arg2
= (int *) 0 ;
8372 int *arg3
= (int *) 0 ;
8376 int res2
= SWIG_TMPOBJ
;
8378 int res3
= SWIG_TMPOBJ
;
8379 PyObject
*swig_obj
[1] ;
8383 if (!args
) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8389 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 (arg1
)->GetPosition(arg2
,arg3
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_Py_Void();
8397 if (SWIG_IsTmpObj(res2
)) {
8398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8400 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8403 if (SWIG_IsTmpObj(res3
)) {
8404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8406 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8415 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8416 PyObject
*resultobj
= 0;
8417 wxCaret
*arg1
= (wxCaret
*) 0 ;
8421 PyObject
*swig_obj
[1] ;
8423 if (!args
) SWIG_fail
;
8425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8426 if (!SWIG_IsOK(res1
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8429 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (arg1
)->GetSize();
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8443 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8444 PyObject
*resultobj
= 0;
8445 wxCaret
*arg1
= (wxCaret
*) 0 ;
8446 int *arg2
= (int *) 0 ;
8447 int *arg3
= (int *) 0 ;
8451 int res2
= SWIG_TMPOBJ
;
8453 int res3
= SWIG_TMPOBJ
;
8454 PyObject
*swig_obj
[1] ;
8458 if (!args
) SWIG_fail
;
8460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8461 if (!SWIG_IsOK(res1
)) {
8462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8464 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 (arg1
)->GetSize(arg2
,arg3
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 resultobj
= SWIG_Py_Void();
8472 if (SWIG_IsTmpObj(res2
)) {
8473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8475 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8478 if (SWIG_IsTmpObj(res3
)) {
8479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8481 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8490 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8491 PyObject
*resultobj
= 0;
8492 wxCaret
*arg1
= (wxCaret
*) 0 ;
8493 wxWindow
*result
= 0 ;
8496 PyObject
*swig_obj
[1] ;
8498 if (!args
) SWIG_fail
;
8500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8501 if (!SWIG_IsOK(res1
)) {
8502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8504 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8507 result
= (wxWindow
*)(arg1
)->GetWindow();
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= wxPyMake_wxObject(result
, 0);
8520 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
= 0;
8522 wxCaret
*arg1
= (wxCaret
*) 0 ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8533 PyObject
* obj2
= 0 ;
8534 char * kwnames
[] = {
8535 (char *) "self",(char *) "x",(char *) "y", NULL
8538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8543 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8545 if (!SWIG_IsOK(ecode2
)) {
8546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8548 arg2
= static_cast< int >(val2
);
8549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8550 if (!SWIG_IsOK(ecode3
)) {
8551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8553 arg3
= static_cast< int >(val3
);
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 (arg1
)->Move(arg2
,arg3
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_Py_Void();
8567 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
= 0;
8569 wxCaret
*arg1
= (wxCaret
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8575 PyObject
* obj1
= 0 ;
8576 char * kwnames
[] = {
8577 (char *) "self",(char *) "pt", NULL
8580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8585 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 (arg1
)->Move((wxPoint
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= SWIG_Py_Void();
8603 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8604 PyObject
*resultobj
= 0;
8605 wxCaret
*arg1
= (wxCaret
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8617 char * kwnames
[] = {
8618 (char *) "self",(char *) "width",(char *) "height", NULL
8621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8626 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8628 if (!SWIG_IsOK(ecode2
)) {
8629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8631 arg2
= static_cast< int >(val2
);
8632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8633 if (!SWIG_IsOK(ecode3
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8636 arg3
= static_cast< int >(val3
);
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 (arg1
)->SetSize(arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_Py_Void();
8650 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
= 0;
8652 wxCaret
*arg1
= (wxCaret
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 char * kwnames
[] = {
8660 (char *) "self",(char *) "size", NULL
8663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8665 if (!SWIG_IsOK(res1
)) {
8666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8668 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 (arg1
)->SetSize((wxSize
const &)*arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 resultobj
= SWIG_Py_Void();
8686 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
= 0;
8688 wxCaret
*arg1
= (wxCaret
*) 0 ;
8689 int arg2
= (int) true ;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 char * kwnames
[] = {
8697 (char *) "self",(char *) "show", NULL
8700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8702 if (!SWIG_IsOK(res1
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8705 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8708 if (!SWIG_IsOK(ecode2
)) {
8709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8711 arg2
= static_cast< int >(val2
);
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_Py_Void();
8726 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8727 PyObject
*resultobj
= 0;
8728 wxCaret
*arg1
= (wxCaret
*) 0 ;
8731 PyObject
*swig_obj
[1] ;
8733 if (!args
) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8739 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= SWIG_Py_Void();
8753 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8754 PyObject
*resultobj
= 0;
8757 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (int)wxCaret::GetBlinkTime();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_From_int(static_cast< int >(result
));
8771 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
= 0;
8776 PyObject
* obj0
= 0 ;
8777 char * kwnames
[] = {
8778 (char *) "milliseconds", NULL
8781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8782 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8783 if (!SWIG_IsOK(ecode1
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8786 arg1
= static_cast< int >(val1
);
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxCaret::SetBlinkTime(arg1
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_Py_Void();
8800 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8803 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8804 return SWIG_Py_Void();
8807 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8808 return SWIG_Python_InitShadowInstance(args
);
8811 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
= 0;
8813 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8814 wxBusyCursor
*result
= 0 ;
8817 PyObject
* obj0
= 0 ;
8818 char * kwnames
[] = {
8819 (char *) "cursor", NULL
8822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8825 if (!SWIG_IsOK(res1
)) {
8826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8828 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8831 if (!wxPyCheckForApp()) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8844 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8845 PyObject
*resultobj
= 0;
8846 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8849 PyObject
*swig_obj
[1] ;
8851 if (!args
) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8857 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= SWIG_Py_Void();
8872 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8875 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8876 return SWIG_Py_Void();
8879 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8880 return SWIG_Python_InitShadowInstance(args
);
8883 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
= 0;
8885 wxWindow
*arg1
= (wxWindow
*) NULL
;
8886 wxWindowDisabler
*result
= 0 ;
8889 PyObject
* obj0
= 0 ;
8890 char * kwnames
[] = {
8891 (char *) "winToSkip", NULL
8894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8897 if (!SWIG_IsOK(res1
)) {
8898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8903 if (!wxPyCheckForApp()) SWIG_fail
;
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8916 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8917 PyObject
*resultobj
= 0;
8918 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8921 PyObject
*swig_obj
[1] ;
8923 if (!args
) SWIG_fail
;
8925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8926 if (!SWIG_IsOK(res1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8929 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8947 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8948 return SWIG_Py_Void();
8951 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8952 return SWIG_Python_InitShadowInstance(args
);
8955 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
= 0;
8957 wxString
*arg1
= 0 ;
8958 wxBusyInfo
*result
= 0 ;
8959 bool temp1
= false ;
8960 PyObject
* obj0
= 0 ;
8961 char * kwnames
[] = {
8962 (char *) "message", NULL
8965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8967 arg1
= wxString_in_helper(obj0
);
8968 if (arg1
== NULL
) SWIG_fail
;
8972 if (!wxPyCheckForApp()) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
8993 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 PyObject
*resultobj
= 0;
8995 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
8998 PyObject
*swig_obj
[1] ;
9000 if (!args
) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9006 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_Py_Void();
9021 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9024 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9025 return SWIG_Py_Void();
9028 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9029 return SWIG_Python_InitShadowInstance(args
);
9032 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9033 PyObject
*resultobj
= 0;
9034 wxStopWatch
*result
= 0 ;
9036 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxStopWatch
*)new wxStopWatch();
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9050 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
= 0;
9052 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9053 long arg2
= (long) 0 ;
9058 PyObject
* obj0
= 0 ;
9059 PyObject
* obj1
= 0 ;
9060 char * kwnames
[] = {
9061 (char *) "self",(char *) "t0", NULL
9064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9066 if (!SWIG_IsOK(res1
)) {
9067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9069 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9071 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9072 if (!SWIG_IsOK(ecode2
)) {
9073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9075 arg2
= static_cast< long >(val2
);
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 (arg1
)->Start(arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= SWIG_Py_Void();
9090 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9091 PyObject
*resultobj
= 0;
9092 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9095 PyObject
*swig_obj
[1] ;
9097 if (!args
) SWIG_fail
;
9099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9100 if (!SWIG_IsOK(res1
)) {
9101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9103 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9117 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9118 PyObject
*resultobj
= 0;
9119 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9122 PyObject
*swig_obj
[1] ;
9124 if (!args
) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9130 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_Py_Void();
9144 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 PyObject
*resultobj
= 0;
9146 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9150 PyObject
*swig_obj
[1] ;
9152 if (!args
) SWIG_fail
;
9154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9155 if (!SWIG_IsOK(res1
)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9158 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_From_long(static_cast< long >(result
));
9172 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9175 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9176 return SWIG_Py_Void();
9179 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9180 return SWIG_Python_InitShadowInstance(args
);
9183 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
= 0;
9185 int arg1
= (int) 9 ;
9186 int arg2
= (int) wxID_FILE1
;
9187 wxFileHistory
*result
= 0 ;
9192 PyObject
* obj0
= 0 ;
9193 PyObject
* obj1
= 0 ;
9194 char * kwnames
[] = {
9195 (char *) "maxFiles",(char *) "idBase", NULL
9198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9201 if (!SWIG_IsOK(ecode1
)) {
9202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9204 arg1
= static_cast< int >(val1
);
9207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9208 if (!SWIG_IsOK(ecode2
)) {
9209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9211 arg2
= static_cast< int >(val2
);
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9226 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9227 PyObject
*resultobj
= 0;
9228 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9239 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= SWIG_Py_Void();
9254 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9257 wxString
*arg2
= 0 ;
9260 bool temp2
= false ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 char * kwnames
[] = {
9264 (char *) "self",(char *) "file", NULL
9267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9272 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9274 arg2
= wxString_in_helper(obj1
);
9275 if (arg2
== NULL
) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9299 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9300 PyObject
*resultobj
= 0;
9301 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 char * kwnames
[] = {
9310 (char *) "self",(char *) "i", NULL
9313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9315 if (!SWIG_IsOK(res1
)) {
9316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9318 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9320 if (!SWIG_IsOK(ecode2
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9323 arg2
= static_cast< int >(val2
);
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->RemoveFileFromHistory(arg2
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= SWIG_Py_Void();
9337 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9338 PyObject
*resultobj
= 0;
9339 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9343 PyObject
*swig_obj
[1] ;
9345 if (!args
) SWIG_fail
;
9347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9348 if (!SWIG_IsOK(res1
)) {
9349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9351 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9354 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_From_int(static_cast< int >(result
));
9365 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9366 PyObject
*resultobj
= 0;
9367 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9368 wxMenu
*arg2
= (wxMenu
*) 0 ;
9373 PyObject
* obj0
= 0 ;
9374 PyObject
* obj1
= 0 ;
9375 char * kwnames
[] = {
9376 (char *) "self",(char *) "menu", NULL
9379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9381 if (!SWIG_IsOK(res1
)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9384 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9386 if (!SWIG_IsOK(res2
)) {
9387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9389 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->UseMenu(arg2
);
9393 wxPyEndAllowThreads(__tstate
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= SWIG_Py_Void();
9403 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9405 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9406 wxMenu
*arg2
= (wxMenu
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "menu", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9422 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9424 if (!SWIG_IsOK(res2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9427 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->RemoveMenu(arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_Py_Void();
9441 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9442 PyObject
*resultobj
= 0;
9443 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9444 wxConfigBase
*arg2
= 0 ;
9449 PyObject
* obj0
= 0 ;
9450 PyObject
* obj1
= 0 ;
9451 char * kwnames
[] = {
9452 (char *) "self",(char *) "config", NULL
9455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9457 if (!SWIG_IsOK(res1
)) {
9458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9460 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9462 if (!SWIG_IsOK(res2
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9468 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 (arg1
)->Load(*arg2
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_Py_Void();
9482 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= 0;
9484 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9485 wxConfigBase
*arg2
= 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9492 char * kwnames
[] = {
9493 (char *) "self",(char *) "config", NULL
9496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9498 if (!SWIG_IsOK(res1
)) {
9499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9501 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9503 if (!SWIG_IsOK(res2
)) {
9504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9509 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 (arg1
)->Save(*arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_Py_Void();
9523 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9524 PyObject
*resultobj
= 0;
9525 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9528 PyObject
*swig_obj
[1] ;
9530 if (!args
) SWIG_fail
;
9532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9533 if (!SWIG_IsOK(res1
)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9536 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 (arg1
)->AddFilesToMenu();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= SWIG_Py_Void();
9550 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
= 0;
9552 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9553 wxMenu
*arg2
= (wxMenu
*) 0 ;
9558 PyObject
* obj0
= 0 ;
9559 PyObject
* obj1
= 0 ;
9560 char * kwnames
[] = {
9561 (char *) "self",(char *) "menu", NULL
9564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9566 if (!SWIG_IsOK(res1
)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9569 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9571 if (!SWIG_IsOK(res2
)) {
9572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9574 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 (arg1
)->AddFilesToMenu(arg2
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_Py_Void();
9588 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
= 0;
9590 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 char * kwnames
[] = {
9600 (char *) "self",(char *) "i", NULL
9603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9605 if (!SWIG_IsOK(res1
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9608 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9610 if (!SWIG_IsOK(ecode2
)) {
9611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9613 arg2
= static_cast< int >(val2
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9633 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9634 PyObject
*resultobj
= 0;
9635 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9639 PyObject
*swig_obj
[1] ;
9641 if (!args
) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9647 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_From_int(static_cast< int >(result
));
9661 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9663 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9664 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9665 return SWIG_Py_Void();
9668 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9669 return SWIG_Python_InitShadowInstance(args
);
9672 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
= 0;
9674 wxString
*arg1
= 0 ;
9675 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9676 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9677 wxSingleInstanceChecker
*result
= 0 ;
9678 bool temp1
= false ;
9679 bool temp2
= false ;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9682 char * kwnames
[] = {
9683 (char *) "name",(char *) "path", NULL
9686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9688 arg1
= wxString_in_helper(obj0
);
9689 if (arg1
== NULL
) SWIG_fail
;
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9728 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9729 PyObject
*resultobj
= 0;
9730 wxSingleInstanceChecker
*result
= 0 ;
9732 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9746 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9751 PyObject
*swig_obj
[1] ;
9753 if (!args
) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9759 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_Py_Void();
9774 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9777 wxString
*arg2
= 0 ;
9778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9783 bool temp2
= false ;
9784 bool temp3
= false ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "name",(char *) "path", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9797 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9799 arg2
= wxString_in_helper(obj1
);
9800 if (arg2
== NULL
) SWIG_fail
;
9805 arg3
= wxString_in_helper(obj2
);
9806 if (arg3
== NULL
) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9841 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9842 PyObject
*resultobj
= 0;
9843 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9847 PyObject
*swig_obj
[1] ;
9849 if (!args
) SWIG_fail
;
9851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9852 if (!SWIG_IsOK(res1
)) {
9853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9855 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9871 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9874 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9875 return SWIG_Py_Void();
9878 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9879 return SWIG_Python_InitShadowInstance(args
);
9882 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9884 wxWindow
*arg1
= (wxWindow
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 char * kwnames
[] = {
9894 (char *) "window",(char *) "dc", NULL
9897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9902 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9904 if (!SWIG_IsOK(res2
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9910 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9926 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9927 PyObject
*resultobj
= 0;
9928 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9931 PyObject
*swig_obj
[1] ;
9933 if (!args
) SWIG_fail
;
9935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9936 if (!SWIG_IsOK(res1
)) {
9937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9939 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_Py_Void();
9954 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 PyObject
*resultobj
= 0;
9956 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9960 PyObject
*swig_obj
[1] ;
9962 if (!args
) SWIG_fail
;
9964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9965 if (!SWIG_IsOK(res1
)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9968 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (arg1
)->GetTip();
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9988 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9989 PyObject
*resultobj
= 0;
9990 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9994 PyObject
*swig_obj
[1] ;
9996 if (!args
) SWIG_fail
;
9998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9999 if (!SWIG_IsOK(res1
)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10002 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (size_t)(arg1
)->GetCurrentTip();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10016 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
= 0;
10018 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10019 wxString
*arg2
= 0 ;
10023 bool temp2
= false ;
10024 PyObject
* obj0
= 0 ;
10025 PyObject
* obj1
= 0 ;
10026 char * kwnames
[] = {
10027 (char *) "self",(char *) "tip", NULL
10030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10032 if (!SWIG_IsOK(res1
)) {
10033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10035 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10037 arg2
= wxString_in_helper(obj1
);
10038 if (arg2
== NULL
) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10068 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10071 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10072 return SWIG_Py_Void();
10075 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10078 wxPyTipProvider
*result
= 0 ;
10081 PyObject
* obj0
= 0 ;
10082 char * kwnames
[] = {
10083 (char *) "currentTip", NULL
10086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10087 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10088 if (!SWIG_IsOK(ecode1
)) {
10089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10091 arg1
= static_cast< size_t >(val1
);
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10105 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= 0;
10107 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10108 PyObject
*arg2
= (PyObject
*) 0 ;
10109 PyObject
*arg3
= (PyObject
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 PyObject
* obj2
= 0 ;
10115 char * kwnames
[] = {
10116 (char *) "self",(char *) "self",(char *) "_class", NULL
10119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10121 if (!SWIG_IsOK(res1
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10124 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_Py_Void();
10140 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10144 return SWIG_Py_Void();
10147 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10148 return SWIG_Python_InitShadowInstance(args
);
10151 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= 0;
10153 wxWindow
*arg1
= (wxWindow
*) 0 ;
10154 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10155 bool arg3
= (bool) true ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 PyObject
* obj2
= 0 ;
10166 char * kwnames
[] = {
10167 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10172 if (!SWIG_IsOK(res1
)) {
10173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10175 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10177 if (!SWIG_IsOK(res2
)) {
10178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10180 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10182 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10183 if (!SWIG_IsOK(ecode3
)) {
10184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10186 arg3
= static_cast< bool >(val3
);
10189 if (!wxPyCheckForApp()) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10204 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxString
*arg1
= 0 ;
10208 wxTipProvider
*result
= 0 ;
10209 bool temp1
= false ;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char * kwnames
[] = {
10215 (char *) "filename",(char *) "currentTip", NULL
10218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10220 arg1
= wxString_in_helper(obj0
);
10221 if (arg1
== NULL
) SWIG_fail
;
10224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10225 if (!SWIG_IsOK(ecode2
)) {
10226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10228 arg2
= static_cast< size_t >(val2
);
10230 if (!wxPyCheckForApp()) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10251 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
= 0;
10253 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10254 int arg2
= (int) wxID_ANY
;
10255 wxPyTimer
*result
= 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char * kwnames
[] = {
10263 (char *) "owner",(char *) "id", NULL
10266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10269 if (!SWIG_IsOK(res1
)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10272 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10275 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10276 if (!SWIG_IsOK(ecode2
)) {
10277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10279 arg2
= static_cast< int >(val2
);
10282 if (!wxPyCheckForApp()) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10295 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10296 PyObject
*resultobj
= 0;
10297 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10300 PyObject
*swig_obj
[1] ;
10302 if (!args
) SWIG_fail
;
10303 swig_obj
[0] = args
;
10304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10308 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_Py_Void();
10323 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10326 PyObject
*arg2
= (PyObject
*) 0 ;
10327 PyObject
*arg3
= (PyObject
*) 0 ;
10328 int arg4
= (int) 1 ;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 PyObject
* obj2
= 0 ;
10336 PyObject
* obj3
= 0 ;
10337 char * kwnames
[] = {
10338 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10343 if (!SWIG_IsOK(res1
)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10346 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10351 if (!SWIG_IsOK(ecode4
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10354 arg4
= static_cast< int >(val4
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_Py_Void();
10369 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
= 0;
10371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10372 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10373 int arg3
= (int) wxID_ANY
;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 PyObject
* obj2
= 0 ;
10383 char * kwnames
[] = {
10384 (char *) "self",(char *) "owner",(char *) "id", NULL
10387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10389 if (!SWIG_IsOK(res1
)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10392 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10393 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10394 if (!SWIG_IsOK(res2
)) {
10395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10397 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10400 if (!SWIG_IsOK(ecode3
)) {
10401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10403 arg3
= static_cast< int >(val3
);
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 (arg1
)->SetOwner(arg2
,arg3
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_Py_Void();
10418 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10419 PyObject
*resultobj
= 0;
10420 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10421 wxEvtHandler
*result
= 0 ;
10424 PyObject
*swig_obj
[1] ;
10426 if (!args
) SWIG_fail
;
10427 swig_obj
[0] = args
;
10428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10429 if (!SWIG_IsOK(res1
)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10432 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= wxPyMake_wxObject(result
, 0);
10448 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
= 0;
10450 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10451 int arg2
= (int) -1 ;
10452 bool arg3
= (bool) false ;
10460 PyObject
* obj0
= 0 ;
10461 PyObject
* obj1
= 0 ;
10462 PyObject
* obj2
= 0 ;
10463 char * kwnames
[] = {
10464 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10469 if (!SWIG_IsOK(res1
)) {
10470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10472 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10475 if (!SWIG_IsOK(ecode2
)) {
10476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10478 arg2
= static_cast< int >(val2
);
10481 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10482 if (!SWIG_IsOK(ecode3
)) {
10483 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10485 arg3
= static_cast< bool >(val3
);
10488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10489 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10502 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10503 PyObject
*resultobj
= 0;
10504 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10507 PyObject
*swig_obj
[1] ;
10509 if (!args
) SWIG_fail
;
10510 swig_obj
[0] = args
;
10511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10512 if (!SWIG_IsOK(res1
)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10515 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= SWIG_Py_Void();
10529 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10530 PyObject
*resultobj
= 0;
10531 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10534 PyObject
*swig_obj
[1] ;
10536 if (!args
) SWIG_fail
;
10537 swig_obj
[0] = args
;
10538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10539 if (!SWIG_IsOK(res1
)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10542 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_Py_Void();
10556 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10557 PyObject
*resultobj
= 0;
10558 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10562 PyObject
*swig_obj
[1] ;
10564 if (!args
) SWIG_fail
;
10565 swig_obj
[0] = args
;
10566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10570 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10586 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10587 PyObject
*resultobj
= 0;
10588 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10592 PyObject
*swig_obj
[1] ;
10594 if (!args
) SWIG_fail
;
10595 swig_obj
[0] = args
;
10596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10597 if (!SWIG_IsOK(res1
)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10600 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_From_int(static_cast< int >(result
));
10614 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10615 PyObject
*resultobj
= 0;
10616 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10620 PyObject
*swig_obj
[1] ;
10622 if (!args
) SWIG_fail
;
10623 swig_obj
[0] = args
;
10624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10625 if (!SWIG_IsOK(res1
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10628 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10635 resultobj
= SWIG_From_int(static_cast< int >(result
));
10642 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10643 PyObject
*resultobj
= 0;
10644 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10648 PyObject
*swig_obj
[1] ;
10650 if (!args
) SWIG_fail
;
10651 swig_obj
[0] = args
;
10652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10656 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10672 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10676 return SWIG_Py_Void();
10679 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10680 return SWIG_Python_InitShadowInstance(args
);
10683 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
= 0;
10685 int arg1
= (int) 0 ;
10686 int arg2
= (int) 0 ;
10687 wxTimerEvent
*result
= 0 ;
10692 PyObject
* obj0
= 0 ;
10693 PyObject
* obj1
= 0 ;
10694 char * kwnames
[] = {
10695 (char *) "timerid",(char *) "interval", NULL
10698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10701 if (!SWIG_IsOK(ecode1
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10704 arg1
= static_cast< int >(val1
);
10707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10708 if (!SWIG_IsOK(ecode2
)) {
10709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10711 arg2
= static_cast< int >(val2
);
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10716 wxPyEndAllowThreads(__tstate
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10726 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10727 PyObject
*resultobj
= 0;
10728 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10732 PyObject
*swig_obj
[1] ;
10734 if (!args
) SWIG_fail
;
10735 swig_obj
[0] = args
;
10736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10737 if (!SWIG_IsOK(res1
)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10740 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_From_int(static_cast< int >(result
));
10754 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10757 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10758 return SWIG_Py_Void();
10761 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10762 return SWIG_Python_InitShadowInstance(args
);
10765 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10766 PyObject
*resultobj
= 0;
10767 wxTimer
*arg1
= 0 ;
10768 wxTimerRunner
*result
= 0 ;
10772 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10774 if (!SWIG_IsOK(res1
)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10778 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10780 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10782 if (!wxPyCheckForApp()) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10795 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10796 PyObject
*resultobj
= 0;
10797 wxTimer
*arg1
= 0 ;
10799 bool arg3
= (bool) false ;
10800 wxTimerRunner
*result
= 0 ;
10808 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10810 if (!SWIG_IsOK(res1
)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10816 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10817 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10818 if (!SWIG_IsOK(ecode2
)) {
10819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10821 arg2
= static_cast< int >(val2
);
10823 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10824 if (!SWIG_IsOK(ecode3
)) {
10825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10827 arg3
= static_cast< bool >(val3
);
10830 if (!wxPyCheckForApp()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10843 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10847 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10850 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10852 if ((argc
>= 2) && (argc
<= 3)) {
10853 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10857 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10862 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10863 PyObject
*resultobj
= 0;
10864 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10867 PyObject
*swig_obj
[1] ;
10869 if (!args
) SWIG_fail
;
10870 swig_obj
[0] = args
;
10871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10875 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_Py_Void();
10890 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
= 0;
10892 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10894 bool arg3
= (bool) false ;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 PyObject
* obj2
= 0 ;
10904 char * kwnames
[] = {
10905 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10910 if (!SWIG_IsOK(res1
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10913 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10915 if (!SWIG_IsOK(ecode2
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10918 arg2
= static_cast< int >(val2
);
10920 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10921 if (!SWIG_IsOK(ecode3
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10924 arg3
= static_cast< bool >(val3
);
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->Start(arg2
,arg3
);
10929 wxPyEndAllowThreads(__tstate
);
10930 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= SWIG_Py_Void();
10939 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10942 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10943 return SWIG_Py_Void();
10946 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10947 return SWIG_Python_InitShadowInstance(args
);
10950 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10951 PyObject
*resultobj
= 0;
10952 wxLog
*result
= 0 ;
10954 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (wxLog
*)new wxLog();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10968 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10969 PyObject
*resultobj
= 0;
10970 wxLog
*arg1
= (wxLog
*) 0 ;
10973 PyObject
*swig_obj
[1] ;
10975 if (!args
) SWIG_fail
;
10976 swig_obj
[0] = args
;
10977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10978 if (!SWIG_IsOK(res1
)) {
10979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10981 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 resultobj
= SWIG_Py_Void();
10996 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10997 PyObject
*resultobj
= 0;
11000 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (bool)wxLog::IsEnabled();
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= 0;
11018 bool arg1
= (bool) true ;
11022 PyObject
* obj0
= 0 ;
11023 char * kwnames
[] = {
11024 (char *) "doIt", NULL
11027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11029 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11030 if (!SWIG_IsOK(ecode1
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11033 arg1
= static_cast< bool >(val1
);
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (bool)wxLog::EnableLogging(arg1
);
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
= 0;
11053 wxChar
*arg2
= (wxChar
*) 0 ;
11055 unsigned long val1
;
11059 unsigned int val3
;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 PyObject
* obj2
= 0 ;
11064 char * kwnames
[] = {
11065 (char *) "level",(char *) "szString",(char *) "t", NULL
11068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11069 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11070 if (!SWIG_IsOK(ecode1
)) {
11071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11073 arg1
= static_cast< wxLogLevel
>(val1
);
11074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11075 if (!SWIG_IsOK(res2
)) {
11076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11078 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11079 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11080 if (!SWIG_IsOK(ecode3
)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11083 arg3
= static_cast< time_t >(val3
);
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_Py_Void();
11097 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 PyObject
*resultobj
= 0;
11099 wxLog
*arg1
= (wxLog
*) 0 ;
11102 PyObject
*swig_obj
[1] ;
11104 if (!args
) SWIG_fail
;
11105 swig_obj
[0] = args
;
11106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11110 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= SWIG_Py_Void();
11124 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11125 PyObject
*resultobj
= 0;
11127 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 wxLog::FlushActive();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_Py_Void();
11141 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11142 PyObject
*resultobj
= 0;
11143 wxLog
*result
= 0 ;
11145 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (wxLog
*)wxLog::GetActiveTarget();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11159 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= 0;
11161 wxLog
*arg1
= (wxLog
*) 0 ;
11162 wxLog
*result
= 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char * kwnames
[] = {
11166 (char *) "pLogger", NULL
11169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11170 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11171 if (!SWIG_IsOK(res1
)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11187 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11188 PyObject
*resultobj
= 0;
11190 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_Py_Void();
11204 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11205 PyObject
*resultobj
= 0;
11207 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_Py_Void();
11221 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
= 0;
11223 bool arg1
= (bool) true ;
11226 PyObject
* obj0
= 0 ;
11227 char * kwnames
[] = {
11228 (char *) "bVerbose", NULL
11231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11233 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11234 if (!SWIG_IsOK(ecode1
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11237 arg1
= static_cast< bool >(val1
);
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 wxLog::SetVerbose(arg1
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_Py_Void();
11252 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
= 0;
11255 unsigned long val1
;
11257 PyObject
* obj0
= 0 ;
11258 char * kwnames
[] = {
11259 (char *) "logLevel", NULL
11262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11263 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11264 if (!SWIG_IsOK(ecode1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11267 arg1
= static_cast< wxLogLevel
>(val1
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 wxLog::SetLogLevel(arg1
);
11271 wxPyEndAllowThreads(__tstate
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11274 resultobj
= SWIG_Py_Void();
11281 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11282 PyObject
*resultobj
= 0;
11284 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 wxLog::DontCreateOnDemand();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= SWIG_Py_Void();
11298 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
= 0;
11301 unsigned long val1
;
11303 PyObject
* obj0
= 0 ;
11304 char * kwnames
[] = {
11305 (char *) "ulMask", NULL
11308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11309 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11310 if (!SWIG_IsOK(ecode1
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11313 arg1
= static_cast< wxTraceMask
>(val1
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 wxLog::SetTraceMask(arg1
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
= 0;
11329 wxString
*arg1
= 0 ;
11330 bool temp1
= false ;
11331 PyObject
* obj0
= 0 ;
11332 char * kwnames
[] = {
11333 (char *) "str", NULL
11336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11338 arg1
= wxString_in_helper(obj0
);
11339 if (arg1
== NULL
) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 wxLog::AddTraceMask((wxString
const &)*arg1
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_Py_Void();
11363 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
= 0;
11365 wxString
*arg1
= 0 ;
11366 bool temp1
= false ;
11367 PyObject
* obj0
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "str", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11374 arg1
= wxString_in_helper(obj0
);
11375 if (arg1
== NULL
) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_Py_Void();
11399 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11400 PyObject
*resultobj
= 0;
11402 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 wxLog::ClearTraceMasks();
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= SWIG_Py_Void();
11416 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11417 PyObject
*resultobj
= 0;
11418 wxArrayString
*result
= 0 ;
11420 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11425 result
= (wxArrayString
*) &_result_ref
;
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= wxArrayString2PyList_helper(*result
);
11439 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
= 0;
11441 wxChar
*arg1
= (wxChar
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char * kwnames
[] = {
11446 (char *) "ts", NULL
11449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11451 if (!SWIG_IsOK(res1
)) {
11452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11454 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 wxLog::SetTimestamp((wxChar
const *)arg1
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_Py_Void();
11468 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11469 PyObject
*resultobj
= 0;
11472 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)wxLog::GetVerbose();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxTraceMask result
;
11492 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11495 result
= (wxTraceMask
)wxLog::GetTraceMask();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11506 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
= 0;
11508 wxChar
*arg1
= (wxChar
*) 0 ;
11512 PyObject
* obj0
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "mask", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11519 if (!SWIG_IsOK(res1
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11522 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11538 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 PyObject
*resultobj
= 0;
11542 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11545 result
= (wxLogLevel
)wxLog::GetLogLevel();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11556 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11557 PyObject
*resultobj
= 0;
11558 wxChar
*result
= 0 ;
11560 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (wxChar
*)wxLog::GetTimestamp();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11574 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 PyObject
*resultobj
= 0;
11578 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11581 result
= wxLog_TimeStamp();
11582 wxPyEndAllowThreads(__tstate
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11598 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11599 PyObject
*resultobj
= 0;
11600 wxLog
*arg1
= (wxLog
*) 0 ;
11603 PyObject
*swig_obj
[1] ;
11605 if (!args
) SWIG_fail
;
11606 swig_obj
[0] = args
;
11607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11608 if (!SWIG_IsOK(res1
)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11611 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 wxLog_Destroy(arg1
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= SWIG_Py_Void();
11625 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11628 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11629 return SWIG_Py_Void();
11632 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11633 return SWIG_Python_InitShadowInstance(args
);
11636 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11637 PyObject
*resultobj
= 0;
11638 wxLogStderr
*result
= 0 ;
11640 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (wxLogStderr
*)new wxLogStderr();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11654 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11657 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11658 return SWIG_Py_Void();
11661 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11662 return SWIG_Python_InitShadowInstance(args
);
11665 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
= 0;
11667 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11668 wxLogTextCtrl
*result
= 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char * kwnames
[] = {
11673 (char *) "pTextCtrl", NULL
11676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11695 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11698 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11699 return SWIG_Py_Void();
11702 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 return SWIG_Python_InitShadowInstance(args
);
11706 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 PyObject
*resultobj
= 0;
11708 wxLogGui
*result
= 0 ;
11710 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11713 result
= (wxLogGui
*)new wxLogGui();
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11724 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11727 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11728 return SWIG_Py_Void();
11731 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11732 return SWIG_Python_InitShadowInstance(args
);
11735 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11736 PyObject
*resultobj
= 0;
11737 wxFrame
*arg1
= (wxFrame
*) 0 ;
11738 wxString
*arg2
= 0 ;
11739 bool arg3
= (bool) true ;
11740 bool arg4
= (bool) true ;
11741 wxLogWindow
*result
= 0 ;
11744 bool temp2
= false ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 PyObject
* obj2
= 0 ;
11752 PyObject
* obj3
= 0 ;
11753 char * kwnames
[] = {
11754 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11762 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11764 arg2
= wxString_in_helper(obj1
);
11765 if (arg2
== NULL
) SWIG_fail
;
11769 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11770 if (!SWIG_IsOK(ecode3
)) {
11771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11773 arg3
= static_cast< bool >(val3
);
11776 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11777 if (!SWIG_IsOK(ecode4
)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11780 arg4
= static_cast< bool >(val4
);
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11803 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
= 0;
11805 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11806 bool arg2
= (bool) true ;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 char * kwnames
[] = {
11814 (char *) "self",(char *) "bShow", NULL
11817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11819 if (!SWIG_IsOK(res1
)) {
11820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11822 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11824 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11825 if (!SWIG_IsOK(ecode2
)) {
11826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11828 arg2
= static_cast< bool >(val2
);
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->Show(arg2
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= SWIG_Py_Void();
11843 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11844 PyObject
*resultobj
= 0;
11845 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11846 wxFrame
*result
= 0 ;
11849 PyObject
*swig_obj
[1] ;
11851 if (!args
) SWIG_fail
;
11852 swig_obj
[0] = args
;
11853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11854 if (!SWIG_IsOK(res1
)) {
11855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11857 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11873 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11874 PyObject
*resultobj
= 0;
11875 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11876 wxLog
*result
= 0 ;
11879 PyObject
*swig_obj
[1] ;
11881 if (!args
) SWIG_fail
;
11882 swig_obj
[0] = args
;
11883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11884 if (!SWIG_IsOK(res1
)) {
11885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11887 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11901 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11902 PyObject
*resultobj
= 0;
11903 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11907 PyObject
*swig_obj
[1] ;
11909 if (!args
) SWIG_fail
;
11910 swig_obj
[0] = args
;
11911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11912 if (!SWIG_IsOK(res1
)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11915 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11931 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
= 0;
11933 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char * kwnames
[] = {
11942 (char *) "self",(char *) "bDoPass", NULL
11945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11950 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11951 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11952 if (!SWIG_IsOK(ecode2
)) {
11953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11955 arg2
= static_cast< bool >(val2
);
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 (arg1
)->PassMessages(arg2
);
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 resultobj
= SWIG_Py_Void();
11969 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11972 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11973 return SWIG_Py_Void();
11976 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 return SWIG_Python_InitShadowInstance(args
);
11980 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
= 0;
11982 wxLog
*arg1
= (wxLog
*) 0 ;
11983 wxLogChain
*result
= 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char * kwnames
[] = {
11988 (char *) "logger", NULL
11991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11993 if (!SWIG_IsOK(res1
)) {
11994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
11996 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (wxLogChain
*)new wxLogChain(arg1
);
12000 wxPyEndAllowThreads(__tstate
);
12001 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12010 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12011 PyObject
*resultobj
= 0;
12012 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12013 wxLog
*arg2
= (wxLog
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 PyObject
* obj1
= 0 ;
12020 char * kwnames
[] = {
12021 (char *) "self",(char *) "logger", NULL
12024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12026 if (!SWIG_IsOK(res1
)) {
12027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12029 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12031 if (!SWIG_IsOK(res2
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12034 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 (arg1
)->SetLog(arg2
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_Py_Void();
12048 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
= 0;
12050 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char * kwnames
[] = {
12059 (char *) "self",(char *) "bDoPass", NULL
12062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12064 if (!SWIG_IsOK(res1
)) {
12065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12067 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12069 if (!SWIG_IsOK(ecode2
)) {
12070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12072 arg2
= static_cast< bool >(val2
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->PassMessages(arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_Py_Void();
12086 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12087 PyObject
*resultobj
= 0;
12088 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12092 PyObject
*swig_obj
[1] ;
12094 if (!args
) SWIG_fail
;
12095 swig_obj
[0] = args
;
12096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12097 if (!SWIG_IsOK(res1
)) {
12098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12100 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 result
= (bool)(arg1
)->IsPassingMessages();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12116 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12117 PyObject
*resultobj
= 0;
12118 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12119 wxLog
*result
= 0 ;
12122 PyObject
*swig_obj
[1] ;
12124 if (!args
) SWIG_fail
;
12125 swig_obj
[0] = args
;
12126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12130 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 result
= (wxLog
*)(arg1
)->GetOldLog();
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12144 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12147 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12148 return SWIG_Py_Void();
12151 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12152 return SWIG_Python_InitShadowInstance(args
);
12155 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12156 PyObject
*resultobj
= 0;
12157 wxLogBuffer
*result
= 0 ;
12159 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (wxLogBuffer
*)new wxLogBuffer();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12173 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12174 PyObject
*resultobj
= 0;
12175 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12176 wxString
*result
= 0 ;
12179 PyObject
*swig_obj
[1] ;
12181 if (!args
) SWIG_fail
;
12182 swig_obj
[0] = args
;
12183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12187 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12192 result
= (wxString
*) &_result_ref
;
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12201 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12210 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12213 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12214 return SWIG_Py_Void();
12217 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 return SWIG_Python_InitShadowInstance(args
);
12221 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12222 PyObject
*resultobj
= 0;
12223 unsigned long result
;
12225 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12228 result
= (unsigned long)wxSysErrorCode();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12239 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
= 0;
12241 unsigned long arg1
= (unsigned long) 0 ;
12243 unsigned long val1
;
12245 PyObject
* obj0
= 0 ;
12246 char * kwnames
[] = {
12247 (char *) "nErrCode", NULL
12250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12252 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12253 if (!SWIG_IsOK(ecode1
)) {
12254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12256 arg1
= static_cast< unsigned long >(val1
);
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= wxSysErrorMsg(arg1
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12277 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
= 0;
12279 wxString
*arg1
= 0 ;
12280 bool temp1
= false ;
12281 PyObject
* obj0
= 0 ;
12282 char * kwnames
[] = {
12283 (char *) "msg", NULL
12286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12288 arg1
= wxString_in_helper(obj0
);
12289 if (arg1
== NULL
) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 wxPyLogFatalError((wxString
const &)*arg1
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= SWIG_Py_Void();
12313 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
= 0;
12315 wxString
*arg1
= 0 ;
12316 bool temp1
= false ;
12317 PyObject
* obj0
= 0 ;
12318 char * kwnames
[] = {
12319 (char *) "msg", NULL
12322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12324 arg1
= wxString_in_helper(obj0
);
12325 if (arg1
== NULL
) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 wxPyLogError((wxString
const &)*arg1
);
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
= 0;
12351 wxString
*arg1
= 0 ;
12352 bool temp1
= false ;
12353 PyObject
* obj0
= 0 ;
12354 char * kwnames
[] = {
12355 (char *) "msg", NULL
12358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12360 arg1
= wxString_in_helper(obj0
);
12361 if (arg1
== NULL
) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 wxPyLogWarning((wxString
const &)*arg1
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_Py_Void();
12385 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
= 0;
12387 wxString
*arg1
= 0 ;
12388 bool temp1
= false ;
12389 PyObject
* obj0
= 0 ;
12390 char * kwnames
[] = {
12391 (char *) "msg", NULL
12394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12396 arg1
= wxString_in_helper(obj0
);
12397 if (arg1
== NULL
) SWIG_fail
;
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 wxPyLogMessage((wxString
const &)*arg1
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= SWIG_Py_Void();
12421 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
= 0;
12423 wxString
*arg1
= 0 ;
12424 bool temp1
= false ;
12425 PyObject
* obj0
= 0 ;
12426 char * kwnames
[] = {
12427 (char *) "msg", NULL
12430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12432 arg1
= wxString_in_helper(obj0
);
12433 if (arg1
== NULL
) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 wxPyLogInfo((wxString
const &)*arg1
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_Py_Void();
12457 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
= 0;
12459 wxString
*arg1
= 0 ;
12460 bool temp1
= false ;
12461 PyObject
* obj0
= 0 ;
12462 char * kwnames
[] = {
12463 (char *) "msg", NULL
12466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12468 arg1
= wxString_in_helper(obj0
);
12469 if (arg1
== NULL
) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 wxPyLogDebug((wxString
const &)*arg1
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_Py_Void();
12493 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
= 0;
12495 wxString
*arg1
= 0 ;
12496 bool temp1
= false ;
12497 PyObject
* obj0
= 0 ;
12498 char * kwnames
[] = {
12499 (char *) "msg", NULL
12502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12504 arg1
= wxString_in_helper(obj0
);
12505 if (arg1
== NULL
) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 wxPyLogVerbose((wxString
const &)*arg1
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_Py_Void();
12529 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
= 0;
12531 wxString
*arg1
= 0 ;
12532 bool temp1
= false ;
12533 PyObject
* obj0
= 0 ;
12534 char * kwnames
[] = {
12535 (char *) "msg", NULL
12538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12540 arg1
= wxString_in_helper(obj0
);
12541 if (arg1
== NULL
) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 wxPyLogStatus((wxString
const &)*arg1
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_Py_Void();
12565 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
= 0;
12567 wxFrame
*arg1
= (wxFrame
*) 0 ;
12568 wxString
*arg2
= 0 ;
12571 bool temp2
= false ;
12572 PyObject
* obj0
= 0 ;
12573 PyObject
* obj1
= 0 ;
12574 char * kwnames
[] = {
12575 (char *) "pFrame",(char *) "msg", NULL
12578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12580 if (!SWIG_IsOK(res1
)) {
12581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12583 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12585 arg2
= wxString_in_helper(obj1
);
12586 if (arg2
== NULL
) SWIG_fail
;
12590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12591 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 resultobj
= SWIG_Py_Void();
12610 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
= 0;
12612 wxString
*arg1
= 0 ;
12613 bool temp1
= false ;
12614 PyObject
* obj0
= 0 ;
12615 char * kwnames
[] = {
12616 (char *) "msg", NULL
12619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12621 arg1
= wxString_in_helper(obj0
);
12622 if (arg1
== NULL
) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 wxPyLogSysError((wxString
const &)*arg1
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_Py_Void();
12646 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
= 0;
12648 unsigned long arg1
;
12649 wxString
*arg2
= 0 ;
12650 unsigned long val1
;
12652 bool temp2
= false ;
12653 PyObject
* obj0
= 0 ;
12654 PyObject
* obj1
= 0 ;
12655 char * kwnames
[] = {
12656 (char *) "level",(char *) "msg", NULL
12659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12660 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12661 if (!SWIG_IsOK(ecode1
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12664 arg1
= static_cast< unsigned long >(val1
);
12666 arg2
= wxString_in_helper(obj1
);
12667 if (arg2
== NULL
) SWIG_fail
;
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12691 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12692 PyObject
*resultobj
= 0;
12693 unsigned long arg1
;
12694 wxString
*arg2
= 0 ;
12695 unsigned long val1
;
12697 bool temp2
= false ;
12699 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12700 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12701 if (!SWIG_IsOK(ecode1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12704 arg1
= static_cast< unsigned long >(val1
);
12706 arg2
= wxString_in_helper(swig_obj
[1]);
12707 if (arg2
== NULL
) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_Py_Void();
12731 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12732 PyObject
*resultobj
= 0;
12733 wxString
*arg1
= 0 ;
12734 wxString
*arg2
= 0 ;
12735 bool temp1
= false ;
12736 bool temp2
= false ;
12738 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12740 arg1
= wxString_in_helper(swig_obj
[0]);
12741 if (arg1
== NULL
) SWIG_fail
;
12745 arg2
= wxString_in_helper(swig_obj
[1]);
12746 if (arg2
== NULL
) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= SWIG_Py_Void();
12778 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12782 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12788 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12791 if (!_v
) goto check_1
;
12792 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12797 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12801 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12806 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxString
*arg1
= 0 ;
12809 wxString
*arg2
= 0 ;
12810 bool temp1
= false ;
12811 bool temp2
= false ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char * kwnames
[] = {
12815 (char *) "title",(char *) "text", NULL
12818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12820 arg1
= wxString_in_helper(obj0
);
12821 if (arg1
== NULL
) SWIG_fail
;
12825 arg2
= wxString_in_helper(obj1
);
12826 if (arg2
== NULL
) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 PyObject
*resultobj
= 0;
12860 wxLogNull
*result
= 0 ;
12862 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (wxLogNull
*)new wxLogNull();
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12876 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12877 PyObject
*resultobj
= 0;
12878 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12881 PyObject
*swig_obj
[1] ;
12883 if (!args
) SWIG_fail
;
12884 swig_obj
[0] = args
;
12885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12889 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12907 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12908 return SWIG_Py_Void();
12911 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 return SWIG_Python_InitShadowInstance(args
);
12915 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12916 PyObject
*resultobj
= 0;
12917 wxPyLog
*result
= 0 ;
12919 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 result
= (wxPyLog
*)new wxPyLog();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12933 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
= 0;
12935 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12936 PyObject
*arg2
= (PyObject
*) 0 ;
12937 PyObject
*arg3
= (PyObject
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 PyObject
* obj1
= 0 ;
12942 PyObject
* obj2
= 0 ;
12943 char * kwnames
[] = {
12944 (char *) "self",(char *) "self",(char *) "_class", NULL
12947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12952 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= SWIG_Py_Void();
12968 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12972 return SWIG_Py_Void();
12975 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12976 return SWIG_Python_InitShadowInstance(args
);
12979 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= 0;
12982 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12983 int arg3
= (int) wxKILL_NOCHILDREN
;
12984 wxKillError result
;
12991 PyObject
* obj0
= 0 ;
12992 PyObject
* obj1
= 0 ;
12993 PyObject
* obj2
= 0 ;
12994 char * kwnames
[] = {
12995 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13000 if (!SWIG_IsOK(ecode1
)) {
13001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13003 arg1
= static_cast< int >(val1
);
13005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13006 if (!SWIG_IsOK(ecode2
)) {
13007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13009 arg2
= static_cast< wxSignal
>(val2
);
13012 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13013 if (!SWIG_IsOK(ecode3
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13016 arg3
= static_cast< int >(val3
);
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_From_int(static_cast< int >(result
));
13031 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13037 PyObject
* obj0
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "pid", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13044 if (!SWIG_IsOK(ecode1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13047 arg1
= static_cast< int >(val1
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (bool)wxPyProcess::Exists(arg1
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13064 PyObject
*resultobj
= 0;
13065 wxString
*arg1
= 0 ;
13066 int arg2
= (int) wxEXEC_ASYNC
;
13067 wxPyProcess
*result
= 0 ;
13068 bool temp1
= false ;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 char * kwnames
[] = {
13074 (char *) "cmd",(char *) "flags", NULL
13077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13079 arg1
= wxString_in_helper(obj0
);
13080 if (arg1
== NULL
) SWIG_fail
;
13084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13085 if (!SWIG_IsOK(ecode2
)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13088 arg2
= static_cast< int >(val2
);
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13111 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= 0;
13113 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13114 int arg2
= (int) -1 ;
13115 wxPyProcess
*result
= 0 ;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 char * kwnames
[] = {
13123 (char *) "parent",(char *) "id", NULL
13126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13129 if (!SWIG_IsOK(res1
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13132 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13136 if (!SWIG_IsOK(ecode2
)) {
13137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13139 arg2
= static_cast< int >(val2
);
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13144 wxPyEndAllowThreads(__tstate
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13154 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
= 0;
13156 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13157 PyObject
*arg2
= (PyObject
*) 0 ;
13158 PyObject
*arg3
= (PyObject
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 PyObject
* obj2
= 0 ;
13164 char * kwnames
[] = {
13165 (char *) "self",(char *) "self",(char *) "_class", NULL
13168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13170 if (!SWIG_IsOK(res1
)) {
13171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13173 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_Py_Void();
13189 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
= 0;
13191 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 char * kwnames
[] = {
13204 (char *) "self",(char *) "pid",(char *) "status", NULL
13207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13209 if (!SWIG_IsOK(res1
)) {
13210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13212 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13214 if (!SWIG_IsOK(ecode2
)) {
13215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13217 arg2
= static_cast< int >(val2
);
13218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13219 if (!SWIG_IsOK(ecode3
)) {
13220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13222 arg3
= static_cast< int >(val3
);
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 (arg1
)->OnTerminate(arg2
,arg3
);
13226 wxPyEndAllowThreads(__tstate
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13229 resultobj
= SWIG_Py_Void();
13236 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13237 PyObject
*resultobj
= 0;
13238 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13241 PyObject
*swig_obj
[1] ;
13243 if (!args
) SWIG_fail
;
13244 swig_obj
[0] = args
;
13245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13246 if (!SWIG_IsOK(res1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13249 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 (arg1
)->Redirect();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_Py_Void();
13263 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13264 PyObject
*resultobj
= 0;
13265 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13269 PyObject
*swig_obj
[1] ;
13271 if (!args
) SWIG_fail
;
13272 swig_obj
[0] = args
;
13273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13274 if (!SWIG_IsOK(res1
)) {
13275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13277 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (bool)(arg1
)->IsRedirected();
13281 wxPyEndAllowThreads(__tstate
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13293 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13294 PyObject
*resultobj
= 0;
13295 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13298 PyObject
*swig_obj
[1] ;
13300 if (!args
) SWIG_fail
;
13301 swig_obj
[0] = args
;
13302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13306 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= SWIG_Py_Void();
13320 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13321 PyObject
*resultobj
= 0;
13322 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13323 wxInputStream
*result
= 0 ;
13326 PyObject
*swig_obj
[1] ;
13328 if (!args
) SWIG_fail
;
13329 swig_obj
[0] = args
;
13330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13331 if (!SWIG_IsOK(res1
)) {
13332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13334 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13342 wxPyInputStream
* _ptr
= NULL
;
13345 _ptr
= new wxPyInputStream(result
);
13347 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13355 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13356 PyObject
*resultobj
= 0;
13357 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13358 wxInputStream
*result
= 0 ;
13361 PyObject
*swig_obj
[1] ;
13363 if (!args
) SWIG_fail
;
13364 swig_obj
[0] = args
;
13365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13366 if (!SWIG_IsOK(res1
)) {
13367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13369 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13377 wxPyInputStream
* _ptr
= NULL
;
13380 _ptr
= new wxPyInputStream(result
);
13382 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13390 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 PyObject
*resultobj
= 0;
13392 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13393 wxOutputStream
*result
= 0 ;
13396 PyObject
*swig_obj
[1] ;
13398 if (!args
) SWIG_fail
;
13399 swig_obj
[0] = args
;
13400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13401 if (!SWIG_IsOK(res1
)) {
13402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13404 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13418 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13419 PyObject
*resultobj
= 0;
13420 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13423 PyObject
*swig_obj
[1] ;
13425 if (!args
) SWIG_fail
;
13426 swig_obj
[0] = args
;
13427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13428 if (!SWIG_IsOK(res1
)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13431 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 (arg1
)->CloseOutput();
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_Py_Void();
13445 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 PyObject
*resultobj
= 0;
13447 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13451 PyObject
*swig_obj
[1] ;
13453 if (!args
) SWIG_fail
;
13454 swig_obj
[0] = args
;
13455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13456 if (!SWIG_IsOK(res1
)) {
13457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13459 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13476 PyObject
*resultobj
= 0;
13477 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13481 PyObject
*swig_obj
[1] ;
13483 if (!args
) SWIG_fail
;
13484 swig_obj
[0] = args
;
13485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13486 if (!SWIG_IsOK(res1
)) {
13487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13489 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13505 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13506 PyObject
*resultobj
= 0;
13507 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13511 PyObject
*swig_obj
[1] ;
13513 if (!args
) SWIG_fail
;
13514 swig_obj
[0] = args
;
13515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13516 if (!SWIG_IsOK(res1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13519 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13535 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13537 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13538 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13539 return SWIG_Py_Void();
13542 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13543 return SWIG_Python_InitShadowInstance(args
);
13546 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
= 0;
13548 int arg1
= (int) 0 ;
13549 int arg2
= (int) 0 ;
13550 int arg3
= (int) 0 ;
13551 wxProcessEvent
*result
= 0 ;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 PyObject
* obj2
= 0 ;
13561 char * kwnames
[] = {
13562 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13567 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13568 if (!SWIG_IsOK(ecode1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13571 arg1
= static_cast< int >(val1
);
13574 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13575 if (!SWIG_IsOK(ecode2
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13578 arg2
= static_cast< int >(val2
);
13581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13582 if (!SWIG_IsOK(ecode3
)) {
13583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13585 arg3
= static_cast< int >(val3
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13600 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13601 PyObject
*resultobj
= 0;
13602 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13606 PyObject
*swig_obj
[1] ;
13608 if (!args
) SWIG_fail
;
13609 swig_obj
[0] = args
;
13610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13611 if (!SWIG_IsOK(res1
)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13614 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (int)(arg1
)->GetPid();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= SWIG_From_int(static_cast< int >(result
));
13628 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13629 PyObject
*resultobj
= 0;
13630 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13634 PyObject
*swig_obj
[1] ;
13636 if (!args
) SWIG_fail
;
13637 swig_obj
[0] = args
;
13638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13639 if (!SWIG_IsOK(res1
)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13642 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13645 result
= (int)(arg1
)->GetExitCode();
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= SWIG_From_int(static_cast< int >(result
));
13656 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13657 PyObject
*resultobj
= 0;
13658 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13664 PyObject
*swig_obj
[2] ;
13666 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13668 if (!SWIG_IsOK(res1
)) {
13669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13671 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13672 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13673 if (!SWIG_IsOK(ecode2
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13676 arg2
= static_cast< int >(val2
);
13677 if (arg1
) (arg1
)->m_pid
= arg2
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13687 PyObject
*resultobj
= 0;
13688 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13692 PyObject
*swig_obj
[1] ;
13694 if (!args
) SWIG_fail
;
13695 swig_obj
[0] = args
;
13696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13697 if (!SWIG_IsOK(res1
)) {
13698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13700 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13701 result
= (int) ((arg1
)->m_pid
);
13702 resultobj
= SWIG_From_int(static_cast< int >(result
));
13709 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13710 PyObject
*resultobj
= 0;
13711 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13717 PyObject
*swig_obj
[2] ;
13719 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13721 if (!SWIG_IsOK(res1
)) {
13722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13724 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13725 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13726 if (!SWIG_IsOK(ecode2
)) {
13727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13729 arg2
= static_cast< int >(val2
);
13730 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13732 resultobj
= SWIG_Py_Void();
13739 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13740 PyObject
*resultobj
= 0;
13741 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13745 PyObject
*swig_obj
[1] ;
13747 if (!args
) SWIG_fail
;
13748 swig_obj
[0] = args
;
13749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13750 if (!SWIG_IsOK(res1
)) {
13751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13753 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13754 result
= (int) ((arg1
)->m_exitcode
);
13755 resultobj
= SWIG_From_int(static_cast< int >(result
));
13762 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13765 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13766 return SWIG_Py_Void();
13769 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13770 return SWIG_Python_InitShadowInstance(args
);
13773 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13774 PyObject
*resultobj
= 0;
13775 wxString
*arg1
= 0 ;
13776 int arg2
= (int) wxEXEC_ASYNC
;
13777 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13779 bool temp1
= false ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 PyObject
* obj2
= 0 ;
13787 char * kwnames
[] = {
13788 (char *) "command",(char *) "flags",(char *) "process", NULL
13791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13793 arg1
= wxString_in_helper(obj0
);
13794 if (arg1
== NULL
) SWIG_fail
;
13798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13799 if (!SWIG_IsOK(ecode2
)) {
13800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13802 arg2
= static_cast< int >(val2
);
13805 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13806 if (!SWIG_IsOK(res3
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13809 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13812 if (!wxPyCheckForApp()) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_From_long(static_cast< long >(result
));
13833 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
= 0;
13836 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13837 wxKillError
*arg3
= (wxKillError
*) 0 ;
13838 int arg4
= (int) wxKILL_NOCHILDREN
;
13844 wxKillError temp3
;
13847 PyObject
* obj0
= 0 ;
13848 PyObject
* obj1
= 0 ;
13849 PyObject
* obj2
= 0 ;
13850 char * kwnames
[] = {
13851 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13858 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13859 if (!SWIG_IsOK(ecode1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13862 arg1
= static_cast< long >(val1
);
13864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13865 if (!SWIG_IsOK(ecode2
)) {
13866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13868 arg2
= static_cast< wxSignal
>(val2
);
13871 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13872 if (!SWIG_IsOK(ecode4
)) {
13873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13875 arg4
= static_cast< int >(val4
);
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13883 resultobj
= SWIG_From_int(static_cast< int >(result
));
13886 o
= PyInt_FromLong((long) (*arg3
));
13890 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13899 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
= 0;
13901 int arg1
= (int) wxJOYSTICK1
;
13902 wxJoystick
*result
= 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char * kwnames
[] = {
13907 (char *) "joystick", NULL
13910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13913 if (!SWIG_IsOK(ecode1
)) {
13914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13916 arg1
= static_cast< int >(val1
);
13919 if (!wxPyCheckForApp()) SWIG_fail
;
13920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13921 result
= (wxJoystick
*)new wxJoystick(arg1
);
13922 wxPyEndAllowThreads(__tstate
);
13923 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13932 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13933 PyObject
*resultobj
= 0;
13934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13937 PyObject
*swig_obj
[1] ;
13939 if (!args
) SWIG_fail
;
13940 swig_obj
[0] = args
;
13941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13942 if (!SWIG_IsOK(res1
)) {
13943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13945 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= SWIG_Py_Void();
13960 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13961 PyObject
*resultobj
= 0;
13962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13966 PyObject
*swig_obj
[1] ;
13968 if (!args
) SWIG_fail
;
13969 swig_obj
[0] = args
;
13970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13971 if (!SWIG_IsOK(res1
)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13974 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (arg1
)->GetPosition();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13988 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14002 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (int)(arg1
)->GetZPosition();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_From_int(static_cast< int >(result
));
14016 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14017 PyObject
*resultobj
= 0;
14018 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14022 PyObject
*swig_obj
[1] ;
14024 if (!args
) SWIG_fail
;
14025 swig_obj
[0] = args
;
14026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14030 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (int)(arg1
)->GetButtonState();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_From_int(static_cast< int >(result
));
14044 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 PyObject
*resultobj
= 0;
14046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14058 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (int)(arg1
)->GetPOVPosition();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= SWIG_From_int(static_cast< int >(result
));
14072 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14073 PyObject
*resultobj
= 0;
14074 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14078 PyObject
*swig_obj
[1] ;
14080 if (!args
) SWIG_fail
;
14081 swig_obj
[0] = args
;
14082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14083 if (!SWIG_IsOK(res1
)) {
14084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14086 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 result
= (int)(arg1
)->GetPOVCTSPosition();
14090 wxPyEndAllowThreads(__tstate
);
14091 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= SWIG_From_int(static_cast< int >(result
));
14100 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14101 PyObject
*resultobj
= 0;
14102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14106 PyObject
*swig_obj
[1] ;
14108 if (!args
) SWIG_fail
;
14109 swig_obj
[0] = args
;
14110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14114 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 result
= (int)(arg1
)->GetRudderPosition();
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= SWIG_From_int(static_cast< int >(result
));
14128 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14129 PyObject
*resultobj
= 0;
14130 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14134 PyObject
*swig_obj
[1] ;
14136 if (!args
) SWIG_fail
;
14137 swig_obj
[0] = args
;
14138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14139 if (!SWIG_IsOK(res1
)) {
14140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14142 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (int)(arg1
)->GetUPosition();
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= SWIG_From_int(static_cast< int >(result
));
14156 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14157 PyObject
*resultobj
= 0;
14158 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14162 PyObject
*swig_obj
[1] ;
14164 if (!args
) SWIG_fail
;
14165 swig_obj
[0] = args
;
14166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14170 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 result
= (int)(arg1
)->GetVPosition();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_From_int(static_cast< int >(result
));
14184 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 PyObject
*resultobj
= 0;
14186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14190 PyObject
*swig_obj
[1] ;
14192 if (!args
) SWIG_fail
;
14193 swig_obj
[0] = args
;
14194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14195 if (!SWIG_IsOK(res1
)) {
14196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14198 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14201 result
= (int)(arg1
)->GetMovementThreshold();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_From_int(static_cast< int >(result
));
14212 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
= 0;
14214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14220 PyObject
* obj0
= 0 ;
14221 PyObject
* obj1
= 0 ;
14222 char * kwnames
[] = {
14223 (char *) "self",(char *) "threshold", NULL
14226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14231 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14233 if (!SWIG_IsOK(ecode2
)) {
14234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14236 arg2
= static_cast< int >(val2
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 (arg1
)->SetMovementThreshold(arg2
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_Py_Void();
14250 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14264 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)(arg1
)->IsOk();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14280 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14281 PyObject
*resultobj
= 0;
14282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14286 PyObject
*swig_obj
[1] ;
14288 if (!args
) SWIG_fail
;
14289 swig_obj
[0] = args
;
14290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14291 if (!SWIG_IsOK(res1
)) {
14292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14294 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 result
= (int)(arg1
)->GetNumberJoysticks();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int(static_cast< int >(result
));
14308 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14322 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (int)(arg1
)->GetManufacturerId();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_From_int(static_cast< int >(result
));
14336 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14337 PyObject
*resultobj
= 0;
14338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14342 PyObject
*swig_obj
[1] ;
14344 if (!args
) SWIG_fail
;
14345 swig_obj
[0] = args
;
14346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14350 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (int)(arg1
)->GetProductId();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= SWIG_From_int(static_cast< int >(result
));
14364 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14365 PyObject
*resultobj
= 0;
14366 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14370 PyObject
*swig_obj
[1] ;
14372 if (!args
) SWIG_fail
;
14373 swig_obj
[0] = args
;
14374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14378 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (arg1
)->GetProductName();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14398 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14399 PyObject
*resultobj
= 0;
14400 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14404 PyObject
*swig_obj
[1] ;
14406 if (!args
) SWIG_fail
;
14407 swig_obj
[0] = args
;
14408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14412 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 result
= (int)(arg1
)->GetXMin();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_From_int(static_cast< int >(result
));
14426 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14427 PyObject
*resultobj
= 0;
14428 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14432 PyObject
*swig_obj
[1] ;
14434 if (!args
) SWIG_fail
;
14435 swig_obj
[0] = args
;
14436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14437 if (!SWIG_IsOK(res1
)) {
14438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14440 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)(arg1
)->GetYMin();
14444 wxPyEndAllowThreads(__tstate
);
14445 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= SWIG_From_int(static_cast< int >(result
));
14454 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14455 PyObject
*resultobj
= 0;
14456 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14460 PyObject
*swig_obj
[1] ;
14462 if (!args
) SWIG_fail
;
14463 swig_obj
[0] = args
;
14464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14465 if (!SWIG_IsOK(res1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14468 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 result
= (int)(arg1
)->GetZMin();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= SWIG_From_int(static_cast< int >(result
));
14482 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14488 PyObject
*swig_obj
[1] ;
14490 if (!args
) SWIG_fail
;
14491 swig_obj
[0] = args
;
14492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14496 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)(arg1
)->GetXMax();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_From_int(static_cast< int >(result
));
14510 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14524 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (int)(arg1
)->GetYMax();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_int(static_cast< int >(result
));
14538 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14552 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (int)(arg1
)->GetZMax();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_int(static_cast< int >(result
));
14566 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14580 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (int)(arg1
)->GetNumberButtons();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= SWIG_From_int(static_cast< int >(result
));
14594 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14595 PyObject
*resultobj
= 0;
14596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14600 PyObject
*swig_obj
[1] ;
14602 if (!args
) SWIG_fail
;
14603 swig_obj
[0] = args
;
14604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14605 if (!SWIG_IsOK(res1
)) {
14606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14608 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (int)(arg1
)->GetNumberAxes();
14612 wxPyEndAllowThreads(__tstate
);
14613 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= SWIG_From_int(static_cast< int >(result
));
14622 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14623 PyObject
*resultobj
= 0;
14624 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14628 PyObject
*swig_obj
[1] ;
14630 if (!args
) SWIG_fail
;
14631 swig_obj
[0] = args
;
14632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14633 if (!SWIG_IsOK(res1
)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14636 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (int)(arg1
)->GetMaxButtons();
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_From_int(static_cast< int >(result
));
14650 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14651 PyObject
*resultobj
= 0;
14652 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14656 PyObject
*swig_obj
[1] ;
14658 if (!args
) SWIG_fail
;
14659 swig_obj
[0] = args
;
14660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14664 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (int)(arg1
)->GetMaxAxes();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= SWIG_From_int(static_cast< int >(result
));
14678 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14679 PyObject
*resultobj
= 0;
14680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14684 PyObject
*swig_obj
[1] ;
14686 if (!args
) SWIG_fail
;
14687 swig_obj
[0] = args
;
14688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14689 if (!SWIG_IsOK(res1
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14692 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14695 result
= (int)(arg1
)->GetPollingMin();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_From_int(static_cast< int >(result
));
14706 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14707 PyObject
*resultobj
= 0;
14708 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14712 PyObject
*swig_obj
[1] ;
14714 if (!args
) SWIG_fail
;
14715 swig_obj
[0] = args
;
14716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14717 if (!SWIG_IsOK(res1
)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14720 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (int)(arg1
)->GetPollingMax();
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= SWIG_From_int(static_cast< int >(result
));
14734 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14735 PyObject
*resultobj
= 0;
14736 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14740 PyObject
*swig_obj
[1] ;
14742 if (!args
) SWIG_fail
;
14743 swig_obj
[0] = args
;
14744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14748 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (int)(arg1
)->GetRudderMin();
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_From_int(static_cast< int >(result
));
14762 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14763 PyObject
*resultobj
= 0;
14764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14768 PyObject
*swig_obj
[1] ;
14770 if (!args
) SWIG_fail
;
14771 swig_obj
[0] = args
;
14772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14776 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (int)(arg1
)->GetRudderMax();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_From_int(static_cast< int >(result
));
14790 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14791 PyObject
*resultobj
= 0;
14792 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14796 PyObject
*swig_obj
[1] ;
14798 if (!args
) SWIG_fail
;
14799 swig_obj
[0] = args
;
14800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14801 if (!SWIG_IsOK(res1
)) {
14802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14804 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (int)(arg1
)->GetUMin();
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= SWIG_From_int(static_cast< int >(result
));
14818 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14819 PyObject
*resultobj
= 0;
14820 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14824 PyObject
*swig_obj
[1] ;
14826 if (!args
) SWIG_fail
;
14827 swig_obj
[0] = args
;
14828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14829 if (!SWIG_IsOK(res1
)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14832 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 result
= (int)(arg1
)->GetUMax();
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_From_int(static_cast< int >(result
));
14846 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14847 PyObject
*resultobj
= 0;
14848 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14852 PyObject
*swig_obj
[1] ;
14854 if (!args
) SWIG_fail
;
14855 swig_obj
[0] = args
;
14856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14857 if (!SWIG_IsOK(res1
)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14860 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (int)(arg1
)->GetVMin();
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= SWIG_From_int(static_cast< int >(result
));
14874 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14875 PyObject
*resultobj
= 0;
14876 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14880 PyObject
*swig_obj
[1] ;
14882 if (!args
) SWIG_fail
;
14883 swig_obj
[0] = args
;
14884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14888 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (int)(arg1
)->GetVMax();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_From_int(static_cast< int >(result
));
14902 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14903 PyObject
*resultobj
= 0;
14904 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14908 PyObject
*swig_obj
[1] ;
14910 if (!args
) SWIG_fail
;
14911 swig_obj
[0] = args
;
14912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14916 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (bool)(arg1
)->HasRudder();
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14933 PyObject
*resultobj
= 0;
14934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14938 PyObject
*swig_obj
[1] ;
14940 if (!args
) SWIG_fail
;
14941 swig_obj
[0] = args
;
14942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14946 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14949 result
= (bool)(arg1
)->HasZ();
14950 wxPyEndAllowThreads(__tstate
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14962 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14968 PyObject
*swig_obj
[1] ;
14970 if (!args
) SWIG_fail
;
14971 swig_obj
[0] = args
;
14972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14976 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (bool)(arg1
)->HasU();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14992 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14998 PyObject
*swig_obj
[1] ;
15000 if (!args
) SWIG_fail
;
15001 swig_obj
[0] = args
;
15002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15006 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (bool)(arg1
)->HasV();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15022 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15023 PyObject
*resultobj
= 0;
15024 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15028 PyObject
*swig_obj
[1] ;
15030 if (!args
) SWIG_fail
;
15031 swig_obj
[0] = args
;
15032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15033 if (!SWIG_IsOK(res1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15036 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (bool)(arg1
)->HasPOV();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15052 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 PyObject
*resultobj
= 0;
15054 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15058 PyObject
*swig_obj
[1] ;
15060 if (!args
) SWIG_fail
;
15061 swig_obj
[0] = args
;
15062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15063 if (!SWIG_IsOK(res1
)) {
15064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15066 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (bool)(arg1
)->HasPOV4Dir();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15082 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15083 PyObject
*resultobj
= 0;
15084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15088 PyObject
*swig_obj
[1] ;
15090 if (!args
) SWIG_fail
;
15091 swig_obj
[0] = args
;
15092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15093 if (!SWIG_IsOK(res1
)) {
15094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15096 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)(arg1
)->HasPOVCTS();
15100 wxPyEndAllowThreads(__tstate
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15112 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
= 0;
15114 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15115 wxWindow
*arg2
= (wxWindow
*) 0 ;
15116 int arg3
= (int) 0 ;
15124 PyObject
* obj0
= 0 ;
15125 PyObject
* obj1
= 0 ;
15126 PyObject
* obj2
= 0 ;
15127 char * kwnames
[] = {
15128 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15133 if (!SWIG_IsOK(res1
)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15136 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15138 if (!SWIG_IsOK(res2
)) {
15139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15144 if (!SWIG_IsOK(ecode3
)) {
15145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15147 arg3
= static_cast< int >(val3
);
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15170 PyObject
*swig_obj
[1] ;
15172 if (!args
) SWIG_fail
;
15173 swig_obj
[0] = args
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15178 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (bool)(arg1
)->ReleaseCapture();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15194 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15197 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15198 return SWIG_Py_Void();
15201 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15202 return SWIG_Python_InitShadowInstance(args
);
15205 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
= 0;
15207 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15208 int arg2
= (int) 0 ;
15209 int arg3
= (int) wxJOYSTICK1
;
15210 int arg4
= (int) 0 ;
15211 wxJoystickEvent
*result
= 0 ;
15220 PyObject
* obj0
= 0 ;
15221 PyObject
* obj1
= 0 ;
15222 PyObject
* obj2
= 0 ;
15223 PyObject
* obj3
= 0 ;
15224 char * kwnames
[] = {
15225 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15231 if (!SWIG_IsOK(ecode1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15234 arg1
= static_cast< wxEventType
>(val1
);
15237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15238 if (!SWIG_IsOK(ecode2
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15241 arg2
= static_cast< int >(val2
);
15244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15245 if (!SWIG_IsOK(ecode3
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15248 arg3
= static_cast< int >(val3
);
15251 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15252 if (!SWIG_IsOK(ecode4
)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15255 arg4
= static_cast< int >(val4
);
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15270 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15271 PyObject
*resultobj
= 0;
15272 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15276 PyObject
*swig_obj
[1] ;
15278 if (!args
) SWIG_fail
;
15279 swig_obj
[0] = args
;
15280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15281 if (!SWIG_IsOK(res1
)) {
15282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15284 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15298 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15299 PyObject
*resultobj
= 0;
15300 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15304 PyObject
*swig_obj
[1] ;
15306 if (!args
) SWIG_fail
;
15307 swig_obj
[0] = args
;
15308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15309 if (!SWIG_IsOK(res1
)) {
15310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15312 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_From_int(static_cast< int >(result
));
15326 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 PyObject
*resultobj
= 0;
15328 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15332 PyObject
*swig_obj
[1] ;
15334 if (!args
) SWIG_fail
;
15335 swig_obj
[0] = args
;
15336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15337 if (!SWIG_IsOK(res1
)) {
15338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15340 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_From_int(static_cast< int >(result
));
15354 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15360 PyObject
*swig_obj
[1] ;
15362 if (!args
) SWIG_fail
;
15363 swig_obj
[0] = args
;
15364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15368 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= SWIG_From_int(static_cast< int >(result
));
15382 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15383 PyObject
*resultobj
= 0;
15384 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15388 PyObject
*swig_obj
[1] ;
15390 if (!args
) SWIG_fail
;
15391 swig_obj
[0] = args
;
15392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15393 if (!SWIG_IsOK(res1
)) {
15394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15396 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_From_int(static_cast< int >(result
));
15410 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
= 0;
15412 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char * kwnames
[] = {
15421 (char *) "self",(char *) "stick", NULL
15424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15426 if (!SWIG_IsOK(res1
)) {
15427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15429 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15431 if (!SWIG_IsOK(ecode2
)) {
15432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15434 arg2
= static_cast< int >(val2
);
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 (arg1
)->SetJoystick(arg2
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_Py_Void();
15448 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
= 0;
15450 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char * kwnames
[] = {
15459 (char *) "self",(char *) "state", NULL
15462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15464 if (!SWIG_IsOK(res1
)) {
15465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15467 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15469 if (!SWIG_IsOK(ecode2
)) {
15470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15472 arg2
= static_cast< int >(val2
);
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 (arg1
)->SetButtonState(arg2
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_Py_Void();
15486 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
= 0;
15488 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 PyObject
* obj1
= 0 ;
15496 char * kwnames
[] = {
15497 (char *) "self",(char *) "change", NULL
15500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15502 if (!SWIG_IsOK(res1
)) {
15503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15505 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15507 if (!SWIG_IsOK(ecode2
)) {
15508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15510 arg2
= static_cast< int >(val2
);
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->SetButtonChange(arg2
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_Py_Void();
15524 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
= 0;
15526 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15527 wxPoint
*arg2
= 0 ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 char * kwnames
[] = {
15534 (char *) "self",(char *) "pos", NULL
15537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15542 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_Py_Void();
15560 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char * kwnames
[] = {
15571 (char *) "self",(char *) "zPos", NULL
15574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15576 if (!SWIG_IsOK(res1
)) {
15577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15579 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15581 if (!SWIG_IsOK(ecode2
)) {
15582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15584 arg2
= static_cast< int >(val2
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 (arg1
)->SetZPosition(arg2
);
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_Py_Void();
15598 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15599 PyObject
*resultobj
= 0;
15600 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15604 PyObject
*swig_obj
[1] ;
15606 if (!args
) SWIG_fail
;
15607 swig_obj
[0] = args
;
15608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15609 if (!SWIG_IsOK(res1
)) {
15610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15612 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15616 wxPyEndAllowThreads(__tstate
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15628 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15629 PyObject
*resultobj
= 0;
15630 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15634 PyObject
*swig_obj
[1] ;
15636 if (!args
) SWIG_fail
;
15637 swig_obj
[0] = args
;
15638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15639 if (!SWIG_IsOK(res1
)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15642 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15658 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15659 PyObject
*resultobj
= 0;
15660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15664 PyObject
*swig_obj
[1] ;
15666 if (!args
) SWIG_fail
;
15667 swig_obj
[0] = args
;
15668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15669 if (!SWIG_IsOK(res1
)) {
15670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15672 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15688 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15691 int arg2
= (int) wxJOY_BUTTON_ANY
;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 char * kwnames
[] = {
15700 (char *) "self",(char *) "but", NULL
15703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15705 if (!SWIG_IsOK(res1
)) {
15706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15708 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15711 if (!SWIG_IsOK(ecode2
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15714 arg2
= static_cast< int >(val2
);
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15731 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
= 0;
15733 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15734 int arg2
= (int) wxJOY_BUTTON_ANY
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char * kwnames
[] = {
15743 (char *) "self",(char *) "but", NULL
15746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15748 if (!SWIG_IsOK(res1
)) {
15749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15751 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15754 if (!SWIG_IsOK(ecode2
)) {
15755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15757 arg2
= static_cast< int >(val2
);
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15774 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
= 0;
15776 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15777 int arg2
= (int) wxJOY_BUTTON_ANY
;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 char * kwnames
[] = {
15786 (char *) "self",(char *) "but", NULL
15789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15791 if (!SWIG_IsOK(res1
)) {
15792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15794 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15797 if (!SWIG_IsOK(ecode2
)) {
15798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15800 arg2
= static_cast< int >(val2
);
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15817 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15820 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15821 return SWIG_Py_Void();
15824 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 return SWIG_Python_InitShadowInstance(args
);
15828 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
= 0;
15830 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15831 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15832 wxSound
*result
= 0 ;
15833 bool temp1
= false ;
15834 PyObject
* obj0
= 0 ;
15835 char * kwnames
[] = {
15836 (char *) "fileName", NULL
15839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15842 arg1
= wxString_in_helper(obj0
);
15843 if (arg1
== NULL
) SWIG_fail
;
15848 if (!wxPyCheckForApp()) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15869 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= 0;
15871 PyObject
*arg1
= (PyObject
*) 0 ;
15872 wxSound
*result
= 0 ;
15873 PyObject
* obj0
= 0 ;
15874 char * kwnames
[] = {
15875 (char *) "data", NULL
15878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15881 if (!wxPyCheckForApp()) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= (wxSound
*)new_wxSound(arg1
);
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15894 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15895 PyObject
*resultobj
= 0;
15896 wxSound
*arg1
= (wxSound
*) 0 ;
15899 PyObject
*swig_obj
[1] ;
15901 if (!args
) SWIG_fail
;
15902 swig_obj
[0] = args
;
15903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15904 if (!SWIG_IsOK(res1
)) {
15905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15907 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= SWIG_Py_Void();
15922 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
= 0;
15924 wxSound
*arg1
= (wxSound
*) 0 ;
15925 wxString
*arg2
= 0 ;
15929 bool temp2
= false ;
15930 PyObject
* obj0
= 0 ;
15931 PyObject
* obj1
= 0 ;
15932 char * kwnames
[] = {
15933 (char *) "self",(char *) "fileName", NULL
15936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15938 if (!SWIG_IsOK(res1
)) {
15939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15941 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15943 arg2
= wxString_in_helper(obj1
);
15944 if (arg2
== NULL
) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
= 0;
15972 wxSound
*arg1
= (wxSound
*) 0 ;
15973 PyObject
*arg2
= (PyObject
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 char * kwnames
[] = {
15980 (char *) "self",(char *) "data", NULL
15983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15985 if (!SWIG_IsOK(res1
)) {
15986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15988 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16005 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16006 PyObject
*resultobj
= 0;
16007 wxSound
*arg1
= (wxSound
*) 0 ;
16011 PyObject
*swig_obj
[1] ;
16013 if (!args
) SWIG_fail
;
16014 swig_obj
[0] = args
;
16015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16019 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= (bool)(arg1
)->IsOk();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16035 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxSound
*arg1
= (wxSound
*) 0 ;
16038 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16042 unsigned int val2
;
16044 PyObject
* obj0
= 0 ;
16045 PyObject
* obj1
= 0 ;
16046 char * kwnames
[] = {
16047 (char *) "self",(char *) "flags", NULL
16050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16052 if (!SWIG_IsOK(res1
)) {
16053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16055 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16057 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16058 if (!SWIG_IsOK(ecode2
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16061 arg2
= static_cast< unsigned int >(val2
);
16064 if (!wxPyCheckForApp()) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16079 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
= 0;
16081 wxString
*arg1
= 0 ;
16082 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16084 bool temp1
= false ;
16085 unsigned int val2
;
16087 PyObject
* obj0
= 0 ;
16088 PyObject
* obj1
= 0 ;
16089 char * kwnames
[] = {
16090 (char *) "filename",(char *) "flags", NULL
16093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16095 arg1
= wxString_in_helper(obj0
);
16096 if (arg1
== NULL
) SWIG_fail
;
16100 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16101 if (!SWIG_IsOK(ecode2
)) {
16102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16104 arg2
= static_cast< unsigned int >(val2
);
16107 if (!wxPyCheckForApp()) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16130 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16131 PyObject
*resultobj
= 0;
16133 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16135 if (!wxPyCheckForApp()) SWIG_fail
;
16136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_Py_Void();
16148 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16151 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16152 return SWIG_Py_Void();
16155 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16156 return SWIG_Python_InitShadowInstance(args
);
16159 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= 0;
16161 wxString
*arg1
= 0 ;
16162 wxString
*arg2
= 0 ;
16163 wxString
*arg3
= 0 ;
16164 wxString
*arg4
= 0 ;
16165 wxFileTypeInfo
*result
= 0 ;
16166 bool temp1
= false ;
16167 bool temp2
= false ;
16168 bool temp3
= false ;
16169 bool temp4
= false ;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 PyObject
* obj2
= 0 ;
16173 PyObject
* obj3
= 0 ;
16174 char * kwnames
[] = {
16175 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16180 arg1
= wxString_in_helper(obj0
);
16181 if (arg1
== NULL
) SWIG_fail
;
16185 arg2
= wxString_in_helper(obj1
);
16186 if (arg2
== NULL
) SWIG_fail
;
16190 arg3
= wxString_in_helper(obj2
);
16191 if (arg3
== NULL
) SWIG_fail
;
16195 arg4
= wxString_in_helper(obj3
);
16196 if (arg4
== NULL
) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16244 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
= 0;
16246 wxArrayString
*arg1
= 0 ;
16247 wxFileTypeInfo
*result
= 0 ;
16248 bool temp1
= false ;
16249 PyObject
* obj0
= 0 ;
16250 char * kwnames
[] = {
16251 (char *) "sArray", NULL
16254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16256 if (! PySequence_Check(obj0
)) {
16257 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16260 arg1
= new wxArrayString
;
16262 int i
, len
=PySequence_Length(obj0
);
16263 for (i
=0; i
<len
; i
++) {
16264 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16265 wxString
* s
= wxString_in_helper(item
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16280 if (temp1
) delete arg1
;
16285 if (temp1
) delete arg1
;
16291 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16292 PyObject
*resultobj
= 0;
16293 wxFileTypeInfo
*result
= 0 ;
16295 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16309 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16310 PyObject
*resultobj
= 0;
16311 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16315 PyObject
*swig_obj
[1] ;
16317 if (!args
) SWIG_fail
;
16318 swig_obj
[0] = args
;
16319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16320 if (!SWIG_IsOK(res1
)) {
16321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16323 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
= 0;
16341 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16342 wxString
*arg2
= 0 ;
16343 int arg3
= (int) 0 ;
16346 bool temp2
= false ;
16349 PyObject
* obj0
= 0 ;
16350 PyObject
* obj1
= 0 ;
16351 PyObject
* obj2
= 0 ;
16352 char * kwnames
[] = {
16353 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16358 if (!SWIG_IsOK(res1
)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16361 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16363 arg2
= wxString_in_helper(obj1
);
16364 if (arg2
== NULL
) SWIG_fail
;
16368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16369 if (!SWIG_IsOK(ecode3
)) {
16370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16372 arg3
= static_cast< int >(val3
);
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= SWIG_Py_Void();
16395 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
= 0;
16397 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16398 wxString
*arg2
= 0 ;
16401 bool temp2
= false ;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char * kwnames
[] = {
16405 (char *) "self",(char *) "shortDesc", NULL
16408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16410 if (!SWIG_IsOK(res1
)) {
16411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16413 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16415 arg2
= wxString_in_helper(obj1
);
16416 if (arg2
== NULL
) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_Py_Void();
16440 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16441 PyObject
*resultobj
= 0;
16442 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16443 wxString
*result
= 0 ;
16446 PyObject
*swig_obj
[1] ;
16448 if (!args
) SWIG_fail
;
16449 swig_obj
[0] = args
;
16450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16451 if (!SWIG_IsOK(res1
)) {
16452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16454 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16459 result
= (wxString
*) &_result_ref
;
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16468 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16477 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16478 PyObject
*resultobj
= 0;
16479 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16480 wxString
*result
= 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_wxFileTypeInfo
, 0 | 0 );
16488 if (!SWIG_IsOK(res1
)) {
16489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16491 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16496 result
= (wxString
*) &_result_ref
;
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16505 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16514 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16517 wxString
*result
= 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16528 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16533 result
= (wxString
*) &_result_ref
;
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16542 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16551 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16552 PyObject
*resultobj
= 0;
16553 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16554 wxString
*result
= 0 ;
16557 PyObject
*swig_obj
[1] ;
16559 if (!args
) SWIG_fail
;
16560 swig_obj
[0] = args
;
16561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16562 if (!SWIG_IsOK(res1
)) {
16563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16565 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16570 result
= (wxString
*) &_result_ref
;
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16588 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16589 PyObject
*resultobj
= 0;
16590 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16591 wxString
*result
= 0 ;
16594 PyObject
*swig_obj
[1] ;
16596 if (!args
) SWIG_fail
;
16597 swig_obj
[0] = args
;
16598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16599 if (!SWIG_IsOK(res1
)) {
16600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16602 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16607 result
= (wxString
*) &_result_ref
;
16609 wxPyEndAllowThreads(__tstate
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16625 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16626 PyObject
*resultobj
= 0;
16627 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16628 wxArrayString
*result
= 0 ;
16631 PyObject
*swig_obj
[1] ;
16633 if (!args
) SWIG_fail
;
16634 swig_obj
[0] = args
;
16635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16636 if (!SWIG_IsOK(res1
)) {
16637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16639 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16643 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16644 result
= (wxArrayString
*) &_result_ref
;
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= wxArrayString2PyList_helper(*result
);
16658 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16659 PyObject
*resultobj
= 0;
16660 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16664 PyObject
*swig_obj
[1] ;
16666 if (!args
) SWIG_fail
;
16667 swig_obj
[0] = args
;
16668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16672 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16686 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16687 PyObject
*resultobj
= 0;
16688 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16689 wxString
*result
= 0 ;
16692 PyObject
*swig_obj
[1] ;
16694 if (!args
) SWIG_fail
;
16695 swig_obj
[0] = args
;
16696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16697 if (!SWIG_IsOK(res1
)) {
16698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16700 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16705 result
= (wxString
*) &_result_ref
;
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16723 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16724 PyObject
*resultobj
= 0;
16725 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 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_wxFileTypeInfo
, 0 | 0 );
16734 if (!SWIG_IsOK(res1
)) {
16735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16737 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_From_int(static_cast< int >(result
));
16751 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16754 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16755 return SWIG_Py_Void();
16758 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16759 return SWIG_Python_InitShadowInstance(args
);
16762 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
= 0;
16764 wxFileTypeInfo
*arg1
= 0 ;
16765 wxFileType
*result
= 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char * kwnames
[] = {
16770 (char *) "ftInfo", NULL
16773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16774 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16775 if (!SWIG_IsOK(res1
)) {
16776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16779 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16781 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16795 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16796 PyObject
*resultobj
= 0;
16797 wxFileType
*arg1
= (wxFileType
*) 0 ;
16800 PyObject
*swig_obj
[1] ;
16802 if (!args
) SWIG_fail
;
16803 swig_obj
[0] = args
;
16804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16808 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= SWIG_Py_Void();
16823 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16824 PyObject
*resultobj
= 0;
16825 wxFileType
*arg1
= (wxFileType
*) 0 ;
16826 PyObject
*result
= 0 ;
16829 PyObject
*swig_obj
[1] ;
16831 if (!args
) SWIG_fail
;
16832 swig_obj
[0] = args
;
16833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16837 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 resultobj
= result
;
16851 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16852 PyObject
*resultobj
= 0;
16853 wxFileType
*arg1
= (wxFileType
*) 0 ;
16854 PyObject
*result
= 0 ;
16857 PyObject
*swig_obj
[1] ;
16859 if (!args
) SWIG_fail
;
16860 swig_obj
[0] = args
;
16861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16862 if (!SWIG_IsOK(res1
)) {
16863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16865 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= result
;
16879 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16880 PyObject
*resultobj
= 0;
16881 wxFileType
*arg1
= (wxFileType
*) 0 ;
16882 PyObject
*result
= 0 ;
16885 PyObject
*swig_obj
[1] ;
16887 if (!args
) SWIG_fail
;
16888 swig_obj
[0] = args
;
16889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16890 if (!SWIG_IsOK(res1
)) {
16891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16893 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 resultobj
= result
;
16907 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16908 PyObject
*resultobj
= 0;
16909 wxFileType
*arg1
= (wxFileType
*) 0 ;
16910 wxIcon
*result
= 0 ;
16913 PyObject
*swig_obj
[1] ;
16915 if (!args
) SWIG_fail
;
16916 swig_obj
[0] = args
;
16917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16921 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16935 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16936 PyObject
*resultobj
= 0;
16937 wxFileType
*arg1
= (wxFileType
*) 0 ;
16938 PyObject
*result
= 0 ;
16941 PyObject
*swig_obj
[1] ;
16943 if (!args
) SWIG_fail
;
16944 swig_obj
[0] = args
;
16945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16949 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16952 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= result
;
16963 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16964 PyObject
*resultobj
= 0;
16965 wxFileType
*arg1
= (wxFileType
*) 0 ;
16966 PyObject
*result
= 0 ;
16969 PyObject
*swig_obj
[1] ;
16971 if (!args
) SWIG_fail
;
16972 swig_obj
[0] = args
;
16973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16974 if (!SWIG_IsOK(res1
)) {
16975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16977 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
;
16991 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
= 0;
16993 wxFileType
*arg1
= (wxFileType
*) 0 ;
16994 wxString
*arg2
= 0 ;
16995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16997 PyObject
*result
= 0 ;
17000 bool temp2
= false ;
17001 bool temp3
= false ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 PyObject
* obj2
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17014 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17016 arg2
= wxString_in_helper(obj1
);
17017 if (arg2
== NULL
) SWIG_fail
;
17022 arg3
= wxString_in_helper(obj2
);
17023 if (arg3
== NULL
) SWIG_fail
;
17028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17029 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= result
;
17056 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
= 0;
17058 wxFileType
*arg1
= (wxFileType
*) 0 ;
17059 wxString
*arg2
= 0 ;
17060 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17061 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17062 PyObject
*result
= 0 ;
17065 bool temp2
= false ;
17066 bool temp3
= false ;
17067 PyObject
* obj0
= 0 ;
17068 PyObject
* obj1
= 0 ;
17069 PyObject
* obj2
= 0 ;
17070 char * kwnames
[] = {
17071 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17076 if (!SWIG_IsOK(res1
)) {
17077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17079 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17081 arg2
= wxString_in_helper(obj1
);
17082 if (arg2
== NULL
) SWIG_fail
;
17087 arg3
= wxString_in_helper(obj2
);
17088 if (arg3
== NULL
) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= result
;
17121 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
= 0;
17123 wxFileType
*arg1
= (wxFileType
*) 0 ;
17124 wxString
*arg2
= 0 ;
17125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17127 PyObject
*result
= 0 ;
17130 bool temp2
= false ;
17131 bool temp3
= false ;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 PyObject
* obj2
= 0 ;
17135 char * kwnames
[] = {
17136 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17141 if (!SWIG_IsOK(res1
)) {
17142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17144 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17146 arg2
= wxString_in_helper(obj1
);
17147 if (arg2
== NULL
) SWIG_fail
;
17152 arg3
= wxString_in_helper(obj2
);
17153 if (arg3
== NULL
) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= result
;
17186 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
= 0;
17188 wxFileType
*arg1
= (wxFileType
*) 0 ;
17189 wxString
*arg2
= 0 ;
17190 wxString
*arg3
= 0 ;
17191 bool arg4
= (bool) true ;
17195 bool temp2
= false ;
17196 bool temp3
= false ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 PyObject
* obj2
= 0 ;
17202 PyObject
* obj3
= 0 ;
17203 char * kwnames
[] = {
17204 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17209 if (!SWIG_IsOK(res1
)) {
17210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17212 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17214 arg2
= wxString_in_helper(obj1
);
17215 if (arg2
== NULL
) SWIG_fail
;
17219 arg3
= wxString_in_helper(obj2
);
17220 if (arg3
== NULL
) SWIG_fail
;
17224 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17225 if (!SWIG_IsOK(ecode4
)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17228 arg4
= static_cast< bool >(val4
);
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17261 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
= 0;
17263 wxFileType
*arg1
= (wxFileType
*) 0 ;
17264 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17265 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17266 int arg3
= (int) 0 ;
17270 bool temp2
= false ;
17273 PyObject
* obj0
= 0 ;
17274 PyObject
* obj1
= 0 ;
17275 PyObject
* obj2
= 0 ;
17276 char * kwnames
[] = {
17277 (char *) "self",(char *) "cmd",(char *) "index", NULL
17280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17282 if (!SWIG_IsOK(res1
)) {
17283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17285 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17295 if (!SWIG_IsOK(ecode3
)) {
17296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17298 arg3
= static_cast< int >(val3
);
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17323 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17324 PyObject
*resultobj
= 0;
17325 wxFileType
*arg1
= (wxFileType
*) 0 ;
17329 PyObject
*swig_obj
[1] ;
17331 if (!args
) SWIG_fail
;
17332 swig_obj
[0] = args
;
17333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17334 if (!SWIG_IsOK(res1
)) {
17335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17337 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (bool)(arg1
)->Unassociate();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17353 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
= 0;
17355 wxString
*arg1
= 0 ;
17356 wxString
*arg2
= 0 ;
17357 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17358 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17360 bool temp1
= false ;
17361 bool temp2
= false ;
17362 bool temp3
= false ;
17363 PyObject
* obj0
= 0 ;
17364 PyObject
* obj1
= 0 ;
17365 PyObject
* obj2
= 0 ;
17366 char * kwnames
[] = {
17367 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17372 arg1
= wxString_in_helper(obj0
);
17373 if (arg1
== NULL
) SWIG_fail
;
17377 arg2
= wxString_in_helper(obj1
);
17378 if (arg2
== NULL
) SWIG_fail
;
17383 arg3
= wxString_in_helper(obj2
);
17384 if (arg3
== NULL
) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17431 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17434 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17435 return SWIG_Py_Void();
17438 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17439 return SWIG_Python_InitShadowInstance(args
);
17442 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17443 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17448 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17449 PyObject
*pyobj
= 0;
17451 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17456 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
= 0;
17458 wxString
*arg1
= 0 ;
17459 wxString
*arg2
= 0 ;
17461 bool temp1
= false ;
17462 bool temp2
= false ;
17463 PyObject
* obj0
= 0 ;
17464 PyObject
* obj1
= 0 ;
17465 char * kwnames
[] = {
17466 (char *) "mimeType",(char *) "wildcard", NULL
17469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17471 arg1
= wxString_in_helper(obj0
);
17472 if (arg1
== NULL
) SWIG_fail
;
17476 arg2
= wxString_in_helper(obj1
);
17477 if (arg2
== NULL
) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17511 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17512 PyObject
*resultobj
= 0;
17513 wxMimeTypesManager
*result
= 0 ;
17515 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17529 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
= 0;
17531 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17532 int arg2
= (int) wxMAILCAP_ALL
;
17533 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17534 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17539 bool temp3
= false ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 PyObject
* obj2
= 0 ;
17543 char * kwnames
[] = {
17544 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17552 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17555 if (!SWIG_IsOK(ecode2
)) {
17556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17558 arg2
= static_cast< int >(val2
);
17562 arg3
= wxString_in_helper(obj2
);
17563 if (arg3
== NULL
) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= SWIG_Py_Void();
17588 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17589 PyObject
*resultobj
= 0;
17590 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17593 PyObject
*swig_obj
[1] ;
17595 if (!args
) SWIG_fail
;
17596 swig_obj
[0] = args
;
17597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17598 if (!SWIG_IsOK(res1
)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17601 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17604 (arg1
)->ClearData();
17605 wxPyEndAllowThreads(__tstate
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= SWIG_Py_Void();
17615 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17618 wxString
*arg2
= 0 ;
17619 wxFileType
*result
= 0 ;
17622 bool temp2
= false ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char * kwnames
[] = {
17626 (char *) "self",(char *) "ext", NULL
17629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17631 if (!SWIG_IsOK(res1
)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17634 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17636 arg2
= wxString_in_helper(obj1
);
17637 if (arg2
== NULL
) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17661 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17664 wxString
*arg2
= 0 ;
17665 wxFileType
*result
= 0 ;
17668 bool temp2
= false ;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 char * kwnames
[] = {
17672 (char *) "self",(char *) "mimeType", NULL
17675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17680 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17682 arg2
= wxString_in_helper(obj1
);
17683 if (arg2
== NULL
) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17707 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
= 0;
17709 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17710 wxString
*arg2
= 0 ;
17711 bool arg3
= (bool) false ;
17715 bool temp2
= false ;
17718 PyObject
* obj0
= 0 ;
17719 PyObject
* obj1
= 0 ;
17720 PyObject
* obj2
= 0 ;
17721 char * kwnames
[] = {
17722 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17727 if (!SWIG_IsOK(res1
)) {
17728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17730 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17732 arg2
= wxString_in_helper(obj1
);
17733 if (arg2
== NULL
) SWIG_fail
;
17737 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17738 if (!SWIG_IsOK(ecode3
)) {
17739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17741 arg3
= static_cast< bool >(val3
);
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17766 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
= 0;
17768 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17769 wxString
*arg2
= 0 ;
17773 bool temp2
= false ;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char * kwnames
[] = {
17777 (char *) "self",(char *) "filename", NULL
17780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17782 if (!SWIG_IsOK(res1
)) {
17783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17785 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17787 arg2
= wxString_in_helper(obj1
);
17788 if (arg2
== NULL
) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17814 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17815 PyObject
*resultobj
= 0;
17816 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17817 PyObject
*result
= 0 ;
17820 PyObject
*swig_obj
[1] ;
17822 if (!args
) SWIG_fail
;
17823 swig_obj
[0] = args
;
17824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17825 if (!SWIG_IsOK(res1
)) {
17826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17828 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= result
;
17842 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
= 0;
17844 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17845 wxFileTypeInfo
*arg2
= 0 ;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char * kwnames
[] = {
17853 (char *) "self",(char *) "ft", NULL
17856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17858 if (!SWIG_IsOK(res1
)) {
17859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17861 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17863 if (!SWIG_IsOK(res2
)) {
17864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17869 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_Py_Void();
17883 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17886 wxFileTypeInfo
*arg2
= 0 ;
17887 wxFileType
*result
= 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char * kwnames
[] = {
17895 (char *) "self",(char *) "ftInfo", NULL
17898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17900 if (!SWIG_IsOK(res1
)) {
17901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17903 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17905 if (!SWIG_IsOK(res2
)) {
17906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17911 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17925 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
= 0;
17927 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17928 wxFileType
*arg2
= (wxFileType
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 char * kwnames
[] = {
17937 (char *) "self",(char *) "ft", NULL
17940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17942 if (!SWIG_IsOK(res1
)) {
17943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17945 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17947 if (!SWIG_IsOK(res2
)) {
17948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17950 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (bool)(arg1
)->Unassociate(arg2
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17966 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17967 PyObject
*resultobj
= 0;
17968 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17971 PyObject
*swig_obj
[1] ;
17973 if (!args
) SWIG_fail
;
17974 swig_obj
[0] = args
;
17975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17976 if (!SWIG_IsOK(res1
)) {
17977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17979 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= SWIG_Py_Void();
17994 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17997 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
17998 return SWIG_Py_Void();
18001 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18002 return SWIG_Python_InitShadowInstance(args
);
18005 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18006 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18011 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18012 PyObject
*pyobj
= 0;
18016 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18018 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18025 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18026 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18031 SWIGINTERN PyObject
*ART_MENU_get(void) {
18032 PyObject
*pyobj
= 0;
18036 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18038 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18045 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18046 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18051 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18052 PyObject
*pyobj
= 0;
18056 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18058 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18065 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18066 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18071 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18072 PyObject
*pyobj
= 0;
18076 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18078 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18085 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18086 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18091 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18092 PyObject
*pyobj
= 0;
18096 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18098 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18105 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18106 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18111 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18112 PyObject
*pyobj
= 0;
18116 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18118 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18125 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18126 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18131 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18132 PyObject
*pyobj
= 0;
18136 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18138 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18145 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18146 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18151 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18152 PyObject
*pyobj
= 0;
18156 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18158 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18165 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18166 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18171 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18172 PyObject
*pyobj
= 0;
18176 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18178 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18185 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18186 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18191 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18192 PyObject
*pyobj
= 0;
18196 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18198 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18205 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18206 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18211 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18212 PyObject
*pyobj
= 0;
18216 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18218 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18225 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18226 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18231 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18232 PyObject
*pyobj
= 0;
18236 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18238 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18245 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18246 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18251 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18252 PyObject
*pyobj
= 0;
18256 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18258 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18265 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18266 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18271 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18272 PyObject
*pyobj
= 0;
18276 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18278 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18285 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18286 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18291 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18292 PyObject
*pyobj
= 0;
18296 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18298 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18305 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18306 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18311 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18312 PyObject
*pyobj
= 0;
18316 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18318 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18325 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18326 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18331 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18332 PyObject
*pyobj
= 0;
18336 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18338 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18345 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18346 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18351 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18352 PyObject
*pyobj
= 0;
18356 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18358 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18365 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18366 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18371 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18372 PyObject
*pyobj
= 0;
18376 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18378 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18385 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18386 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18391 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18392 PyObject
*pyobj
= 0;
18396 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18398 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18405 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18406 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18411 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18412 PyObject
*pyobj
= 0;
18416 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18418 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18425 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18426 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18431 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18432 PyObject
*pyobj
= 0;
18436 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18438 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18445 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18446 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18451 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18452 PyObject
*pyobj
= 0;
18456 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18458 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18465 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18466 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18471 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18472 PyObject
*pyobj
= 0;
18476 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18478 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18485 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18486 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18491 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18492 PyObject
*pyobj
= 0;
18496 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18498 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18505 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18506 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18511 SWIGINTERN PyObject
*ART_HELP_get(void) {
18512 PyObject
*pyobj
= 0;
18516 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18518 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18525 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18526 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18531 SWIGINTERN PyObject
*ART_TIP_get(void) {
18532 PyObject
*pyobj
= 0;
18536 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18538 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18545 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18546 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18551 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18552 PyObject
*pyobj
= 0;
18556 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18558 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18565 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18566 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18571 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18572 PyObject
*pyobj
= 0;
18576 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18578 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18585 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18586 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18591 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18592 PyObject
*pyobj
= 0;
18596 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18598 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18605 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18606 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18611 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18612 PyObject
*pyobj
= 0;
18616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18618 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18625 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18626 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18631 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18632 PyObject
*pyobj
= 0;
18636 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18638 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18645 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18646 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18651 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18652 PyObject
*pyobj
= 0;
18656 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18658 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18665 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18666 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18671 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18672 PyObject
*pyobj
= 0;
18676 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18678 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18685 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18686 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18691 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18692 PyObject
*pyobj
= 0;
18696 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18698 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18705 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18706 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18711 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18712 PyObject
*pyobj
= 0;
18716 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18718 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18725 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18726 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18731 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18732 PyObject
*pyobj
= 0;
18736 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18738 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18745 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18746 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18751 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18752 PyObject
*pyobj
= 0;
18756 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18758 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18765 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18766 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18771 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18772 PyObject
*pyobj
= 0;
18776 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18778 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18785 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18786 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18791 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18792 PyObject
*pyobj
= 0;
18796 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18798 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18805 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18806 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18811 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18812 PyObject
*pyobj
= 0;
18816 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18818 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18825 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18826 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18831 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18832 PyObject
*pyobj
= 0;
18836 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18838 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18845 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18846 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18851 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18852 PyObject
*pyobj
= 0;
18856 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18858 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18865 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18866 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18871 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18872 PyObject
*pyobj
= 0;
18876 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18878 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18885 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18886 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18891 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18892 PyObject
*pyobj
= 0;
18896 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18898 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18905 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18906 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18911 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18912 PyObject
*pyobj
= 0;
18916 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18918 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18925 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18926 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18931 SWIGINTERN PyObject
*ART_COPY_get(void) {
18932 PyObject
*pyobj
= 0;
18936 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18938 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18945 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18946 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18951 SWIGINTERN PyObject
*ART_CUT_get(void) {
18952 PyObject
*pyobj
= 0;
18956 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18958 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18965 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18966 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18971 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18972 PyObject
*pyobj
= 0;
18976 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18978 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18985 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18986 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18991 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18992 PyObject
*pyobj
= 0;
18996 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18998 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19005 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19006 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19011 SWIGINTERN PyObject
*ART_NEW_get(void) {
19012 PyObject
*pyobj
= 0;
19016 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19018 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19025 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19026 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19031 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19032 PyObject
*pyobj
= 0;
19036 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19038 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19045 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19046 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19051 SWIGINTERN PyObject
*ART_REDO_get(void) {
19052 PyObject
*pyobj
= 0;
19056 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19058 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19065 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19066 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19071 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19072 PyObject
*pyobj
= 0;
19076 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19078 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19085 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19086 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19091 SWIGINTERN PyObject
*ART_FIND_get(void) {
19092 PyObject
*pyobj
= 0;
19096 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19098 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19105 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19106 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19111 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19112 PyObject
*pyobj
= 0;
19116 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19118 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19125 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19126 PyObject
*resultobj
= 0;
19127 wxPyArtProvider
*result
= 0 ;
19129 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19131 if (!wxPyCheckForApp()) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19144 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19145 PyObject
*resultobj
= 0;
19146 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19149 PyObject
*swig_obj
[1] ;
19151 if (!args
) SWIG_fail
;
19152 swig_obj
[0] = args
;
19153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19157 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= SWIG_Py_Void();
19172 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
= 0;
19174 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19175 PyObject
*arg2
= (PyObject
*) 0 ;
19176 PyObject
*arg3
= (PyObject
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 PyObject
* obj1
= 0 ;
19181 PyObject
* obj2
= 0 ;
19182 char * kwnames
[] = {
19183 (char *) "self",(char *) "self",(char *) "_class", NULL
19186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19188 if (!SWIG_IsOK(res1
)) {
19189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19191 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= SWIG_Py_Void();
19207 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
= 0;
19209 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char * kwnames
[] = {
19213 (char *) "provider", NULL
19216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19217 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 wxPyArtProvider::PushProvider(arg1
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= SWIG_Py_Void();
19234 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19235 PyObject
*resultobj
= 0;
19238 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (bool)wxPyArtProvider::PopProvider();
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19254 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= 0;
19256 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char * kwnames
[] = {
19262 (char *) "provider", NULL
19265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19267 if (!SWIG_IsOK(res1
)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19270 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19286 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= 0;
19288 wxString
*arg1
= 0 ;
19289 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19290 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19291 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19292 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19294 bool temp1
= false ;
19295 bool temp2
= false ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 PyObject
* obj2
= 0 ;
19300 char * kwnames
[] = {
19301 (char *) "id",(char *) "client",(char *) "size", NULL
19304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19306 arg1
= wxString_in_helper(obj0
);
19307 if (arg1
== NULL
) SWIG_fail
;
19312 arg2
= wxString_in_helper(obj1
);
19313 if (arg2
== NULL
) SWIG_fail
;
19320 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19324 if (!wxPyCheckForApp()) SWIG_fail
;
19325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19326 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19353 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxString
*arg1
= 0 ;
19356 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19357 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19358 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19359 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19361 bool temp1
= false ;
19362 bool temp2
= false ;
19364 PyObject
* obj0
= 0 ;
19365 PyObject
* obj1
= 0 ;
19366 PyObject
* obj2
= 0 ;
19367 char * kwnames
[] = {
19368 (char *) "id",(char *) "client",(char *) "size", NULL
19371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19373 arg1
= wxString_in_helper(obj0
);
19374 if (arg1
== NULL
) SWIG_fail
;
19379 arg2
= wxString_in_helper(obj1
);
19380 if (arg2
== NULL
) SWIG_fail
;
19387 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19391 if (!wxPyCheckForApp()) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19420 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
= 0;
19422 wxString
*arg1
= 0 ;
19423 bool arg2
= (bool) false ;
19425 bool temp1
= false ;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char * kwnames
[] = {
19431 (char *) "client",(char *) "platform_dependent", NULL
19434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19436 arg1
= wxString_in_helper(obj0
);
19437 if (arg1
== NULL
) SWIG_fail
;
19441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19442 if (!SWIG_IsOK(ecode2
)) {
19443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19445 arg2
= static_cast< bool >(val2
);
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19468 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19469 PyObject
*resultobj
= 0;
19470 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19473 PyObject
*swig_obj
[1] ;
19475 if (!args
) SWIG_fail
;
19476 swig_obj
[0] = args
;
19477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19478 if (!SWIG_IsOK(res1
)) {
19479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19481 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19484 wxPyArtProvider_Destroy(arg1
);
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19498 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19499 return SWIG_Py_Void();
19502 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19503 return SWIG_Python_InitShadowInstance(args
);
19506 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19507 PyObject
*resultobj
= 0;
19508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19511 PyObject
*swig_obj
[1] ;
19513 if (!args
) SWIG_fail
;
19514 swig_obj
[0] = args
;
19515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19519 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_Py_Void();
19534 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19537 wxConfigBase
*result
= 0 ;
19539 PyObject
* obj0
= 0 ;
19540 char * kwnames
[] = {
19541 (char *) "config", NULL
19544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19545 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19546 if (!SWIG_IsOK(res1
)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19562 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 bool arg1
= (bool) true ;
19565 wxConfigBase
*result
= 0 ;
19568 PyObject
* obj0
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "createOnDemand", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19575 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19576 if (!SWIG_IsOK(ecode1
)) {
19577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19579 arg1
= static_cast< bool >(val1
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19594 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19595 PyObject
*resultobj
= 0;
19596 wxConfigBase
*result
= 0 ;
19598 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= (wxConfigBase
*)wxConfigBase::Create();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19612 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19613 PyObject
*resultobj
= 0;
19615 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 wxConfigBase::DontCreateOnDemand();
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_Py_Void();
19629 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
= 0;
19631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19632 wxString
*arg2
= 0 ;
19635 bool temp2
= false ;
19636 PyObject
* obj0
= 0 ;
19637 PyObject
* obj1
= 0 ;
19638 char * kwnames
[] = {
19639 (char *) "self",(char *) "path", NULL
19642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19644 if (!SWIG_IsOK(res1
)) {
19645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19647 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19649 arg2
= wxString_in_helper(obj1
);
19650 if (arg2
== NULL
) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetPath((wxString
const &)*arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 resultobj
= SWIG_Py_Void();
19674 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19675 PyObject
*resultobj
= 0;
19676 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19677 wxString
*result
= 0 ;
19680 PyObject
*swig_obj
[1] ;
19682 if (!args
) SWIG_fail
;
19683 swig_obj
[0] = args
;
19684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19685 if (!SWIG_IsOK(res1
)) {
19686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19688 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19693 result
= (wxString
*) &_result_ref
;
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19702 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19711 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19712 PyObject
*resultobj
= 0;
19713 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19714 PyObject
*result
= 0 ;
19717 PyObject
*swig_obj
[1] ;
19719 if (!args
) SWIG_fail
;
19720 swig_obj
[0] = args
;
19721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19722 if (!SWIG_IsOK(res1
)) {
19723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19725 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= result
;
19739 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
= 0;
19741 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19743 PyObject
*result
= 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char * kwnames
[] = {
19751 (char *) "self",(char *) "index", NULL
19754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19759 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19760 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19761 if (!SWIG_IsOK(ecode2
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19764 arg2
= static_cast< long >(val2
);
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= result
;
19778 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19779 PyObject
*resultobj
= 0;
19780 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19781 PyObject
*result
= 0 ;
19784 PyObject
*swig_obj
[1] ;
19786 if (!args
) SWIG_fail
;
19787 swig_obj
[0] = args
;
19788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19792 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
;
19806 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
= 0;
19808 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19810 PyObject
*result
= 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "index", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19826 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19828 if (!SWIG_IsOK(ecode2
)) {
19829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19831 arg2
= static_cast< long >(val2
);
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= result
;
19845 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
= 0;
19847 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19848 bool arg2
= (bool) false ;
19854 PyObject
* obj0
= 0 ;
19855 PyObject
* obj1
= 0 ;
19856 char * kwnames
[] = {
19857 (char *) "self",(char *) "recursive", NULL
19860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19862 if (!SWIG_IsOK(res1
)) {
19863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19865 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19867 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19868 if (!SWIG_IsOK(ecode2
)) {
19869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19871 arg2
= static_cast< bool >(val2
);
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19876 wxPyEndAllowThreads(__tstate
);
19877 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19886 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
= 0;
19888 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19889 bool arg2
= (bool) false ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 char * kwnames
[] = {
19898 (char *) "self",(char *) "recursive", NULL
19901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19903 if (!SWIG_IsOK(res1
)) {
19904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19906 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19908 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19909 if (!SWIG_IsOK(ecode2
)) {
19910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19912 arg2
= static_cast< bool >(val2
);
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19927 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
= 0;
19929 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19930 wxString
*arg2
= 0 ;
19934 bool temp2
= false ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char * kwnames
[] = {
19938 (char *) "self",(char *) "name", NULL
19941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19943 if (!SWIG_IsOK(res1
)) {
19944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19946 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19948 arg2
= wxString_in_helper(obj1
);
19949 if (arg2
== NULL
) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19978 wxString
*arg2
= 0 ;
19982 bool temp2
= false ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char * kwnames
[] = {
19986 (char *) "self",(char *) "name", NULL
19989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19994 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19996 arg2
= wxString_in_helper(obj1
);
19997 if (arg2
== NULL
) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20023 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
= 0;
20025 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20026 wxString
*arg2
= 0 ;
20030 bool temp2
= false ;
20031 PyObject
* obj0
= 0 ;
20032 PyObject
* obj1
= 0 ;
20033 char * kwnames
[] = {
20034 (char *) "self",(char *) "name", NULL
20037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20039 if (!SWIG_IsOK(res1
)) {
20040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20042 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20044 arg2
= wxString_in_helper(obj1
);
20045 if (arg2
== NULL
) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20071 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= 0;
20073 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20074 wxString
*arg2
= 0 ;
20075 wxConfigBase::EntryType result
;
20078 bool temp2
= false ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char * kwnames
[] = {
20082 (char *) "self",(char *) "name", NULL
20085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20087 if (!SWIG_IsOK(res1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20090 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20092 arg2
= wxString_in_helper(obj1
);
20093 if (arg2
== NULL
) SWIG_fail
;
20097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20098 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= SWIG_From_int(static_cast< int >(result
));
20117 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
= 0;
20119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20120 wxString
*arg2
= 0 ;
20121 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20126 bool temp2
= false ;
20127 bool temp3
= false ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20140 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20142 arg2
= wxString_in_helper(obj1
);
20143 if (arg2
== NULL
) SWIG_fail
;
20148 arg3
= wxString_in_helper(obj2
);
20149 if (arg3
== NULL
) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20188 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20191 wxString
*arg2
= 0 ;
20192 long arg3
= (long) 0 ;
20196 bool temp2
= false ;
20199 PyObject
* obj0
= 0 ;
20200 PyObject
* obj1
= 0 ;
20201 PyObject
* obj2
= 0 ;
20202 char * kwnames
[] = {
20203 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20208 if (!SWIG_IsOK(res1
)) {
20209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20211 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20213 arg2
= wxString_in_helper(obj1
);
20214 if (arg2
== NULL
) SWIG_fail
;
20218 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20219 if (!SWIG_IsOK(ecode3
)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20222 arg3
= static_cast< long >(val3
);
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20227 wxPyEndAllowThreads(__tstate
);
20228 if (PyErr_Occurred()) SWIG_fail
;
20230 resultobj
= SWIG_From_long(static_cast< long >(result
));
20245 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
= 0;
20247 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20248 wxString
*arg2
= 0 ;
20249 double arg3
= (double) 0.0 ;
20253 bool temp2
= false ;
20256 PyObject
* obj0
= 0 ;
20257 PyObject
* obj1
= 0 ;
20258 PyObject
* obj2
= 0 ;
20259 char * kwnames
[] = {
20260 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20265 if (!SWIG_IsOK(res1
)) {
20266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20268 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20270 arg2
= wxString_in_helper(obj1
);
20271 if (arg2
== NULL
) SWIG_fail
;
20275 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20276 if (!SWIG_IsOK(ecode3
)) {
20277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20279 arg3
= static_cast< double >(val3
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_From_double(static_cast< double >(result
));
20302 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20305 wxString
*arg2
= 0 ;
20306 bool arg3
= (bool) false ;
20310 bool temp2
= false ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 PyObject
* obj2
= 0 ;
20316 char * kwnames
[] = {
20317 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20322 if (!SWIG_IsOK(res1
)) {
20323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20325 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20327 arg2
= wxString_in_helper(obj1
);
20328 if (arg2
== NULL
) SWIG_fail
;
20332 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20333 if (!SWIG_IsOK(ecode3
)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20336 arg3
= static_cast< bool >(val3
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20361 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20364 wxString
*arg2
= 0 ;
20365 wxString
*arg3
= 0 ;
20369 bool temp2
= false ;
20370 bool temp3
= false ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20373 PyObject
* obj2
= 0 ;
20374 char * kwnames
[] = {
20375 (char *) "self",(char *) "key",(char *) "value", NULL
20378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20380 if (!SWIG_IsOK(res1
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20383 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20385 arg2
= wxString_in_helper(obj1
);
20386 if (arg2
== NULL
) SWIG_fail
;
20390 arg3
= wxString_in_helper(obj2
);
20391 if (arg3
== NULL
) SWIG_fail
;
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20425 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
= 0;
20427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20428 wxString
*arg2
= 0 ;
20433 bool temp2
= false ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 PyObject
* obj2
= 0 ;
20439 char * kwnames
[] = {
20440 (char *) "self",(char *) "key",(char *) "value", NULL
20443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20445 if (!SWIG_IsOK(res1
)) {
20446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20448 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20450 arg2
= wxString_in_helper(obj1
);
20451 if (arg2
== NULL
) SWIG_fail
;
20454 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20455 if (!SWIG_IsOK(ecode3
)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20458 arg3
= static_cast< long >(val3
);
20460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20461 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20462 wxPyEndAllowThreads(__tstate
);
20463 if (PyErr_Occurred()) SWIG_fail
;
20466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20482 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20483 PyObject
*resultobj
= 0;
20484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20485 wxString
*arg2
= 0 ;
20490 bool temp2
= false ;
20493 PyObject
* obj0
= 0 ;
20494 PyObject
* obj1
= 0 ;
20495 PyObject
* obj2
= 0 ;
20496 char * kwnames
[] = {
20497 (char *) "self",(char *) "key",(char *) "value", NULL
20500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20502 if (!SWIG_IsOK(res1
)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20505 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20507 arg2
= wxString_in_helper(obj1
);
20508 if (arg2
== NULL
) SWIG_fail
;
20511 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20512 if (!SWIG_IsOK(ecode3
)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20515 arg3
= static_cast< double >(val3
);
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20519 wxPyEndAllowThreads(__tstate
);
20520 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20539 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
= 0;
20541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20542 wxString
*arg2
= 0 ;
20547 bool temp2
= false ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20552 PyObject
* obj2
= 0 ;
20553 char * kwnames
[] = {
20554 (char *) "self",(char *) "key",(char *) "value", NULL
20557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20562 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20564 arg2
= wxString_in_helper(obj1
);
20565 if (arg2
== NULL
) SWIG_fail
;
20568 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20569 if (!SWIG_IsOK(ecode3
)) {
20570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20572 arg3
= static_cast< bool >(val3
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20596 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20599 bool arg2
= (bool) false ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char * kwnames
[] = {
20608 (char *) "self",(char *) "currentOnly", NULL
20611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20613 if (!SWIG_IsOK(res1
)) {
20614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20616 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20619 if (!SWIG_IsOK(ecode2
)) {
20620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20622 arg2
= static_cast< bool >(val2
);
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)(arg1
)->Flush(arg2
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= 0;
20641 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20642 wxString
*arg2
= 0 ;
20643 wxString
*arg3
= 0 ;
20647 bool temp2
= false ;
20648 bool temp3
= false ;
20649 PyObject
* obj0
= 0 ;
20650 PyObject
* obj1
= 0 ;
20651 PyObject
* obj2
= 0 ;
20652 char * kwnames
[] = {
20653 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20661 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20663 arg2
= wxString_in_helper(obj1
);
20664 if (arg2
== NULL
) SWIG_fail
;
20668 arg3
= wxString_in_helper(obj2
);
20669 if (arg3
== NULL
) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20675 wxPyEndAllowThreads(__tstate
);
20676 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20703 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
= 0;
20705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20706 wxString
*arg2
= 0 ;
20707 wxString
*arg3
= 0 ;
20711 bool temp2
= false ;
20712 bool temp3
= false ;
20713 PyObject
* obj0
= 0 ;
20714 PyObject
* obj1
= 0 ;
20715 PyObject
* obj2
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20725 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20727 arg2
= wxString_in_helper(obj1
);
20728 if (arg2
== NULL
) SWIG_fail
;
20732 arg3
= wxString_in_helper(obj2
);
20733 if (arg3
== NULL
) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20767 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
= 0;
20769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20770 wxString
*arg2
= 0 ;
20771 bool arg3
= (bool) true ;
20775 bool temp2
= false ;
20778 PyObject
* obj0
= 0 ;
20779 PyObject
* obj1
= 0 ;
20780 PyObject
* obj2
= 0 ;
20781 char * kwnames
[] = {
20782 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20787 if (!SWIG_IsOK(res1
)) {
20788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20790 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20792 arg2
= wxString_in_helper(obj1
);
20793 if (arg2
== NULL
) SWIG_fail
;
20797 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20798 if (!SWIG_IsOK(ecode3
)) {
20799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20801 arg3
= static_cast< bool >(val3
);
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20826 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
= 0;
20828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20829 wxString
*arg2
= 0 ;
20833 bool temp2
= false ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char * kwnames
[] = {
20837 (char *) "self",(char *) "key", NULL
20840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20842 if (!SWIG_IsOK(res1
)) {
20843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20845 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20847 arg2
= wxString_in_helper(obj1
);
20848 if (arg2
== NULL
) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20874 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20875 PyObject
*resultobj
= 0;
20876 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20880 PyObject
*swig_obj
[1] ;
20882 if (!args
) SWIG_fail
;
20883 swig_obj
[0] = args
;
20884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20885 if (!SWIG_IsOK(res1
)) {
20886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20888 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (bool)(arg1
)->DeleteAll();
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20904 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
= 0;
20906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20907 bool arg2
= (bool) true ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char * kwnames
[] = {
20915 (char *) "self",(char *) "doIt", NULL
20918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20920 if (!SWIG_IsOK(res1
)) {
20921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20923 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20925 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20926 if (!SWIG_IsOK(ecode2
)) {
20927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20929 arg2
= static_cast< bool >(val2
);
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 (arg1
)->SetExpandEnvVars(arg2
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= SWIG_Py_Void();
20944 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20945 PyObject
*resultobj
= 0;
20946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20950 PyObject
*swig_obj
[1] ;
20952 if (!args
) SWIG_fail
;
20953 swig_obj
[0] = args
;
20954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20955 if (!SWIG_IsOK(res1
)) {
20956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20958 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20974 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20975 PyObject
*resultobj
= 0;
20976 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20977 bool arg2
= (bool) true ;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char * kwnames
[] = {
20985 (char *) "self",(char *) "doIt", NULL
20988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20993 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20995 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20996 if (!SWIG_IsOK(ecode2
)) {
20997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
20999 arg2
= static_cast< bool >(val2
);
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 (arg1
)->SetRecordDefaults(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_Py_Void();
21014 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21015 PyObject
*resultobj
= 0;
21016 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21020 PyObject
*swig_obj
[1] ;
21022 if (!args
) SWIG_fail
;
21023 swig_obj
[0] = args
;
21024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21028 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21044 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21045 PyObject
*resultobj
= 0;
21046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21047 wxString
*arg2
= 0 ;
21051 bool temp2
= false ;
21052 PyObject
* obj0
= 0 ;
21053 PyObject
* obj1
= 0 ;
21054 char * kwnames
[] = {
21055 (char *) "self",(char *) "str", NULL
21058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21060 if (!SWIG_IsOK(res1
)) {
21061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21063 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21065 arg2
= wxString_in_helper(obj1
);
21066 if (arg2
== NULL
) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21096 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21097 PyObject
*resultobj
= 0;
21098 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21102 PyObject
*swig_obj
[1] ;
21104 if (!args
) SWIG_fail
;
21105 swig_obj
[0] = args
;
21106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21107 if (!SWIG_IsOK(res1
)) {
21108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21110 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21113 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21130 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21131 PyObject
*resultobj
= 0;
21132 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21136 PyObject
*swig_obj
[1] ;
21138 if (!args
) SWIG_fail
;
21139 swig_obj
[0] = args
;
21140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21141 if (!SWIG_IsOK(res1
)) {
21142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21144 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21164 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
= 0;
21166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21167 wxString
*arg2
= 0 ;
21170 bool temp2
= false ;
21171 PyObject
* obj0
= 0 ;
21172 PyObject
* obj1
= 0 ;
21173 char * kwnames
[] = {
21174 (char *) "self",(char *) "appName", NULL
21177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21179 if (!SWIG_IsOK(res1
)) {
21180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21182 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21184 arg2
= wxString_in_helper(obj1
);
21185 if (arg2
== NULL
) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 (arg1
)->SetAppName((wxString
const &)*arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_Py_Void();
21209 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
= 0;
21211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21212 wxString
*arg2
= 0 ;
21215 bool temp2
= false ;
21216 PyObject
* obj0
= 0 ;
21217 PyObject
* obj1
= 0 ;
21218 char * kwnames
[] = {
21219 (char *) "self",(char *) "vendorName", NULL
21222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21224 if (!SWIG_IsOK(res1
)) {
21225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21227 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21229 arg2
= wxString_in_helper(obj1
);
21230 if (arg2
== NULL
) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21236 wxPyEndAllowThreads(__tstate
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= SWIG_Py_Void();
21254 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
= 0;
21256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21262 PyObject
* obj0
= 0 ;
21263 PyObject
* obj1
= 0 ;
21264 char * kwnames
[] = {
21265 (char *) "self",(char *) "style", NULL
21268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21270 if (!SWIG_IsOK(res1
)) {
21271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21273 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21274 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21275 if (!SWIG_IsOK(ecode2
)) {
21276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21278 arg2
= static_cast< long >(val2
);
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 (arg1
)->SetStyle(arg2
);
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_Py_Void();
21292 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21293 PyObject
*resultobj
= 0;
21294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21298 PyObject
*swig_obj
[1] ;
21300 if (!args
) SWIG_fail
;
21301 swig_obj
[0] = args
;
21302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21306 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 resultobj
= SWIG_From_long(static_cast< long >(result
));
21320 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21323 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21324 return SWIG_Py_Void();
21327 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
= 0;
21329 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21330 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21331 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21332 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21333 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21334 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21335 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21336 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21337 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21338 wxConfig
*result
= 0 ;
21339 bool temp1
= false ;
21340 bool temp2
= false ;
21341 bool temp3
= false ;
21342 bool temp4
= false ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 PyObject
* obj2
= 0 ;
21348 PyObject
* obj3
= 0 ;
21349 PyObject
* obj4
= 0 ;
21350 char * kwnames
[] = {
21351 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21357 arg1
= wxString_in_helper(obj0
);
21358 if (arg1
== NULL
) SWIG_fail
;
21364 arg2
= wxString_in_helper(obj1
);
21365 if (arg2
== NULL
) SWIG_fail
;
21371 arg3
= wxString_in_helper(obj2
);
21372 if (arg3
== NULL
) SWIG_fail
;
21378 arg4
= wxString_in_helper(obj3
);
21379 if (arg4
== NULL
) SWIG_fail
;
21384 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21385 if (!SWIG_IsOK(ecode5
)) {
21386 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21388 arg5
= static_cast< long >(val5
);
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21435 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21436 PyObject
*resultobj
= 0;
21437 wxConfig
*arg1
= (wxConfig
*) 0 ;
21440 PyObject
*swig_obj
[1] ;
21442 if (!args
) SWIG_fail
;
21443 swig_obj
[0] = args
;
21444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21448 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_Py_Void();
21463 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21466 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21467 return SWIG_Py_Void();
21470 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 return SWIG_Python_InitShadowInstance(args
);
21474 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
= 0;
21476 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21477 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21478 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21479 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21480 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21481 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21482 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21483 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21484 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21485 wxFileConfig
*result
= 0 ;
21486 bool temp1
= false ;
21487 bool temp2
= false ;
21488 bool temp3
= false ;
21489 bool temp4
= false ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 PyObject
* obj2
= 0 ;
21495 PyObject
* obj3
= 0 ;
21496 PyObject
* obj4
= 0 ;
21497 char * kwnames
[] = {
21498 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21504 arg1
= wxString_in_helper(obj0
);
21505 if (arg1
== NULL
) SWIG_fail
;
21511 arg2
= wxString_in_helper(obj1
);
21512 if (arg2
== NULL
) SWIG_fail
;
21518 arg3
= wxString_in_helper(obj2
);
21519 if (arg3
== NULL
) SWIG_fail
;
21525 arg4
= wxString_in_helper(obj3
);
21526 if (arg4
== NULL
) SWIG_fail
;
21531 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21532 if (!SWIG_IsOK(ecode5
)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21535 arg5
= static_cast< long >(val5
);
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21582 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21583 PyObject
*resultobj
= 0;
21584 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21587 PyObject
*swig_obj
[1] ;
21589 if (!args
) SWIG_fail
;
21590 swig_obj
[0] = args
;
21591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21592 if (!SWIG_IsOK(res1
)) {
21593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21595 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= SWIG_Py_Void();
21610 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21613 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21614 return SWIG_Py_Void();
21617 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21618 return SWIG_Python_InitShadowInstance(args
);
21621 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
= 0;
21623 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21624 wxString
*arg2
= 0 ;
21625 wxConfigPathChanger
*result
= 0 ;
21628 bool temp2
= false ;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char * kwnames
[] = {
21632 (char *) "config",(char *) "entry", NULL
21635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21637 if (!SWIG_IsOK(res1
)) {
21638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21640 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21642 arg2
= wxString_in_helper(obj1
);
21643 if (arg2
== NULL
) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21667 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21668 PyObject
*resultobj
= 0;
21669 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21672 PyObject
*swig_obj
[1] ;
21674 if (!args
) SWIG_fail
;
21675 swig_obj
[0] = args
;
21676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21680 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_Py_Void();
21695 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21698 wxString
*result
= 0 ;
21701 PyObject
*swig_obj
[1] ;
21703 if (!args
) SWIG_fail
;
21704 swig_obj
[0] = args
;
21705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21709 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21714 result
= (wxString
*) &_result_ref
;
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21721 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21723 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21732 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21735 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21736 return SWIG_Py_Void();
21739 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21740 return SWIG_Python_InitShadowInstance(args
);
21743 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxString
*arg1
= 0 ;
21747 bool temp1
= false ;
21748 PyObject
* obj0
= 0 ;
21749 char * kwnames
[] = {
21750 (char *) "sz", NULL
21753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21755 arg1
= wxString_in_helper(obj0
);
21756 if (arg1
== NULL
) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21769 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21786 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21787 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21792 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21793 PyObject
*pyobj
= 0;
21797 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21799 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21806 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21807 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21812 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21813 PyObject
*pyobj
= 0;
21817 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21819 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21826 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
= 0;
21828 wxDateTime::Country arg1
;
21831 PyObject
* obj0
= 0 ;
21832 char * kwnames
[] = {
21833 (char *) "country", NULL
21836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21838 if (!SWIG_IsOK(ecode1
)) {
21839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21841 arg1
= static_cast< wxDateTime::Country
>(val1
);
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 wxDateTime::SetCountry(arg1
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= SWIG_Py_Void();
21855 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21856 PyObject
*resultobj
= 0;
21857 wxDateTime::Country result
;
21859 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= SWIG_From_int(static_cast< int >(result
));
21873 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
= 0;
21875 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21879 PyObject
* obj0
= 0 ;
21880 char * kwnames
[] = {
21881 (char *) "country", NULL
21884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21886 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21887 if (!SWIG_IsOK(ecode1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21890 arg1
= static_cast< wxDateTime::Country
>(val1
);
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21907 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
= 0;
21909 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21913 PyObject
* obj0
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "cal", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21921 if (!SWIG_IsOK(ecode1
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21924 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= SWIG_From_int(static_cast< int >(result
));
21939 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
= 0;
21945 PyObject
* obj0
= 0 ;
21946 char * kwnames
[] = {
21947 (char *) "year", NULL
21950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21951 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21952 if (!SWIG_IsOK(ecode1
)) {
21953 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21955 arg1
= static_cast< int >(val1
);
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_From_int(static_cast< int >(result
));
21969 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
= 0;
21971 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21972 wxDateTime::Month result
;
21975 PyObject
* obj0
= 0 ;
21976 char * kwnames
[] = {
21977 (char *) "cal", NULL
21980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21983 if (!SWIG_IsOK(ecode1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21986 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_From_int(static_cast< int >(result
));
22001 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= 0;
22003 int arg1
= (int) wxDateTime::Inv_Year
;
22004 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22010 PyObject
* obj0
= 0 ;
22011 PyObject
* obj1
= 0 ;
22012 char * kwnames
[] = {
22013 (char *) "year",(char *) "cal", NULL
22016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22019 if (!SWIG_IsOK(ecode1
)) {
22020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22022 arg1
= static_cast< int >(val1
);
22025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22026 if (!SWIG_IsOK(ecode2
)) {
22027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22029 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22046 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
= 0;
22048 int arg1
= (int) wxDateTime::Inv_Year
;
22052 PyObject
* obj0
= 0 ;
22053 char * kwnames
[] = {
22054 (char *) "year", NULL
22057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22060 if (!SWIG_IsOK(ecode1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22063 arg1
= static_cast< int >(val1
);
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (int)wxDateTime::GetCentury(arg1
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_From_int(static_cast< int >(result
));
22078 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
= 0;
22081 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char * kwnames
[] = {
22090 (char *) "year",(char *) "cal", NULL
22093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22095 if (!SWIG_IsOK(ecode1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22098 arg1
= static_cast< int >(val1
);
22100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22101 if (!SWIG_IsOK(ecode2
)) {
22102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22104 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 resultobj
= SWIG_From_int(static_cast< int >(result
));
22119 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
= 0;
22121 wxDateTime::Month arg1
;
22122 int arg2
= (int) wxDateTime::Inv_Year
;
22123 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 char * kwnames
[] = {
22135 (char *) "month",(char *) "year",(char *) "cal", NULL
22138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22140 if (!SWIG_IsOK(ecode1
)) {
22141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22143 arg1
= static_cast< wxDateTime::Month
>(val1
);
22145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22146 if (!SWIG_IsOK(ecode2
)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22149 arg2
= static_cast< int >(val2
);
22152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22153 if (!SWIG_IsOK(ecode3
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22156 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_From_int(static_cast< int >(result
));
22171 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxDateTime::Month arg1
;
22174 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 char * kwnames
[] = {
22183 (char *) "month",(char *) "flags", NULL
22186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22188 if (!SWIG_IsOK(ecode1
)) {
22189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22191 arg1
= static_cast< wxDateTime::Month
>(val1
);
22193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22194 if (!SWIG_IsOK(ecode2
)) {
22195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22197 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22218 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
= 0;
22220 wxDateTime::WeekDay arg1
;
22221 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "weekday",(char *) "flags", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22235 if (!SWIG_IsOK(ecode1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22238 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22241 if (!SWIG_IsOK(ecode2
)) {
22242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22244 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22265 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22266 PyObject
*resultobj
= 0;
22267 PyObject
*result
= 0 ;
22269 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= result
;
22283 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22284 PyObject
*resultobj
= 0;
22285 int arg1
= (int) wxDateTime::Inv_Year
;
22286 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22292 PyObject
* obj0
= 0 ;
22293 PyObject
* obj1
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "year",(char *) "country", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22300 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22301 if (!SWIG_IsOK(ecode1
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22304 arg1
= static_cast< int >(val1
);
22307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22308 if (!SWIG_IsOK(ecode2
)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22311 arg2
= static_cast< wxDateTime::Country
>(val2
);
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22328 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
= 0;
22330 int arg1
= (int) wxDateTime::Inv_Year
;
22331 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 char * kwnames
[] = {
22340 (char *) "year",(char *) "country", NULL
22343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22346 if (!SWIG_IsOK(ecode1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22349 arg1
= static_cast< int >(val1
);
22352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22353 if (!SWIG_IsOK(ecode2
)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22356 arg2
= static_cast< wxDateTime::Country
>(val2
);
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22371 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
= 0;
22373 int arg1
= (int) wxDateTime::Inv_Year
;
22374 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22380 PyObject
* obj0
= 0 ;
22381 PyObject
* obj1
= 0 ;
22382 char * kwnames
[] = {
22383 (char *) "year",(char *) "country", NULL
22386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22388 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22389 if (!SWIG_IsOK(ecode1
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22392 arg1
= static_cast< int >(val1
);
22395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22396 if (!SWIG_IsOK(ecode2
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22399 arg2
= static_cast< wxDateTime::Country
>(val2
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22414 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22415 PyObject
*resultobj
= 0;
22418 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= wxDateTime::Now();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22432 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22433 PyObject
*resultobj
= 0;
22436 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= wxDateTime::UNow();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22450 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22451 PyObject
*resultobj
= 0;
22454 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= wxDateTime::Today();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22468 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 PyObject
*resultobj
= 0;
22470 wxDateTime
*result
= 0 ;
22472 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (wxDateTime
*)new wxDateTime();
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22486 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
= 0;
22489 wxDateTime
*result
= 0 ;
22490 unsigned int val1
;
22492 PyObject
* obj0
= 0 ;
22493 char * kwnames
[] = {
22494 (char *) "timet", NULL
22497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22498 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22499 if (!SWIG_IsOK(ecode1
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22502 arg1
= static_cast< time_t >(val1
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (wxDateTime
*)new wxDateTime(arg1
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22516 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
= 0;
22519 wxDateTime
*result
= 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "jdn", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22528 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22529 if (!SWIG_IsOK(ecode1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22532 arg1
= static_cast< double >(val1
);
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (wxDateTime
*)new wxDateTime(arg1
);
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22546 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
= 0;
22549 int arg2
= (int) 0 ;
22550 int arg3
= (int) 0 ;
22551 int arg4
= (int) 0 ;
22552 wxDateTime
*result
= 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 PyObject
* obj2
= 0 ;
22564 PyObject
* obj3
= 0 ;
22565 char * kwnames
[] = {
22566 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22571 if (!SWIG_IsOK(ecode1
)) {
22572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22574 arg1
= static_cast< int >(val1
);
22576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22577 if (!SWIG_IsOK(ecode2
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22580 arg2
= static_cast< int >(val2
);
22583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22584 if (!SWIG_IsOK(ecode3
)) {
22585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22587 arg3
= static_cast< int >(val3
);
22590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22591 if (!SWIG_IsOK(ecode4
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22594 arg4
= static_cast< int >(val4
);
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22609 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
= 0;
22612 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22613 int arg3
= (int) wxDateTime::Inv_Year
;
22614 int arg4
= (int) 0 ;
22615 int arg5
= (int) 0 ;
22616 int arg6
= (int) 0 ;
22617 int arg7
= (int) 0 ;
22618 wxDateTime
*result
= 0 ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 PyObject
* obj3
= 0 ;
22637 PyObject
* obj4
= 0 ;
22638 PyObject
* obj5
= 0 ;
22639 PyObject
* obj6
= 0 ;
22640 char * kwnames
[] = {
22641 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22645 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22646 if (!SWIG_IsOK(ecode1
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22649 arg1
= static_cast< int >(val1
);
22651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22652 if (!SWIG_IsOK(ecode2
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22655 arg2
= static_cast< wxDateTime::Month
>(val2
);
22658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22659 if (!SWIG_IsOK(ecode3
)) {
22660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22662 arg3
= static_cast< int >(val3
);
22665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22666 if (!SWIG_IsOK(ecode4
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22669 arg4
= static_cast< int >(val4
);
22672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22673 if (!SWIG_IsOK(ecode5
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22676 arg5
= static_cast< int >(val5
);
22679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22680 if (!SWIG_IsOK(ecode6
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22683 arg6
= static_cast< int >(val6
);
22686 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22687 if (!SWIG_IsOK(ecode7
)) {
22688 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22690 arg7
= static_cast< int >(val7
);
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22705 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
= 0;
22707 wxDateTime
*arg1
= 0 ;
22708 wxDateTime
*result
= 0 ;
22711 PyObject
* obj0
= 0 ;
22712 char * kwnames
[] = {
22713 (char *) "date", NULL
22716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22717 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22724 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22738 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22739 PyObject
*resultobj
= 0;
22740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22743 PyObject
*swig_obj
[1] ;
22745 if (!args
) SWIG_fail
;
22746 swig_obj
[0] = args
;
22747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22751 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_Py_Void();
22766 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22767 PyObject
*resultobj
= 0;
22768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22769 wxDateTime
*result
= 0 ;
22772 PyObject
*swig_obj
[1] ;
22774 if (!args
) SWIG_fail
;
22775 swig_obj
[0] = args
;
22776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22777 if (!SWIG_IsOK(res1
)) {
22778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22780 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22785 result
= (wxDateTime
*) &_result_ref
;
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22797 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
= 0;
22799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22801 wxDateTime
*result
= 0 ;
22804 unsigned int val2
;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char * kwnames
[] = {
22809 (char *) "self",(char *) "timet", NULL
22812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22817 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22818 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22819 if (!SWIG_IsOK(ecode2
)) {
22820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22822 arg2
= static_cast< time_t >(val2
);
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22827 result
= (wxDateTime
*) &_result_ref
;
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22839 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
= 0;
22841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22843 wxDateTime
*result
= 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 char * kwnames
[] = {
22851 (char *) "self",(char *) "jdn", NULL
22854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22859 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22860 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22861 if (!SWIG_IsOK(ecode2
)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22864 arg2
= static_cast< double >(val2
);
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22869 result
= (wxDateTime
*) &_result_ref
;
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22881 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
= 0;
22883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22885 int arg3
= (int) 0 ;
22886 int arg4
= (int) 0 ;
22887 int arg5
= (int) 0 ;
22888 wxDateTime
*result
= 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 PyObject
* obj2
= 0 ;
22902 PyObject
* obj3
= 0 ;
22903 PyObject
* obj4
= 0 ;
22904 char * kwnames
[] = {
22905 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22910 if (!SWIG_IsOK(res1
)) {
22911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22913 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22915 if (!SWIG_IsOK(ecode2
)) {
22916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22918 arg2
= static_cast< int >(val2
);
22920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22921 if (!SWIG_IsOK(ecode3
)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22924 arg3
= static_cast< int >(val3
);
22927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22928 if (!SWIG_IsOK(ecode4
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22931 arg4
= static_cast< int >(val4
);
22934 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22935 if (!SWIG_IsOK(ecode5
)) {
22936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22938 arg5
= static_cast< int >(val5
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22943 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22944 result
= (wxDateTime
*) &_result_ref
;
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22956 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
= 0;
22958 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22960 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22961 int arg4
= (int) wxDateTime::Inv_Year
;
22962 int arg5
= (int) 0 ;
22963 int arg6
= (int) 0 ;
22964 int arg7
= (int) 0 ;
22965 int arg8
= (int) 0 ;
22966 wxDateTime
*result
= 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 PyObject
* obj2
= 0 ;
22986 PyObject
* obj3
= 0 ;
22987 PyObject
* obj4
= 0 ;
22988 PyObject
* obj5
= 0 ;
22989 PyObject
* obj6
= 0 ;
22990 PyObject
* obj7
= 0 ;
22991 char * kwnames
[] = {
22992 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22997 if (!SWIG_IsOK(res1
)) {
22998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23002 if (!SWIG_IsOK(ecode2
)) {
23003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23005 arg2
= static_cast< int >(val2
);
23007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23008 if (!SWIG_IsOK(ecode3
)) {
23009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23011 arg3
= static_cast< wxDateTime::Month
>(val3
);
23014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23015 if (!SWIG_IsOK(ecode4
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23018 arg4
= static_cast< int >(val4
);
23021 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23022 if (!SWIG_IsOK(ecode5
)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23025 arg5
= static_cast< int >(val5
);
23028 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23029 if (!SWIG_IsOK(ecode6
)) {
23030 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23032 arg6
= static_cast< int >(val6
);
23035 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23036 if (!SWIG_IsOK(ecode7
)) {
23037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23039 arg7
= static_cast< int >(val7
);
23042 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23043 if (!SWIG_IsOK(ecode8
)) {
23044 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23046 arg8
= static_cast< int >(val8
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23052 result
= (wxDateTime
*) &_result_ref
;
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23064 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23065 PyObject
*resultobj
= 0;
23066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23067 wxDateTime
*result
= 0 ;
23070 PyObject
*swig_obj
[1] ;
23072 if (!args
) SWIG_fail
;
23073 swig_obj
[0] = args
;
23074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23078 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23083 result
= (wxDateTime
*) &_result_ref
;
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23095 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
= 0;
23097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23099 wxDateTime
*result
= 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 char * kwnames
[] = {
23107 (char *) "self",(char *) "year", NULL
23110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23112 if (!SWIG_IsOK(res1
)) {
23113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23115 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23117 if (!SWIG_IsOK(ecode2
)) {
23118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23120 arg2
= static_cast< int >(val2
);
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23124 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23125 result
= (wxDateTime
*) &_result_ref
;
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23137 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
= 0;
23139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23140 wxDateTime::Month arg2
;
23141 wxDateTime
*result
= 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 char * kwnames
[] = {
23149 (char *) "self",(char *) "month", NULL
23152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23157 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23159 if (!SWIG_IsOK(ecode2
)) {
23160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23162 arg2
= static_cast< wxDateTime::Month
>(val2
);
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23167 result
= (wxDateTime
*) &_result_ref
;
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23179 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
= 0;
23181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23183 wxDateTime
*result
= 0 ;
23188 PyObject
* obj0
= 0 ;
23189 PyObject
* obj1
= 0 ;
23190 char * kwnames
[] = {
23191 (char *) "self",(char *) "day", NULL
23194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23196 if (!SWIG_IsOK(res1
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23199 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23201 if (!SWIG_IsOK(ecode2
)) {
23202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23204 arg2
= static_cast< int >(val2
);
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23209 result
= (wxDateTime
*) &_result_ref
;
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23221 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
= 0;
23223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23225 wxDateTime
*result
= 0 ;
23230 PyObject
* obj0
= 0 ;
23231 PyObject
* obj1
= 0 ;
23232 char * kwnames
[] = {
23233 (char *) "self",(char *) "hour", NULL
23236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23241 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23243 if (!SWIG_IsOK(ecode2
)) {
23244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23246 arg2
= static_cast< int >(val2
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23251 result
= (wxDateTime
*) &_result_ref
;
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23263 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
= 0;
23265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23267 wxDateTime
*result
= 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char * kwnames
[] = {
23275 (char *) "self",(char *) "minute", NULL
23278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23280 if (!SWIG_IsOK(res1
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23283 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23285 if (!SWIG_IsOK(ecode2
)) {
23286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23288 arg2
= static_cast< int >(val2
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23293 result
= (wxDateTime
*) &_result_ref
;
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23305 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
= 0;
23307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23309 wxDateTime
*result
= 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 char * kwnames
[] = {
23317 (char *) "self",(char *) "second", NULL
23320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23325 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23327 if (!SWIG_IsOK(ecode2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23330 arg2
= static_cast< int >(val2
);
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23335 result
= (wxDateTime
*) &_result_ref
;
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23347 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
= 0;
23349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23351 wxDateTime
*result
= 0 ;
23356 PyObject
* obj0
= 0 ;
23357 PyObject
* obj1
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "self",(char *) "millisecond", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23364 if (!SWIG_IsOK(res1
)) {
23365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23369 if (!SWIG_IsOK(ecode2
)) {
23370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23372 arg2
= static_cast< int >(val2
);
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23377 result
= (wxDateTime
*) &_result_ref
;
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23389 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
= 0;
23391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23392 wxDateTime::WeekDay arg2
;
23393 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23394 wxDateTime
*result
= 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 PyObject
* obj2
= 0 ;
23404 char * kwnames
[] = {
23405 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23410 if (!SWIG_IsOK(res1
)) {
23411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23413 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23415 if (!SWIG_IsOK(ecode2
)) {
23416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23418 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23421 if (!SWIG_IsOK(ecode3
)) {
23422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23424 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23430 result
= (wxDateTime
*) &_result_ref
;
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23442 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
= 0;
23444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23445 wxDateTime::WeekDay arg2
;
23446 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23457 char * kwnames
[] = {
23458 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23463 if (!SWIG_IsOK(res1
)) {
23464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23466 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23468 if (!SWIG_IsOK(ecode2
)) {
23469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23471 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23474 if (!SWIG_IsOK(ecode3
)) {
23475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23477 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23492 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
= 0;
23494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23495 wxDateTime::WeekDay arg2
;
23496 wxDateTime
*result
= 0 ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char * kwnames
[] = {
23504 (char *) "self",(char *) "weekday", NULL
23507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23509 if (!SWIG_IsOK(res1
)) {
23510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23512 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23514 if (!SWIG_IsOK(ecode2
)) {
23515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23517 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23522 result
= (wxDateTime
*) &_result_ref
;
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23534 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
= 0;
23536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23537 wxDateTime::WeekDay arg2
;
23543 PyObject
* obj0
= 0 ;
23544 PyObject
* obj1
= 0 ;
23545 char * kwnames
[] = {
23546 (char *) "self",(char *) "weekday", NULL
23549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23551 if (!SWIG_IsOK(res1
)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23554 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23556 if (!SWIG_IsOK(ecode2
)) {
23557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23559 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (arg1
)->GetNextWeekDay(arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23573 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= 0;
23575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23576 wxDateTime::WeekDay arg2
;
23577 wxDateTime
*result
= 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char * kwnames
[] = {
23585 (char *) "self",(char *) "weekday", NULL
23588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23590 if (!SWIG_IsOK(res1
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23593 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23595 if (!SWIG_IsOK(ecode2
)) {
23596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23598 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23603 result
= (wxDateTime
*) &_result_ref
;
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23615 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= 0;
23617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23618 wxDateTime::WeekDay arg2
;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char * kwnames
[] = {
23627 (char *) "self",(char *) "weekday", NULL
23630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23632 if (!SWIG_IsOK(res1
)) {
23633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23635 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23637 if (!SWIG_IsOK(ecode2
)) {
23638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23640 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (arg1
)->GetPrevWeekDay(arg2
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23654 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
= 0;
23656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23657 wxDateTime::WeekDay arg2
;
23658 int arg3
= (int) 1 ;
23659 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23660 int arg5
= (int) wxDateTime::Inv_Year
;
23672 PyObject
* obj0
= 0 ;
23673 PyObject
* obj1
= 0 ;
23674 PyObject
* obj2
= 0 ;
23675 PyObject
* obj3
= 0 ;
23676 PyObject
* obj4
= 0 ;
23677 char * kwnames
[] = {
23678 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23683 if (!SWIG_IsOK(res1
)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23686 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23688 if (!SWIG_IsOK(ecode2
)) {
23689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23691 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23694 if (!SWIG_IsOK(ecode3
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23697 arg3
= static_cast< int >(val3
);
23700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23701 if (!SWIG_IsOK(ecode4
)) {
23702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23704 arg4
= static_cast< wxDateTime::Month
>(val4
);
23707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23708 if (!SWIG_IsOK(ecode5
)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23711 arg5
= static_cast< int >(val5
);
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23728 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
= 0;
23730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23731 wxDateTime::WeekDay arg2
;
23732 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23733 int arg4
= (int) wxDateTime::Inv_Year
;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 PyObject
* obj2
= 0 ;
23746 PyObject
* obj3
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23756 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23758 if (!SWIG_IsOK(ecode2
)) {
23759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23761 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23764 if (!SWIG_IsOK(ecode3
)) {
23765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23767 arg3
= static_cast< wxDateTime::Month
>(val3
);
23770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23771 if (!SWIG_IsOK(ecode4
)) {
23772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23774 arg4
= static_cast< int >(val4
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23791 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23792 PyObject
*resultobj
= 0;
23793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23794 wxDateTime::WeekDay arg2
;
23795 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23796 int arg4
= (int) wxDateTime::Inv_Year
;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 PyObject
* obj2
= 0 ;
23809 PyObject
* obj3
= 0 ;
23810 char * kwnames
[] = {
23811 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23816 if (!SWIG_IsOK(res1
)) {
23817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23821 if (!SWIG_IsOK(ecode2
)) {
23822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23824 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23827 if (!SWIG_IsOK(ecode3
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23830 arg3
= static_cast< wxDateTime::Month
>(val3
);
23833 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23834 if (!SWIG_IsOK(ecode4
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23837 arg4
= static_cast< int >(val4
);
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23852 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= 0;
23854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23856 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23857 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 PyObject
* obj2
= 0 ;
23870 PyObject
* obj3
= 0 ;
23871 char * kwnames
[] = {
23872 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23877 if (!SWIG_IsOK(res1
)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23880 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23882 if (!SWIG_IsOK(ecode2
)) {
23883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23885 arg2
= static_cast< int >(val2
);
23887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23888 if (!SWIG_IsOK(ecode3
)) {
23889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23891 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23894 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23895 if (!SWIG_IsOK(ecode4
)) {
23896 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23898 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23915 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
= 0;
23917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23919 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23920 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 PyObject
* obj2
= 0 ;
23933 PyObject
* obj3
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23943 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23948 arg2
= static_cast< int >(val2
);
23950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23951 if (!SWIG_IsOK(ecode3
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23954 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23957 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23958 if (!SWIG_IsOK(ecode4
)) {
23959 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23961 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23966 wxPyEndAllowThreads(__tstate
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23976 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
= 0;
23980 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 PyObject
* obj2
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23996 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23997 if (!SWIG_IsOK(ecode1
)) {
23998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24000 arg1
= static_cast< int >(val1
);
24001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24002 if (!SWIG_IsOK(ecode2
)) {
24003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24005 arg2
= static_cast< int >(val2
);
24007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24008 if (!SWIG_IsOK(ecode3
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24011 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24026 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24029 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24030 int arg3
= (int) wxDateTime::Inv_Year
;
24031 wxDateTime
*result
= 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 PyObject
* obj2
= 0 ;
24041 char * kwnames
[] = {
24042 (char *) "self",(char *) "month",(char *) "year", NULL
24045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24050 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24053 if (!SWIG_IsOK(ecode2
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24056 arg2
= static_cast< wxDateTime::Month
>(val2
);
24059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24060 if (!SWIG_IsOK(ecode3
)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24063 arg3
= static_cast< int >(val3
);
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24069 result
= (wxDateTime
*) &_result_ref
;
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24081 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
= 0;
24083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24084 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24085 int arg3
= (int) wxDateTime::Inv_Year
;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 PyObject
* obj2
= 0 ;
24096 char * kwnames
[] = {
24097 (char *) "self",(char *) "month",(char *) "year", NULL
24100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24102 if (!SWIG_IsOK(res1
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24108 if (!SWIG_IsOK(ecode2
)) {
24109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24111 arg2
= static_cast< wxDateTime::Month
>(val2
);
24114 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24115 if (!SWIG_IsOK(ecode3
)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24118 arg3
= static_cast< int >(val3
);
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24133 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
= 0;
24135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24137 wxDateTime
*result
= 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char * kwnames
[] = {
24145 (char *) "self",(char *) "yday", NULL
24148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24150 if (!SWIG_IsOK(res1
)) {
24151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24153 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24155 if (!SWIG_IsOK(ecode2
)) {
24156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24158 arg2
= static_cast< int >(val2
);
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24163 result
= (wxDateTime
*) &_result_ref
;
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24175 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
= 0;
24177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 char * kwnames
[] = {
24187 (char *) "self",(char *) "yday", NULL
24190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24195 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24197 if (!SWIG_IsOK(ecode2
)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24200 arg2
= static_cast< int >(val2
);
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (arg1
)->GetYearDay(arg2
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24214 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 PyObject
*resultobj
= 0;
24216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24220 PyObject
*swig_obj
[1] ;
24222 if (!args
) SWIG_fail
;
24223 swig_obj
[0] = args
;
24224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24225 if (!SWIG_IsOK(res1
)) {
24226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24228 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24231 result
= (double)(arg1
)->GetJulianDayNumber();
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= SWIG_From_double(static_cast< double >(result
));
24242 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24243 PyObject
*resultobj
= 0;
24244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24248 PyObject
*swig_obj
[1] ;
24250 if (!args
) SWIG_fail
;
24251 swig_obj
[0] = args
;
24252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24256 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 result
= (double)(arg1
)->GetJDN();
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= SWIG_From_double(static_cast< double >(result
));
24270 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24271 PyObject
*resultobj
= 0;
24272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24276 PyObject
*swig_obj
[1] ;
24278 if (!args
) SWIG_fail
;
24279 swig_obj
[0] = args
;
24280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24284 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_From_double(static_cast< double >(result
));
24298 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24299 PyObject
*resultobj
= 0;
24300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24304 PyObject
*swig_obj
[1] ;
24306 if (!args
) SWIG_fail
;
24307 swig_obj
[0] = args
;
24308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24309 if (!SWIG_IsOK(res1
)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24312 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (double)(arg1
)->GetMJD();
24316 wxPyEndAllowThreads(__tstate
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24319 resultobj
= SWIG_From_double(static_cast< double >(result
));
24326 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24327 PyObject
*resultobj
= 0;
24328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24332 PyObject
*swig_obj
[1] ;
24334 if (!args
) SWIG_fail
;
24335 swig_obj
[0] = args
;
24336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24337 if (!SWIG_IsOK(res1
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24340 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (double)(arg1
)->GetRataDie();
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_From_double(static_cast< double >(result
));
24354 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
= 0;
24356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24357 wxDateTime::TimeZone
*arg2
= 0 ;
24358 bool arg3
= (bool) false ;
24362 bool temp2
= false ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 PyObject
* obj2
= 0 ;
24368 char * kwnames
[] = {
24369 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24374 if (!SWIG_IsOK(res1
)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24377 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24379 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24383 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24384 if (!SWIG_IsOK(ecode3
)) {
24385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24387 arg3
= static_cast< bool >(val3
);
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24395 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24397 if (temp2
) delete arg2
;
24402 if (temp2
) delete arg2
;
24408 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24409 PyObject
*resultobj
= 0;
24410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24411 wxDateTime::TimeZone
*arg2
= 0 ;
24412 bool arg3
= (bool) false ;
24413 wxDateTime
*result
= 0 ;
24416 bool temp2
= false ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 PyObject
* obj2
= 0 ;
24422 char * kwnames
[] = {
24423 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24428 if (!SWIG_IsOK(res1
)) {
24429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24431 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24433 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24437 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24438 if (!SWIG_IsOK(ecode3
)) {
24439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24441 arg3
= static_cast< bool >(val3
);
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24447 result
= (wxDateTime
*) &_result_ref
;
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24454 if (temp2
) delete arg2
;
24459 if (temp2
) delete arg2
;
24465 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24466 PyObject
*resultobj
= 0;
24467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24468 wxDateTime::TimeZone
*arg2
= 0 ;
24469 bool arg3
= (bool) false ;
24473 bool temp2
= false ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 PyObject
* obj2
= 0 ;
24479 char * kwnames
[] = {
24480 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24488 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24490 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24494 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24495 if (!SWIG_IsOK(ecode3
)) {
24496 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24498 arg3
= static_cast< bool >(val3
);
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24508 if (temp2
) delete arg2
;
24513 if (temp2
) delete arg2
;
24519 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
= 0;
24521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24522 wxDateTime::TimeZone
*arg2
= 0 ;
24523 bool arg3
= (bool) false ;
24524 wxDateTime
*result
= 0 ;
24527 bool temp2
= false ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 PyObject
* obj2
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24542 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24544 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24548 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24549 if (!SWIG_IsOK(ecode3
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24552 arg3
= static_cast< bool >(val3
);
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24558 result
= (wxDateTime
*) &_result_ref
;
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24565 if (temp2
) delete arg2
;
24570 if (temp2
) delete arg2
;
24576 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
= 0;
24578 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24579 bool arg2
= (bool) false ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char * kwnames
[] = {
24588 (char *) "self",(char *) "noDST", NULL
24591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24596 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24599 if (!SWIG_IsOK(ecode2
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24602 arg2
= static_cast< bool >(val2
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24617 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
= 0;
24619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24620 bool arg2
= (bool) false ;
24621 wxDateTime
*result
= 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char * kwnames
[] = {
24629 (char *) "self",(char *) "noDST", NULL
24632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24634 if (!SWIG_IsOK(res1
)) {
24635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24637 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24639 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24640 if (!SWIG_IsOK(ecode2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24643 arg2
= static_cast< bool >(val2
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24649 result
= (wxDateTime
*) &_result_ref
;
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24661 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
= 0;
24663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24664 bool arg2
= (bool) false ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 char * kwnames
[] = {
24673 (char *) "self",(char *) "noDST", NULL
24676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24678 if (!SWIG_IsOK(res1
)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24681 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24683 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24684 if (!SWIG_IsOK(ecode2
)) {
24685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24687 arg2
= static_cast< bool >(val2
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24702 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
= 0;
24704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24705 bool arg2
= (bool) false ;
24706 wxDateTime
*result
= 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 char * kwnames
[] = {
24714 (char *) "self",(char *) "noDST", NULL
24717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24719 if (!SWIG_IsOK(res1
)) {
24720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24722 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24725 if (!SWIG_IsOK(ecode2
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24728 arg2
= static_cast< bool >(val2
);
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24734 result
= (wxDateTime
*) &_result_ref
;
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24746 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
= 0;
24748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24749 bool arg2
= (bool) false ;
24755 PyObject
* obj0
= 0 ;
24756 PyObject
* obj1
= 0 ;
24757 char * kwnames
[] = {
24758 (char *) "self",(char *) "noDST", NULL
24761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24763 if (!SWIG_IsOK(res1
)) {
24764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24766 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24768 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24769 if (!SWIG_IsOK(ecode2
)) {
24770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24772 arg2
= static_cast< bool >(val2
);
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24787 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
= 0;
24789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24790 bool arg2
= (bool) false ;
24791 wxDateTime
*result
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 char * kwnames
[] = {
24799 (char *) "self",(char *) "noDST", NULL
24802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24804 if (!SWIG_IsOK(res1
)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24809 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24810 if (!SWIG_IsOK(ecode2
)) {
24811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24813 arg2
= static_cast< bool >(val2
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24819 result
= (wxDateTime
*) &_result_ref
;
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24831 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
= 0;
24833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24834 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char * kwnames
[] = {
24843 (char *) "self",(char *) "country", NULL
24846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) 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_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24851 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24854 if (!SWIG_IsOK(ecode2
)) {
24855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24857 arg2
= static_cast< wxDateTime::Country
>(val2
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (int)(arg1
)->IsDST(arg2
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_From_int(static_cast< int >(result
));
24872 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24873 PyObject
*resultobj
= 0;
24874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24878 PyObject
*swig_obj
[1] ;
24880 if (!args
) SWIG_fail
;
24881 swig_obj
[0] = args
;
24882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24883 if (!SWIG_IsOK(res1
)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24886 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24889 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24902 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24903 PyObject
*resultobj
= 0;
24904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24908 PyObject
*swig_obj
[1] ;
24910 if (!args
) SWIG_fail
;
24911 swig_obj
[0] = args
;
24912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24916 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24930 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
= 0;
24932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24933 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24934 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24938 bool temp2
= false ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 char * kwnames
[] = {
24942 (char *) "self",(char *) "tz", NULL
24945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24950 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24953 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= SWIG_From_int(static_cast< int >(result
));
24965 if (temp2
) delete arg2
;
24970 if (temp2
) delete arg2
;
24976 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
= 0;
24978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24979 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24980 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24981 wxDateTime::Month result
;
24984 bool temp2
= false ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 char * kwnames
[] = {
24988 (char *) "self",(char *) "tz", NULL
24991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24996 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24999 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_From_int(static_cast< int >(result
));
25011 if (temp2
) delete arg2
;
25016 if (temp2
) delete arg2
;
25022 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
= 0;
25024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25025 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25026 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25030 bool temp2
= false ;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char * kwnames
[] = {
25034 (char *) "self",(char *) "tz", NULL
25037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25042 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25045 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_From_int(static_cast< int >(result
));
25057 if (temp2
) delete arg2
;
25062 if (temp2
) delete arg2
;
25068 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25071 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25072 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25073 wxDateTime::WeekDay result
;
25076 bool temp2
= false ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char * kwnames
[] = {
25080 (char *) "self",(char *) "tz", NULL
25083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25088 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25091 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_From_int(static_cast< int >(result
));
25103 if (temp2
) delete arg2
;
25108 if (temp2
) delete arg2
;
25114 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= 0;
25116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25117 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25118 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25122 bool temp2
= false ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "self",(char *) "tz", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25134 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25137 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_From_int(static_cast< int >(result
));
25149 if (temp2
) delete arg2
;
25154 if (temp2
) delete arg2
;
25160 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
= 0;
25162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25163 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25164 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25168 bool temp2
= false ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "self",(char *) "tz", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25180 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25183 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_From_int(static_cast< int >(result
));
25195 if (temp2
) delete arg2
;
25200 if (temp2
) delete arg2
;
25206 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25209 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25210 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25214 bool temp2
= false ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char * kwnames
[] = {
25218 (char *) "self",(char *) "tz", NULL
25221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25226 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25229 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_From_int(static_cast< int >(result
));
25241 if (temp2
) delete arg2
;
25246 if (temp2
) delete arg2
;
25252 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= 0;
25254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25255 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25256 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25260 bool temp2
= false ;
25261 PyObject
* obj0
= 0 ;
25262 PyObject
* obj1
= 0 ;
25263 char * kwnames
[] = {
25264 (char *) "self",(char *) "tz", NULL
25267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25269 if (!SWIG_IsOK(res1
)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25275 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_From_int(static_cast< int >(result
));
25287 if (temp2
) delete arg2
;
25292 if (temp2
) delete arg2
;
25298 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
= 0;
25300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25301 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25302 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25306 bool temp2
= false ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "tz", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25318 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25321 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_From_int(static_cast< int >(result
));
25333 if (temp2
) delete arg2
;
25338 if (temp2
) delete arg2
;
25344 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25347 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25348 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25349 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25355 bool temp3
= false ;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 PyObject
* obj2
= 0 ;
25359 char * kwnames
[] = {
25360 (char *) "self",(char *) "flags",(char *) "tz", NULL
25363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25365 if (!SWIG_IsOK(res1
)) {
25366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25368 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25371 if (!SWIG_IsOK(ecode2
)) {
25372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25374 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25378 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= SWIG_From_int(static_cast< int >(result
));
25390 if (temp3
) delete arg3
;
25395 if (temp3
) delete arg3
;
25401 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25404 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25405 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25406 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25412 bool temp3
= false ;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 PyObject
* obj2
= 0 ;
25416 char * kwnames
[] = {
25417 (char *) "self",(char *) "flags",(char *) "tz", NULL
25420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25422 if (!SWIG_IsOK(res1
)) {
25423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25425 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25428 if (!SWIG_IsOK(ecode2
)) {
25429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25431 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25435 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_From_int(static_cast< int >(result
));
25447 if (temp3
) delete arg3
;
25452 if (temp3
) delete arg3
;
25458 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
= 0;
25460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25461 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char * kwnames
[] = {
25470 (char *) "self",(char *) "country", NULL
25473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25475 if (!SWIG_IsOK(res1
)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25480 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25481 if (!SWIG_IsOK(ecode2
)) {
25482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25484 arg2
= static_cast< wxDateTime::Country
>(val2
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25501 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
= 0;
25503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25504 wxDateTime
*arg2
= 0 ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char * kwnames
[] = {
25513 (char *) "self",(char *) "datetime", NULL
25516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25518 if (!SWIG_IsOK(res1
)) {
25519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25521 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25523 if (!SWIG_IsOK(res2
)) {
25524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25529 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25545 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
= 0;
25547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25548 wxDateTime
*arg2
= 0 ;
25554 PyObject
* obj0
= 0 ;
25555 PyObject
* obj1
= 0 ;
25556 char * kwnames
[] = {
25557 (char *) "self",(char *) "datetime", NULL
25560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25562 if (!SWIG_IsOK(res1
)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25565 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25566 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25567 if (!SWIG_IsOK(res2
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25573 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25589 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
= 0;
25591 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25592 wxDateTime
*arg2
= 0 ;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj1
= 0 ;
25600 char * kwnames
[] = {
25601 (char *) "self",(char *) "datetime", NULL
25604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25609 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25611 if (!SWIG_IsOK(res2
)) {
25612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25617 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25633 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25636 wxDateTime
*arg2
= 0 ;
25637 wxDateTime
*arg3
= 0 ;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 PyObject
* obj2
= 0 ;
25648 char * kwnames
[] = {
25649 (char *) "self",(char *) "t1",(char *) "t2", NULL
25652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25657 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25658 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25659 if (!SWIG_IsOK(res2
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25665 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25667 if (!SWIG_IsOK(res3
)) {
25668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25673 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25689 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
= 0;
25691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25692 wxDateTime
*arg2
= 0 ;
25693 wxDateTime
*arg3
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 PyObject
* obj2
= 0 ;
25704 char * kwnames
[] = {
25705 (char *) "self",(char *) "t1",(char *) "t2", NULL
25708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25710 if (!SWIG_IsOK(res1
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25713 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25715 if (!SWIG_IsOK(res2
)) {
25716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25721 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25722 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25723 if (!SWIG_IsOK(res3
)) {
25724 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25729 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25745 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
= 0;
25747 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25748 wxDateTime
*arg2
= 0 ;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 char * kwnames
[] = {
25757 (char *) "self",(char *) "dt", NULL
25760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25762 if (!SWIG_IsOK(res1
)) {
25763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25765 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25767 if (!SWIG_IsOK(res2
)) {
25768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25773 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25789 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25792 wxDateTime
*arg2
= 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char * kwnames
[] = {
25801 (char *) "self",(char *) "dt", NULL
25804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25806 if (!SWIG_IsOK(res1
)) {
25807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25809 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25811 if (!SWIG_IsOK(res2
)) {
25812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25817 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25833 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
= 0;
25835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25836 wxDateTime
*arg2
= 0 ;
25837 wxTimeSpan
*arg3
= 0 ;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 PyObject
* obj2
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "self",(char *) "dt",(char *) "ts", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25857 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25859 if (!SWIG_IsOK(res2
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25865 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25866 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25867 if (!SWIG_IsOK(res3
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25873 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25889 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
= 0;
25891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25892 wxTimeSpan
*arg2
= 0 ;
25893 wxDateTime
*result
= 0 ;
25898 PyObject
* obj0
= 0 ;
25899 PyObject
* obj1
= 0 ;
25900 char * kwnames
[] = {
25901 (char *) "self",(char *) "diff", NULL
25904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25906 if (!SWIG_IsOK(res1
)) {
25907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25911 if (!SWIG_IsOK(res2
)) {
25912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25917 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25922 result
= (wxDateTime
*) &_result_ref
;
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25934 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
= 0;
25936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25937 wxDateSpan
*arg2
= 0 ;
25938 wxDateTime
*result
= 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char * kwnames
[] = {
25946 (char *) "self",(char *) "diff", NULL
25949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25954 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25956 if (!SWIG_IsOK(res2
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25962 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25967 result
= (wxDateTime
*) &_result_ref
;
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25979 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
= 0;
25981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25982 wxTimeSpan
*arg2
= 0 ;
25983 wxDateTime
*result
= 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char * kwnames
[] = {
25991 (char *) "self",(char *) "diff", NULL
25994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25996 if (!SWIG_IsOK(res1
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25999 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26001 if (!SWIG_IsOK(res2
)) {
26002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26007 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26012 result
= (wxDateTime
*) &_result_ref
;
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26024 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26027 wxDateSpan
*arg2
= 0 ;
26028 wxDateTime
*result
= 0 ;
26033 PyObject
* obj0
= 0 ;
26034 PyObject
* obj1
= 0 ;
26035 char * kwnames
[] = {
26036 (char *) "self",(char *) "diff", NULL
26039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26041 if (!SWIG_IsOK(res1
)) {
26042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26044 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26046 if (!SWIG_IsOK(res2
)) {
26047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26052 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26057 result
= (wxDateTime
*) &_result_ref
;
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26069 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
= 0;
26071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26072 wxDateTime
*arg2
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 char * kwnames
[] = {
26081 (char *) "self",(char *) "dt", NULL
26084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26086 if (!SWIG_IsOK(res1
)) {
26087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26089 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26091 if (!SWIG_IsOK(res2
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26097 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26111 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26112 PyObject
*resultobj
= 0;
26113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26114 wxTimeSpan
*arg2
= 0 ;
26115 wxDateTime
*result
= 0 ;
26121 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26123 if (!SWIG_IsOK(res1
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26126 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26127 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26128 if (!SWIG_IsOK(res2
)) {
26129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26134 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26139 result
= (wxDateTime
*) &_result_ref
;
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26151 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26152 PyObject
*resultobj
= 0;
26153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26154 wxDateSpan
*arg2
= 0 ;
26155 wxDateTime
*result
= 0 ;
26161 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26163 if (!SWIG_IsOK(res1
)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26166 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26167 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26168 if (!SWIG_IsOK(res2
)) {
26169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26174 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26179 result
= (wxDateTime
*) &_result_ref
;
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26191 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26195 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26200 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26201 _v
= SWIG_CheckState(res
);
26203 if (!_v
) goto check_1
;
26204 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26209 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26213 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26218 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26219 PyObject
*resultobj
= 0;
26220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26221 wxTimeSpan
*arg2
= 0 ;
26222 wxDateTime
*result
= 0 ;
26228 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26230 if (!SWIG_IsOK(res1
)) {
26231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26233 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26234 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26235 if (!SWIG_IsOK(res2
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26241 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26245 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26246 result
= (wxDateTime
*) &_result_ref
;
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26258 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26259 PyObject
*resultobj
= 0;
26260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26261 wxDateSpan
*arg2
= 0 ;
26262 wxDateTime
*result
= 0 ;
26268 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26270 if (!SWIG_IsOK(res1
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26274 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26275 if (!SWIG_IsOK(res2
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26281 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26286 result
= (wxDateTime
*) &_result_ref
;
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26298 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26302 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26307 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26308 _v
= SWIG_CheckState(res
);
26310 if (!_v
) goto check_1
;
26311 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26316 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26320 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26325 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26326 PyObject
*resultobj
= 0;
26327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26328 wxTimeSpan
*arg2
= 0 ;
26335 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26340 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26341 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26342 if (!SWIG_IsOK(res2
)) {
26343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26348 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26362 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26363 PyObject
*resultobj
= 0;
26364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26365 wxDateSpan
*arg2
= 0 ;
26372 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26374 if (!SWIG_IsOK(res1
)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26377 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26378 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26379 if (!SWIG_IsOK(res2
)) {
26380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26385 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26399 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26403 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26408 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26409 _v
= SWIG_CheckState(res
);
26411 if (!_v
) goto check_1
;
26412 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26417 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26421 Py_INCREF(Py_NotImplemented
);
26422 return Py_NotImplemented
;
26426 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26427 PyObject
*resultobj
= 0;
26428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26429 wxDateTime
*arg2
= 0 ;
26436 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26441 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26442 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26443 if (!SWIG_IsOK(res2
)) {
26444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26449 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26463 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26464 PyObject
*resultobj
= 0;
26465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26466 wxTimeSpan
*arg2
= 0 ;
26473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26480 if (!SWIG_IsOK(res2
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26486 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26500 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26501 PyObject
*resultobj
= 0;
26502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26503 wxDateSpan
*arg2
= 0 ;
26510 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26512 if (!SWIG_IsOK(res1
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26516 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26517 if (!SWIG_IsOK(res2
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26523 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26537 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26541 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26546 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26547 _v
= SWIG_CheckState(res
);
26549 if (!_v
) goto check_1
;
26550 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26557 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26558 _v
= SWIG_CheckState(res
);
26560 if (!_v
) goto check_2
;
26561 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26566 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26570 Py_INCREF(Py_NotImplemented
);
26571 return Py_NotImplemented
;
26575 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= 0;
26577 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26578 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char * kwnames
[] = {
26587 (char *) "self",(char *) "other", NULL
26590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26592 if (!SWIG_IsOK(res1
)) {
26593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26595 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26597 if (!SWIG_IsOK(res2
)) {
26598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26600 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26616 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
= 0;
26618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26619 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char * kwnames
[] = {
26628 (char *) "self",(char *) "other", NULL
26631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26633 if (!SWIG_IsOK(res1
)) {
26634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26636 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26638 if (!SWIG_IsOK(res2
)) {
26639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26641 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26657 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
= 0;
26659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26660 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26668 char * kwnames
[] = {
26669 (char *) "self",(char *) "other", NULL
26672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26674 if (!SWIG_IsOK(res1
)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26677 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26678 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26679 if (!SWIG_IsOK(res2
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26682 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26685 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26698 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26699 PyObject
*resultobj
= 0;
26700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26701 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "other", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26718 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26720 if (!SWIG_IsOK(res2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26723 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26739 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
= 0;
26741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26742 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 char * kwnames
[] = {
26751 (char *) "self",(char *) "other", NULL
26754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26756 if (!SWIG_IsOK(res1
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26759 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26760 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26761 if (!SWIG_IsOK(res2
)) {
26762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26764 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26780 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26781 PyObject
*resultobj
= 0;
26782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26783 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "self",(char *) "other", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26797 if (!SWIG_IsOK(res1
)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26801 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26802 if (!SWIG_IsOK(res2
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26805 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26821 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
= 0;
26823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26824 wxString
*arg2
= 0 ;
26828 bool temp2
= false ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "date", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26840 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26842 arg2
= wxString_in_helper(obj1
);
26843 if (arg2
== NULL
) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_From_int(static_cast< int >(result
));
26867 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
= 0;
26869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26870 wxString
*arg2
= 0 ;
26871 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26872 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26873 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26874 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26878 bool temp2
= false ;
26879 bool temp3
= false ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 PyObject
* obj2
= 0 ;
26885 PyObject
* obj3
= 0 ;
26886 char * kwnames
[] = {
26887 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26892 if (!SWIG_IsOK(res1
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26895 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26897 arg2
= wxString_in_helper(obj1
);
26898 if (arg2
== NULL
) SWIG_fail
;
26903 arg3
= wxString_in_helper(obj2
);
26904 if (arg3
== NULL
) SWIG_fail
;
26909 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26910 if (!SWIG_IsOK(res4
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26916 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26920 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= SWIG_From_int(static_cast< int >(result
));
26947 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26948 PyObject
*resultobj
= 0;
26949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26950 wxString
*arg2
= 0 ;
26954 bool temp2
= false ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 char * kwnames
[] = {
26958 (char *) "self",(char *) "datetime", NULL
26961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26963 if (!SWIG_IsOK(res1
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26966 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26968 arg2
= wxString_in_helper(obj1
);
26969 if (arg2
== NULL
) SWIG_fail
;
26973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26974 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= SWIG_From_int(static_cast< int >(result
));
26993 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26994 PyObject
*resultobj
= 0;
26995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26996 wxString
*arg2
= 0 ;
27000 bool temp2
= false ;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 char * kwnames
[] = {
27004 (char *) "self",(char *) "date", NULL
27007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27009 if (!SWIG_IsOK(res1
)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27012 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27014 arg2
= wxString_in_helper(obj1
);
27015 if (arg2
== NULL
) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 resultobj
= SWIG_From_int(static_cast< int >(result
));
27039 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
= 0;
27041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27042 wxString
*arg2
= 0 ;
27046 bool temp2
= false ;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char * kwnames
[] = {
27050 (char *) "self",(char *) "time", NULL
27053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27055 if (!SWIG_IsOK(res1
)) {
27056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27058 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27060 arg2
= wxString_in_helper(obj1
);
27061 if (arg2
== NULL
) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27070 resultobj
= SWIG_From_int(static_cast< int >(result
));
27085 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27088 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27089 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27090 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27091 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27095 bool temp2
= false ;
27096 bool temp3
= false ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 PyObject
* obj2
= 0 ;
27100 char * kwnames
[] = {
27101 (char *) "self",(char *) "format",(char *) "tz", NULL
27104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27109 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27112 arg2
= wxString_in_helper(obj1
);
27113 if (arg2
== NULL
) SWIG_fail
;
27119 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27141 if (temp3
) delete arg3
;
27150 if (temp3
) delete arg3
;
27156 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27157 PyObject
*resultobj
= 0;
27158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27162 PyObject
*swig_obj
[1] ;
27164 if (!args
) SWIG_fail
;
27165 swig_obj
[0] = args
;
27166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27170 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27190 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27191 PyObject
*resultobj
= 0;
27192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27196 PyObject
*swig_obj
[1] ;
27198 if (!args
) SWIG_fail
;
27199 swig_obj
[0] = args
;
27200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27204 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27224 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27225 PyObject
*resultobj
= 0;
27226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27230 PyObject
*swig_obj
[1] ;
27232 if (!args
) SWIG_fail
;
27233 swig_obj
[0] = args
;
27234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27235 if (!SWIG_IsOK(res1
)) {
27236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27238 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27258 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27259 PyObject
*resultobj
= 0;
27260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27264 PyObject
*swig_obj
[1] ;
27266 if (!args
) SWIG_fail
;
27267 swig_obj
[0] = args
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27292 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27295 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27296 return SWIG_Py_Void();
27299 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 return SWIG_Python_InitShadowInstance(args
);
27303 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
= 0;
27309 PyObject
* obj0
= 0 ;
27310 char * kwnames
[] = {
27311 (char *) "ms", NULL
27314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27315 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27316 if (!SWIG_IsOK(ecode1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27319 arg1
= static_cast< long >(val1
);
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= wxTimeSpan::Milliseconds(arg1
);
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27333 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27337 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= wxTimeSpan::Millisecond();
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27351 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
= 0;
27357 PyObject
* obj0
= 0 ;
27358 char * kwnames
[] = {
27359 (char *) "sec", NULL
27362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27363 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27364 if (!SWIG_IsOK(ecode1
)) {
27365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27367 arg1
= static_cast< long >(val1
);
27369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27370 result
= wxTimeSpan::Seconds(arg1
);
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27374 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27381 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27382 PyObject
*resultobj
= 0;
27385 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= wxTimeSpan::Second();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27399 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
= 0;
27405 PyObject
* obj0
= 0 ;
27406 char * kwnames
[] = {
27407 (char *) "min", NULL
27410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27411 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27412 if (!SWIG_IsOK(ecode1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27415 arg1
= static_cast< long >(val1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= wxTimeSpan::Minutes(arg1
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27429 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27433 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27436 result
= wxTimeSpan::Minute();
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27447 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
= 0;
27453 PyObject
* obj0
= 0 ;
27454 char * kwnames
[] = {
27455 (char *) "hours", NULL
27458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27459 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27460 if (!SWIG_IsOK(ecode1
)) {
27461 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27463 arg1
= static_cast< long >(val1
);
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 result
= wxTimeSpan::Hours(arg1
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27477 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 PyObject
*resultobj
= 0;
27481 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 result
= wxTimeSpan::Hour();
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27495 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
= 0;
27501 PyObject
* obj0
= 0 ;
27502 char * kwnames
[] = {
27503 (char *) "days", NULL
27506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27507 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27508 if (!SWIG_IsOK(ecode1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27511 arg1
= static_cast< long >(val1
);
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= wxTimeSpan::Days(arg1
);
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27525 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27526 PyObject
*resultobj
= 0;
27529 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= wxTimeSpan::Day();
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27543 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
= 0;
27549 PyObject
* obj0
= 0 ;
27550 char * kwnames
[] = {
27551 (char *) "days", NULL
27554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27555 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27556 if (!SWIG_IsOK(ecode1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27559 arg1
= static_cast< long >(val1
);
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 result
= wxTimeSpan::Weeks(arg1
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27573 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27574 PyObject
*resultobj
= 0;
27577 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 result
= wxTimeSpan::Week();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27591 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
= 0;
27593 long arg1
= (long) 0 ;
27594 long arg2
= (long) 0 ;
27595 long arg3
= (long) 0 ;
27596 long arg4
= (long) 0 ;
27597 wxTimeSpan
*result
= 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 PyObject
* obj2
= 0 ;
27609 PyObject
* obj3
= 0 ;
27610 char * kwnames
[] = {
27611 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27616 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27617 if (!SWIG_IsOK(ecode1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27620 arg1
= static_cast< long >(val1
);
27623 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27624 if (!SWIG_IsOK(ecode2
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27627 arg2
= static_cast< long >(val2
);
27630 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27631 if (!SWIG_IsOK(ecode3
)) {
27632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27634 arg3
= static_cast< long >(val3
);
27637 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27638 if (!SWIG_IsOK(ecode4
)) {
27639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27641 arg4
= static_cast< long >(val4
);
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27656 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27657 PyObject
*resultobj
= 0;
27658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27661 PyObject
*swig_obj
[1] ;
27663 if (!args
) SWIG_fail
;
27664 swig_obj
[0] = args
;
27665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27669 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= SWIG_Py_Void();
27684 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
= 0;
27686 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27687 wxTimeSpan
*arg2
= 0 ;
27688 wxTimeSpan
*result
= 0 ;
27693 PyObject
* obj0
= 0 ;
27694 PyObject
* obj1
= 0 ;
27695 char * kwnames
[] = {
27696 (char *) "self",(char *) "diff", NULL
27699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27704 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27706 if (!SWIG_IsOK(res2
)) {
27707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27712 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27717 result
= (wxTimeSpan
*) &_result_ref
;
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27729 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
= 0;
27731 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27732 wxTimeSpan
*arg2
= 0 ;
27733 wxTimeSpan
*result
= 0 ;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 char * kwnames
[] = {
27741 (char *) "self",(char *) "diff", NULL
27744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27746 if (!SWIG_IsOK(res1
)) {
27747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27749 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27751 if (!SWIG_IsOK(res2
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27757 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27762 result
= (wxTimeSpan
*) &_result_ref
;
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27774 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
= 0;
27776 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27778 wxTimeSpan
*result
= 0 ;
27783 PyObject
* obj0
= 0 ;
27784 PyObject
* obj1
= 0 ;
27785 char * kwnames
[] = {
27786 (char *) "self",(char *) "n", NULL
27789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27791 if (!SWIG_IsOK(res1
)) {
27792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27794 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27796 if (!SWIG_IsOK(ecode2
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27799 arg2
= static_cast< int >(val2
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27804 result
= (wxTimeSpan
*) &_result_ref
;
27806 wxPyEndAllowThreads(__tstate
);
27807 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27816 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27817 PyObject
*resultobj
= 0;
27818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27819 wxTimeSpan
*result
= 0 ;
27822 PyObject
*swig_obj
[1] ;
27824 if (!args
) SWIG_fail
;
27825 swig_obj
[0] = args
;
27826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27827 if (!SWIG_IsOK(res1
)) {
27828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27830 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27835 result
= (wxTimeSpan
*) &_result_ref
;
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27847 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27848 PyObject
*resultobj
= 0;
27849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27853 PyObject
*swig_obj
[1] ;
27855 if (!args
) SWIG_fail
;
27856 swig_obj
[0] = args
;
27857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27858 if (!SWIG_IsOK(res1
)) {
27859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27861 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27875 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27878 wxTimeSpan
*arg2
= 0 ;
27879 wxTimeSpan
*result
= 0 ;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char * kwnames
[] = {
27887 (char *) "self",(char *) "diff", NULL
27890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27895 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27897 if (!SWIG_IsOK(res2
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27903 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27908 result
= (wxTimeSpan
*) &_result_ref
;
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27920 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
= 0;
27922 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27923 wxTimeSpan
*arg2
= 0 ;
27924 wxTimeSpan
*result
= 0 ;
27929 PyObject
* obj0
= 0 ;
27930 PyObject
* obj1
= 0 ;
27931 char * kwnames
[] = {
27932 (char *) "self",(char *) "diff", NULL
27935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27937 if (!SWIG_IsOK(res1
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27940 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27942 if (!SWIG_IsOK(res2
)) {
27943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27948 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27953 result
= (wxTimeSpan
*) &_result_ref
;
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27965 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
= 0;
27967 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27969 wxTimeSpan
*result
= 0 ;
27974 PyObject
* obj0
= 0 ;
27975 PyObject
* obj1
= 0 ;
27976 char * kwnames
[] = {
27977 (char *) "self",(char *) "n", NULL
27980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27985 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27987 if (!SWIG_IsOK(ecode2
)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27990 arg2
= static_cast< int >(val2
);
27992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27995 result
= (wxTimeSpan
*) &_result_ref
;
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28007 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28008 PyObject
*resultobj
= 0;
28009 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28010 wxTimeSpan
*result
= 0 ;
28013 PyObject
*swig_obj
[1] ;
28015 if (!args
) SWIG_fail
;
28016 swig_obj
[0] = args
;
28017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28018 if (!SWIG_IsOK(res1
)) {
28019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28021 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28026 result
= (wxTimeSpan
*) &_result_ref
;
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28038 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
= 0;
28040 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28041 wxTimeSpan
*arg2
= 0 ;
28047 PyObject
* obj0
= 0 ;
28048 PyObject
* obj1
= 0 ;
28049 char * kwnames
[] = {
28050 (char *) "self",(char *) "other", NULL
28053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28058 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28059 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28060 if (!SWIG_IsOK(res2
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28066 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28080 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
= 0;
28082 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28083 wxTimeSpan
*arg2
= 0 ;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char * kwnames
[] = {
28092 (char *) "self",(char *) "other", NULL
28095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28097 if (!SWIG_IsOK(res1
)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28100 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28102 if (!SWIG_IsOK(res2
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28108 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28122 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char * kwnames
[] = {
28134 (char *) "self",(char *) "n", NULL
28137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28142 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28144 if (!SWIG_IsOK(ecode2
)) {
28145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28147 arg2
= static_cast< int >(val2
);
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 result
= wxTimeSpan___mul__(arg1
,arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28161 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
= 0;
28163 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28170 PyObject
* obj0
= 0 ;
28171 PyObject
* obj1
= 0 ;
28172 char * kwnames
[] = {
28173 (char *) "self",(char *) "n", NULL
28176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28178 if (!SWIG_IsOK(res1
)) {
28179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28181 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28182 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28183 if (!SWIG_IsOK(ecode2
)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28186 arg2
= static_cast< int >(val2
);
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28200 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= 0;
28202 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28203 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char * kwnames
[] = {
28212 (char *) "self",(char *) "other", NULL
28215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28220 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28222 if (!SWIG_IsOK(res2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28225 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28241 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
= 0;
28243 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28244 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28250 PyObject
* obj0
= 0 ;
28251 PyObject
* obj1
= 0 ;
28252 char * kwnames
[] = {
28253 (char *) "self",(char *) "other", NULL
28256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28258 if (!SWIG_IsOK(res1
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28261 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28263 if (!SWIG_IsOK(res2
)) {
28264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28266 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28270 wxPyEndAllowThreads(__tstate
);
28271 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28282 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28285 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char * kwnames
[] = {
28294 (char *) "self",(char *) "other", NULL
28297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28302 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28304 if (!SWIG_IsOK(res2
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28307 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28323 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28324 PyObject
*resultobj
= 0;
28325 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28326 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 PyObject
* obj1
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "other", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28343 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28344 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28345 if (!SWIG_IsOK(res2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28348 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28364 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
= 0;
28366 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28367 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 PyObject
* obj1
= 0 ;
28375 char * kwnames
[] = {
28376 (char *) "self",(char *) "other", NULL
28379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28381 if (!SWIG_IsOK(res1
)) {
28382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28384 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28386 if (!SWIG_IsOK(res2
)) {
28387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28389 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28392 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28405 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
= 0;
28407 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28408 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "self",(char *) "other", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28425 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28427 if (!SWIG_IsOK(res2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28430 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28446 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28447 PyObject
*resultobj
= 0;
28448 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28452 PyObject
*swig_obj
[1] ;
28454 if (!args
) SWIG_fail
;
28455 swig_obj
[0] = args
;
28456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28457 if (!SWIG_IsOK(res1
)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28460 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28476 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28477 PyObject
*resultobj
= 0;
28478 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28482 PyObject
*swig_obj
[1] ;
28484 if (!args
) SWIG_fail
;
28485 swig_obj
[0] = args
;
28486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28487 if (!SWIG_IsOK(res1
)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28490 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28506 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28507 PyObject
*resultobj
= 0;
28508 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28512 PyObject
*swig_obj
[1] ;
28514 if (!args
) SWIG_fail
;
28515 swig_obj
[0] = args
;
28516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28517 if (!SWIG_IsOK(res1
)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28520 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28536 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28539 wxTimeSpan
*arg2
= 0 ;
28545 PyObject
* obj0
= 0 ;
28546 PyObject
* obj1
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "self",(char *) "ts", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28556 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28558 if (!SWIG_IsOK(res2
)) {
28559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28564 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28568 wxPyEndAllowThreads(__tstate
);
28569 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28580 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
= 0;
28582 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28583 wxTimeSpan
*arg2
= 0 ;
28589 PyObject
* obj0
= 0 ;
28590 PyObject
* obj1
= 0 ;
28591 char * kwnames
[] = {
28592 (char *) "self",(char *) "ts", NULL
28595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28597 if (!SWIG_IsOK(res1
)) {
28598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28600 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28602 if (!SWIG_IsOK(res2
)) {
28603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28608 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28612 wxPyEndAllowThreads(__tstate
);
28613 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28624 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
= 0;
28626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28627 wxTimeSpan
*arg2
= 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 char * kwnames
[] = {
28636 (char *) "self",(char *) "t", NULL
28639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28641 if (!SWIG_IsOK(res1
)) {
28642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28644 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28646 if (!SWIG_IsOK(res2
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28652 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28668 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28669 PyObject
*resultobj
= 0;
28670 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28674 PyObject
*swig_obj
[1] ;
28676 if (!args
) SWIG_fail
;
28677 swig_obj
[0] = args
;
28678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28679 if (!SWIG_IsOK(res1
)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28682 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= SWIG_From_int(static_cast< int >(result
));
28696 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28697 PyObject
*resultobj
= 0;
28698 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28702 PyObject
*swig_obj
[1] ;
28704 if (!args
) SWIG_fail
;
28705 swig_obj
[0] = args
;
28706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28710 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28713 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_From_int(static_cast< int >(result
));
28724 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28725 PyObject
*resultobj
= 0;
28726 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28730 PyObject
*swig_obj
[1] ;
28732 if (!args
) SWIG_fail
;
28733 swig_obj
[0] = args
;
28734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28735 if (!SWIG_IsOK(res1
)) {
28736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28738 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28742 wxPyEndAllowThreads(__tstate
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 resultobj
= SWIG_From_int(static_cast< int >(result
));
28752 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28753 PyObject
*resultobj
= 0;
28754 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28758 PyObject
*swig_obj
[1] ;
28760 if (!args
) SWIG_fail
;
28761 swig_obj
[0] = args
;
28762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28763 if (!SWIG_IsOK(res1
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28766 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_From_int(static_cast< int >(result
));
28780 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28781 PyObject
*resultobj
= 0;
28782 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28786 PyObject
*swig_obj
[1] ;
28788 if (!args
) SWIG_fail
;
28789 swig_obj
[0] = args
;
28790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28791 if (!SWIG_IsOK(res1
)) {
28792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28794 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28802 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28803 hi
= PyLong_FromLong( (&result
)->GetHi() );
28804 lo
= PyLong_FromLong( (&result
)->GetLo() );
28805 shifter
= PyLong_FromLong(32);
28806 shifted
= PyNumber_Lshift(hi
, shifter
);
28807 resultobj
= PyNumber_Or(shifted
, lo
);
28810 Py_DECREF(shifter
);
28811 Py_DECREF(shifted
);
28819 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28820 PyObject
*resultobj
= 0;
28821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28825 PyObject
*swig_obj
[1] ;
28827 if (!args
) SWIG_fail
;
28828 swig_obj
[0] = args
;
28829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28833 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28837 wxPyEndAllowThreads(__tstate
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28841 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28842 hi
= PyLong_FromLong( (&result
)->GetHi() );
28843 lo
= PyLong_FromLong( (&result
)->GetLo() );
28844 shifter
= PyLong_FromLong(32);
28845 shifted
= PyNumber_Lshift(hi
, shifter
);
28846 resultobj
= PyNumber_Or(shifted
, lo
);
28849 Py_DECREF(shifter
);
28850 Py_DECREF(shifted
);
28858 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
= 0;
28860 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28861 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28862 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28866 bool temp2
= false ;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 char * kwnames
[] = {
28870 (char *) "self",(char *) "format", NULL
28873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28878 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28881 arg2
= wxString_in_helper(obj1
);
28882 if (arg2
== NULL
) SWIG_fail
;
28887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28913 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28915 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28916 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28917 return SWIG_Py_Void();
28920 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28921 return SWIG_Python_InitShadowInstance(args
);
28924 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
= 0;
28926 int arg1
= (int) 0 ;
28927 int arg2
= (int) 0 ;
28928 int arg3
= (int) 0 ;
28929 int arg4
= (int) 0 ;
28930 wxDateSpan
*result
= 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 PyObject
* obj2
= 0 ;
28942 PyObject
* obj3
= 0 ;
28943 char * kwnames
[] = {
28944 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28950 if (!SWIG_IsOK(ecode1
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28953 arg1
= static_cast< int >(val1
);
28956 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28957 if (!SWIG_IsOK(ecode2
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28960 arg2
= static_cast< int >(val2
);
28963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28964 if (!SWIG_IsOK(ecode3
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28967 arg3
= static_cast< int >(val3
);
28970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28971 if (!SWIG_IsOK(ecode4
)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28974 arg4
= static_cast< int >(val4
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28989 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28990 PyObject
*resultobj
= 0;
28991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28994 PyObject
*swig_obj
[1] ;
28996 if (!args
) SWIG_fail
;
28997 swig_obj
[0] = args
;
28998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
28999 if (!SWIG_IsOK(res1
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29002 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_Py_Void();
29017 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
= 0;
29023 PyObject
* obj0
= 0 ;
29024 char * kwnames
[] = {
29025 (char *) "days", NULL
29028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29030 if (!SWIG_IsOK(ecode1
)) {
29031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29033 arg1
= static_cast< int >(val1
);
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= wxDateSpan::Days(arg1
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29047 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29048 PyObject
*resultobj
= 0;
29051 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 result
= wxDateSpan::Day();
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29065 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
= 0;
29071 PyObject
* obj0
= 0 ;
29072 char * kwnames
[] = {
29073 (char *) "weeks", NULL
29076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29078 if (!SWIG_IsOK(ecode1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29081 arg1
= static_cast< int >(val1
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= wxDateSpan::Weeks(arg1
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29095 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29096 PyObject
*resultobj
= 0;
29099 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= wxDateSpan::Week();
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29113 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
= 0;
29119 PyObject
* obj0
= 0 ;
29120 char * kwnames
[] = {
29121 (char *) "mon", NULL
29124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29126 if (!SWIG_IsOK(ecode1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29129 arg1
= static_cast< int >(val1
);
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 result
= wxDateSpan::Months(arg1
);
29133 wxPyEndAllowThreads(__tstate
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29136 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29143 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29144 PyObject
*resultobj
= 0;
29147 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 result
= wxDateSpan::Month();
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29161 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
= 0;
29167 PyObject
* obj0
= 0 ;
29168 char * kwnames
[] = {
29169 (char *) "years", NULL
29172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29174 if (!SWIG_IsOK(ecode1
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29177 arg1
= static_cast< int >(val1
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= wxDateSpan::Years(arg1
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29191 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29195 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29198 result
= wxDateSpan::Year();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29209 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
= 0;
29211 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29213 wxDateSpan
*result
= 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 char * kwnames
[] = {
29221 (char *) "self",(char *) "n", NULL
29224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29229 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29231 if (!SWIG_IsOK(ecode2
)) {
29232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29234 arg2
= static_cast< int >(val2
);
29236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29239 result
= (wxDateSpan
*) &_result_ref
;
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29251 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
= 0;
29253 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29255 wxDateSpan
*result
= 0 ;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 char * kwnames
[] = {
29263 (char *) "self",(char *) "n", NULL
29266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29268 if (!SWIG_IsOK(res1
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29271 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29273 if (!SWIG_IsOK(ecode2
)) {
29274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29276 arg2
= static_cast< int >(val2
);
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29281 result
= (wxDateSpan
*) &_result_ref
;
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29293 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
= 0;
29295 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29297 wxDateSpan
*result
= 0 ;
29302 PyObject
* obj0
= 0 ;
29303 PyObject
* obj1
= 0 ;
29304 char * kwnames
[] = {
29305 (char *) "self",(char *) "n", NULL
29308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29313 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29315 if (!SWIG_IsOK(ecode2
)) {
29316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29318 arg2
= static_cast< int >(val2
);
29320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29323 result
= (wxDateSpan
*) &_result_ref
;
29325 wxPyEndAllowThreads(__tstate
);
29326 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29335 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29336 PyObject
*resultobj
= 0;
29337 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29339 wxDateSpan
*result
= 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 char * kwnames
[] = {
29347 (char *) "self",(char *) "n", NULL
29350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29352 if (!SWIG_IsOK(res1
)) {
29353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29355 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29357 if (!SWIG_IsOK(ecode2
)) {
29358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29360 arg2
= static_cast< int >(val2
);
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29365 result
= (wxDateSpan
*) &_result_ref
;
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29377 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29378 PyObject
*resultobj
= 0;
29379 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29383 PyObject
*swig_obj
[1] ;
29385 if (!args
) SWIG_fail
;
29386 swig_obj
[0] = args
;
29387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29388 if (!SWIG_IsOK(res1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29391 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29398 resultobj
= SWIG_From_int(static_cast< int >(result
));
29405 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29406 PyObject
*resultobj
= 0;
29407 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29411 PyObject
*swig_obj
[1] ;
29413 if (!args
) SWIG_fail
;
29414 swig_obj
[0] = args
;
29415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29416 if (!SWIG_IsOK(res1
)) {
29417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29419 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_From_int(static_cast< int >(result
));
29433 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29434 PyObject
*resultobj
= 0;
29435 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29439 PyObject
*swig_obj
[1] ;
29441 if (!args
) SWIG_fail
;
29442 swig_obj
[0] = args
;
29443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29444 if (!SWIG_IsOK(res1
)) {
29445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29447 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= SWIG_From_int(static_cast< int >(result
));
29461 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29462 PyObject
*resultobj
= 0;
29463 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29467 PyObject
*swig_obj
[1] ;
29469 if (!args
) SWIG_fail
;
29470 swig_obj
[0] = args
;
29471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29472 if (!SWIG_IsOK(res1
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29475 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_From_int(static_cast< int >(result
));
29489 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29490 PyObject
*resultobj
= 0;
29491 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29495 PyObject
*swig_obj
[1] ;
29497 if (!args
) SWIG_fail
;
29498 swig_obj
[0] = args
;
29499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29503 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29506 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29507 wxPyEndAllowThreads(__tstate
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29510 resultobj
= SWIG_From_int(static_cast< int >(result
));
29517 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29518 PyObject
*resultobj
= 0;
29519 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29520 wxDateSpan
*arg2
= 0 ;
29521 wxDateSpan
*result
= 0 ;
29526 PyObject
* obj0
= 0 ;
29527 PyObject
* obj1
= 0 ;
29528 char * kwnames
[] = {
29529 (char *) "self",(char *) "other", NULL
29532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29537 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29539 if (!SWIG_IsOK(res2
)) {
29540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29545 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29550 result
= (wxDateSpan
*) &_result_ref
;
29552 wxPyEndAllowThreads(__tstate
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29562 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
= 0;
29564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29565 wxDateSpan
*arg2
= 0 ;
29566 wxDateSpan
*result
= 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 char * kwnames
[] = {
29574 (char *) "self",(char *) "other", NULL
29577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29579 if (!SWIG_IsOK(res1
)) {
29580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29582 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29584 if (!SWIG_IsOK(res2
)) {
29585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29590 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29595 result
= (wxDateSpan
*) &_result_ref
;
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29607 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29610 wxDateSpan
*result
= 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29621 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29626 result
= (wxDateSpan
*) &_result_ref
;
29628 wxPyEndAllowThreads(__tstate
);
29629 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29638 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= 0;
29640 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29642 wxDateSpan
*result
= 0 ;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 char * kwnames
[] = {
29650 (char *) "self",(char *) "factor", NULL
29653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29658 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29660 if (!SWIG_IsOK(ecode2
)) {
29661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29663 arg2
= static_cast< int >(val2
);
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29668 result
= (wxDateSpan
*) &_result_ref
;
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29680 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
= 0;
29682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29683 wxDateSpan
*arg2
= 0 ;
29684 wxDateSpan
*result
= 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 char * kwnames
[] = {
29692 (char *) "self",(char *) "other", NULL
29695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29697 if (!SWIG_IsOK(res1
)) {
29698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29700 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29701 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29702 if (!SWIG_IsOK(res2
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29708 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29713 result
= (wxDateSpan
*) &_result_ref
;
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29725 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29728 wxDateSpan
*arg2
= 0 ;
29729 wxDateSpan
*result
= 0 ;
29734 PyObject
* obj0
= 0 ;
29735 PyObject
* obj1
= 0 ;
29736 char * kwnames
[] = {
29737 (char *) "self",(char *) "other", NULL
29740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29742 if (!SWIG_IsOK(res1
)) {
29743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29745 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29746 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29747 if (!SWIG_IsOK(res2
)) {
29748 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29753 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29758 result
= (wxDateSpan
*) &_result_ref
;
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29770 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29771 PyObject
*resultobj
= 0;
29772 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29773 wxDateSpan
*result
= 0 ;
29776 PyObject
*swig_obj
[1] ;
29778 if (!args
) SWIG_fail
;
29779 swig_obj
[0] = args
;
29780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29784 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29788 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29789 result
= (wxDateSpan
*) &_result_ref
;
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29801 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
= 0;
29803 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29805 wxDateSpan
*result
= 0 ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 char * kwnames
[] = {
29813 (char *) "self",(char *) "factor", NULL
29816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29818 if (!SWIG_IsOK(res1
)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29821 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29823 if (!SWIG_IsOK(ecode2
)) {
29824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29826 arg2
= static_cast< int >(val2
);
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29831 result
= (wxDateSpan
*) &_result_ref
;
29833 wxPyEndAllowThreads(__tstate
);
29834 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29843 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29844 PyObject
*resultobj
= 0;
29845 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29846 wxDateSpan
*arg2
= 0 ;
29852 PyObject
* obj0
= 0 ;
29853 PyObject
* obj1
= 0 ;
29854 char * kwnames
[] = {
29855 (char *) "self",(char *) "other", NULL
29858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29860 if (!SWIG_IsOK(res1
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29863 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29865 if (!SWIG_IsOK(res2
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29871 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29885 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29888 wxDateSpan
*arg2
= 0 ;
29894 PyObject
* obj0
= 0 ;
29895 PyObject
* obj1
= 0 ;
29896 char * kwnames
[] = {
29897 (char *) "self",(char *) "other", NULL
29900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29902 if (!SWIG_IsOK(res1
)) {
29903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29905 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29906 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29907 if (!SWIG_IsOK(res2
)) {
29908 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29911 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29913 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29927 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
= 0;
29929 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char * kwnames
[] = {
29939 (char *) "self",(char *) "n", NULL
29942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29947 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29949 if (!SWIG_IsOK(ecode2
)) {
29950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29952 arg2
= static_cast< int >(val2
);
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= wxDateSpan___mul__(arg1
,arg2
);
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29966 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29968 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 char * kwnames
[] = {
29978 (char *) "self",(char *) "n", NULL
29981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29983 if (!SWIG_IsOK(res1
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29986 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29988 if (!SWIG_IsOK(ecode2
)) {
29989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29991 arg2
= static_cast< int >(val2
);
29993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29994 result
= wxDateSpan___rmul__(arg1
,arg2
);
29995 wxPyEndAllowThreads(__tstate
);
29996 if (PyErr_Occurred()) SWIG_fail
;
29998 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30005 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30006 PyObject
*resultobj
= 0;
30007 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30008 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "self",(char *) "other", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30025 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30026 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30027 if (!SWIG_IsOK(res2
)) {
30028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30030 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30034 wxPyEndAllowThreads(__tstate
);
30035 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30046 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
= 0;
30048 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30049 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "other", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30066 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30068 if (!SWIG_IsOK(res2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30071 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30087 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30090 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30091 return SWIG_Py_Void();
30094 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 return SWIG_Python_InitShadowInstance(args
);
30098 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30099 PyObject
*resultobj
= 0;
30102 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 result
= (long)wxGetLocalTime();
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 resultobj
= SWIG_From_long(static_cast< long >(result
));
30116 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30117 PyObject
*resultobj
= 0;
30120 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (long)wxGetUTCTime();
30124 wxPyEndAllowThreads(__tstate
);
30125 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= SWIG_From_long(static_cast< long >(result
));
30134 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30135 PyObject
*resultobj
= 0;
30138 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 result
= (long)wxGetCurrentTime();
30142 wxPyEndAllowThreads(__tstate
);
30143 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= SWIG_From_long(static_cast< long >(result
));
30152 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30153 PyObject
*resultobj
= 0;
30156 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 result
= wxGetLocalTimeMillis();
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30164 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30165 hi
= PyLong_FromLong( (&result
)->GetHi() );
30166 lo
= PyLong_FromLong( (&result
)->GetLo() );
30167 shifter
= PyLong_FromLong(32);
30168 shifted
= PyNumber_Lshift(hi
, shifter
);
30169 resultobj
= PyNumber_Or(shifted
, lo
);
30172 Py_DECREF(shifter
);
30173 Py_DECREF(shifted
);
30181 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30182 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30187 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30188 PyObject
*pyobj
= 0;
30190 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30195 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30196 PyObject
*resultobj
= 0;
30197 wxDataFormatId arg1
;
30198 wxDataFormat
*result
= 0 ;
30201 PyObject
* obj0
= 0 ;
30202 char * kwnames
[] = {
30203 (char *) "type", NULL
30206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30208 if (!SWIG_IsOK(ecode1
)) {
30209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30211 arg1
= static_cast< wxDataFormatId
>(val1
);
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30215 wxPyEndAllowThreads(__tstate
);
30216 if (PyErr_Occurred()) SWIG_fail
;
30218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30225 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30226 PyObject
*resultobj
= 0;
30227 wxString
*arg1
= 0 ;
30228 wxDataFormat
*result
= 0 ;
30229 bool temp1
= false ;
30230 PyObject
* obj0
= 0 ;
30231 char * kwnames
[] = {
30232 (char *) "format", NULL
30235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30237 arg1
= wxString_in_helper(obj0
);
30238 if (arg1
== NULL
) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30262 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30263 PyObject
*resultobj
= 0;
30264 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30267 PyObject
*swig_obj
[1] ;
30269 if (!args
) SWIG_fail
;
30270 swig_obj
[0] = args
;
30271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30275 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= SWIG_Py_Void();
30290 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30291 PyObject
*resultobj
= 0;
30292 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30293 wxDataFormatId arg2
;
30300 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30302 if (!SWIG_IsOK(res1
)) {
30303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30305 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30306 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30307 if (!SWIG_IsOK(ecode2
)) {
30308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30310 arg2
= static_cast< wxDataFormatId
>(val2
);
30312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30313 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30314 wxPyEndAllowThreads(__tstate
);
30315 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30326 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30327 PyObject
*resultobj
= 0;
30328 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30329 wxDataFormatId arg2
;
30336 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30338 if (!SWIG_IsOK(res1
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30341 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30342 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30343 if (!SWIG_IsOK(ecode2
)) {
30344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30346 arg2
= static_cast< wxDataFormatId
>(val2
);
30348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30349 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30362 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30363 PyObject
*resultobj
= 0;
30364 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30365 wxDataFormat
*arg2
= 0 ;
30372 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30374 if (!SWIG_IsOK(res1
)) {
30375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30377 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30378 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30379 if (!SWIG_IsOK(res2
)) {
30380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30385 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30401 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30405 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30410 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30411 _v
= SWIG_CheckState(res
);
30413 if (!_v
) goto check_1
;
30414 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30419 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30423 Py_INCREF(Py_NotImplemented
);
30424 return Py_NotImplemented
;
30428 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30429 PyObject
*resultobj
= 0;
30430 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30431 wxDataFormat
*arg2
= 0 ;
30438 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30443 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30444 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30445 if (!SWIG_IsOK(res2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30451 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30467 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30471 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30476 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30477 _v
= SWIG_CheckState(res
);
30479 if (!_v
) goto check_1
;
30480 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30485 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30489 Py_INCREF(Py_NotImplemented
);
30490 return Py_NotImplemented
;
30494 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30495 PyObject
*resultobj
= 0;
30496 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30497 wxDataFormatId arg2
;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "format", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30513 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30515 if (!SWIG_IsOK(ecode2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30518 arg2
= static_cast< wxDataFormatId
>(val2
);
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30521 (arg1
)->SetType(arg2
);
30522 wxPyEndAllowThreads(__tstate
);
30523 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= SWIG_Py_Void();
30532 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30533 PyObject
*resultobj
= 0;
30534 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30535 wxDataFormatId result
;
30538 PyObject
*swig_obj
[1] ;
30540 if (!args
) SWIG_fail
;
30541 swig_obj
[0] = args
;
30542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30543 if (!SWIG_IsOK(res1
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30546 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_From_int(static_cast< int >(result
));
30560 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30561 PyObject
*resultobj
= 0;
30562 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30566 PyObject
*swig_obj
[1] ;
30568 if (!args
) SWIG_fail
;
30569 swig_obj
[0] = args
;
30570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30571 if (!SWIG_IsOK(res1
)) {
30572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30574 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 result
= ((wxDataFormat
const *)arg1
)->GetId();
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30594 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30595 PyObject
*resultobj
= 0;
30596 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30597 wxString
*arg2
= 0 ;
30600 bool temp2
= false ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char * kwnames
[] = {
30604 (char *) "self",(char *) "format", NULL
30607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30612 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30614 arg2
= wxString_in_helper(obj1
);
30615 if (arg2
== NULL
) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->SetId((wxString
const &)*arg2
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_Py_Void();
30639 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30642 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30643 return SWIG_Py_Void();
30646 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30647 return SWIG_Python_InitShadowInstance(args
);
30650 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30651 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30656 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30657 PyObject
*pyobj
= 0;
30659 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30664 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30665 PyObject
*resultobj
= 0;
30666 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30669 PyObject
*swig_obj
[1] ;
30671 if (!args
) SWIG_fail
;
30672 swig_obj
[0] = args
;
30673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30677 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_Py_Void();
30692 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30695 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30696 SwigValueWrapper
<wxDataFormat
> result
;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char * kwnames
[] = {
30704 (char *) "self",(char *) "dir", NULL
30707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30712 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30715 if (!SWIG_IsOK(ecode2
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30718 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30733 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
= 0;
30735 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30736 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 char * kwnames
[] = {
30745 (char *) "self",(char *) "dir", NULL
30748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30750 if (!SWIG_IsOK(res1
)) {
30751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30753 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30756 if (!SWIG_IsOK(ecode2
)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30759 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30774 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
= 0;
30776 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30777 wxDataFormat
*arg2
= 0 ;
30778 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30786 PyObject
* obj0
= 0 ;
30787 PyObject
* obj1
= 0 ;
30788 PyObject
* obj2
= 0 ;
30789 char * kwnames
[] = {
30790 (char *) "self",(char *) "format",(char *) "dir", NULL
30793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30795 if (!SWIG_IsOK(res1
)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30798 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30800 if (!SWIG_IsOK(res2
)) {
30801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30806 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30809 if (!SWIG_IsOK(ecode3
)) {
30810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30812 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30829 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30832 wxDataFormat
*arg2
= 0 ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 char * kwnames
[] = {
30841 (char *) "self",(char *) "format", NULL
30844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30846 if (!SWIG_IsOK(res1
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30849 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30851 if (!SWIG_IsOK(res2
)) {
30852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30857 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30871 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
= 0;
30873 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30874 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30875 PyObject
*result
= 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "dir", NULL
30886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30891 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30894 if (!SWIG_IsOK(ecode2
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30897 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= result
;
30912 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
= 0;
30914 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30915 wxDataFormat
*arg2
= 0 ;
30916 PyObject
*result
= 0 ;
30921 PyObject
* obj0
= 0 ;
30922 PyObject
* obj1
= 0 ;
30923 char * kwnames
[] = {
30924 (char *) "self",(char *) "format", NULL
30927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30932 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30934 if (!SWIG_IsOK(res2
)) {
30935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30940 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30944 wxPyEndAllowThreads(__tstate
);
30945 if (PyErr_Occurred()) SWIG_fail
;
30947 resultobj
= result
;
30954 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30955 PyObject
*resultobj
= 0;
30956 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30957 wxDataFormat
*arg2
= 0 ;
30958 PyObject
*arg3
= (PyObject
*) 0 ;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 PyObject
* obj2
= 0 ;
30967 char * kwnames
[] = {
30968 (char *) "self",(char *) "format",(char *) "data", NULL
30971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30976 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30978 if (!SWIG_IsOK(res2
)) {
30979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30984 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30988 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30989 wxPyEndAllowThreads(__tstate
);
30990 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31001 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31004 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31005 return SWIG_Py_Void();
31008 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
= 0;
31010 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31011 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31012 wxDataObjectSimple
*result
= 0 ;
31015 PyObject
* obj0
= 0 ;
31016 char * kwnames
[] = {
31017 (char *) "format", NULL
31020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31022 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31023 if (!SWIG_IsOK(res1
)) {
31024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31029 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31044 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31045 PyObject
*resultobj
= 0;
31046 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31047 wxDataFormat
*result
= 0 ;
31050 PyObject
*swig_obj
[1] ;
31052 if (!args
) SWIG_fail
;
31053 swig_obj
[0] = args
;
31054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31055 if (!SWIG_IsOK(res1
)) {
31056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31058 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31063 result
= (wxDataFormat
*) &_result_ref
;
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31075 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
= 0;
31077 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31078 wxDataFormat
*arg2
= 0 ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 char * kwnames
[] = {
31086 (char *) "self",(char *) "format", NULL
31089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31091 if (!SWIG_IsOK(res1
)) {
31092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31094 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31096 if (!SWIG_IsOK(res2
)) {
31097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31102 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31109 resultobj
= SWIG_Py_Void();
31116 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31117 PyObject
*resultobj
= 0;
31118 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31122 PyObject
*swig_obj
[1] ;
31124 if (!args
) SWIG_fail
;
31125 swig_obj
[0] = args
;
31126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31127 if (!SWIG_IsOK(res1
)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31130 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31144 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31145 PyObject
*resultobj
= 0;
31146 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31147 PyObject
*result
= 0 ;
31150 PyObject
*swig_obj
[1] ;
31152 if (!args
) SWIG_fail
;
31153 swig_obj
[0] = args
;
31154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31155 if (!SWIG_IsOK(res1
)) {
31156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31158 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31162 wxPyEndAllowThreads(__tstate
);
31163 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= result
;
31172 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31173 PyObject
*resultobj
= 0;
31174 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31175 PyObject
*arg2
= (PyObject
*) 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 char * kwnames
[] = {
31182 (char *) "self",(char *) "data", NULL
31185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31187 if (!SWIG_IsOK(res1
)) {
31188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31190 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31207 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31209 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31210 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31211 return SWIG_Py_Void();
31214 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31215 return SWIG_Python_InitShadowInstance(args
);
31218 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31221 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31222 wxPyDataObjectSimple
*result
= 0 ;
31225 PyObject
* obj0
= 0 ;
31226 char * kwnames
[] = {
31227 (char *) "format", NULL
31230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31232 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31233 if (!SWIG_IsOK(res1
)) {
31234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31239 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31254 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31255 PyObject
*resultobj
= 0;
31256 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31257 PyObject
*arg2
= (PyObject
*) 0 ;
31258 PyObject
*arg3
= (PyObject
*) 0 ;
31261 PyObject
* obj0
= 0 ;
31262 PyObject
* obj1
= 0 ;
31263 PyObject
* obj2
= 0 ;
31264 char * kwnames
[] = {
31265 (char *) "self",(char *) "self",(char *) "_class", NULL
31268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31270 if (!SWIG_IsOK(res1
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31273 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31279 wxPyEndAllowThreads(__tstate
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= SWIG_Py_Void();
31289 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31293 return SWIG_Py_Void();
31296 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31297 return SWIG_Python_InitShadowInstance(args
);
31300 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31301 PyObject
*resultobj
= 0;
31302 wxDataObjectComposite
*result
= 0 ;
31304 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31318 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
= 0;
31320 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31321 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31322 bool arg3
= (bool) false ;
31328 PyObject
* obj0
= 0 ;
31329 PyObject
* obj1
= 0 ;
31330 PyObject
* obj2
= 0 ;
31331 char * kwnames
[] = {
31332 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31337 if (!SWIG_IsOK(res1
)) {
31338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31340 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31341 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31342 if (!SWIG_IsOK(res2
)) {
31343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31346 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31347 if (!SWIG_IsOK(ecode3
)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31350 arg3
= static_cast< bool >(val3
);
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 (arg1
)->Add(arg2
,arg3
);
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= SWIG_Py_Void();
31365 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31366 PyObject
*resultobj
= 0;
31367 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31368 SwigValueWrapper
<wxDataFormat
> result
;
31371 PyObject
*swig_obj
[1] ;
31373 if (!args
) SWIG_fail
;
31374 swig_obj
[0] = args
;
31375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31376 if (!SWIG_IsOK(res1
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31379 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31382 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31386 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31393 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31396 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31397 return SWIG_Py_Void();
31400 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31401 return SWIG_Python_InitShadowInstance(args
);
31404 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= 0;
31406 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31407 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31408 wxTextDataObject
*result
= 0 ;
31409 bool temp1
= false ;
31410 PyObject
* obj0
= 0 ;
31411 char * kwnames
[] = {
31412 (char *) "text", NULL
31415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31418 arg1
= wxString_in_helper(obj0
);
31419 if (arg1
== NULL
) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31426 wxPyEndAllowThreads(__tstate
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31444 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31445 PyObject
*resultobj
= 0;
31446 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31450 PyObject
*swig_obj
[1] ;
31452 if (!args
) SWIG_fail
;
31453 swig_obj
[0] = args
;
31454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31455 if (!SWIG_IsOK(res1
)) {
31456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31458 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31461 result
= (size_t)(arg1
)->GetTextLength();
31462 wxPyEndAllowThreads(__tstate
);
31463 if (PyErr_Occurred()) SWIG_fail
;
31465 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31472 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31473 PyObject
*resultobj
= 0;
31474 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31478 PyObject
*swig_obj
[1] ;
31480 if (!args
) SWIG_fail
;
31481 swig_obj
[0] = args
;
31482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31483 if (!SWIG_IsOK(res1
)) {
31484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31486 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31489 result
= (arg1
)->GetText();
31490 wxPyEndAllowThreads(__tstate
);
31491 if (PyErr_Occurred()) SWIG_fail
;
31495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31506 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31507 PyObject
*resultobj
= 0;
31508 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31509 wxString
*arg2
= 0 ;
31512 bool temp2
= false ;
31513 PyObject
* obj0
= 0 ;
31514 PyObject
* obj1
= 0 ;
31515 char * kwnames
[] = {
31516 (char *) "self",(char *) "text", NULL
31519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31521 if (!SWIG_IsOK(res1
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31524 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31526 arg2
= wxString_in_helper(obj1
);
31527 if (arg2
== NULL
) SWIG_fail
;
31531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31532 (arg1
)->SetText((wxString
const &)*arg2
);
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= SWIG_Py_Void();
31551 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31554 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31555 return SWIG_Py_Void();
31558 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 return SWIG_Python_InitShadowInstance(args
);
31562 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
= 0;
31564 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31565 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31566 wxPyTextDataObject
*result
= 0 ;
31567 bool temp1
= false ;
31568 PyObject
* obj0
= 0 ;
31569 char * kwnames
[] = {
31570 (char *) "text", NULL
31573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31576 arg1
= wxString_in_helper(obj0
);
31577 if (arg1
== NULL
) SWIG_fail
;
31582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31583 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31602 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
= 0;
31604 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31605 PyObject
*arg2
= (PyObject
*) 0 ;
31606 PyObject
*arg3
= (PyObject
*) 0 ;
31609 PyObject
* obj0
= 0 ;
31610 PyObject
* obj1
= 0 ;
31611 PyObject
* obj2
= 0 ;
31612 char * kwnames
[] = {
31613 (char *) "self",(char *) "self",(char *) "_class", NULL
31616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31618 if (!SWIG_IsOK(res1
)) {
31619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31621 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= SWIG_Py_Void();
31637 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31640 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31641 return SWIG_Py_Void();
31644 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31645 return SWIG_Python_InitShadowInstance(args
);
31648 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31649 PyObject
*resultobj
= 0;
31650 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31651 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31652 wxBitmapDataObject
*result
= 0 ;
31655 PyObject
* obj0
= 0 ;
31656 char * kwnames
[] = {
31657 (char *) "bitmap", NULL
31660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31662 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31663 if (!SWIG_IsOK(res1
)) {
31664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31673 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31674 wxPyEndAllowThreads(__tstate
);
31675 if (PyErr_Occurred()) SWIG_fail
;
31677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31684 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31685 PyObject
*resultobj
= 0;
31686 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31690 PyObject
*swig_obj
[1] ;
31692 if (!args
) SWIG_fail
;
31693 swig_obj
[0] = args
;
31694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31695 if (!SWIG_IsOK(res1
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31698 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31712 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= 0;
31714 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31715 wxBitmap
*arg2
= 0 ;
31720 PyObject
* obj0
= 0 ;
31721 PyObject
* obj1
= 0 ;
31722 char * kwnames
[] = {
31723 (char *) "self",(char *) "bitmap", NULL
31726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31728 if (!SWIG_IsOK(res1
)) {
31729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31731 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31732 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31733 if (!SWIG_IsOK(res2
)) {
31734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31739 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31742 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 resultobj
= SWIG_Py_Void();
31753 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31756 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31757 return SWIG_Py_Void();
31760 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 return SWIG_Python_InitShadowInstance(args
);
31764 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
= 0;
31766 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31767 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31768 wxPyBitmapDataObject
*result
= 0 ;
31771 PyObject
* obj0
= 0 ;
31772 char * kwnames
[] = {
31773 (char *) "bitmap", NULL
31776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31778 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31779 if (!SWIG_IsOK(res1
)) {
31780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31789 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31800 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
= 0;
31802 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31803 PyObject
*arg2
= (PyObject
*) 0 ;
31804 PyObject
*arg3
= (PyObject
*) 0 ;
31807 PyObject
* obj0
= 0 ;
31808 PyObject
* obj1
= 0 ;
31809 PyObject
* obj2
= 0 ;
31810 char * kwnames
[] = {
31811 (char *) "self",(char *) "self",(char *) "_class", NULL
31814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31816 if (!SWIG_IsOK(res1
)) {
31817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31819 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31824 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31825 wxPyEndAllowThreads(__tstate
);
31826 if (PyErr_Occurred()) SWIG_fail
;
31828 resultobj
= SWIG_Py_Void();
31835 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31839 return SWIG_Py_Void();
31842 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31843 return SWIG_Python_InitShadowInstance(args
);
31846 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31847 PyObject
*resultobj
= 0;
31848 wxFileDataObject
*result
= 0 ;
31850 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxFileDataObject
*)new wxFileDataObject();
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31864 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31865 PyObject
*resultobj
= 0;
31866 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31867 wxArrayString
*result
= 0 ;
31870 PyObject
*swig_obj
[1] ;
31872 if (!args
) SWIG_fail
;
31873 swig_obj
[0] = args
;
31874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31875 if (!SWIG_IsOK(res1
)) {
31876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31878 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31883 result
= (wxArrayString
*) &_result_ref
;
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= wxArrayString2PyList_helper(*result
);
31897 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31898 PyObject
*resultobj
= 0;
31899 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31900 wxString
*arg2
= 0 ;
31903 bool temp2
= false ;
31904 PyObject
* obj0
= 0 ;
31905 PyObject
* obj1
= 0 ;
31906 char * kwnames
[] = {
31907 (char *) "self",(char *) "filename", NULL
31910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31912 if (!SWIG_IsOK(res1
)) {
31913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31915 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31917 arg2
= wxString_in_helper(obj1
);
31918 if (arg2
== NULL
) SWIG_fail
;
31922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 (arg1
)->AddFile((wxString
const &)*arg2
);
31924 wxPyEndAllowThreads(__tstate
);
31925 if (PyErr_Occurred()) SWIG_fail
;
31927 resultobj
= SWIG_Py_Void();
31942 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31945 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31946 return SWIG_Py_Void();
31949 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31950 return SWIG_Python_InitShadowInstance(args
);
31953 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31954 PyObject
*resultobj
= 0;
31955 wxDataFormat
*arg1
= 0 ;
31956 wxCustomDataObject
*result
= 0 ;
31960 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31962 if (!SWIG_IsOK(res1
)) {
31963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31968 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31982 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31983 PyObject
*resultobj
= 0;
31984 wxString
*arg1
= 0 ;
31985 wxCustomDataObject
*result
= 0 ;
31986 bool temp1
= false ;
31988 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31990 arg1
= wxString_in_helper(swig_obj
[0]);
31991 if (arg1
== NULL
) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32015 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32016 PyObject
*resultobj
= 0;
32017 wxCustomDataObject
*result
= 0 ;
32019 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32033 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32037 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32040 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32046 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32049 if (!_v
) goto check_2
;
32050 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32055 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32059 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32064 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32065 PyObject
*resultobj
= 0;
32066 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32067 PyObject
*arg2
= (PyObject
*) 0 ;
32071 PyObject
* obj0
= 0 ;
32072 PyObject
* obj1
= 0 ;
32073 char * kwnames
[] = {
32074 (char *) "self",(char *) "data", NULL
32077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32079 if (!SWIG_IsOK(res1
)) {
32080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32082 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32099 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32100 PyObject
*resultobj
= 0;
32101 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32105 PyObject
*swig_obj
[1] ;
32107 if (!args
) SWIG_fail
;
32108 swig_obj
[0] = args
;
32109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32110 if (!SWIG_IsOK(res1
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32113 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (size_t)(arg1
)->GetSize();
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32120 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32127 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32128 PyObject
*resultobj
= 0;
32129 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32130 PyObject
*result
= 0 ;
32133 PyObject
*swig_obj
[1] ;
32135 if (!args
) SWIG_fail
;
32136 swig_obj
[0] = args
;
32137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32138 if (!SWIG_IsOK(res1
)) {
32139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32141 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32144 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 resultobj
= result
;
32155 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32158 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32159 return SWIG_Py_Void();
32162 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32163 return SWIG_Python_InitShadowInstance(args
);
32166 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32167 PyObject
*resultobj
= 0;
32168 wxURLDataObject
*result
= 0 ;
32170 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (wxURLDataObject
*)new wxURLDataObject();
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32184 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32185 PyObject
*resultobj
= 0;
32186 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32190 PyObject
*swig_obj
[1] ;
32192 if (!args
) SWIG_fail
;
32193 swig_obj
[0] = args
;
32194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32195 if (!SWIG_IsOK(res1
)) {
32196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32198 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 result
= (arg1
)->GetURL();
32202 wxPyEndAllowThreads(__tstate
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32218 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32219 PyObject
*resultobj
= 0;
32220 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32221 wxString
*arg2
= 0 ;
32224 bool temp2
= false ;
32225 PyObject
* obj0
= 0 ;
32226 PyObject
* obj1
= 0 ;
32227 char * kwnames
[] = {
32228 (char *) "self",(char *) "url", NULL
32231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32233 if (!SWIG_IsOK(res1
)) {
32234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32236 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32238 arg2
= wxString_in_helper(obj1
);
32239 if (arg2
== NULL
) SWIG_fail
;
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 (arg1
)->SetURL((wxString
const &)*arg2
);
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= SWIG_Py_Void();
32263 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32266 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32267 return SWIG_Py_Void();
32270 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32271 return SWIG_Python_InitShadowInstance(args
);
32274 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32275 PyObject
*resultobj
= 0;
32276 wxMetafileDataObject
*result
= 0 ;
32278 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32292 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32295 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32296 return SWIG_Py_Void();
32299 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32300 return SWIG_Python_InitShadowInstance(args
);
32303 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
= 0;
32305 wxDragResult arg1
;
32309 PyObject
* obj0
= 0 ;
32310 char * kwnames
[] = {
32311 (char *) "res", NULL
32314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32315 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32316 if (!SWIG_IsOK(ecode1
)) {
32317 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32319 arg1
= static_cast< wxDragResult
>(val1
);
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (bool)wxIsDragResultOk(arg1
);
32323 wxPyEndAllowThreads(__tstate
);
32324 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32335 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32336 PyObject
*resultobj
= 0;
32337 wxWindow
*arg1
= (wxWindow
*) 0 ;
32338 wxIcon
const &arg2_defvalue
= wxNullIcon
;
32339 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
32340 wxIcon
const &arg3_defvalue
= wxNullIcon
;
32341 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
32342 wxIcon
const &arg4_defvalue
= wxNullIcon
;
32343 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
32344 wxPyDropSource
*result
= 0 ;
32353 PyObject
* obj0
= 0 ;
32354 PyObject
* obj1
= 0 ;
32355 PyObject
* obj2
= 0 ;
32356 PyObject
* obj3
= 0 ;
32357 char * kwnames
[] = {
32358 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32363 if (!SWIG_IsOK(res1
)) {
32364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32366 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32368 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32369 if (!SWIG_IsOK(res2
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32375 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32378 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
32379 if (!SWIG_IsOK(res3
)) {
32380 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32385 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
32388 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
32389 if (!SWIG_IsOK(res4
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32395 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32410 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
= 0;
32412 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32413 PyObject
*arg2
= (PyObject
*) 0 ;
32414 PyObject
*arg3
= (PyObject
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 PyObject
* obj3
= 0 ;
32424 char * kwnames
[] = {
32425 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32430 if (!SWIG_IsOK(res1
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32433 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32436 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32437 if (!SWIG_IsOK(ecode4
)) {
32438 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32440 arg4
= static_cast< int >(val4
);
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32444 wxPyEndAllowThreads(__tstate
);
32445 if (PyErr_Occurred()) SWIG_fail
;
32447 resultobj
= SWIG_Py_Void();
32454 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32455 PyObject
*resultobj
= 0;
32456 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32459 PyObject
*swig_obj
[1] ;
32461 if (!args
) SWIG_fail
;
32462 swig_obj
[0] = args
;
32463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32464 if (!SWIG_IsOK(res1
)) {
32465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32467 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 resultobj
= SWIG_Py_Void();
32482 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32483 PyObject
*resultobj
= 0;
32484 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32485 wxDataObject
*arg2
= 0 ;
32490 PyObject
* obj0
= 0 ;
32491 PyObject
* obj1
= 0 ;
32492 char * kwnames
[] = {
32493 (char *) "self",(char *) "data", NULL
32496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32498 if (!SWIG_IsOK(res1
)) {
32499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32501 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32503 if (!SWIG_IsOK(res2
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32509 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 (arg1
)->SetData(*arg2
);
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= SWIG_Py_Void();
32523 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32524 PyObject
*resultobj
= 0;
32525 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32526 wxDataObject
*result
= 0 ;
32529 PyObject
*swig_obj
[1] ;
32531 if (!args
) SWIG_fail
;
32532 swig_obj
[0] = args
;
32533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32534 if (!SWIG_IsOK(res1
)) {
32535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32537 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32540 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32551 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
= 0;
32553 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32554 wxDragResult arg2
;
32555 wxCursor
*arg3
= 0 ;
32562 PyObject
* obj0
= 0 ;
32563 PyObject
* obj1
= 0 ;
32564 PyObject
* obj2
= 0 ;
32565 char * kwnames
[] = {
32566 (char *) "self",(char *) "res",(char *) "cursor", NULL
32569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32571 if (!SWIG_IsOK(res1
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32574 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32576 if (!SWIG_IsOK(ecode2
)) {
32577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32579 arg2
= static_cast< wxDragResult
>(val2
);
32580 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32581 if (!SWIG_IsOK(res3
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32587 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= SWIG_Py_Void();
32601 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32604 int arg2
= (int) wxDrag_CopyOnly
;
32605 wxDragResult result
;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 char * kwnames
[] = {
32613 (char *) "self",(char *) "flags", NULL
32616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32621 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32624 if (!SWIG_IsOK(ecode2
)) {
32625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32627 arg2
= static_cast< int >(val2
);
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32635 resultobj
= SWIG_From_int(static_cast< int >(result
));
32642 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32643 PyObject
*resultobj
= 0;
32644 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32645 wxDragResult arg2
;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 char * kwnames
[] = {
32654 (char *) "self",(char *) "effect", NULL
32657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32662 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32664 if (!SWIG_IsOK(ecode2
)) {
32665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32667 arg2
= static_cast< wxDragResult
>(val2
);
32669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32670 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32683 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32685 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32686 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32687 return SWIG_Py_Void();
32690 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32691 return SWIG_Python_InitShadowInstance(args
);
32694 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32697 wxPyDropTarget
*result
= 0 ;
32699 PyObject
* obj0
= 0 ;
32700 char * kwnames
[] = {
32701 (char *) "dataObject", NULL
32704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32706 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32707 if (!SWIG_IsOK(res1
)) {
32708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32724 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32725 PyObject
*resultobj
= 0;
32726 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32727 PyObject
*arg2
= (PyObject
*) 0 ;
32728 PyObject
*arg3
= (PyObject
*) 0 ;
32731 PyObject
* obj0
= 0 ;
32732 PyObject
* obj1
= 0 ;
32733 PyObject
* obj2
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "self",(char *) "_class", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32743 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_Py_Void();
32759 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32760 PyObject
*resultobj
= 0;
32761 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32764 PyObject
*swig_obj
[1] ;
32766 if (!args
) SWIG_fail
;
32767 swig_obj
[0] = args
;
32768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32769 if (!SWIG_IsOK(res1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32772 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 wxPyEndAllowThreads(__tstate
);
32778 if (PyErr_Occurred()) SWIG_fail
;
32780 resultobj
= SWIG_Py_Void();
32787 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32788 PyObject
*resultobj
= 0;
32789 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32790 wxDataObject
*result
= 0 ;
32793 PyObject
*swig_obj
[1] ;
32795 if (!args
) SWIG_fail
;
32796 swig_obj
[0] = args
;
32797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32801 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32804 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32815 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
= 0;
32817 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32818 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32822 PyObject
* obj0
= 0 ;
32823 PyObject
* obj1
= 0 ;
32824 char * kwnames
[] = {
32825 (char *) "self",(char *) "dataObject", NULL
32828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32833 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32834 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32835 if (!SWIG_IsOK(res2
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 (arg1
)->SetDataObject(arg2
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_Py_Void();
32851 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
= 0;
32853 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32856 wxDragResult arg4
;
32857 wxDragResult result
;
32866 PyObject
* obj0
= 0 ;
32867 PyObject
* obj1
= 0 ;
32868 PyObject
* obj2
= 0 ;
32869 PyObject
* obj3
= 0 ;
32870 char * kwnames
[] = {
32871 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32876 if (!SWIG_IsOK(res1
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32879 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32881 if (!SWIG_IsOK(ecode2
)) {
32882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32884 arg2
= static_cast< int >(val2
);
32885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32886 if (!SWIG_IsOK(ecode3
)) {
32887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32889 arg3
= static_cast< int >(val3
);
32890 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32891 if (!SWIG_IsOK(ecode4
)) {
32892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32894 arg4
= static_cast< wxDragResult
>(val4
);
32896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32897 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 resultobj
= SWIG_From_int(static_cast< int >(result
));
32908 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
= 0;
32910 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32913 wxDragResult arg4
;
32914 wxDragResult result
;
32923 PyObject
* obj0
= 0 ;
32924 PyObject
* obj1
= 0 ;
32925 PyObject
* obj2
= 0 ;
32926 PyObject
* obj3
= 0 ;
32927 char * kwnames
[] = {
32928 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32933 if (!SWIG_IsOK(res1
)) {
32934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32936 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32938 if (!SWIG_IsOK(ecode2
)) {
32939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
32941 arg2
= static_cast< int >(val2
);
32942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32943 if (!SWIG_IsOK(ecode3
)) {
32944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
32946 arg3
= static_cast< int >(val3
);
32947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32948 if (!SWIG_IsOK(ecode4
)) {
32949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
32951 arg4
= static_cast< wxDragResult
>(val4
);
32953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32954 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
32955 wxPyEndAllowThreads(__tstate
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32958 resultobj
= SWIG_From_int(static_cast< int >(result
));
32965 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32966 PyObject
*resultobj
= 0;
32967 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32970 PyObject
*swig_obj
[1] ;
32972 if (!args
) SWIG_fail
;
32973 swig_obj
[0] = args
;
32974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32975 if (!SWIG_IsOK(res1
)) {
32976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32978 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 resultobj
= SWIG_Py_Void();
32992 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= 0;
32994 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 PyObject
* obj2
= 0 ;
33007 char * kwnames
[] = {
33008 (char *) "self",(char *) "x",(char *) "y", NULL
33011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33013 if (!SWIG_IsOK(res1
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33016 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33018 if (!SWIG_IsOK(ecode2
)) {
33019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33021 arg2
= static_cast< int >(val2
);
33022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33023 if (!SWIG_IsOK(ecode3
)) {
33024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33026 arg3
= static_cast< int >(val3
);
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33042 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33043 PyObject
*resultobj
= 0;
33044 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33048 PyObject
*swig_obj
[1] ;
33050 if (!args
) SWIG_fail
;
33051 swig_obj
[0] = args
;
33052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33053 if (!SWIG_IsOK(res1
)) {
33054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33056 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33059 result
= (bool)(arg1
)->GetData();
33060 wxPyEndAllowThreads(__tstate
);
33061 if (PyErr_Occurred()) SWIG_fail
;
33064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33072 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33073 PyObject
*resultobj
= 0;
33074 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33075 wxDragResult arg2
;
33080 PyObject
* obj0
= 0 ;
33081 PyObject
* obj1
= 0 ;
33082 char * kwnames
[] = {
33083 (char *) "self",(char *) "action", NULL
33086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33091 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33093 if (!SWIG_IsOK(ecode2
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33096 arg2
= static_cast< wxDragResult
>(val2
);
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 (arg1
)->SetDefaultAction(arg2
);
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= SWIG_Py_Void();
33110 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33111 PyObject
*resultobj
= 0;
33112 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33113 wxDragResult result
;
33116 PyObject
*swig_obj
[1] ;
33118 if (!args
) SWIG_fail
;
33119 swig_obj
[0] = args
;
33120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33121 if (!SWIG_IsOK(res1
)) {
33122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33124 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_From_int(static_cast< int >(result
));
33138 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33142 return SWIG_Py_Void();
33145 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33146 return SWIG_Python_InitShadowInstance(args
);
33149 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33150 PyObject
*resultobj
= 0;
33151 wxPyTextDropTarget
*result
= 0 ;
33153 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33167 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33168 PyObject
*resultobj
= 0;
33169 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33170 PyObject
*arg2
= (PyObject
*) 0 ;
33171 PyObject
*arg3
= (PyObject
*) 0 ;
33174 PyObject
* obj0
= 0 ;
33175 PyObject
* obj1
= 0 ;
33176 PyObject
* obj2
= 0 ;
33177 char * kwnames
[] = {
33178 (char *) "self",(char *) "self",(char *) "_class", NULL
33181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33183 if (!SWIG_IsOK(res1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33186 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= SWIG_Py_Void();
33202 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
= 0;
33204 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33207 wxString
*arg4
= 0 ;
33215 bool temp4
= false ;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 PyObject
* obj2
= 0 ;
33219 PyObject
* obj3
= 0 ;
33220 char * kwnames
[] = {
33221 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33226 if (!SWIG_IsOK(res1
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33229 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33231 if (!SWIG_IsOK(ecode2
)) {
33232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33234 arg2
= static_cast< int >(val2
);
33235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33236 if (!SWIG_IsOK(ecode3
)) {
33237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33239 arg3
= static_cast< int >(val3
);
33241 arg4
= wxString_in_helper(obj3
);
33242 if (arg4
== NULL
) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33268 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33269 PyObject
*resultobj
= 0;
33270 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33273 wxDragResult arg4
;
33274 wxDragResult result
;
33283 PyObject
* obj0
= 0 ;
33284 PyObject
* obj1
= 0 ;
33285 PyObject
* obj2
= 0 ;
33286 PyObject
* obj3
= 0 ;
33287 char * kwnames
[] = {
33288 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33293 if (!SWIG_IsOK(res1
)) {
33294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33296 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33298 if (!SWIG_IsOK(ecode2
)) {
33299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33301 arg2
= static_cast< int >(val2
);
33302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33303 if (!SWIG_IsOK(ecode3
)) {
33304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33306 arg3
= static_cast< int >(val3
);
33307 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33308 if (!SWIG_IsOK(ecode4
)) {
33309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33311 arg4
= static_cast< wxDragResult
>(val4
);
33313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33314 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33315 wxPyEndAllowThreads(__tstate
);
33316 if (PyErr_Occurred()) SWIG_fail
;
33318 resultobj
= SWIG_From_int(static_cast< int >(result
));
33325 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33326 PyObject
*resultobj
= 0;
33327 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33330 wxDragResult arg4
;
33331 wxDragResult result
;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 PyObject
* obj2
= 0 ;
33343 PyObject
* obj3
= 0 ;
33344 char * kwnames
[] = {
33345 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33350 if (!SWIG_IsOK(res1
)) {
33351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33353 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33355 if (!SWIG_IsOK(ecode2
)) {
33356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33358 arg2
= static_cast< int >(val2
);
33359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33360 if (!SWIG_IsOK(ecode3
)) {
33361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33363 arg3
= static_cast< int >(val3
);
33364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33365 if (!SWIG_IsOK(ecode4
)) {
33366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33368 arg4
= static_cast< wxDragResult
>(val4
);
33370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33371 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33375 resultobj
= SWIG_From_int(static_cast< int >(result
));
33382 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33383 PyObject
*resultobj
= 0;
33384 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33387 PyObject
*swig_obj
[1] ;
33389 if (!args
) SWIG_fail
;
33390 swig_obj
[0] = args
;
33391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33392 if (!SWIG_IsOK(res1
)) {
33393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33395 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_Py_Void();
33409 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
= 0;
33411 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 PyObject
* obj2
= 0 ;
33424 char * kwnames
[] = {
33425 (char *) "self",(char *) "x",(char *) "y", NULL
33428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33433 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33435 if (!SWIG_IsOK(ecode2
)) {
33436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33438 arg2
= static_cast< int >(val2
);
33439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33440 if (!SWIG_IsOK(ecode3
)) {
33441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33443 arg3
= static_cast< int >(val3
);
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33459 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
= 0;
33461 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33464 wxDragResult arg4
;
33465 wxDragResult result
;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 PyObject
* obj2
= 0 ;
33477 PyObject
* obj3
= 0 ;
33478 char * kwnames
[] = {
33479 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33487 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33489 if (!SWIG_IsOK(ecode2
)) {
33490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33492 arg2
= static_cast< int >(val2
);
33493 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33494 if (!SWIG_IsOK(ecode3
)) {
33495 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33497 arg3
= static_cast< int >(val3
);
33498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33499 if (!SWIG_IsOK(ecode4
)) {
33500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33502 arg4
= static_cast< wxDragResult
>(val4
);
33504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33505 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33506 wxPyEndAllowThreads(__tstate
);
33507 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= SWIG_From_int(static_cast< int >(result
));
33516 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33518 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33519 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33520 return SWIG_Py_Void();
33523 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33524 return SWIG_Python_InitShadowInstance(args
);
33527 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33528 PyObject
*resultobj
= 0;
33529 wxPyFileDropTarget
*result
= 0 ;
33531 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33534 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33545 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33546 PyObject
*resultobj
= 0;
33547 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33548 PyObject
*arg2
= (PyObject
*) 0 ;
33549 PyObject
*arg3
= (PyObject
*) 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 PyObject
* obj2
= 0 ;
33555 char * kwnames
[] = {
33556 (char *) "self",(char *) "self",(char *) "_class", NULL
33559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33561 if (!SWIG_IsOK(res1
)) {
33562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33564 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33570 wxPyEndAllowThreads(__tstate
);
33571 if (PyErr_Occurred()) SWIG_fail
;
33573 resultobj
= SWIG_Py_Void();
33580 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33581 PyObject
*resultobj
= 0;
33582 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33585 wxArrayString
*arg4
= 0 ;
33593 bool temp4
= false ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33596 PyObject
* obj2
= 0 ;
33597 PyObject
* obj3
= 0 ;
33598 char * kwnames
[] = {
33599 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33607 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33609 if (!SWIG_IsOK(ecode2
)) {
33610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33612 arg2
= static_cast< int >(val2
);
33613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33614 if (!SWIG_IsOK(ecode3
)) {
33615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33617 arg3
= static_cast< int >(val3
);
33619 if (! PySequence_Check(obj3
)) {
33620 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33623 arg4
= new wxArrayString
;
33625 int i
, len
=PySequence_Length(obj3
);
33626 for (i
=0; i
<len
; i
++) {
33627 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33628 wxString
* s
= wxString_in_helper(item
);
33629 if (PyErr_Occurred()) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33645 if (temp4
) delete arg4
;
33650 if (temp4
) delete arg4
;
33656 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
= 0;
33658 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33661 wxDragResult arg4
;
33662 wxDragResult result
;
33671 PyObject
* obj0
= 0 ;
33672 PyObject
* obj1
= 0 ;
33673 PyObject
* obj2
= 0 ;
33674 PyObject
* obj3
= 0 ;
33675 char * kwnames
[] = {
33676 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33681 if (!SWIG_IsOK(res1
)) {
33682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33684 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33686 if (!SWIG_IsOK(ecode2
)) {
33687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33689 arg2
= static_cast< int >(val2
);
33690 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33691 if (!SWIG_IsOK(ecode3
)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33694 arg3
= static_cast< int >(val3
);
33695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33696 if (!SWIG_IsOK(ecode4
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33699 arg4
= static_cast< wxDragResult
>(val4
);
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33702 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33706 resultobj
= SWIG_From_int(static_cast< int >(result
));
33713 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33714 PyObject
*resultobj
= 0;
33715 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33718 wxDragResult arg4
;
33719 wxDragResult result
;
33728 PyObject
* obj0
= 0 ;
33729 PyObject
* obj1
= 0 ;
33730 PyObject
* obj2
= 0 ;
33731 PyObject
* obj3
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33741 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33743 if (!SWIG_IsOK(ecode2
)) {
33744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33746 arg2
= static_cast< int >(val2
);
33747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33748 if (!SWIG_IsOK(ecode3
)) {
33749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33751 arg3
= static_cast< int >(val3
);
33752 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33753 if (!SWIG_IsOK(ecode4
)) {
33754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33756 arg4
= static_cast< wxDragResult
>(val4
);
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33760 wxPyEndAllowThreads(__tstate
);
33761 if (PyErr_Occurred()) SWIG_fail
;
33763 resultobj
= SWIG_From_int(static_cast< int >(result
));
33770 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33771 PyObject
*resultobj
= 0;
33772 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33775 PyObject
*swig_obj
[1] ;
33777 if (!args
) SWIG_fail
;
33778 swig_obj
[0] = args
;
33779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33780 if (!SWIG_IsOK(res1
)) {
33781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33783 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 resultobj
= SWIG_Py_Void();
33797 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
= 0;
33799 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33809 PyObject
* obj0
= 0 ;
33810 PyObject
* obj1
= 0 ;
33811 PyObject
* obj2
= 0 ;
33812 char * kwnames
[] = {
33813 (char *) "self",(char *) "x",(char *) "y", NULL
33816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33821 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33823 if (!SWIG_IsOK(ecode2
)) {
33824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33826 arg2
= static_cast< int >(val2
);
33827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33828 if (!SWIG_IsOK(ecode3
)) {
33829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33831 arg3
= static_cast< int >(val3
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33847 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
= 0;
33849 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33852 wxDragResult arg4
;
33853 wxDragResult result
;
33862 PyObject
* obj0
= 0 ;
33863 PyObject
* obj1
= 0 ;
33864 PyObject
* obj2
= 0 ;
33865 PyObject
* obj3
= 0 ;
33866 char * kwnames
[] = {
33867 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33872 if (!SWIG_IsOK(res1
)) {
33873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33875 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33877 if (!SWIG_IsOK(ecode2
)) {
33878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33880 arg2
= static_cast< int >(val2
);
33881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33882 if (!SWIG_IsOK(ecode3
)) {
33883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33885 arg3
= static_cast< int >(val3
);
33886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33887 if (!SWIG_IsOK(ecode4
)) {
33888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33890 arg4
= static_cast< wxDragResult
>(val4
);
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 resultobj
= SWIG_From_int(static_cast< int >(result
));
33904 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33908 return SWIG_Py_Void();
33911 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33912 return SWIG_Python_InitShadowInstance(args
);
33915 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33916 PyObject
*resultobj
= 0;
33917 wxClipboard
*result
= 0 ;
33919 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33922 result
= (wxClipboard
*)new wxClipboard();
33923 wxPyEndAllowThreads(__tstate
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33933 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33934 PyObject
*resultobj
= 0;
33935 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33938 PyObject
*swig_obj
[1] ;
33940 if (!args
) SWIG_fail
;
33941 swig_obj
[0] = args
;
33942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
33943 if (!SWIG_IsOK(res1
)) {
33944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
33946 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 resultobj
= SWIG_Py_Void();
33961 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33962 PyObject
*resultobj
= 0;
33963 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33967 PyObject
*swig_obj
[1] ;
33969 if (!args
) SWIG_fail
;
33970 swig_obj
[0] = args
;
33971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33972 if (!SWIG_IsOK(res1
)) {
33973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
33975 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 result
= (bool)(arg1
)->Open();
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33991 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33992 PyObject
*resultobj
= 0;
33993 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33996 PyObject
*swig_obj
[1] ;
33998 if (!args
) SWIG_fail
;
33999 swig_obj
[0] = args
;
34000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34001 if (!SWIG_IsOK(res1
)) {
34002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34004 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_Py_Void();
34018 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34019 PyObject
*resultobj
= 0;
34020 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34024 PyObject
*swig_obj
[1] ;
34026 if (!args
) SWIG_fail
;
34027 swig_obj
[0] = args
;
34028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34029 if (!SWIG_IsOK(res1
)) {
34030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34032 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34048 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34049 PyObject
*resultobj
= 0;
34050 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34051 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 char * kwnames
[] = {
34059 (char *) "self",(char *) "data", NULL
34062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34064 if (!SWIG_IsOK(res1
)) {
34065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34067 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34068 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34069 if (!SWIG_IsOK(res2
)) {
34070 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (bool)(arg1
)->AddData(arg2
);
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34087 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
= 0;
34089 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34090 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char * kwnames
[] = {
34098 (char *) "self",(char *) "data", NULL
34101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34103 if (!SWIG_IsOK(res1
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34106 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34107 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34108 if (!SWIG_IsOK(res2
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (bool)(arg1
)->SetData(arg2
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34126 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
= 0;
34128 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34129 wxDataFormat
*arg2
= 0 ;
34135 PyObject
* obj0
= 0 ;
34136 PyObject
* obj1
= 0 ;
34137 char * kwnames
[] = {
34138 (char *) "self",(char *) "format", NULL
34141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34143 if (!SWIG_IsOK(res1
)) {
34144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34146 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34148 if (!SWIG_IsOK(res2
)) {
34149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34154 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34157 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34170 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
= 0;
34172 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34173 wxDataObject
*arg2
= 0 ;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char * kwnames
[] = {
34182 (char *) "self",(char *) "data", NULL
34185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34187 if (!SWIG_IsOK(res1
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34190 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34192 if (!SWIG_IsOK(res2
)) {
34193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34198 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 result
= (bool)(arg1
)->GetData(*arg2
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34214 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34215 PyObject
*resultobj
= 0;
34216 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34219 PyObject
*swig_obj
[1] ;
34221 if (!args
) SWIG_fail
;
34222 swig_obj
[0] = args
;
34223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34224 if (!SWIG_IsOK(res1
)) {
34225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34227 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= SWIG_Py_Void();
34241 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34242 PyObject
*resultobj
= 0;
34243 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34247 PyObject
*swig_obj
[1] ;
34249 if (!args
) SWIG_fail
;
34250 swig_obj
[0] = args
;
34251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34252 if (!SWIG_IsOK(res1
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34255 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (bool)(arg1
)->Flush();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34271 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34272 PyObject
*resultobj
= 0;
34273 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34274 bool arg2
= (bool) true ;
34279 PyObject
* obj0
= 0 ;
34280 PyObject
* obj1
= 0 ;
34281 char * kwnames
[] = {
34282 (char *) "self",(char *) "primary", NULL
34285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34287 if (!SWIG_IsOK(res1
)) {
34288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34290 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34292 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34293 if (!SWIG_IsOK(ecode2
)) {
34294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34296 arg2
= static_cast< bool >(val2
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 (arg1
)->UsePrimarySelection(arg2
);
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= SWIG_Py_Void();
34311 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34312 PyObject
*resultobj
= 0;
34313 wxClipboard
*result
= 0 ;
34315 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 result
= (wxClipboard
*)wxClipboard::Get();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34329 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34332 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34333 return SWIG_Py_Void();
34336 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34337 return SWIG_Python_InitShadowInstance(args
);
34340 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
= 0;
34342 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34343 wxClipboardLocker
*result
= 0 ;
34346 PyObject
* obj0
= 0 ;
34347 char * kwnames
[] = {
34348 (char *) "clipboard", NULL
34351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34354 if (!SWIG_IsOK(res1
)) {
34355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34357 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34361 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34372 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34373 PyObject
*resultobj
= 0;
34374 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34377 PyObject
*swig_obj
[1] ;
34379 if (!args
) SWIG_fail
;
34380 swig_obj
[0] = args
;
34381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34385 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 wxPyEndAllowThreads(__tstate
);
34391 if (PyErr_Occurred()) SWIG_fail
;
34393 resultobj
= SWIG_Py_Void();
34400 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34401 PyObject
*resultobj
= 0;
34402 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34406 PyObject
*swig_obj
[1] ;
34408 if (!args
) SWIG_fail
;
34409 swig_obj
[0] = args
;
34410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34411 if (!SWIG_IsOK(res1
)) {
34412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34414 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34417 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34430 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34433 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34434 return SWIG_Py_Void();
34437 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34438 return SWIG_Python_InitShadowInstance(args
);
34441 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34442 PyObject
*resultobj
= 0;
34443 int arg1
= (int) 0 ;
34444 int arg2
= (int) 0 ;
34445 int arg3
= (int) 0 ;
34446 int arg4
= (int) 0 ;
34447 wxVideoMode
*result
= 0 ;
34456 PyObject
* obj0
= 0 ;
34457 PyObject
* obj1
= 0 ;
34458 PyObject
* obj2
= 0 ;
34459 PyObject
* obj3
= 0 ;
34460 char * kwnames
[] = {
34461 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34467 if (!SWIG_IsOK(ecode1
)) {
34468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34470 arg1
= static_cast< int >(val1
);
34473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34474 if (!SWIG_IsOK(ecode2
)) {
34475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34477 arg2
= static_cast< int >(val2
);
34480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34481 if (!SWIG_IsOK(ecode3
)) {
34482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34484 arg3
= static_cast< int >(val3
);
34487 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34488 if (!SWIG_IsOK(ecode4
)) {
34489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34491 arg4
= static_cast< int >(val4
);
34494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34495 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34496 wxPyEndAllowThreads(__tstate
);
34497 if (PyErr_Occurred()) SWIG_fail
;
34499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34506 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34507 PyObject
*resultobj
= 0;
34508 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34511 PyObject
*swig_obj
[1] ;
34513 if (!args
) SWIG_fail
;
34514 swig_obj
[0] = args
;
34515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34516 if (!SWIG_IsOK(res1
)) {
34517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34519 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_Py_Void();
34534 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
= 0;
34536 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34537 wxVideoMode
*arg2
= 0 ;
34543 PyObject
* obj0
= 0 ;
34544 PyObject
* obj1
= 0 ;
34545 char * kwnames
[] = {
34546 (char *) "self",(char *) "other", NULL
34549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34551 if (!SWIG_IsOK(res1
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34554 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34556 if (!SWIG_IsOK(res2
)) {
34557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34562 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34578 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34579 PyObject
*resultobj
= 0;
34580 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34584 PyObject
*swig_obj
[1] ;
34586 if (!args
) SWIG_fail
;
34587 swig_obj
[0] = args
;
34588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34592 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34595 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 resultobj
= SWIG_From_int(static_cast< int >(result
));
34606 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34607 PyObject
*resultobj
= 0;
34608 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34612 PyObject
*swig_obj
[1] ;
34614 if (!args
) SWIG_fail
;
34615 swig_obj
[0] = args
;
34616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34617 if (!SWIG_IsOK(res1
)) {
34618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34620 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= SWIG_From_int(static_cast< int >(result
));
34634 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34635 PyObject
*resultobj
= 0;
34636 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34640 PyObject
*swig_obj
[1] ;
34642 if (!args
) SWIG_fail
;
34643 swig_obj
[0] = args
;
34644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34645 if (!SWIG_IsOK(res1
)) {
34646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34648 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34651 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 resultobj
= SWIG_From_int(static_cast< int >(result
));
34662 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34663 PyObject
*resultobj
= 0;
34664 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34668 PyObject
*swig_obj
[1] ;
34670 if (!args
) SWIG_fail
;
34671 swig_obj
[0] = args
;
34672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34673 if (!SWIG_IsOK(res1
)) {
34674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34676 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34680 wxPyEndAllowThreads(__tstate
);
34681 if (PyErr_Occurred()) SWIG_fail
;
34684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34692 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34693 PyObject
*resultobj
= 0;
34694 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34695 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char * kwnames
[] = {
34704 (char *) "self",(char *) "other", NULL
34707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34709 if (!SWIG_IsOK(res1
)) {
34710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34712 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34714 if (!SWIG_IsOK(res2
)) {
34715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34717 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34721 wxPyEndAllowThreads(__tstate
);
34722 if (PyErr_Occurred()) SWIG_fail
;
34725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34733 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34734 PyObject
*resultobj
= 0;
34735 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34736 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34742 PyObject
* obj0
= 0 ;
34743 PyObject
* obj1
= 0 ;
34744 char * kwnames
[] = {
34745 (char *) "self",(char *) "other", NULL
34748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34750 if (!SWIG_IsOK(res1
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34753 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34755 if (!SWIG_IsOK(res2
)) {
34756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34758 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34762 wxPyEndAllowThreads(__tstate
);
34763 if (PyErr_Occurred()) SWIG_fail
;
34766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34774 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34775 PyObject
*resultobj
= 0;
34776 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34782 PyObject
*swig_obj
[2] ;
34784 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34786 if (!SWIG_IsOK(res1
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34789 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34790 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34791 if (!SWIG_IsOK(ecode2
)) {
34792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34794 arg2
= static_cast< int >(val2
);
34795 if (arg1
) (arg1
)->w
= arg2
;
34797 resultobj
= SWIG_Py_Void();
34804 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34805 PyObject
*resultobj
= 0;
34806 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34810 PyObject
*swig_obj
[1] ;
34812 if (!args
) SWIG_fail
;
34813 swig_obj
[0] = args
;
34814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34815 if (!SWIG_IsOK(res1
)) {
34816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34818 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34819 result
= (int) ((arg1
)->w
);
34820 resultobj
= SWIG_From_int(static_cast< int >(result
));
34827 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34828 PyObject
*resultobj
= 0;
34829 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34835 PyObject
*swig_obj
[2] ;
34837 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34839 if (!SWIG_IsOK(res1
)) {
34840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34842 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34843 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34844 if (!SWIG_IsOK(ecode2
)) {
34845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34847 arg2
= static_cast< int >(val2
);
34848 if (arg1
) (arg1
)->h
= arg2
;
34850 resultobj
= SWIG_Py_Void();
34857 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34858 PyObject
*resultobj
= 0;
34859 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34863 PyObject
*swig_obj
[1] ;
34865 if (!args
) SWIG_fail
;
34866 swig_obj
[0] = args
;
34867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34868 if (!SWIG_IsOK(res1
)) {
34869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34871 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34872 result
= (int) ((arg1
)->h
);
34873 resultobj
= SWIG_From_int(static_cast< int >(result
));
34880 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34881 PyObject
*resultobj
= 0;
34882 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34888 PyObject
*swig_obj
[2] ;
34890 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34892 if (!SWIG_IsOK(res1
)) {
34893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34895 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34896 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34897 if (!SWIG_IsOK(ecode2
)) {
34898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34900 arg2
= static_cast< int >(val2
);
34901 if (arg1
) (arg1
)->bpp
= arg2
;
34903 resultobj
= SWIG_Py_Void();
34910 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34911 PyObject
*resultobj
= 0;
34912 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34916 PyObject
*swig_obj
[1] ;
34918 if (!args
) SWIG_fail
;
34919 swig_obj
[0] = args
;
34920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34921 if (!SWIG_IsOK(res1
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34924 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34925 result
= (int) ((arg1
)->bpp
);
34926 resultobj
= SWIG_From_int(static_cast< int >(result
));
34933 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34934 PyObject
*resultobj
= 0;
34935 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34941 PyObject
*swig_obj
[2] ;
34943 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
34944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34945 if (!SWIG_IsOK(res1
)) {
34946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34948 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34949 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34950 if (!SWIG_IsOK(ecode2
)) {
34951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
34953 arg2
= static_cast< int >(val2
);
34954 if (arg1
) (arg1
)->refresh
= arg2
;
34956 resultobj
= SWIG_Py_Void();
34963 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34964 PyObject
*resultobj
= 0;
34965 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34969 PyObject
*swig_obj
[1] ;
34971 if (!args
) SWIG_fail
;
34972 swig_obj
[0] = args
;
34973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34974 if (!SWIG_IsOK(res1
)) {
34975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34977 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34978 result
= (int) ((arg1
)->refresh
);
34979 resultobj
= SWIG_From_int(static_cast< int >(result
));
34986 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34988 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34989 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
34990 return SWIG_Py_Void();
34993 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34994 return SWIG_Python_InitShadowInstance(args
);
34997 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
34998 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35003 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35004 PyObject
*pyobj
= 0;
35006 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35011 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
= 0;
35013 size_t arg1
= (size_t) 0 ;
35014 wxDisplay
*result
= 0 ;
35017 PyObject
* obj0
= 0 ;
35018 char * kwnames
[] = {
35019 (char *) "index", NULL
35022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35024 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35025 if (!SWIG_IsOK(ecode1
)) {
35026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35028 arg1
= static_cast< size_t >(val1
);
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 result
= (wxDisplay
*)new wxDisplay(arg1
);
35033 wxPyEndAllowThreads(__tstate
);
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35043 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35044 PyObject
*resultobj
= 0;
35045 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35048 PyObject
*swig_obj
[1] ;
35050 if (!args
) SWIG_fail
;
35051 swig_obj
[0] = args
;
35052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35056 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35061 wxPyEndAllowThreads(__tstate
);
35062 if (PyErr_Occurred()) SWIG_fail
;
35064 resultobj
= SWIG_Py_Void();
35071 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35072 PyObject
*resultobj
= 0;
35075 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35078 result
= (size_t)wxDisplay::GetCount();
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35089 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35090 PyObject
*resultobj
= 0;
35091 wxPoint
*arg1
= 0 ;
35094 PyObject
* obj0
= 0 ;
35095 char * kwnames
[] = {
35096 (char *) "pt", NULL
35099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35102 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35106 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35107 wxPyEndAllowThreads(__tstate
);
35108 if (PyErr_Occurred()) SWIG_fail
;
35110 resultobj
= SWIG_From_int(static_cast< int >(result
));
35117 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35118 PyObject
*resultobj
= 0;
35119 wxWindow
*arg1
= (wxWindow
*) 0 ;
35123 PyObject
* obj0
= 0 ;
35124 char * kwnames
[] = {
35125 (char *) "window", NULL
35128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35130 if (!SWIG_IsOK(res1
)) {
35131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 result
= (int)wxDisplay::GetFromWindow(arg1
);
35137 wxPyEndAllowThreads(__tstate
);
35138 if (PyErr_Occurred()) SWIG_fail
;
35140 resultobj
= SWIG_From_int(static_cast< int >(result
));
35147 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35148 PyObject
*resultobj
= 0;
35149 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35153 PyObject
*swig_obj
[1] ;
35155 if (!args
) SWIG_fail
;
35156 swig_obj
[0] = args
;
35157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35158 if (!SWIG_IsOK(res1
)) {
35159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35161 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35164 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35177 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35178 PyObject
*resultobj
= 0;
35179 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35183 PyObject
*swig_obj
[1] ;
35185 if (!args
) SWIG_fail
;
35186 swig_obj
[0] = args
;
35187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35188 if (!SWIG_IsOK(res1
)) {
35189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35191 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35194 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35205 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35206 PyObject
*resultobj
= 0;
35207 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35211 PyObject
*swig_obj
[1] ;
35213 if (!args
) SWIG_fail
;
35214 swig_obj
[0] = args
;
35215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35216 if (!SWIG_IsOK(res1
)) {
35217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35219 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35226 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35233 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35234 PyObject
*resultobj
= 0;
35235 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35239 PyObject
*swig_obj
[1] ;
35241 if (!args
) SWIG_fail
;
35242 swig_obj
[0] = args
;
35243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35244 if (!SWIG_IsOK(res1
)) {
35245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35247 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= ((wxDisplay
const *)arg1
)->GetName();
35251 wxPyEndAllowThreads(__tstate
);
35252 if (PyErr_Occurred()) SWIG_fail
;
35256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35267 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35268 PyObject
*resultobj
= 0;
35269 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35273 PyObject
*swig_obj
[1] ;
35275 if (!args
) SWIG_fail
;
35276 swig_obj
[0] = args
;
35277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35281 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35297 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
= 0;
35299 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35300 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35301 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35302 PyObject
*result
= 0 ;
35307 PyObject
* obj0
= 0 ;
35308 PyObject
* obj1
= 0 ;
35309 char * kwnames
[] = {
35310 (char *) "self",(char *) "mode", NULL
35313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35315 if (!SWIG_IsOK(res1
)) {
35316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35318 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35321 if (!SWIG_IsOK(res2
)) {
35322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35327 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35332 wxPyEndAllowThreads(__tstate
);
35333 if (PyErr_Occurred()) SWIG_fail
;
35335 resultobj
= result
;
35342 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35343 PyObject
*resultobj
= 0;
35344 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35345 wxVideoMode result
;
35348 PyObject
*swig_obj
[1] ;
35350 if (!args
) SWIG_fail
;
35351 swig_obj
[0] = args
;
35352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35353 if (!SWIG_IsOK(res1
)) {
35354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35356 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35359 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35370 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35371 PyObject
*resultobj
= 0;
35372 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35373 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35374 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35380 PyObject
* obj0
= 0 ;
35381 PyObject
* obj1
= 0 ;
35382 char * kwnames
[] = {
35383 (char *) "self",(char *) "mode", NULL
35386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35388 if (!SWIG_IsOK(res1
)) {
35389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35391 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35394 if (!SWIG_IsOK(res2
)) {
35395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35400 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35417 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35418 PyObject
*resultobj
= 0;
35419 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35422 PyObject
*swig_obj
[1] ;
35424 if (!args
) SWIG_fail
;
35425 swig_obj
[0] = args
;
35426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35427 if (!SWIG_IsOK(res1
)) {
35428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35430 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 wxDisplay_ResetMode(arg1
);
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35437 resultobj
= SWIG_Py_Void();
35444 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35447 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35448 return SWIG_Py_Void();
35451 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35452 return SWIG_Python_InitShadowInstance(args
);
35455 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35456 PyObject
*resultobj
= 0;
35457 wxStandardPaths
*result
= 0 ;
35459 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35473 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35474 PyObject
*resultobj
= 0;
35475 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35479 PyObject
*swig_obj
[1] ;
35481 if (!args
) SWIG_fail
;
35482 swig_obj
[0] = args
;
35483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35484 if (!SWIG_IsOK(res1
)) {
35485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35487 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35491 wxPyEndAllowThreads(__tstate
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35507 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35508 PyObject
*resultobj
= 0;
35509 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35513 PyObject
*swig_obj
[1] ;
35515 if (!args
) SWIG_fail
;
35516 swig_obj
[0] = args
;
35517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35518 if (!SWIG_IsOK(res1
)) {
35519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35521 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35541 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35542 PyObject
*resultobj
= 0;
35543 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35547 PyObject
*swig_obj
[1] ;
35549 if (!args
) SWIG_fail
;
35550 swig_obj
[0] = args
;
35551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35552 if (!SWIG_IsOK(res1
)) {
35553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35555 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35558 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35559 wxPyEndAllowThreads(__tstate
);
35560 if (PyErr_Occurred()) SWIG_fail
;
35564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35575 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35576 PyObject
*resultobj
= 0;
35577 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35581 PyObject
*swig_obj
[1] ;
35583 if (!args
) SWIG_fail
;
35584 swig_obj
[0] = args
;
35585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35589 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35592 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35593 wxPyEndAllowThreads(__tstate
);
35594 if (PyErr_Occurred()) SWIG_fail
;
35598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35609 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35610 PyObject
*resultobj
= 0;
35611 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35615 PyObject
*swig_obj
[1] ;
35617 if (!args
) SWIG_fail
;
35618 swig_obj
[0] = args
;
35619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35620 if (!SWIG_IsOK(res1
)) {
35621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35623 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35643 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35644 PyObject
*resultobj
= 0;
35645 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35649 PyObject
*swig_obj
[1] ;
35651 if (!args
) SWIG_fail
;
35652 swig_obj
[0] = args
;
35653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35654 if (!SWIG_IsOK(res1
)) {
35655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35657 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35661 wxPyEndAllowThreads(__tstate
);
35662 if (PyErr_Occurred()) SWIG_fail
;
35666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35677 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35678 PyObject
*resultobj
= 0;
35679 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35683 PyObject
*swig_obj
[1] ;
35685 if (!args
) SWIG_fail
;
35686 swig_obj
[0] = args
;
35687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35688 if (!SWIG_IsOK(res1
)) {
35689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35691 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35694 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35695 wxPyEndAllowThreads(__tstate
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35711 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35712 PyObject
*resultobj
= 0;
35713 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35717 PyObject
*swig_obj
[1] ;
35719 if (!args
) SWIG_fail
;
35720 swig_obj
[0] = args
;
35721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35722 if (!SWIG_IsOK(res1
)) {
35723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35725 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35728 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35729 wxPyEndAllowThreads(__tstate
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35745 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35746 PyObject
*resultobj
= 0;
35747 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35748 wxString
*arg2
= 0 ;
35749 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35753 bool temp2
= false ;
35756 PyObject
* obj0
= 0 ;
35757 PyObject
* obj1
= 0 ;
35758 PyObject
* obj2
= 0 ;
35759 char * kwnames
[] = {
35760 (char *) "self",(char *) "lang",(char *) "category", NULL
35763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35765 if (!SWIG_IsOK(res1
)) {
35766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35768 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35770 arg2
= wxString_in_helper(obj1
);
35771 if (arg2
== NULL
) SWIG_fail
;
35775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35776 if (!SWIG_IsOK(ecode3
)) {
35777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35779 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35783 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35784 wxPyEndAllowThreads(__tstate
);
35785 if (PyErr_Occurred()) SWIG_fail
;
35789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35808 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35809 PyObject
*resultobj
= 0;
35810 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35814 PyObject
*swig_obj
[1] ;
35816 if (!args
) SWIG_fail
;
35817 swig_obj
[0] = args
;
35818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35819 if (!SWIG_IsOK(res1
)) {
35820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35822 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35826 wxPyEndAllowThreads(__tstate
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35842 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35843 PyObject
*resultobj
= 0;
35844 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35845 wxString
*arg2
= 0 ;
35848 bool temp2
= false ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char * kwnames
[] = {
35852 (char *) "self",(char *) "prefix", NULL
35855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35857 if (!SWIG_IsOK(res1
)) {
35858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35860 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35862 arg2
= wxString_in_helper(obj1
);
35863 if (arg2
== NULL
) SWIG_fail
;
35867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35868 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
35869 wxPyEndAllowThreads(__tstate
);
35870 if (PyErr_Occurred()) SWIG_fail
;
35872 resultobj
= SWIG_Py_Void();
35887 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35888 PyObject
*resultobj
= 0;
35889 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35893 PyObject
*swig_obj
[1] ;
35895 if (!args
) SWIG_fail
;
35896 swig_obj
[0] = args
;
35897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35898 if (!SWIG_IsOK(res1
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35901 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
35905 wxPyEndAllowThreads(__tstate
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35921 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35924 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35925 return SWIG_Py_Void();
35928 static PyMethodDef SwigMethods
[] = {
35929 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35930 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35931 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35933 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35934 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35935 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35936 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35937 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35939 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35942 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
35944 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
35945 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
35946 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35947 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
35948 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35950 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35951 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
35952 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
35953 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35954 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
35955 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
35956 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35957 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
35958 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
35959 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
35960 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
35961 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35962 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35963 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35965 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
35968 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
35969 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
35970 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
35971 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
35972 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
35973 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
35975 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
35976 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35978 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35979 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35980 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35981 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35982 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35983 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35984 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35985 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
35986 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
35987 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
35988 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
35989 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
35990 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
35991 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
35992 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
35993 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
35994 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
35996 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
35998 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
35999 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36000 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36006 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36007 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36008 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36009 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36010 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36011 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36012 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36013 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36014 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36015 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36016 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36017 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36018 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36020 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36021 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36022 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36023 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36027 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36028 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36029 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36030 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36031 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36032 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36033 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36034 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36035 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36036 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36037 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36039 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36041 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36042 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36045 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36046 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36047 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36048 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36049 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36050 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36051 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36052 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36053 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36054 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36055 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36056 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36057 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36058 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36060 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36061 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36062 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36063 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36065 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36066 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36068 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36069 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36070 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36071 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36072 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36073 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36074 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36075 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36076 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36077 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36078 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36079 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36081 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36082 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36083 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36084 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36085 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36087 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36088 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36089 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36090 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36091 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36092 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36094 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36095 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36096 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36097 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36098 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36099 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36100 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36101 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36102 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36103 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36105 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36106 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36107 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36108 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36109 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36110 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36111 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36112 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36113 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36114 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36115 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36116 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36117 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36118 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36119 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36120 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36121 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36122 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36123 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36124 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36125 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36126 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36127 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36128 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36129 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36130 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36131 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36132 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36133 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36134 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36135 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36136 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36137 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36138 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36139 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36140 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36141 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36142 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36143 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36144 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36145 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36146 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36147 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36148 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36149 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36150 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36152 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36153 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36156 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36160 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36161 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36162 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36163 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36164 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36166 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36167 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36168 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36169 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36170 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36171 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36172 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36173 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36174 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36176 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36177 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36178 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36179 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36180 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36183 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36184 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36185 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36186 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36187 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36188 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36189 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36190 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36191 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36192 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36193 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36194 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36195 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36196 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36197 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36198 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36199 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36200 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36201 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36203 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36204 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36210 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36212 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36213 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36215 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36216 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36217 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36218 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36219 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36221 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36222 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36226 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36228 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36229 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36230 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36231 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36232 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36233 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36234 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36235 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36236 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36237 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36238 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36239 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36240 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36241 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36242 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36243 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36244 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36245 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36246 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36247 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36248 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36249 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36250 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36253 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36254 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36255 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36256 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36257 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36258 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36259 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36260 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36261 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36262 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36264 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36265 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36266 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36267 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36268 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36269 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36270 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36271 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36272 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36273 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36274 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36275 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36276 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36277 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36278 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36279 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36280 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36281 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36282 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36283 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36284 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36285 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36286 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36287 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36288 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36289 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36290 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36291 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36292 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36293 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36294 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36295 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36296 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36297 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36299 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36300 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36301 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36302 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36303 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36309 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36310 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36311 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36315 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36316 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36319 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36322 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36325 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36326 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36327 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36330 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36331 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36334 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36335 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36336 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36337 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36338 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36339 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36340 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36341 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36342 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36343 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36344 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36346 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36347 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36348 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36349 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36350 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36351 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36352 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36353 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36354 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36358 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36360 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36361 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36363 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36365 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36370 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36374 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36375 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36376 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36377 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36378 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36381 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36386 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36387 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36388 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36389 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36392 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36393 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36395 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36396 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36398 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36419 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36421 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36423 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36425 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36426 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36430 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36431 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36433 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36434 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36435 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36437 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36438 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36439 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36441 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36442 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36443 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36444 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36447 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36458 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36462 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36463 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36464 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36465 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36471 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36472 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36477 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36485 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36501 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36502 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36503 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36504 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36505 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36517 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36518 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36526 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36527 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36534 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36544 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36545 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36546 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36547 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36560 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36561 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36562 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36563 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36564 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36565 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36567 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36569 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36571 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36573 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36575 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36577 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36579 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36583 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36584 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36588 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36599 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36600 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36601 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36605 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36606 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36607 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36608 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36609 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36610 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36612 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36613 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36615 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36617 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36619 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36621 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36622 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36623 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36624 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36625 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36626 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36627 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36628 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36629 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36630 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36631 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36632 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36635 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36639 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36647 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36648 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36649 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36650 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36651 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36652 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36655 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36656 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36657 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36659 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36660 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36662 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36663 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36664 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36669 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36672 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36674 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36676 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36677 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36679 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36680 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36681 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36683 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36684 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36685 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36687 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36688 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36689 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36690 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36691 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36692 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36694 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36695 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36698 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36699 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36701 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36703 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36704 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36707 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36708 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36709 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36710 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36712 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36713 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36714 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36716 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36717 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36718 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36719 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36720 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36721 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36723 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36724 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36725 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36726 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36727 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36731 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36733 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36734 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36737 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36738 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36741 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36742 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36746 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36748 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36750 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36751 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36752 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36753 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36758 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36761 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36762 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36763 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36768 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36771 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36772 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36773 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36774 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36775 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36776 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36777 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36780 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36781 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36782 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36783 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36785 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36786 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36787 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36789 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36790 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36791 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36792 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36794 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36796 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36797 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36798 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36799 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36802 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36803 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36804 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36805 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36806 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36807 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36808 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36809 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36810 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36811 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36813 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36814 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36817 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36818 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
36819 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36820 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36821 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36823 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36825 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36826 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36827 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36828 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36829 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36830 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36831 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36832 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36833 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36834 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36835 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
36836 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
36838 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36840 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36841 { NULL
, NULL
, 0, NULL
}
36845 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36847 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36850 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36851 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36853 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36854 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36856 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36857 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36859 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36860 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36862 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36863 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36865 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36866 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36868 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36869 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36871 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36874 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36875 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36877 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36880 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36881 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36883 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36884 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36886 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36889 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36890 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36892 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36893 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36895 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36896 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36898 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36899 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36901 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36902 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36904 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36905 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36907 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36908 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36910 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36911 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36913 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36914 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36916 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36919 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36920 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36922 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36923 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36925 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36926 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36928 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36929 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36931 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36932 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36934 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36935 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36937 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36940 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
36941 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
36943 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36944 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36946 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36947 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36949 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36952 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36953 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36955 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36956 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36958 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36959 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36961 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36962 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36964 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
36965 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
36967 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
36968 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
36970 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
36971 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36973 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
36974 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36976 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
36977 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
36979 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
36980 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36982 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
36983 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
36985 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
36986 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36988 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
36989 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36991 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
36992 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36994 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
36995 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36997 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
36998 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37000 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37001 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37003 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37004 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37006 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37007 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37009 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37010 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37012 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37013 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37015 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37016 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37018 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37019 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37021 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37022 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37024 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37025 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37027 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37028 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37030 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37031 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37033 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37034 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37036 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37037 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37039 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37042 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37043 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37045 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37046 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37048 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37049 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37051 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37052 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37054 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37055 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37057 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37058 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37060 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37061 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37063 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37064 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37066 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37067 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37069 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37070 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37072 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37073 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37075 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37078 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37079 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37081 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37082 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37084 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37085 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37087 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37088 return (void *)((wxObject
*) ((wxSizer
*) x
));
37090 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37091 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37093 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37094 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37096 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37097 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37099 static void *_p_wxEventTo_p_wxObject(void *x
) {
37100 return (void *)((wxObject
*) ((wxEvent
*) x
));
37102 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37103 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37105 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37106 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37108 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37109 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37111 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37112 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37114 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37115 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37117 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37118 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37120 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37121 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37123 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37124 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37126 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37127 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37129 static void *_p_wxControlTo_p_wxObject(void *x
) {
37130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37132 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37133 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37135 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37136 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37138 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37139 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37141 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37142 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37144 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37145 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37147 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37148 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37150 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37151 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37153 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37154 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37156 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37157 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37159 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37160 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37162 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37165 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37166 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37168 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37169 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37171 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37172 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37174 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37175 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37177 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37178 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37180 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37181 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37183 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37184 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37186 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37187 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37189 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37190 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37192 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37195 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37198 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37201 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37204 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37205 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37207 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37208 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37210 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37211 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37213 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37216 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37219 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37220 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37222 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37225 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37226 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37228 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37229 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37231 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37232 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37234 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37235 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37237 static void *_p_wxImageTo_p_wxObject(void *x
) {
37238 return (void *)((wxObject
*) ((wxImage
*) x
));
37240 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37241 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37243 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37244 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37246 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37247 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37249 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37252 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37253 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37255 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37256 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37258 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37259 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37261 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37264 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37267 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37270 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37271 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37273 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37276 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37277 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37279 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37280 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37282 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37283 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37285 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37286 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37288 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37289 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37291 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37292 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37297 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37298 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37300 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37301 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37303 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37304 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37306 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37309 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37310 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37312 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37315 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37318 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37319 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37321 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37322 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37324 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37325 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37327 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37328 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37330 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37331 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37333 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37334 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37336 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37337 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37339 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37340 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37342 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37343 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37345 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37346 return (void *)((wxWindow
*) ((wxControl
*) x
));
37348 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37349 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37351 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37352 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37354 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37355 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37357 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37358 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37360 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37361 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};
37362 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37363 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37364 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37365 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37366 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37367 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37368 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37369 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37370 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37371 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37372 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37373 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37374 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37375 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37376 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37377 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37378 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37379 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37380 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37381 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37382 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37383 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37384 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37385 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37386 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37387 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37388 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37389 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37390 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37391 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37392 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37393 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37394 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37395 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37396 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37397 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37398 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37399 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37400 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37401 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37402 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37403 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37404 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37405 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37406 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37407 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37408 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37409 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37410 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37411 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37412 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37413 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37414 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37415 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37416 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37417 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37418 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37419 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37420 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37421 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37422 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37423 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37424 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37425 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37426 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37427 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37428 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37429 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37430 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37431 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37432 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37433 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37434 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37435 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37436 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37437 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37438 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37439 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37440 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37441 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37442 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37443 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37444 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37445 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37446 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37447 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37448 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37449 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37450 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37451 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37452 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37453 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37454 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37455 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37456 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37457 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37458 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37459 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37460 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37461 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37462 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37463 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37464 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37465 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37466 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37467 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37468 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37469 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37470 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37471 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37472 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37473 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37474 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37475 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37476 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37477 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37478 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37479 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37480 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37481 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37482 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37483 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37484 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37485 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37486 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37487 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37488 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37489 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37490 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37491 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37492 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37493 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37494 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37495 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37496 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37497 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37498 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37499 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37500 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37501 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37502 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37503 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37504 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37505 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37506 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37507 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37508 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37509 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37510 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37511 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37512 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37513 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37514 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37515 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37516 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37517 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37518 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37519 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37520 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37521 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37522 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37523 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37524 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37525 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37526 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37527 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37528 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37530 static swig_type_info
*swig_type_initial
[] = {
37532 &_swigt__p_form_ops_t
,
37534 &_swigt__p_unsigned_char
,
37535 &_swigt__p_unsigned_int
,
37536 &_swigt__p_unsigned_long
,
37538 &_swigt__p_wxANIHandler
,
37539 &_swigt__p_wxAcceleratorTable
,
37540 &_swigt__p_wxActivateEvent
,
37541 &_swigt__p_wxArrayString
,
37542 &_swigt__p_wxBMPHandler
,
37543 &_swigt__p_wxBitmap
,
37544 &_swigt__p_wxBitmapDataObject
,
37545 &_swigt__p_wxBoxSizer
,
37546 &_swigt__p_wxBusyCursor
,
37547 &_swigt__p_wxBusyInfo
,
37548 &_swigt__p_wxCURHandler
,
37549 &_swigt__p_wxCaret
,
37551 &_swigt__p_wxChildFocusEvent
,
37552 &_swigt__p_wxClipboard
,
37553 &_swigt__p_wxClipboardLocker
,
37554 &_swigt__p_wxCloseEvent
,
37555 &_swigt__p_wxColour
,
37556 &_swigt__p_wxCommandEvent
,
37557 &_swigt__p_wxConfig
,
37558 &_swigt__p_wxConfigBase
,
37559 &_swigt__p_wxConfigPathChanger
,
37560 &_swigt__p_wxContextMenuEvent
,
37561 &_swigt__p_wxControl
,
37562 &_swigt__p_wxControlWithItems
,
37563 &_swigt__p_wxCursor
,
37564 &_swigt__p_wxCustomDataObject
,
37566 &_swigt__p_wxDataFormat
,
37567 &_swigt__p_wxDataObject
,
37568 &_swigt__p_wxDataObjectComposite
,
37569 &_swigt__p_wxDataObjectSimple
,
37570 &_swigt__p_wxDateEvent
,
37571 &_swigt__p_wxDateSpan
,
37572 &_swigt__p_wxDateTime
,
37573 &_swigt__p_wxDateTime__TimeZone
,
37574 &_swigt__p_wxDisplay
,
37575 &_swigt__p_wxDisplayChangedEvent
,
37576 &_swigt__p_wxDropFilesEvent
,
37577 &_swigt__p_wxDuplexMode
,
37578 &_swigt__p_wxEraseEvent
,
37579 &_swigt__p_wxEvent
,
37580 &_swigt__p_wxEvtHandler
,
37581 &_swigt__p_wxFSFile
,
37582 &_swigt__p_wxFileConfig
,
37583 &_swigt__p_wxFileDataObject
,
37584 &_swigt__p_wxFileHistory
,
37585 &_swigt__p_wxFileSystem
,
37586 &_swigt__p_wxFileType
,
37587 &_swigt__p_wxFileTypeInfo
,
37588 &_swigt__p_wxFlexGridSizer
,
37589 &_swigt__p_wxFocusEvent
,
37591 &_swigt__p_wxFrame
,
37592 &_swigt__p_wxGBSizerItem
,
37593 &_swigt__p_wxGIFHandler
,
37594 &_swigt__p_wxGridBagSizer
,
37595 &_swigt__p_wxGridSizer
,
37596 &_swigt__p_wxICOHandler
,
37598 &_swigt__p_wxIconizeEvent
,
37599 &_swigt__p_wxIdleEvent
,
37600 &_swigt__p_wxImage
,
37601 &_swigt__p_wxImageHandler
,
37602 &_swigt__p_wxIndividualLayoutConstraint
,
37603 &_swigt__p_wxInitDialogEvent
,
37604 &_swigt__p_wxJPEGHandler
,
37605 &_swigt__p_wxJoystick
,
37606 &_swigt__p_wxJoystickEvent
,
37607 &_swigt__p_wxKeyEvent
,
37608 &_swigt__p_wxKillError
,
37609 &_swigt__p_wxLayoutConstraints
,
37611 &_swigt__p_wxLogBuffer
,
37612 &_swigt__p_wxLogChain
,
37613 &_swigt__p_wxLogGui
,
37614 &_swigt__p_wxLogNull
,
37615 &_swigt__p_wxLogStderr
,
37616 &_swigt__p_wxLogTextCtrl
,
37617 &_swigt__p_wxLogWindow
,
37618 &_swigt__p_wxMaximizeEvent
,
37619 &_swigt__p_wxMemorySize
,
37621 &_swigt__p_wxMenuBar
,
37622 &_swigt__p_wxMenuEvent
,
37623 &_swigt__p_wxMenuItem
,
37624 &_swigt__p_wxMetafileDataObject
,
37625 &_swigt__p_wxMimeTypesManager
,
37626 &_swigt__p_wxMouseCaptureChangedEvent
,
37627 &_swigt__p_wxMouseEvent
,
37628 &_swigt__p_wxMouseState
,
37629 &_swigt__p_wxMoveEvent
,
37630 &_swigt__p_wxMutexGuiLocker
,
37631 &_swigt__p_wxNavigationKeyEvent
,
37632 &_swigt__p_wxNcPaintEvent
,
37633 &_swigt__p_wxNotifyEvent
,
37634 &_swigt__p_wxObject
,
37635 &_swigt__p_wxOutputStream
,
37636 &_swigt__p_wxPCXHandler
,
37637 &_swigt__p_wxPNGHandler
,
37638 &_swigt__p_wxPNMHandler
,
37639 &_swigt__p_wxPaintEvent
,
37640 &_swigt__p_wxPaletteChangedEvent
,
37641 &_swigt__p_wxPaperSize
,
37642 &_swigt__p_wxPoint
,
37643 &_swigt__p_wxProcessEvent
,
37644 &_swigt__p_wxPyApp
,
37645 &_swigt__p_wxPyArtProvider
,
37646 &_swigt__p_wxPyBitmapDataObject
,
37647 &_swigt__p_wxPyCommandEvent
,
37648 &_swigt__p_wxPyDataObjectSimple
,
37649 &_swigt__p_wxPyDropSource
,
37650 &_swigt__p_wxPyDropTarget
,
37651 &_swigt__p_wxPyEvent
,
37652 &_swigt__p_wxPyFileDropTarget
,
37653 &_swigt__p_wxPyImageHandler
,
37654 &_swigt__p_wxPyLog
,
37655 &_swigt__p_wxPyProcess
,
37656 &_swigt__p_wxPySizer
,
37657 &_swigt__p_wxPyTextDataObject
,
37658 &_swigt__p_wxPyTextDropTarget
,
37659 &_swigt__p_wxPyTimer
,
37660 &_swigt__p_wxPyTipProvider
,
37661 &_swigt__p_wxPyValidator
,
37662 &_swigt__p_wxQueryNewPaletteEvent
,
37664 &_swigt__p_wxScrollEvent
,
37665 &_swigt__p_wxScrollWinEvent
,
37666 &_swigt__p_wxSetCursorEvent
,
37667 &_swigt__p_wxShowEvent
,
37668 &_swigt__p_wxSingleInstanceChecker
,
37670 &_swigt__p_wxSizeEvent
,
37671 &_swigt__p_wxSizer
,
37672 &_swigt__p_wxSizerItem
,
37673 &_swigt__p_wxSound
,
37674 &_swigt__p_wxStandardPaths
,
37675 &_swigt__p_wxStaticBoxSizer
,
37676 &_swigt__p_wxStdDialogButtonSizer
,
37677 &_swigt__p_wxStopWatch
,
37678 &_swigt__p_wxString
,
37679 &_swigt__p_wxSysColourChangedEvent
,
37680 &_swigt__p_wxSystemOptions
,
37681 &_swigt__p_wxSystemSettings
,
37682 &_swigt__p_wxTIFFHandler
,
37683 &_swigt__p_wxTextCtrl
,
37684 &_swigt__p_wxTextDataObject
,
37685 &_swigt__p_wxTimeSpan
,
37686 &_swigt__p_wxTimer
,
37687 &_swigt__p_wxTimerEvent
,
37688 &_swigt__p_wxTimerRunner
,
37689 &_swigt__p_wxTipProvider
,
37690 &_swigt__p_wxToolTip
,
37691 &_swigt__p_wxURLDataObject
,
37692 &_swigt__p_wxUpdateUIEvent
,
37693 &_swigt__p_wxValidator
,
37694 &_swigt__p_wxVideoMode
,
37695 &_swigt__p_wxWindow
,
37696 &_swigt__p_wxWindowCreateEvent
,
37697 &_swigt__p_wxWindowDestroyEvent
,
37698 &_swigt__p_wxWindowDisabler
,
37699 &_swigt__p_wxXPMHandler
,
37702 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37703 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37704 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37705 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37706 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37707 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37708 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37709 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37710 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37711 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}};
37712 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37713 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37714 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37715 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37716 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37717 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37718 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37719 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37720 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}};
37721 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37722 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37723 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37724 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37725 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37726 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}};
37727 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37728 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}};
37729 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37730 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37731 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37732 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37733 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37734 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37735 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37736 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37737 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37738 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37739 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37740 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37741 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37742 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37743 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37744 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37745 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37746 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37747 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37748 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37749 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37750 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37751 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37752 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37753 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37754 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37755 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37756 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37757 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37758 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37759 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37760 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37761 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37762 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37763 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37764 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37765 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37766 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37767 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37768 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37769 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37770 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_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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}};
37771 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37772 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37773 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37774 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37775 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37776 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37777 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}};
37778 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37779 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37780 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37781 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37782 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37783 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37784 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37785 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37786 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37787 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37788 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37789 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}};
37790 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37791 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37792 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37793 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37794 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37795 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37796 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37797 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37798 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37799 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37800 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37801 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37802 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37803 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37804 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37805 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37806 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37807 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37808 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37809 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37810 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37811 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37812 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37813 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37814 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37815 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37816 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37817 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37818 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37819 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37820 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37821 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37822 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37823 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37824 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37825 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37826 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37827 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37828 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37829 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37830 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37831 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37832 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37833 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_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_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_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_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_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_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_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_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_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_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}};
37834 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37835 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37836 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37837 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37838 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37839 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37840 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37841 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37842 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}};
37843 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37844 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37845 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37846 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37847 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37848 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37849 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37850 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37851 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37852 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37853 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37854 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37855 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37856 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37857 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37858 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37859 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37860 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}};
37861 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37862 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37863 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37864 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37865 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}};
37866 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37867 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37868 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37869 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}};
37870 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37872 static swig_cast_info
*swig_cast_initial
[] = {
37874 _swigc__p_form_ops_t
,
37876 _swigc__p_unsigned_char
,
37877 _swigc__p_unsigned_int
,
37878 _swigc__p_unsigned_long
,
37880 _swigc__p_wxANIHandler
,
37881 _swigc__p_wxAcceleratorTable
,
37882 _swigc__p_wxActivateEvent
,
37883 _swigc__p_wxArrayString
,
37884 _swigc__p_wxBMPHandler
,
37885 _swigc__p_wxBitmap
,
37886 _swigc__p_wxBitmapDataObject
,
37887 _swigc__p_wxBoxSizer
,
37888 _swigc__p_wxBusyCursor
,
37889 _swigc__p_wxBusyInfo
,
37890 _swigc__p_wxCURHandler
,
37893 _swigc__p_wxChildFocusEvent
,
37894 _swigc__p_wxClipboard
,
37895 _swigc__p_wxClipboardLocker
,
37896 _swigc__p_wxCloseEvent
,
37897 _swigc__p_wxColour
,
37898 _swigc__p_wxCommandEvent
,
37899 _swigc__p_wxConfig
,
37900 _swigc__p_wxConfigBase
,
37901 _swigc__p_wxConfigPathChanger
,
37902 _swigc__p_wxContextMenuEvent
,
37903 _swigc__p_wxControl
,
37904 _swigc__p_wxControlWithItems
,
37905 _swigc__p_wxCursor
,
37906 _swigc__p_wxCustomDataObject
,
37908 _swigc__p_wxDataFormat
,
37909 _swigc__p_wxDataObject
,
37910 _swigc__p_wxDataObjectComposite
,
37911 _swigc__p_wxDataObjectSimple
,
37912 _swigc__p_wxDateEvent
,
37913 _swigc__p_wxDateSpan
,
37914 _swigc__p_wxDateTime
,
37915 _swigc__p_wxDateTime__TimeZone
,
37916 _swigc__p_wxDisplay
,
37917 _swigc__p_wxDisplayChangedEvent
,
37918 _swigc__p_wxDropFilesEvent
,
37919 _swigc__p_wxDuplexMode
,
37920 _swigc__p_wxEraseEvent
,
37922 _swigc__p_wxEvtHandler
,
37923 _swigc__p_wxFSFile
,
37924 _swigc__p_wxFileConfig
,
37925 _swigc__p_wxFileDataObject
,
37926 _swigc__p_wxFileHistory
,
37927 _swigc__p_wxFileSystem
,
37928 _swigc__p_wxFileType
,
37929 _swigc__p_wxFileTypeInfo
,
37930 _swigc__p_wxFlexGridSizer
,
37931 _swigc__p_wxFocusEvent
,
37934 _swigc__p_wxGBSizerItem
,
37935 _swigc__p_wxGIFHandler
,
37936 _swigc__p_wxGridBagSizer
,
37937 _swigc__p_wxGridSizer
,
37938 _swigc__p_wxICOHandler
,
37940 _swigc__p_wxIconizeEvent
,
37941 _swigc__p_wxIdleEvent
,
37943 _swigc__p_wxImageHandler
,
37944 _swigc__p_wxIndividualLayoutConstraint
,
37945 _swigc__p_wxInitDialogEvent
,
37946 _swigc__p_wxJPEGHandler
,
37947 _swigc__p_wxJoystick
,
37948 _swigc__p_wxJoystickEvent
,
37949 _swigc__p_wxKeyEvent
,
37950 _swigc__p_wxKillError
,
37951 _swigc__p_wxLayoutConstraints
,
37953 _swigc__p_wxLogBuffer
,
37954 _swigc__p_wxLogChain
,
37955 _swigc__p_wxLogGui
,
37956 _swigc__p_wxLogNull
,
37957 _swigc__p_wxLogStderr
,
37958 _swigc__p_wxLogTextCtrl
,
37959 _swigc__p_wxLogWindow
,
37960 _swigc__p_wxMaximizeEvent
,
37961 _swigc__p_wxMemorySize
,
37963 _swigc__p_wxMenuBar
,
37964 _swigc__p_wxMenuEvent
,
37965 _swigc__p_wxMenuItem
,
37966 _swigc__p_wxMetafileDataObject
,
37967 _swigc__p_wxMimeTypesManager
,
37968 _swigc__p_wxMouseCaptureChangedEvent
,
37969 _swigc__p_wxMouseEvent
,
37970 _swigc__p_wxMouseState
,
37971 _swigc__p_wxMoveEvent
,
37972 _swigc__p_wxMutexGuiLocker
,
37973 _swigc__p_wxNavigationKeyEvent
,
37974 _swigc__p_wxNcPaintEvent
,
37975 _swigc__p_wxNotifyEvent
,
37976 _swigc__p_wxObject
,
37977 _swigc__p_wxOutputStream
,
37978 _swigc__p_wxPCXHandler
,
37979 _swigc__p_wxPNGHandler
,
37980 _swigc__p_wxPNMHandler
,
37981 _swigc__p_wxPaintEvent
,
37982 _swigc__p_wxPaletteChangedEvent
,
37983 _swigc__p_wxPaperSize
,
37985 _swigc__p_wxProcessEvent
,
37987 _swigc__p_wxPyArtProvider
,
37988 _swigc__p_wxPyBitmapDataObject
,
37989 _swigc__p_wxPyCommandEvent
,
37990 _swigc__p_wxPyDataObjectSimple
,
37991 _swigc__p_wxPyDropSource
,
37992 _swigc__p_wxPyDropTarget
,
37993 _swigc__p_wxPyEvent
,
37994 _swigc__p_wxPyFileDropTarget
,
37995 _swigc__p_wxPyImageHandler
,
37997 _swigc__p_wxPyProcess
,
37998 _swigc__p_wxPySizer
,
37999 _swigc__p_wxPyTextDataObject
,
38000 _swigc__p_wxPyTextDropTarget
,
38001 _swigc__p_wxPyTimer
,
38002 _swigc__p_wxPyTipProvider
,
38003 _swigc__p_wxPyValidator
,
38004 _swigc__p_wxQueryNewPaletteEvent
,
38006 _swigc__p_wxScrollEvent
,
38007 _swigc__p_wxScrollWinEvent
,
38008 _swigc__p_wxSetCursorEvent
,
38009 _swigc__p_wxShowEvent
,
38010 _swigc__p_wxSingleInstanceChecker
,
38012 _swigc__p_wxSizeEvent
,
38014 _swigc__p_wxSizerItem
,
38016 _swigc__p_wxStandardPaths
,
38017 _swigc__p_wxStaticBoxSizer
,
38018 _swigc__p_wxStdDialogButtonSizer
,
38019 _swigc__p_wxStopWatch
,
38020 _swigc__p_wxString
,
38021 _swigc__p_wxSysColourChangedEvent
,
38022 _swigc__p_wxSystemOptions
,
38023 _swigc__p_wxSystemSettings
,
38024 _swigc__p_wxTIFFHandler
,
38025 _swigc__p_wxTextCtrl
,
38026 _swigc__p_wxTextDataObject
,
38027 _swigc__p_wxTimeSpan
,
38029 _swigc__p_wxTimerEvent
,
38030 _swigc__p_wxTimerRunner
,
38031 _swigc__p_wxTipProvider
,
38032 _swigc__p_wxToolTip
,
38033 _swigc__p_wxURLDataObject
,
38034 _swigc__p_wxUpdateUIEvent
,
38035 _swigc__p_wxValidator
,
38036 _swigc__p_wxVideoMode
,
38037 _swigc__p_wxWindow
,
38038 _swigc__p_wxWindowCreateEvent
,
38039 _swigc__p_wxWindowDestroyEvent
,
38040 _swigc__p_wxWindowDisabler
,
38041 _swigc__p_wxXPMHandler
,
38045 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38047 static swig_const_info swig_const_table
[] = {
38048 {0, 0, 0, 0.0, 0, 0}};
38053 /* -----------------------------------------------------------------------------
38054 * Type initialization:
38055 * This problem is tough by the requirement that no dynamic
38056 * memory is used. Also, since swig_type_info structures store pointers to
38057 * swig_cast_info structures and swig_cast_info structures store pointers back
38058 * to swig_type_info structures, we need some lookup code at initialization.
38059 * The idea is that swig generates all the structures that are needed.
38060 * The runtime then collects these partially filled structures.
38061 * The SWIG_InitializeModule function takes these initial arrays out of
38062 * swig_module, and does all the lookup, filling in the swig_module.types
38063 * array with the correct data and linking the correct swig_cast_info
38064 * structures together.
38066 * The generated swig_type_info structures are assigned staticly to an initial
38067 * array. We just loop though that array, and handle each type individually.
38068 * First we lookup if this type has been already loaded, and if so, use the
38069 * loaded structure instead of the generated one. Then we have to fill in the
38070 * cast linked list. The cast data is initially stored in something like a
38071 * two-dimensional array. Each row corresponds to a type (there are the same
38072 * number of rows as there are in the swig_type_initial array). Each entry in
38073 * a column is one of the swig_cast_info structures for that type.
38074 * The cast_initial array is actually an array of arrays, because each row has
38075 * a variable number of columns. So to actually build the cast linked list,
38076 * we find the array of casts associated with the type, and loop through it
38077 * adding the casts to the list. The one last trick we need to do is making
38078 * sure the type pointer in the swig_cast_info struct is correct.
38080 * First off, we lookup the cast->type name to see if it is already loaded.
38081 * There are three cases to handle:
38082 * 1) If the cast->type has already been loaded AND the type we are adding
38083 * casting info to has not been loaded (it is in this module), THEN we
38084 * replace the cast->type pointer with the type pointer that has already
38086 * 2) If BOTH types (the one we are adding casting info to, and the
38087 * cast->type) are loaded, THEN the cast info has already been loaded by
38088 * the previous module so we just ignore it.
38089 * 3) Finally, if cast->type has not already been loaded, then we add that
38090 * swig_cast_info to the linked list (because the cast->type) pointer will
38092 * ----------------------------------------------------------------------------- */
38102 #define SWIGRUNTIME_DEBUG
38106 SWIG_InitializeModule(void *clientdata
) {
38108 swig_module_info
*module_head
;
38109 static int init_run
= 0;
38111 clientdata
= clientdata
;
38113 if (init_run
) return;
38116 /* Initialize the swig_module */
38117 swig_module
.type_initial
= swig_type_initial
;
38118 swig_module
.cast_initial
= swig_cast_initial
;
38120 /* Try and load any already created modules */
38121 module_head
= SWIG_GetModule(clientdata
);
38123 swig_module
.next
= module_head
->next
;
38124 module_head
->next
= &swig_module
;
38126 /* This is the first module loaded */
38127 swig_module
.next
= &swig_module
;
38128 SWIG_SetModule(clientdata
, &swig_module
);
38131 /* Now work on filling in swig_module.types */
38132 #ifdef SWIGRUNTIME_DEBUG
38133 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38135 for (i
= 0; i
< swig_module
.size
; ++i
) {
38136 swig_type_info
*type
= 0;
38137 swig_type_info
*ret
;
38138 swig_cast_info
*cast
;
38140 #ifdef SWIGRUNTIME_DEBUG
38141 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38144 /* if there is another module already loaded */
38145 if (swig_module
.next
!= &swig_module
) {
38146 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38149 /* Overwrite clientdata field */
38150 #ifdef SWIGRUNTIME_DEBUG
38151 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38153 if (swig_module
.type_initial
[i
]->clientdata
) {
38154 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38155 #ifdef SWIGRUNTIME_DEBUG
38156 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38160 type
= swig_module
.type_initial
[i
];
38163 /* Insert casting types */
38164 cast
= swig_module
.cast_initial
[i
];
38165 while (cast
->type
) {
38166 /* Don't need to add information already in the list */
38168 #ifdef SWIGRUNTIME_DEBUG
38169 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38171 if (swig_module
.next
!= &swig_module
) {
38172 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38173 #ifdef SWIGRUNTIME_DEBUG
38174 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38178 if (type
== swig_module
.type_initial
[i
]) {
38179 #ifdef SWIGRUNTIME_DEBUG
38180 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38185 /* Check for casting already in the list */
38186 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38187 #ifdef SWIGRUNTIME_DEBUG
38188 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38190 if (!ocast
) ret
= 0;
38195 #ifdef SWIGRUNTIME_DEBUG
38196 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38199 type
->cast
->prev
= cast
;
38200 cast
->next
= type
->cast
;
38206 /* Set entry in modules->types array equal to the type */
38207 swig_module
.types
[i
] = type
;
38209 swig_module
.types
[i
] = 0;
38211 #ifdef SWIGRUNTIME_DEBUG
38212 printf("**** SWIG_InitializeModule: Cast List ******\n");
38213 for (i
= 0; i
< swig_module
.size
; ++i
) {
38215 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38216 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38217 while (cast
->type
) {
38218 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38222 printf("---- Total casts: %d\n",j
);
38224 printf("**** SWIG_InitializeModule: Cast List ******\n");
38228 /* This function will propagate the clientdata field of type to
38229 * any new swig_type_info structures that have been added into the list
38230 * of equivalent types. It is like calling
38231 * SWIG_TypeClientData(type, clientdata) a second time.
38234 SWIG_PropagateClientData(void) {
38236 swig_cast_info
*equiv
;
38237 static int init_run
= 0;
38239 if (init_run
) return;
38242 for (i
= 0; i
< swig_module
.size
; i
++) {
38243 if (swig_module
.types
[i
]->clientdata
) {
38244 equiv
= swig_module
.types
[i
]->cast
;
38246 if (!equiv
->converter
) {
38247 if (equiv
->type
&& !equiv
->type
->clientdata
)
38248 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38250 equiv
= equiv
->next
;
38270 /* Python-specific SWIG API */
38271 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38272 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38273 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38275 /* -----------------------------------------------------------------------------
38276 * global variable support code.
38277 * ----------------------------------------------------------------------------- */
38279 typedef struct swig_globalvar
{
38280 char *name
; /* Name of global variable */
38281 PyObject
*(*get_attr
)(void); /* Return the current value */
38282 int (*set_attr
)(PyObject
*); /* Set the value */
38283 struct swig_globalvar
*next
;
38286 typedef struct swig_varlinkobject
{
38288 swig_globalvar
*vars
;
38289 } swig_varlinkobject
;
38291 SWIGINTERN PyObject
*
38292 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38293 return PyString_FromString("<Swig global variables>");
38296 SWIGINTERN PyObject
*
38297 swig_varlink_str(swig_varlinkobject
*v
) {
38298 PyObject
*str
= PyString_FromString("(");
38299 swig_globalvar
*var
;
38300 for (var
= v
->vars
; var
; var
=var
->next
) {
38301 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38302 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38304 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38309 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38310 PyObject
*str
= swig_varlink_str(v
);
38311 fprintf(fp
,"Swig global variables ");
38312 fprintf(fp
,"%s\n", PyString_AsString(str
));
38318 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38319 swig_globalvar
*var
= v
->vars
;
38321 swig_globalvar
*n
= var
->next
;
38328 SWIGINTERN PyObject
*
38329 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38330 PyObject
*res
= NULL
;
38331 swig_globalvar
*var
= v
->vars
;
38333 if (strcmp(var
->name
,n
) == 0) {
38334 res
= (*var
->get_attr
)();
38339 if (res
== NULL
&& !PyErr_Occurred()) {
38340 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38346 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38348 swig_globalvar
*var
= v
->vars
;
38350 if (strcmp(var
->name
,n
) == 0) {
38351 res
= (*var
->set_attr
)(p
);
38356 if (res
== 1 && !PyErr_Occurred()) {
38357 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38362 SWIGINTERN PyTypeObject
*
38363 swig_varlink_type(void) {
38364 static char varlink__doc__
[] = "Swig var link object";
38365 static PyTypeObject varlink_type
;
38366 static int type_init
= 0;
38368 const PyTypeObject tmp
38370 PyObject_HEAD_INIT(NULL
)
38371 0, /* Number of items in variable part (ob_size) */
38372 (char *)"swigvarlink", /* Type name (tp_name) */
38373 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38374 0, /* Itemsize (tp_itemsize) */
38375 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38376 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38377 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38378 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38379 0, /* tp_compare */
38380 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38381 0, /* tp_as_number */
38382 0, /* tp_as_sequence */
38383 0, /* tp_as_mapping */
38386 (reprfunc
)swig_varlink_str
, /* tp_str */
38387 0, /* tp_getattro */
38388 0, /* tp_setattro */
38389 0, /* tp_as_buffer */
38391 varlink__doc__
, /* tp_doc */
38392 0, /* tp_traverse */
38394 0, /* tp_richcompare */
38395 0, /* tp_weaklistoffset */
38396 #if PY_VERSION_HEX >= 0x02020000
38397 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38399 #if PY_VERSION_HEX >= 0x02030000
38402 #ifdef COUNT_ALLOCS
38403 0,0,0,0 /* tp_alloc -> tp_next */
38406 varlink_type
= tmp
;
38407 varlink_type
.ob_type
= &PyType_Type
;
38410 return &varlink_type
;
38413 /* Create a variable linking object for use later */
38414 SWIGINTERN PyObject
*
38415 SWIG_Python_newvarlink(void) {
38416 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38420 return ((PyObject
*) result
);
38424 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38425 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38426 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38428 size_t size
= strlen(name
)+1;
38429 gv
->name
= (char *)malloc(size
);
38431 strncpy(gv
->name
,name
,size
);
38432 gv
->get_attr
= get_attr
;
38433 gv
->set_attr
= set_attr
;
38434 gv
->next
= v
->vars
;
38440 SWIGINTERN PyObject
*
38442 static PyObject
*_SWIG_globals
= 0;
38443 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38444 return _SWIG_globals
;
38447 /* -----------------------------------------------------------------------------
38448 * constants/methods manipulation
38449 * ----------------------------------------------------------------------------- */
38451 /* Install Constants */
38453 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38456 for (i
= 0; constants
[i
].type
; ++i
) {
38457 switch(constants
[i
].type
) {
38458 case SWIG_PY_POINTER
:
38459 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38461 case SWIG_PY_BINARY
:
38462 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38469 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38475 /* -----------------------------------------------------------------------------*/
38476 /* Fix SwigMethods to carry the callback ptrs when needed */
38477 /* -----------------------------------------------------------------------------*/
38480 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38481 swig_const_info
*const_table
,
38482 swig_type_info
**types
,
38483 swig_type_info
**types_initial
) {
38485 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38486 char *c
= methods
[i
].ml_doc
;
38487 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38489 swig_const_info
*ci
= 0;
38490 char *name
= c
+ 10;
38491 for (j
= 0; const_table
[j
].type
; ++j
) {
38492 if (strncmp(const_table
[j
].name
, name
,
38493 strlen(const_table
[j
].name
)) == 0) {
38494 ci
= &(const_table
[j
]);
38499 size_t shift
= (ci
->ptype
) - types
;
38500 swig_type_info
*ty
= types_initial
[shift
];
38501 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38502 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38503 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38506 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38508 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38510 strncpy(buff
, "swig_ptr: ", 10);
38512 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38513 methods
[i
].ml_doc
= ndoc
;
38525 /* -----------------------------------------------------------------------------*
38526 * Partial Init method
38527 * -----------------------------------------------------------------------------*/
38532 SWIGEXPORT
void SWIG_init(void) {
38535 /* Fix SwigMethods to carry the callback ptrs when needed */
38536 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38538 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38539 d
= PyModule_GetDict(m
);
38541 SWIG_InitializeModule(0);
38542 SWIG_InstallConstants(d
,swig_const_table
);
38545 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38546 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38547 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38548 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38549 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38550 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38551 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38552 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38553 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38554 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38555 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38556 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38557 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38558 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38559 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38560 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38561 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38562 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38563 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38564 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38565 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38566 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38567 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38568 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38569 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38570 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38571 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38572 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38573 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38574 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38575 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38576 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38577 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38578 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38579 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38580 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38581 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38582 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38583 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38584 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38585 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38586 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38587 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38588 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38589 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38590 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38591 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38592 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38593 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38594 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38595 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38596 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38597 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38598 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38599 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38600 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38601 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38602 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38603 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38604 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38605 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38606 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38607 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38608 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38609 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38610 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38611 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38612 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38613 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38614 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38615 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38616 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38617 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38618 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38619 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38620 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38621 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38622 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38623 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38624 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38625 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38626 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38627 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38628 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38629 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38630 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38631 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38632 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38633 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38634 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38635 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38636 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38637 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38638 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38639 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38640 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38641 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38642 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38643 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38644 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38645 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38646 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38648 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38650 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38651 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38652 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38653 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38654 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38655 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38656 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38657 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38658 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38659 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38660 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38661 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38662 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38663 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38664 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38665 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38666 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38667 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38668 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38669 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38670 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38671 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38672 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38673 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38674 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38675 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38676 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38677 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38678 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38679 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38680 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38681 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38682 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38683 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38684 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38685 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38686 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38687 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38688 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38689 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38690 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38691 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38692 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38693 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38694 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38695 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38696 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38697 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38698 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38699 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38700 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38701 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38702 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38704 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38706 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38707 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38708 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38709 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38710 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38711 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38712 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38713 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38714 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38715 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38716 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38717 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38718 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38719 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38720 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38721 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38722 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38723 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38724 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38725 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38726 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38727 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38728 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38729 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38730 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38731 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38732 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38733 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38734 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38735 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38736 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38737 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38738 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38739 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38740 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38741 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38742 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38743 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38744 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38745 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38746 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38747 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38748 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38749 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38750 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38751 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38752 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38753 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38754 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38755 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38756 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38757 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38758 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38759 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38760 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38761 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38762 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38763 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38764 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38765 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38766 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38767 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38768 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38769 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38770 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38771 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38772 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38773 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38774 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38775 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38776 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38777 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38778 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38779 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38780 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38781 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38783 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38785 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38786 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38787 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38788 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38789 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38790 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38791 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38792 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38793 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38794 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38795 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38796 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38797 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38798 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38799 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38800 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38801 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38802 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38803 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38804 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38805 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38806 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38807 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38808 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38809 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38810 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38811 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38812 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38813 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38814 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38815 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38816 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38817 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38818 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38819 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38820 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38821 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38822 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38823 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38824 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38825 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38826 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38827 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38828 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38829 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38830 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38831 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38832 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38833 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38834 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38835 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38836 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38837 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38838 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38839 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38840 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38841 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38842 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38843 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38844 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38845 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38846 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38847 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38848 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38849 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38850 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38851 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38852 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38853 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38854 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38855 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38856 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38857 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38858 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38859 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38860 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38861 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38862 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38863 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38864 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38865 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38866 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38867 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38868 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38869 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38870 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38871 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38872 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38873 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38874 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38875 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38876 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38877 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38878 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38879 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38880 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38881 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38882 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38883 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38884 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38885 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38886 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38887 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38888 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38889 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38890 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38891 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38892 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38893 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38894 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38895 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38896 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38897 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38898 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38899 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38900 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38901 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38902 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38903 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38904 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38905 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38906 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38907 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38908 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38909 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38910 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38911 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38912 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38913 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38914 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38915 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38916 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38917 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38918 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38919 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38920 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38921 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
38922 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
38923 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
38924 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
38925 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
38926 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
38927 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
38928 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
38929 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
38930 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
38931 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
38932 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
38933 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
38934 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
38935 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
38936 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
38937 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
38938 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
38939 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
38940 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
38941 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
38942 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
38943 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
38944 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
38945 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
38946 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
38947 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
38948 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
38949 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
38950 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
38951 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
38952 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
38953 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
38954 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
38955 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
38956 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
38957 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
38958 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
38959 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
38960 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
38961 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
38962 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
38963 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
38964 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
38965 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
38966 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
38967 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
38968 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
38969 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
38970 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
38971 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
38972 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
38973 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
38974 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
38975 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
38976 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
38977 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
38978 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
38979 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
38980 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
38981 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
38982 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
38983 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
38984 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
38986 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
38987 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
38988 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
38989 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
38991 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
38992 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
38993 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
38994 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));