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_wxClipboardTextEvent swig_types[23]
2486 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2487 #define SWIGTYPE_p_wxColour swig_types[25]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2489 #define SWIGTYPE_p_wxConfig swig_types[27]
2490 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2491 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2492 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2493 #define SWIGTYPE_p_wxControl swig_types[31]
2494 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2495 #define SWIGTYPE_p_wxCursor swig_types[33]
2496 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2497 #define SWIGTYPE_p_wxDC swig_types[35]
2498 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2499 #define SWIGTYPE_p_wxDataObject swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2501 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime swig_types[42]
2505 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2506 #define SWIGTYPE_p_wxDisplay swig_types[44]
2507 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2510 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvent swig_types[49]
2512 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2513 #define SWIGTYPE_p_wxFSFile swig_types[51]
2514 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2515 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2516 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2517 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2518 #define SWIGTYPE_p_wxFileType swig_types[56]
2519 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2522 #define SWIGTYPE_p_wxFont swig_types[60]
2523 #define SWIGTYPE_p_wxFrame swig_types[61]
2524 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2528 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2529 #define SWIGTYPE_p_wxIcon swig_types[67]
2530 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2532 #define SWIGTYPE_p_wxImage swig_types[70]
2533 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2534 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2535 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2536 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2537 #define SWIGTYPE_p_wxJoystick swig_types[75]
2538 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxKillError swig_types[78]
2541 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2542 #define SWIGTYPE_p_wxLog swig_types[80]
2543 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2544 #define SWIGTYPE_p_wxLogChain swig_types[82]
2545 #define SWIGTYPE_p_wxLogGui swig_types[83]
2546 #define SWIGTYPE_p_wxLogNull swig_types[84]
2547 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2548 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2549 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2550 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2551 #define SWIGTYPE_p_wxMemorySize swig_types[89]
2552 #define SWIGTYPE_p_wxMenu swig_types[90]
2553 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2554 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2556 #define SWIGTYPE_p_wxMetafile swig_types[94]
2557 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2558 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2559 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMouseState swig_types[99]
2562 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2563 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxObject swig_types[105]
2568 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2575 #define SWIGTYPE_p_wxPoint swig_types[113]
2576 #define SWIGTYPE_p_wxProcessEvent swig_types[114]
2577 #define SWIGTYPE_p_wxPyApp swig_types[115]
2578 #define SWIGTYPE_p_wxPyArtProvider swig_types[116]
2579 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[117]
2580 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2581 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[119]
2582 #define SWIGTYPE_p_wxPyDropSource swig_types[120]
2583 #define SWIGTYPE_p_wxPyDropTarget swig_types[121]
2584 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2585 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[123]
2586 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2587 #define SWIGTYPE_p_wxPyLog swig_types[125]
2588 #define SWIGTYPE_p_wxPyProcess swig_types[126]
2589 #define SWIGTYPE_p_wxPySizer swig_types[127]
2590 #define SWIGTYPE_p_wxPyTextDataObject swig_types[128]
2591 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[129]
2592 #define SWIGTYPE_p_wxPyTimer swig_types[130]
2593 #define SWIGTYPE_p_wxPyTipProvider swig_types[131]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[132]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[133]
2596 #define SWIGTYPE_p_wxRect swig_types[134]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2601 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[139]
2602 #define SWIGTYPE_p_wxSize swig_types[140]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2604 #define SWIGTYPE_p_wxSizer swig_types[142]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2606 #define SWIGTYPE_p_wxSound swig_types[144]
2607 #define SWIGTYPE_p_wxStandardPaths swig_types[145]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2610 #define SWIGTYPE_p_wxStopWatch swig_types[148]
2611 #define SWIGTYPE_p_wxString swig_types[149]
2612 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2613 #define SWIGTYPE_p_wxSystemOptions swig_types[151]
2614 #define SWIGTYPE_p_wxSystemSettings swig_types[152]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2616 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxTextDataObject swig_types[155]
2618 #define SWIGTYPE_p_wxTimeSpan swig_types[156]
2619 #define SWIGTYPE_p_wxTimer swig_types[157]
2620 #define SWIGTYPE_p_wxTimerEvent swig_types[158]
2621 #define SWIGTYPE_p_wxTimerRunner swig_types[159]
2622 #define SWIGTYPE_p_wxTipProvider swig_types[160]
2623 #define SWIGTYPE_p_wxToolTip swig_types[161]
2624 #define SWIGTYPE_p_wxURLDataObject swig_types[162]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2626 #define SWIGTYPE_p_wxValidator swig_types[164]
2627 #define SWIGTYPE_p_wxVideoMode swig_types[165]
2628 #define SWIGTYPE_p_wxWindow swig_types[166]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2631 #define SWIGTYPE_p_wxWindowDisabler swig_types[169]
2632 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2633 static swig_type_info
*swig_types
[172];
2634 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2635 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2636 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2638 /* -------- TYPES TABLE (END) -------- */
2640 #if (PY_VERSION_HEX <= 0x02000000)
2641 # if !defined(SWIG_PYTHON_CLASSIC)
2642 # error "This python version requires to use swig with the '-classic' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodern' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodernargs' option"
2652 # error "This python version requires to use swig with the '-nofastunpack' option"
2655 /*-----------------------------------------------
2656 @(target):= _misc_.so
2657 ------------------------------------------------*/
2658 #define SWIG_init init_misc_
2660 #define SWIG_name "_misc_"
2662 #define SWIGVERSION 0x010329
2665 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2666 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2669 #include <stdexcept>
2673 class PyObject_ptr
{
2678 PyObject_ptr() :_obj(0)
2682 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2687 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2689 if (initial_ref
) Py_XINCREF(_obj
);
2692 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2694 Py_XINCREF(item
._obj
);
2705 operator PyObject
*() const
2710 PyObject
*operator->() const
2719 struct PyObject_var
: PyObject_ptr
{
2720 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2722 PyObject_var
& operator = (PyObject
* obj
)
2732 #include "wx/wxPython/wxPython.h"
2733 #include "wx/wxPython/pyclasses.h"
2734 #include "wx/wxPython/pyistream.h"
2736 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 #define SWIG_From_long PyInt_FromLong
2743 SWIGINTERNINLINE PyObject
*
2744 SWIG_From_int (int value
)
2746 return SWIG_From_long (value
);
2752 # define LLONG_MIN LONG_LONG_MIN
2755 # define LLONG_MAX LONG_LONG_MAX
2758 # define ULLONG_MAX ULONG_LONG_MAX
2763 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2765 if (PyNumber_Check(obj
)) {
2766 if (val
) *val
= PyInt_AsLong(obj
);
2769 return SWIG_TypeError
;
2774 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2777 int res
= SWIG_AsVal_long (obj
, &v
);
2778 if (SWIG_IsOK(res
)) {
2779 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2780 return SWIG_OverflowError
;
2782 if (val
) *val
= static_cast< int >(v
);
2788 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2790 #include <wx/stockitem.h>
2792 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2793 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2794 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2797 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2799 if (obj
== Py_True
) {
2800 if (val
) *val
= true;
2802 } else if (obj
== Py_False
) {
2803 if (val
) *val
= false;
2807 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2808 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2815 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2818 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2819 return SWIG_TypeError
;
2822 *val
= (unsigned long)v
;
2827 SWIGINTERNINLINE PyObject
*
2828 SWIG_From_unsigned_SS_long (unsigned long value
)
2830 return (value
> LONG_MAX
) ?
2831 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2835 void* wxGetXDisplay()
2838 return wxGetDisplay();
2845 wxWindow
* FindWindowAtPointer() {
2847 return wxFindWindowAtPointer(unused
);
2851 bool wxThread_IsMain() {
2852 #ifdef WXP_WITH_THREAD
2853 return wxThread::IsMain();
2859 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2863 #include <wx/snglinst.h>
2867 #include <wx/msw/private.h>
2868 #include <wx/dynload.h>
2873 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2884 // This one only partially works. Appears to be an undocumented
2885 // "standard" convention that not all widgets adhear to. For
2886 // example, for some widgets backgrounds or non-client areas may
2888 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2893 // This one works much better, nearly all widgets and their
2894 // children are captured correctly[**]. Prior to the big
2895 // background erase changes that Vadim did in 2004-2005 this
2896 // method failed badly on XP with Themes activated, most native
2897 // widgets draw only partially, if at all. Without themes it
2898 // worked just like on Win2k. After those changes this method
2901 // ** For example the radio buttons in a wxRadioBox are not its
2902 // children by default, but you can capture it via the panel
2903 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2904 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2905 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2906 PRF_ERASEBKGND
| PRF_OWNED
);
2912 // This one is only defined in the latest SDK and is only
2913 // available on XP. MSDN says it is similar to sending WM_PRINT
2914 // so I expect that it will work similar to the above. Since it
2915 // is avaialble only on XP, it can't be compiled like this and
2916 // will have to be loaded dynamically.
2917 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2922 // Use PrintWindow if available, or fallback to WM_PRINT
2923 // otherwise. Unfortunately using PrintWindow is even worse than
2924 // WM_PRINT. For most native widgets nothing is drawn to the dc
2925 // at all, with or without Themes.
2926 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2927 static bool s_triedToLoad
= false;
2928 static PrintWindow_t pfnPrintWindow
= NULL
;
2929 if ( !s_triedToLoad
)
2932 s_triedToLoad
= true;
2933 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2934 if ( dllUser32
.IsLoaded() )
2936 wxLogNull nolog
; // Don't report errors here
2937 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2942 //printf("Using PrintWindow\n");
2943 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2947 //printf("Using WM_PRINT\n");
2948 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2949 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2950 PRF_ERASEBKGND
| PRF_OWNED
);
2961 #include <wx/tipdlg.h>
2964 SWIGINTERNINLINE PyObject
*
2965 SWIG_From_size_t (size_t value
)
2967 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2971 class wxPyTipProvider
: public wxTipProvider
{
2973 wxPyTipProvider(size_t currentTip
)
2974 : wxTipProvider(currentTip
) {}
2976 DEC_PYCALLBACK_STRING__pure(GetTip
);
2977 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2981 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2982 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2985 SWIGINTERNINLINE
int
2986 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2989 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2990 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2995 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2997 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2999 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3000 : wxTimer(owner
, id
)
3007 SWIGINTERN swig_type_info
*
3008 SWIG_pchar_descriptor()
3010 static int init
= 0;
3011 static swig_type_info
* info
= 0;
3013 info
= SWIG_TypeQuery("_p_char");
3020 SWIGINTERNINLINE PyObject
*
3021 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3024 if (size
> INT_MAX
) {
3025 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3026 return pchar_descriptor
?
3027 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3029 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3032 return SWIG_Py_Void();
3037 SWIGINTERNINLINE PyObject
*
3038 SWIG_FromCharPtr(const char *cptr
)
3040 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3045 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3048 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3049 if (SWIG_IsOK(res
)) {
3050 if ((v
> UINT_MAX
)) {
3051 return SWIG_OverflowError
;
3053 if (val
) *val
= static_cast< unsigned int >(v
);
3059 SWIGINTERN wxString
wxLog_TimeStamp(){
3061 wxLog::TimeStamp(&msg
);
3064 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3065 // Make some wrappers that double any % signs so they are 'escaped'
3066 void wxPyLogFatalError(const wxString
& msg
)
3069 m
.Replace(wxT("%"), wxT("%%"));
3073 void wxPyLogError(const wxString
& msg
)
3076 m
.Replace(wxT("%"), wxT("%%"));
3080 void wxPyLogWarning(const wxString
& msg
)
3083 m
.Replace(wxT("%"), wxT("%%"));
3087 void wxPyLogMessage(const wxString
& msg
)
3090 m
.Replace(wxT("%"), wxT("%%"));
3094 void wxPyLogInfo(const wxString
& msg
)
3097 m
.Replace(wxT("%"), wxT("%%"));
3101 void wxPyLogDebug(const wxString
& msg
)
3104 m
.Replace(wxT("%"), wxT("%%"));
3108 void wxPyLogVerbose(const wxString
& msg
)
3111 m
.Replace(wxT("%"), wxT("%%"));
3115 void wxPyLogStatus(const wxString
& msg
)
3118 m
.Replace(wxT("%"), wxT("%%"));
3122 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3125 m
.Replace(wxT("%"), wxT("%%"));
3126 wxLogStatus(pFrame
, m
);
3129 void wxPyLogSysError(const wxString
& msg
)
3132 m
.Replace(wxT("%"), wxT("%%"));
3136 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3139 m
.Replace(wxT("%"), wxT("%%"));
3140 wxLogGeneric(level
, m
);
3143 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3146 m
.Replace(wxT("%"), wxT("%%"));
3147 wxLogTrace(mask
, m
);
3150 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3153 m
.Replace(wxT("%"), wxT("%%"));
3154 wxLogTrace(mask
, m
);
3159 // A wxLog class that can be derived from in wxPython
3160 class wxPyLog
: public wxLog
{
3162 wxPyLog() : wxLog() {}
3164 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3166 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3167 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3168 PyObject
* s
= wx2PyString(szString
);
3169 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3172 wxPyEndBlockThreads(blocked
);
3174 wxLog::DoLog(level
, szString
, t
);
3177 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3179 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3180 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3181 PyObject
* s
= wx2PyString(szString
);
3182 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3185 wxPyEndBlockThreads(blocked
);
3187 wxLog::DoLogString(szString
, t
);
3190 DEC_PYCALLBACK_VOID_(Flush
);
3193 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3198 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3201 #include <wx/joystick.h>
3204 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3205 // A C++ stub class for wxJoystick for platforms that don't have it.
3206 class wxJoystick
: public wxObject
{
3208 wxJoystick(int joystick
= wxJOYSTICK1
) {
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyErr_SetString(PyExc_NotImplementedError
,
3211 "wxJoystick is not available on this platform.");
3212 wxPyEndBlockThreads(blocked
);
3214 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3215 int GetZPosition() { return -1; }
3216 int GetButtonState() { return -1; }
3217 int GetPOVPosition() { return -1; }
3218 int GetPOVCTSPosition() { return -1; }
3219 int GetRudderPosition() { return -1; }
3220 int GetUPosition() { return -1; }
3221 int GetVPosition() { return -1; }
3222 int GetMovementThreshold() { return -1; }
3223 void SetMovementThreshold(int threshold
) {}
3225 bool IsOk(void) { return false; }
3226 int GetNumberJoysticks() { return -1; }
3227 int GetManufacturerId() { return -1; }
3228 int GetProductId() { return -1; }
3229 wxString
GetProductName() { return wxEmptyString
; }
3230 int GetXMin() { return -1; }
3231 int GetYMin() { return -1; }
3232 int GetZMin() { return -1; }
3233 int GetXMax() { return -1; }
3234 int GetYMax() { return -1; }
3235 int GetZMax() { return -1; }
3236 int GetNumberButtons() { return -1; }
3237 int GetNumberAxes() { return -1; }
3238 int GetMaxButtons() { return -1; }
3239 int GetMaxAxes() { return -1; }
3240 int GetPollingMin() { return -1; }
3241 int GetPollingMax() { return -1; }
3242 int GetRudderMin() { return -1; }
3243 int GetRudderMax() { return -1; }
3244 int GetUMin() { return -1; }
3245 int GetUMax() { return -1; }
3246 int GetVMin() { return -1; }
3247 int GetVMax() { return -1; }
3249 bool HasRudder() { return false; }
3250 bool HasZ() { return false; }
3251 bool HasU() { return false; }
3252 bool HasV() { return false; }
3253 bool HasPOV() { return false; }
3254 bool HasPOV4Dir() { return false; }
3255 bool HasPOVCTS() { return false; }
3257 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3258 bool ReleaseCapture() { return false; }
3263 #include <wx/sound.h>
3267 // A C++ stub class for wxWave for platforms that don't have it.
3268 class wxSound
: public wxObject
3272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3273 PyErr_SetString(PyExc_NotImplementedError
,
3274 "wxSound is not available on this platform.");
3275 wxPyEndBlockThreads(blocked
);
3277 wxSound(const wxString
&/*, bool*/) {
3278 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3279 PyErr_SetString(PyExc_NotImplementedError
,
3280 "wxSound is not available on this platform.");
3281 wxPyEndBlockThreads(blocked
);
3283 wxSound(int, const wxByte
*) {
3284 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3285 PyErr_SetString(PyExc_NotImplementedError
,
3286 "wxSound is not available on this platform.");
3287 wxPyEndBlockThreads(blocked
);
3292 bool Create(const wxString
&/*, bool*/) { return false; }
3293 bool Create(int, const wxByte
*) { return false; };
3294 bool IsOk() { return false; };
3295 bool Play(unsigned) const { return false; }
3296 static bool Play(const wxString
&, unsigned) { return false; }
3297 static void Stop() {}
3302 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3303 if (fileName
.Length() == 0)
3306 return new wxSound(fileName
);
3308 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3309 unsigned char* buffer
; int size
;
3310 wxSound
*sound
= NULL
;
3312 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3313 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3315 sound
= new wxSound(size
, buffer
);
3317 wxPyEndBlockThreads(blocked
);
3320 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3322 unsigned char* buffer
;
3326 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3327 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3329 rv
= self
->Create(size
, buffer
);
3331 wxPyEndBlockThreads(blocked
);
3334 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3335 PyErr_SetString(PyExc_NotImplementedError
,
3336 "Create from data is not available on this platform.");
3337 wxPyEndBlockThreads(blocked
);
3342 #include <wx/mimetype.h>
3344 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3346 if (self
->GetMimeType(&str
))
3347 return wx2PyString(str
);
3351 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3353 if (self
->GetMimeTypes(arr
))
3354 return wxArrayString2PyList_helper(arr
);
3358 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3360 if (self
->GetExtensions(arr
))
3361 return wxArrayString2PyList_helper(arr
);
3365 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3367 if (self
->GetIcon(&loc
))
3368 return new wxIcon(loc
);
3372 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3374 if (self
->GetIcon(&loc
)) {
3375 wxString iconFile
= loc
.GetFileName();
3378 iconIndex
= loc
.GetIndex();
3380 // Make a tuple and put the values in it
3381 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3382 PyObject
* tuple
= PyTuple_New(3);
3383 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3384 wxT("wxIcon"), true));
3385 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3386 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3387 wxPyEndBlockThreads(blocked
);
3393 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3395 if (self
->GetDescription(&str
))
3396 return wx2PyString(str
);
3400 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3402 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3403 return wx2PyString(str
);
3407 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3409 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3410 return wx2PyString(str
);
3414 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3415 wxArrayString verbs
;
3416 wxArrayString commands
;
3417 if (self
->GetAllCommands(&verbs
, &commands
,
3418 wxFileType::MessageParameters(filename
, mimetype
))) {
3419 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3420 PyObject
* tuple
= PyTuple_New(2);
3421 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3422 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3423 wxPyEndBlockThreads(blocked
);
3429 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3430 return wxFileType::ExpandCommand(command
,
3431 wxFileType::MessageParameters(filename
, mimetype
));
3433 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3435 self
->EnumAllFileTypes(arr
);
3436 return wxArrayString2PyList_helper(arr
);
3439 #include <wx/artprov.h>
3441 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3442 static const wxString
wxPyART_MENU(wxART_MENU
);
3443 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3444 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3445 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3446 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3447 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3448 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3449 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3450 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3451 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3452 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3453 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3454 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3455 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3456 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3457 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3458 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3459 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3460 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3461 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3462 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3463 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3464 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3465 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3466 static const wxString
wxPyART_HELP(wxART_HELP
);
3467 static const wxString
wxPyART_TIP(wxART_TIP
);
3468 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3469 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3470 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3471 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3472 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3473 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3474 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3475 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3476 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3477 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3478 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3479 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3480 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3481 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3482 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3483 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3484 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3485 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3486 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3487 static const wxString
wxPyART_COPY(wxART_COPY
);
3488 static const wxString
wxPyART_CUT(wxART_CUT
);
3489 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3490 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3491 static const wxString
wxPyART_NEW(wxART_NEW
);
3492 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3493 static const wxString
wxPyART_REDO(wxART_REDO
);
3494 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3495 static const wxString
wxPyART_FIND(wxART_FIND
);
3496 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3497 // Python aware wxArtProvider
3498 class wxPyArtProvider
: public wxArtProvider
{
3501 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3502 const wxArtClient
& client
,
3503 const wxSize
& size
) {
3504 wxBitmap rval
= wxNullBitmap
;
3505 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3506 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3507 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3511 s1
= wx2PyString(id
);
3512 s2
= wx2PyString(client
);
3513 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3518 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3523 wxPyEndBlockThreads(blocked
);
3530 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3534 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3535 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3536 PyObject
* ret
= PyTuple_New(3);
3538 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3539 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3540 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3542 wxPyEndBlockThreads(blocked
);
3546 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3551 cont
= self
->GetFirstGroup(value
, index
);
3552 return __EnumerationHelper(cont
, value
, index
);
3554 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3558 cont
= self
->GetNextGroup(value
, index
);
3559 return __EnumerationHelper(cont
, value
, index
);
3561 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3566 cont
= self
->GetFirstEntry(value
, index
);
3567 return __EnumerationHelper(cont
, value
, index
);
3569 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3573 cont
= self
->GetNextEntry(value
, index
);
3574 return __EnumerationHelper(cont
, value
, index
);
3576 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3578 self
->Read(key
, &rv
, defaultVal
);
3583 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3585 if (PyNumber_Check(obj
)) {
3586 if (val
) *val
= PyFloat_AsDouble(obj
);
3589 return SWIG_TypeError
;
3592 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3594 self
->Read(key
, &rv
, defaultVal
);
3598 #define SWIG_From_double PyFloat_FromDouble
3600 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3602 self
->Read(key
, &rv
, defaultVal
);
3606 #include <wx/datetime.h>
3608 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3609 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3611 #define LOCAL_TZ wxDateTime::Local
3613 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3616 wxDateTime::GetAmPmStrings(&am
, &pm
);
3617 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3618 PyObject
* tup
= PyTuple_New(2);
3619 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3620 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3621 wxPyEndBlockThreads(blocked
);
3625 SWIGINTERNINLINE PyObject
*
3626 SWIG_From_unsigned_SS_int (unsigned int value
)
3628 return SWIG_From_unsigned_SS_long (value
);
3631 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3632 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3633 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3634 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3635 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3636 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3637 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3638 return (*self
< *other
);
3640 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3641 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3642 return (*self
<= *other
);
3644 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3645 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3646 return (*self
> *other
);
3648 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3650 return (*self
>= *other
);
3652 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3654 return (*self
== *other
);
3656 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3658 return (*self
!= *other
);
3660 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3662 const wxChar
* _date
= date
;
3663 rv
= self
->ParseRfc822Date(_date
);
3664 if (rv
== NULL
) return -1;
3667 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3669 const wxChar
* _date
= date
;
3670 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3671 if (rv
== NULL
) return -1;
3674 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3676 const wxChar
* _datetime
= datetime
;
3677 rv
= self
->ParseDateTime(_datetime
);
3678 if (rv
== NULL
) return -1;
3679 return rv
- _datetime
;
3681 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3683 const wxChar
* _date
= date
;
3684 rv
= self
->ParseDate(_date
);
3685 if (rv
== NULL
) return -1;
3688 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3690 const wxChar
* _time
= time
;
3691 rv
= self
->ParseTime(_time
);
3692 if (rv
== NULL
) return -1;
3695 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3696 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3697 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3698 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3699 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3700 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3701 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3702 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3703 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3704 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3705 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3706 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3707 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3708 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3709 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3710 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3712 #include <wx/dataobj.h>
3714 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3715 size_t count
= self
->GetFormatCount(dir
);
3716 wxDataFormat
* formats
= new wxDataFormat
[count
];
3717 self
->GetAllFormats(formats
, dir
);
3719 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3720 PyObject
* list
= PyList_New(count
);
3721 for (size_t i
=0; i
<count
; i
++) {
3722 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3723 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3724 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3726 wxPyEndBlockThreads(blocked
);
3730 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3731 PyObject
* rval
= NULL
;
3732 size_t size
= self
->GetDataSize(format
);
3733 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3735 char* buf
= new char[size
];
3736 if (self
->GetDataHere(format
, buf
))
3737 rval
= PyString_FromStringAndSize(buf
, size
);
3744 wxPyEndBlockThreads(blocked
);
3747 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3749 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3750 if (PyString_Check(data
)) {
3751 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3754 // raise a TypeError if not a string
3755 PyErr_SetString(PyExc_TypeError
, "String expected.");
3758 wxPyEndBlockThreads(blocked
);
3761 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3762 PyObject
* rval
= NULL
;
3763 size_t size
= self
->GetDataSize();
3764 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3766 char* buf
= new char[size
];
3767 if (self
->GetDataHere(buf
))
3768 rval
= PyString_FromStringAndSize(buf
, size
);
3775 wxPyEndBlockThreads(blocked
);
3778 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3780 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3781 if (PyString_Check(data
)) {
3782 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3785 // raise a TypeError if not a string
3786 PyErr_SetString(PyExc_TypeError
, "String expected.");
3789 wxPyEndBlockThreads(blocked
);
3792 // Create a new class for wxPython to use
3793 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3795 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3796 : wxDataObjectSimple(format
) {}
3798 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3799 bool GetDataHere(void *buf
) const;
3800 bool SetData(size_t len
, const void *buf
) const;
3804 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3806 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3807 // We need to get the data for this object and write it to buf. I think
3808 // the best way to do this for wxPython is to have the Python method
3809 // return either a string or None and then act appropriately with the
3813 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3814 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3816 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3818 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3820 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3824 wxPyEndBlockThreads(blocked
);
3828 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3829 // For this one we simply need to make a string from buf and len
3830 // and send it to the Python method.
3832 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3833 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3834 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3835 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3838 wxPyEndBlockThreads(blocked
);
3842 // Create a new class for wxPython to use
3843 class wxPyTextDataObject
: public wxTextDataObject
{
3845 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3846 : wxTextDataObject(text
) {}
3848 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3849 DEC_PYCALLBACK_STRING__const(GetText
);
3850 DEC_PYCALLBACK__STRING(SetText
);
3854 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3855 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3856 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3859 // Create a new class for wxPython to use
3860 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3862 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3863 : wxBitmapDataObject(bitmap
) {}
3865 wxBitmap
GetBitmap() const;
3866 void SetBitmap(const wxBitmap
& bitmap
);
3870 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3871 wxBitmap
* rval
= &wxNullBitmap
;
3872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3873 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3876 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3878 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3883 wxPyEndBlockThreads(blocked
);
3887 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3888 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3889 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3890 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3891 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3894 wxPyEndBlockThreads(blocked
);
3897 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3898 return new wxCustomDataObject(wxDataFormat(formatName
));
3900 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3902 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3903 if (PyString_Check(data
)) {
3904 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3907 // raise a TypeError if not a string
3908 PyErr_SetString(PyExc_TypeError
, "String expected.");
3911 wxPyEndBlockThreads(blocked
);
3914 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3916 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3917 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3918 wxPyEndBlockThreads(blocked
);
3922 #include <wx/metafile.h>
3925 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3928 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3929 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3930 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3931 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3932 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3935 class wxPyTextDropTarget
: public wxTextDropTarget
{
3937 wxPyTextDropTarget() {}
3939 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3941 DEC_PYCALLBACK__(OnLeave
);
3942 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3943 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3944 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3945 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3950 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3951 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3952 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3953 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3954 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3955 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3959 class wxPyFileDropTarget
: public wxFileDropTarget
{
3961 wxPyFileDropTarget() {}
3963 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3965 DEC_PYCALLBACK__(OnLeave
);
3966 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3967 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3968 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3969 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3974 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3975 const wxArrayString
& filenames
) {
3977 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3978 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3979 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3980 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3983 wxPyEndBlockThreads(blocked
);
3989 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3990 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3991 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3992 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3993 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3998 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4000 #include <wx/display.h>
4002 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4003 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4006 const wxVideoMode wxDefaultVideoMode
;
4009 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4011 PyObject
* pyList
= NULL
;
4012 wxArrayVideoModes arr
= self
->GetModes(mode
);
4013 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4014 pyList
= PyList_New(0);
4015 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4017 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4018 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4019 PyList_Append(pyList
, pyObj
);
4022 wxPyEndBlockThreads(blocked
);
4025 wxPyRaiseNotImplemented();
4029 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4031 return self
->GetCurrentMode();
4033 wxPyRaiseNotImplemented();
4034 return wxDefaultVideoMode
;
4037 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4039 return self
->ChangeMode(mode
);
4041 wxPyRaiseNotImplemented();
4045 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4049 wxPyRaiseNotImplemented();
4053 #include <wx/stdpaths.h>
4055 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4056 return (wxStandardPaths
*) &wxStandardPaths::Get();
4058 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4059 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4063 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
= 0;
4065 wxSystemColour arg1
;
4069 PyObject
* obj0
= 0 ;
4070 char * kwnames
[] = {
4071 (char *) "index", NULL
4074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4076 if (!SWIG_IsOK(ecode1
)) {
4077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4079 arg1
= static_cast< wxSystemColour
>(val1
);
4081 if (!wxPyCheckForApp()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= wxSystemSettings::GetColour(arg1
);
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
= 0;
4100 PyObject
* obj0
= 0 ;
4101 char * kwnames
[] = {
4102 (char *) "index", NULL
4105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4107 if (!SWIG_IsOK(ecode1
)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4110 arg1
= static_cast< wxSystemFont
>(val1
);
4112 if (!wxPyCheckForApp()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 result
= wxSystemSettings::GetFont(arg1
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4125 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
= 0;
4127 wxSystemMetric arg1
;
4128 wxWindow
*arg2
= (wxWindow
*) NULL
;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4136 char * kwnames
[] = {
4137 (char *) "index",(char *) "win", NULL
4140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4142 if (!SWIG_IsOK(ecode1
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4145 arg1
= static_cast< wxSystemMetric
>(val1
);
4147 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4148 if (!SWIG_IsOK(res2
)) {
4149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4151 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4154 if (!wxPyCheckForApp()) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_From_int(static_cast< int >(result
));
4167 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 wxSystemFeature arg1
;
4173 PyObject
* obj0
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "index", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4179 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4180 if (!SWIG_IsOK(ecode1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4183 arg1
= static_cast< wxSystemFeature
>(val1
);
4185 if (!wxPyCheckForApp()) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4200 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4201 PyObject
*resultobj
= 0;
4202 wxSystemScreenType result
;
4204 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4206 if (!wxPyCheckForApp()) SWIG_fail
;
4207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_From_int(static_cast< int >(result
));
4219 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
= 0;
4221 wxSystemScreenType arg1
;
4224 PyObject
* obj0
= 0 ;
4225 char * kwnames
[] = {
4226 (char *) "screen", NULL
4229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4231 if (!SWIG_IsOK(ecode1
)) {
4232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4234 arg1
= static_cast< wxSystemScreenType
>(val1
);
4236 if (!wxPyCheckForApp()) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxSystemSettings::SetScreenType(arg1
);
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_Py_Void();
4249 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4252 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4253 return SWIG_Py_Void();
4256 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4257 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4262 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4263 PyObject
*pyobj
= 0;
4267 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4269 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4276 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4277 PyObject
*resultobj
= 0;
4278 wxSystemOptions
*result
= 0 ;
4280 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 result
= (wxSystemOptions
*)new wxSystemOptions();
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4294 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
= 0;
4296 wxString
*arg1
= 0 ;
4297 wxString
*arg2
= 0 ;
4298 bool temp1
= false ;
4299 bool temp2
= false ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 char * kwnames
[] = {
4303 (char *) "name",(char *) "value", NULL
4306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4308 arg1
= wxString_in_helper(obj0
);
4309 if (arg1
== NULL
) SWIG_fail
;
4313 arg2
= wxString_in_helper(obj1
);
4314 if (arg2
== NULL
) SWIG_fail
;
4318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4319 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_Py_Void();
4346 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
*resultobj
= 0;
4348 wxString
*arg1
= 0 ;
4350 bool temp1
= false ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4355 char * kwnames
[] = {
4356 (char *) "name",(char *) "value", NULL
4359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4361 arg1
= wxString_in_helper(obj0
);
4362 if (arg1
== NULL
) SWIG_fail
;
4365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4366 if (!SWIG_IsOK(ecode2
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4369 arg2
= static_cast< int >(val2
);
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxString
*arg1
= 0 ;
4395 bool temp1
= false ;
4396 PyObject
* obj0
= 0 ;
4397 char * kwnames
[] = {
4398 (char *) "name", NULL
4401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4403 arg1
= wxString_in_helper(obj0
);
4404 if (arg1
== NULL
) SWIG_fail
;
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4434 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
= 0;
4436 wxString
*arg1
= 0 ;
4438 bool temp1
= false ;
4439 PyObject
* obj0
= 0 ;
4440 char * kwnames
[] = {
4441 (char *) "name", NULL
4444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4446 arg1
= wxString_in_helper(obj0
);
4447 if (arg1
== NULL
) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= SWIG_From_int(static_cast< int >(result
));
4471 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
= 0;
4473 wxString
*arg1
= 0 ;
4475 bool temp1
= false ;
4476 PyObject
* obj0
= 0 ;
4477 char * kwnames
[] = {
4478 (char *) "name", NULL
4481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4483 arg1
= wxString_in_helper(obj0
);
4484 if (arg1
== NULL
) SWIG_fail
;
4488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4489 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4510 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
= 0;
4512 wxString
*arg1
= 0 ;
4514 bool temp1
= false ;
4515 PyObject
* obj0
= 0 ;
4516 char * kwnames
[] = {
4517 (char *) "name", NULL
4520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4522 arg1
= wxString_in_helper(obj0
);
4523 if (arg1
== NULL
) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4549 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4553 return SWIG_Py_Void();
4556 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4557 return SWIG_Python_InitShadowInstance(args
);
4560 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4561 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4566 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4567 PyObject
*pyobj
= 0;
4571 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4573 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4580 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4581 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4586 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4587 PyObject
*pyobj
= 0;
4591 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4593 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4600 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4601 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4606 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4607 PyObject
*pyobj
= 0;
4611 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4613 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4620 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4621 PyObject
*resultobj
= 0;
4624 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (long)wxNewId();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_From_long(static_cast< long >(result
));
4638 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4643 PyObject
* obj0
= 0 ;
4644 char * kwnames
[] = {
4648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4649 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4650 if (!SWIG_IsOK(ecode1
)) {
4651 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4653 arg1
= static_cast< long >(val1
);
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 resultobj
= SWIG_Py_Void();
4667 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4668 PyObject
*resultobj
= 0;
4671 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 result
= (long)wxGetCurrentId();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_From_long(static_cast< long >(result
));
4685 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
= 0;
4691 PyObject
* obj0
= 0 ;
4692 char * kwnames
[] = {
4696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4697 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4698 if (!SWIG_IsOK(ecode1
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4701 arg1
= static_cast< int >(val1
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (bool)wxIsStockID(arg1
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4717 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= 0;
4720 wxString
*arg2
= 0 ;
4724 bool temp2
= false ;
4725 PyObject
* obj0
= 0 ;
4726 PyObject
* obj1
= 0 ;
4727 char * kwnames
[] = {
4728 (char *) "id",(char *) "label", NULL
4731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4732 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4733 if (!SWIG_IsOK(ecode1
)) {
4734 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4736 arg1
= static_cast< int >(val1
);
4738 arg2
= wxString_in_helper(obj1
);
4739 if (arg2
== NULL
) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4765 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
= 0;
4768 bool arg2
= (bool) true ;
4769 wxString arg3
= (wxString
) wxPyEmptyString
;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4777 PyObject
* obj2
= 0 ;
4778 char * kwnames
[] = {
4779 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4784 if (!SWIG_IsOK(ecode1
)) {
4785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4787 arg1
= static_cast< int >(val1
);
4789 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4790 if (!SWIG_IsOK(ecode2
)) {
4791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4793 arg2
= static_cast< bool >(val2
);
4797 wxString
* sptr
= wxString_in_helper(obj2
);
4798 if (sptr
== NULL
) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4822 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4823 PyObject
*resultobj
= 0;
4825 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4827 if (!wxPyCheckForApp()) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_Py_Void();
4840 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4841 PyObject
*resultobj
= 0;
4843 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4845 if (!wxPyCheckForApp()) SWIG_fail
;
4846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 wxPyEndAllowThreads(__tstate
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 resultobj
= SWIG_Py_Void();
4858 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
= 0;
4860 bool arg1
= (bool) true ;
4864 PyObject
* obj0
= 0 ;
4865 char * kwnames
[] = {
4866 (char *) "resetTimer", NULL
4869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4871 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4872 if (!SWIG_IsOK(ecode1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4875 arg1
= static_cast< bool >(val1
);
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (long)wxGetElapsedTime(arg1
);
4880 wxPyEndAllowThreads(__tstate
);
4881 if (PyErr_Occurred()) SWIG_fail
;
4883 resultobj
= SWIG_From_long(static_cast< long >(result
));
4890 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4891 PyObject
*resultobj
= 0;
4894 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (bool)wxIsBusy();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4910 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4911 PyObject
*resultobj
= 0;
4914 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4934 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
= 0;
4936 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4937 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4939 bool temp1
= false ;
4940 PyObject
* obj0
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "command", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4948 arg1
= wxString_in_helper(obj0
);
4949 if (arg1
== NULL
) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)wxShell((wxString
const &)*arg1
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4976 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4977 PyObject
*resultobj
= 0;
4979 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_Py_Void();
4993 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4994 PyObject
*resultobj
= 0;
4995 int *arg1
= (int *) 0 ;
4996 int *arg2
= (int *) 0 ;
4999 int res1
= SWIG_TMPOBJ
;
5001 int res2
= SWIG_TMPOBJ
;
5005 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (int)wxGetOsVersion(arg1
,arg2
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_From_int(static_cast< int >(result
));
5013 if (SWIG_IsTmpObj(res1
)) {
5014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5016 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5019 if (SWIG_IsTmpObj(res2
)) {
5020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5022 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5031 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5032 PyObject
*resultobj
= 0;
5035 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= wxGetOsDescription();
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5055 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5056 PyObject
*resultobj
= 0;
5057 wxMemorySize result
;
5059 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= wxGetFreeMemory();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5073 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
= 0;
5075 wxShutdownFlags arg1
;
5079 PyObject
* obj0
= 0 ;
5080 char * kwnames
[] = {
5081 (char *) "wFlags", NULL
5084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5086 if (!SWIG_IsOK(ecode1
)) {
5087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5089 arg1
= static_cast< wxShutdownFlags
>(val1
);
5091 if (!wxPyCheckForApp()) SWIG_fail
;
5092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5093 result
= (bool)wxShutdown(arg1
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5106 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= 0;
5111 PyObject
* obj0
= 0 ;
5112 char * kwnames
[] = {
5113 (char *) "secs", NULL
5116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5118 if (!SWIG_IsOK(ecode1
)) {
5119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5121 arg1
= static_cast< int >(val1
);
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_Py_Void();
5135 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
= 0;
5137 unsigned long arg1
;
5138 unsigned long val1
;
5140 PyObject
* obj0
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "milliseconds", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5146 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5147 if (!SWIG_IsOK(ecode1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5150 arg1
= static_cast< unsigned long >(val1
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_Py_Void();
5164 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
= 0;
5166 unsigned long arg1
;
5167 unsigned long val1
;
5169 PyObject
* obj0
= 0 ;
5170 char * kwnames
[] = {
5171 (char *) "microseconds", NULL
5174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5175 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5176 if (!SWIG_IsOK(ecode1
)) {
5177 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5179 arg1
= static_cast< unsigned long >(val1
);
5181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_Py_Void();
5193 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
= 0;
5198 PyObject
* obj0
= 0 ;
5199 char * kwnames
[] = {
5200 (char *) "enable", NULL
5203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5204 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5205 if (!SWIG_IsOK(ecode1
)) {
5206 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5208 arg1
= static_cast< bool >(val1
);
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxEnableTopLevelWindows(arg1
);
5212 wxPyEndAllowThreads(__tstate
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5215 resultobj
= SWIG_Py_Void();
5222 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
= 0;
5224 wxString
*arg1
= 0 ;
5226 bool temp1
= false ;
5227 PyObject
* obj0
= 0 ;
5228 char * kwnames
[] = {
5232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5234 arg1
= wxString_in_helper(obj0
);
5235 if (arg1
== NULL
) SWIG_fail
;
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5265 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5266 PyObject
*resultobj
= 0;
5269 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= wxGetEmailAddress();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5280 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5289 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5290 PyObject
*resultobj
= 0;
5293 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= wxGetHostName();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5304 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5313 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5314 PyObject
*resultobj
= 0;
5317 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= wxGetFullHostName();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5337 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5338 PyObject
*resultobj
= 0;
5341 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= wxGetUserId();
5345 wxPyEndAllowThreads(__tstate
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5361 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5362 PyObject
*resultobj
= 0;
5365 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= wxGetUserName();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5385 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5386 PyObject
*resultobj
= 0;
5389 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= wxGetHomeDir();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5400 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5409 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
= 0;
5411 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5412 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5414 bool temp1
= false ;
5415 PyObject
* obj0
= 0 ;
5416 char * kwnames
[] = {
5417 (char *) "user", NULL
5420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5423 arg1
= wxString_in_helper(obj0
);
5424 if (arg1
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= wxGetUserHome((wxString
const &)*arg1
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5455 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5456 PyObject
*resultobj
= 0;
5457 unsigned long result
;
5459 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (unsigned long)wxGetProcessId();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5473 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5474 PyObject
*resultobj
= 0;
5476 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_Py_Void();
5490 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
= 0;
5492 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5493 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5494 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5496 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5497 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5498 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5499 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5500 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5501 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5502 int arg6
= (int) 0 ;
5503 wxWindow
*arg7
= (wxWindow
*) NULL
;
5504 int arg8
= (int) -1 ;
5505 int arg9
= (int) -1 ;
5507 bool temp1
= false ;
5508 bool temp2
= false ;
5509 bool temp3
= false ;
5510 bool temp4
= false ;
5511 bool temp5
= false ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 PyObject
* obj2
= 0 ;
5523 PyObject
* obj3
= 0 ;
5524 PyObject
* obj4
= 0 ;
5525 PyObject
* obj5
= 0 ;
5526 PyObject
* obj6
= 0 ;
5527 PyObject
* obj7
= 0 ;
5528 PyObject
* obj8
= 0 ;
5529 char * kwnames
[] = {
5530 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5536 arg1
= wxString_in_helper(obj0
);
5537 if (arg1
== NULL
) SWIG_fail
;
5543 arg2
= wxString_in_helper(obj1
);
5544 if (arg2
== NULL
) SWIG_fail
;
5550 arg3
= wxString_in_helper(obj2
);
5551 if (arg3
== NULL
) SWIG_fail
;
5557 arg4
= wxString_in_helper(obj3
);
5558 if (arg4
== NULL
) SWIG_fail
;
5564 arg5
= wxString_in_helper(obj4
);
5565 if (arg5
== NULL
) SWIG_fail
;
5570 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5571 if (!SWIG_IsOK(ecode6
)) {
5572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5574 arg6
= static_cast< int >(val6
);
5577 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5578 if (!SWIG_IsOK(res7
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5581 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5584 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5585 if (!SWIG_IsOK(ecode8
)) {
5586 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5588 arg8
= static_cast< int >(val8
);
5591 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5592 if (!SWIG_IsOK(ecode9
)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5595 arg9
= static_cast< int >(val9
);
5598 if (!wxPyCheckForApp()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5657 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxString
*arg1
= 0 ;
5660 wxString
*arg2
= 0 ;
5661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5663 wxWindow
*arg4
= (wxWindow
*) NULL
;
5665 bool temp1
= false ;
5666 bool temp2
= false ;
5667 bool temp3
= false ;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5672 PyObject
* obj2
= 0 ;
5673 PyObject
* obj3
= 0 ;
5674 char * kwnames
[] = {
5675 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5680 arg1
= wxString_in_helper(obj0
);
5681 if (arg1
== NULL
) SWIG_fail
;
5685 arg2
= wxString_in_helper(obj1
);
5686 if (arg2
== NULL
) SWIG_fail
;
5691 arg3
= wxString_in_helper(obj2
);
5692 if (arg3
== NULL
) SWIG_fail
;
5697 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5698 if (!SWIG_IsOK(res4
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5701 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5704 if (!wxPyCheckForApp()) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5747 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
= 0;
5749 wxString
*arg1
= 0 ;
5750 wxString
*arg2
= 0 ;
5751 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5753 wxWindow
*arg4
= (wxWindow
*) NULL
;
5755 bool temp1
= false ;
5756 bool temp2
= false ;
5757 bool temp3
= false ;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5762 PyObject
* obj2
= 0 ;
5763 PyObject
* obj3
= 0 ;
5764 char * kwnames
[] = {
5765 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5770 arg1
= wxString_in_helper(obj0
);
5771 if (arg1
== NULL
) SWIG_fail
;
5775 arg2
= wxString_in_helper(obj1
);
5776 if (arg2
== NULL
) SWIG_fail
;
5781 arg3
= wxString_in_helper(obj2
);
5782 if (arg3
== NULL
) SWIG_fail
;
5787 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5788 if (!SWIG_IsOK(res4
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5791 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5837 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= 0;
5839 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5840 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5841 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5842 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5843 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5844 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5845 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5846 wxWindow
*arg5
= (wxWindow
*) NULL
;
5848 bool temp1
= false ;
5849 bool temp2
= false ;
5855 PyObject
* obj0
= 0 ;
5856 PyObject
* obj1
= 0 ;
5857 PyObject
* obj2
= 0 ;
5858 PyObject
* obj3
= 0 ;
5859 PyObject
* obj4
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5867 arg1
= wxString_in_helper(obj0
);
5868 if (arg1
== NULL
) SWIG_fail
;
5874 arg2
= wxString_in_helper(obj1
);
5875 if (arg2
== NULL
) SWIG_fail
;
5880 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5881 if (!SWIG_IsOK(ecode3
)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5884 arg3
= static_cast< long >(val3
);
5889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5893 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5894 if (!SWIG_IsOK(res5
)) {
5895 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5897 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5900 if (!wxPyCheckForApp()) SWIG_fail
;
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5935 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5937 wxString
*arg1
= 0 ;
5938 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5939 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5940 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5941 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5942 wxWindow
*arg4
= (wxWindow
*) NULL
;
5943 int arg5
= (int) -1 ;
5944 int arg6
= (int) -1 ;
5945 bool arg7
= (bool) true ;
5947 bool temp1
= false ;
5948 bool temp2
= false ;
5949 bool temp3
= false ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 PyObject
* obj2
= 0 ;
5961 PyObject
* obj3
= 0 ;
5962 PyObject
* obj4
= 0 ;
5963 PyObject
* obj5
= 0 ;
5964 PyObject
* obj6
= 0 ;
5965 char * kwnames
[] = {
5966 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5971 arg1
= wxString_in_helper(obj0
);
5972 if (arg1
== NULL
) SWIG_fail
;
5977 arg2
= wxString_in_helper(obj1
);
5978 if (arg2
== NULL
) SWIG_fail
;
5984 arg3
= wxString_in_helper(obj2
);
5985 if (arg3
== NULL
) SWIG_fail
;
5990 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5991 if (!SWIG_IsOK(res4
)) {
5992 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
5994 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
5998 if (!SWIG_IsOK(ecode5
)) {
5999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6001 arg5
= static_cast< int >(val5
);
6004 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6005 if (!SWIG_IsOK(ecode6
)) {
6006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6008 arg6
= static_cast< int >(val6
);
6011 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6012 if (!SWIG_IsOK(ecode7
)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6015 arg7
= static_cast< bool >(val7
);
6018 if (!wxPyCheckForApp()) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6061 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
*resultobj
= 0;
6063 wxString
*arg1
= 0 ;
6064 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6065 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6066 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6067 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6068 wxWindow
*arg4
= (wxWindow
*) NULL
;
6070 bool temp1
= false ;
6071 bool temp2
= false ;
6072 bool temp3
= false ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6077 PyObject
* obj2
= 0 ;
6078 PyObject
* obj3
= 0 ;
6079 char * kwnames
[] = {
6080 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6085 arg1
= wxString_in_helper(obj0
);
6086 if (arg1
== NULL
) SWIG_fail
;
6091 arg2
= wxString_in_helper(obj1
);
6092 if (arg2
== NULL
) SWIG_fail
;
6098 arg3
= wxString_in_helper(obj2
);
6099 if (arg3
== NULL
) SWIG_fail
;
6104 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6105 if (!SWIG_IsOK(res4
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6108 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6111 if (!wxPyCheckForApp()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6154 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
= 0;
6156 wxString
*arg1
= 0 ;
6157 wxString
*arg2
= 0 ;
6159 wxString
*arg4
= (wxString
*) 0 ;
6160 wxWindow
*arg5
= (wxWindow
*) NULL
;
6161 int arg6
= (int) -1 ;
6162 int arg7
= (int) -1 ;
6163 bool arg8
= (bool) true ;
6164 int arg9
= (int) 150 ;
6165 int arg10
= (int) 200 ;
6167 bool temp1
= false ;
6168 bool temp2
= false ;
6181 PyObject
* obj0
= 0 ;
6182 PyObject
* obj1
= 0 ;
6183 PyObject
* obj2
= 0 ;
6184 PyObject
* obj3
= 0 ;
6185 PyObject
* obj4
= 0 ;
6186 PyObject
* obj5
= 0 ;
6187 PyObject
* obj6
= 0 ;
6188 PyObject
* obj7
= 0 ;
6189 PyObject
* obj8
= 0 ;
6190 char * kwnames
[] = {
6191 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6196 arg1
= wxString_in_helper(obj0
);
6197 if (arg1
== NULL
) SWIG_fail
;
6201 arg2
= wxString_in_helper(obj1
);
6202 if (arg2
== NULL
) SWIG_fail
;
6206 arg3
= PyList_Size(obj2
);
6207 arg4
= wxString_LIST_helper(obj2
);
6208 if (arg4
== NULL
) SWIG_fail
;
6211 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6212 if (!SWIG_IsOK(res5
)) {
6213 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6215 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6218 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6219 if (!SWIG_IsOK(ecode6
)) {
6220 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6222 arg6
= static_cast< int >(val6
);
6225 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6226 if (!SWIG_IsOK(ecode7
)) {
6227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6229 arg7
= static_cast< int >(val7
);
6232 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6233 if (!SWIG_IsOK(ecode8
)) {
6234 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6236 arg8
= static_cast< bool >(val8
);
6239 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6240 if (!SWIG_IsOK(ecode9
)) {
6241 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6243 arg9
= static_cast< int >(val9
);
6246 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6247 if (!SWIG_IsOK(ecode10
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6250 arg10
= static_cast< int >(val10
);
6253 if (!wxPyCheckForApp()) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6275 if (arg4
) delete [] arg4
;
6288 if (arg4
) delete [] arg4
;
6294 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
= 0;
6296 wxString
*arg1
= 0 ;
6297 wxString
*arg2
= 0 ;
6299 wxString
*arg4
= (wxString
*) 0 ;
6300 wxWindow
*arg5
= (wxWindow
*) NULL
;
6301 int arg6
= (int) -1 ;
6302 int arg7
= (int) -1 ;
6303 bool arg8
= (bool) true ;
6304 int arg9
= (int) 150 ;
6305 int arg10
= (int) 200 ;
6307 bool temp1
= false ;
6308 bool temp2
= false ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6324 PyObject
* obj3
= 0 ;
6325 PyObject
* obj4
= 0 ;
6326 PyObject
* obj5
= 0 ;
6327 PyObject
* obj6
= 0 ;
6328 PyObject
* obj7
= 0 ;
6329 PyObject
* obj8
= 0 ;
6330 char * kwnames
[] = {
6331 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6336 arg1
= wxString_in_helper(obj0
);
6337 if (arg1
== NULL
) SWIG_fail
;
6341 arg2
= wxString_in_helper(obj1
);
6342 if (arg2
== NULL
) SWIG_fail
;
6346 arg3
= PyList_Size(obj2
);
6347 arg4
= wxString_LIST_helper(obj2
);
6348 if (arg4
== NULL
) SWIG_fail
;
6351 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6352 if (!SWIG_IsOK(res5
)) {
6353 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6355 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6358 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6359 if (!SWIG_IsOK(ecode6
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6362 arg6
= static_cast< int >(val6
);
6365 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6366 if (!SWIG_IsOK(ecode7
)) {
6367 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6369 arg7
= static_cast< int >(val7
);
6372 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6373 if (!SWIG_IsOK(ecode8
)) {
6374 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6376 arg8
= static_cast< bool >(val8
);
6379 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6380 if (!SWIG_IsOK(ecode9
)) {
6381 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6383 arg9
= static_cast< int >(val9
);
6386 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6387 if (!SWIG_IsOK(ecode10
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6390 arg10
= static_cast< int >(val10
);
6393 if (!wxPyCheckForApp()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 resultobj
= SWIG_From_int(static_cast< int >(result
));
6409 if (arg4
) delete [] arg4
;
6422 if (arg4
) delete [] arg4
;
6428 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
= 0;
6430 wxString
*arg1
= 0 ;
6431 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6432 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6433 int arg3
= (int) wxOK
|wxCENTRE
;
6434 wxWindow
*arg4
= (wxWindow
*) NULL
;
6435 int arg5
= (int) -1 ;
6436 int arg6
= (int) -1 ;
6438 bool temp1
= false ;
6439 bool temp2
= false ;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6450 PyObject
* obj2
= 0 ;
6451 PyObject
* obj3
= 0 ;
6452 PyObject
* obj4
= 0 ;
6453 PyObject
* obj5
= 0 ;
6454 char * kwnames
[] = {
6455 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6460 arg1
= wxString_in_helper(obj0
);
6461 if (arg1
== NULL
) SWIG_fail
;
6466 arg2
= wxString_in_helper(obj1
);
6467 if (arg2
== NULL
) SWIG_fail
;
6472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6473 if (!SWIG_IsOK(ecode3
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6476 arg3
= static_cast< int >(val3
);
6479 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6480 if (!SWIG_IsOK(res4
)) {
6481 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6483 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6486 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6487 if (!SWIG_IsOK(ecode5
)) {
6488 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6490 arg5
= static_cast< int >(val5
);
6493 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6494 if (!SWIG_IsOK(ecode6
)) {
6495 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6497 arg6
= static_cast< int >(val6
);
6500 if (!wxPyCheckForApp()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int(static_cast< int >(result
));
6529 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6530 PyObject
*resultobj
= 0;
6533 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6535 if (!wxPyCheckForApp()) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)wxColourDisplay();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6550 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6551 PyObject
*resultobj
= 0;
6554 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6556 if (!wxPyCheckForApp()) SWIG_fail
;
6557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6558 result
= (int)wxDisplayDepth();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_From_int(static_cast< int >(result
));
6569 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6570 PyObject
*resultobj
= 0;
6573 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6575 if (!wxPyCheckForApp()) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 result
= (int)wxGetDisplayDepth();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_From_int(static_cast< int >(result
));
6588 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 int *arg1
= (int *) 0 ;
6591 int *arg2
= (int *) 0 ;
6593 int res1
= SWIG_TMPOBJ
;
6595 int res2
= SWIG_TMPOBJ
;
6599 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6601 if (!wxPyCheckForApp()) SWIG_fail
;
6602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6603 wxDisplaySize(arg1
,arg2
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6608 if (SWIG_IsTmpObj(res1
)) {
6609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6611 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6614 if (SWIG_IsTmpObj(res2
)) {
6615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6617 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6626 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6627 PyObject
*resultobj
= 0;
6630 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6632 if (!wxPyCheckForApp()) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= wxGetDisplaySize();
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6645 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6646 PyObject
*resultobj
= 0;
6647 int *arg1
= (int *) 0 ;
6648 int *arg2
= (int *) 0 ;
6650 int res1
= SWIG_TMPOBJ
;
6652 int res2
= SWIG_TMPOBJ
;
6656 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6658 if (!wxPyCheckForApp()) SWIG_fail
;
6659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6660 wxDisplaySizeMM(arg1
,arg2
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_Py_Void();
6665 if (SWIG_IsTmpObj(res1
)) {
6666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6668 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6671 if (SWIG_IsTmpObj(res2
)) {
6672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6674 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6683 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6684 PyObject
*resultobj
= 0;
6687 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6689 if (!wxPyCheckForApp()) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= wxGetDisplaySizeMM();
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6702 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6703 PyObject
*resultobj
= 0;
6704 int *arg1
= (int *) 0 ;
6705 int *arg2
= (int *) 0 ;
6706 int *arg3
= (int *) 0 ;
6707 int *arg4
= (int *) 0 ;
6709 int res1
= SWIG_TMPOBJ
;
6711 int res2
= SWIG_TMPOBJ
;
6713 int res3
= SWIG_TMPOBJ
;
6715 int res4
= SWIG_TMPOBJ
;
6721 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6723 if (!wxPyCheckForApp()) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 resultobj
= SWIG_Py_Void();
6730 if (SWIG_IsTmpObj(res1
)) {
6731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6733 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6736 if (SWIG_IsTmpObj(res2
)) {
6737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6739 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6742 if (SWIG_IsTmpObj(res3
)) {
6743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6745 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6748 if (SWIG_IsTmpObj(res4
)) {
6749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6751 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6760 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6761 PyObject
*resultobj
= 0;
6764 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6766 if (!wxPyCheckForApp()) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= wxGetClientDisplayRect();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6779 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxCursor
*arg1
= 0 ;
6784 PyObject
* obj0
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "cursor", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6797 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6799 if (!wxPyCheckForApp()) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_Py_Void();
6812 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6813 PyObject
*resultobj
= 0;
6816 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6818 if (!wxPyCheckForApp()) SWIG_fail
;
6819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6820 result
= (void *)wxGetXDisplay();
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6831 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
= 0;
6833 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6836 PyObject
* obj0
= 0 ;
6837 char * kwnames
[] = {
6838 (char *) "cursor", NULL
6841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6847 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6850 if (!wxPyCheckForApp()) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 wxBeginBusyCursor(arg1
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_Py_Void();
6863 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6864 PyObject
*resultobj
= 0;
6867 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= wxGetMousePosition();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6882 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6883 PyObject
*resultobj
= 0;
6884 wxWindow
*result
= 0 ;
6886 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6888 if (!wxPyCheckForApp()) SWIG_fail
;
6889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6890 result
= (wxWindow
*)FindWindowAtPointer();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 resultobj
= wxPyMake_wxObject(result
, 0);
6903 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6904 PyObject
*resultobj
= 0;
6905 wxWindow
*result
= 0 ;
6907 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6909 if (!wxPyCheckForApp()) SWIG_fail
;
6910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 result
= (wxWindow
*)wxGetActiveWindow();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6916 resultobj
= wxPyMake_wxObject(result
, 0);
6924 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6927 wxWindow
*result
= 0 ;
6929 PyObject
* obj0
= 0 ;
6930 char * kwnames
[] = {
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6937 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6940 if (!wxPyCheckForApp()) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= wxPyMake_wxObject(result
, 0);
6955 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
= 0;
6958 wxWindow
*result
= 0 ;
6960 PyObject
* obj0
= 0 ;
6961 char * kwnames
[] = {
6965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6968 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6971 if (!wxPyCheckForApp()) SWIG_fail
;
6972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= wxPyMake_wxObject(result
, 0);
6986 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
= 0;
6988 wxWindow
*arg1
= (wxWindow
*) 0 ;
6989 wxWindow
*result
= 0 ;
6992 PyObject
* obj0
= 0 ;
6993 char * kwnames
[] = {
6994 (char *) "win", NULL
6997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
6998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6999 if (!SWIG_IsOK(res1
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7004 if (!wxPyCheckForApp()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= wxPyMake_wxObject(result
, 0);
7019 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
= 0;
7021 wxString
*arg1
= 0 ;
7023 bool temp1
= false ;
7024 PyObject
* obj0
= 0 ;
7025 char * kwnames
[] = {
7026 (char *) "url", NULL
7029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7031 arg1
= wxString_in_helper(obj0
);
7032 if (arg1
== NULL
) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7058 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7064 PyObject
* obj0
= 0 ;
7065 char * kwnames
[] = {
7066 (char *) "key", NULL
7069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7070 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7071 if (!SWIG_IsOK(ecode1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7074 arg1
= static_cast< wxKeyCode
>(val1
);
7076 if (!wxPyCheckForApp()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (bool)wxGetKeyState(arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7091 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7092 PyObject
*resultobj
= 0;
7093 wxMouseState
*result
= 0 ;
7095 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxMouseState
*)new wxMouseState();
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7109 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7110 PyObject
*resultobj
= 0;
7111 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7114 PyObject
*swig_obj
[1] ;
7116 if (!args
) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7122 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_Py_Void();
7137 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7138 PyObject
*resultobj
= 0;
7139 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7143 PyObject
*swig_obj
[1] ;
7145 if (!args
) SWIG_fail
;
7147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7148 if (!SWIG_IsOK(res1
)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7151 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (int)(arg1
)->GetX();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_From_int(static_cast< int >(result
));
7165 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7166 PyObject
*resultobj
= 0;
7167 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7171 PyObject
*swig_obj
[1] ;
7173 if (!args
) SWIG_fail
;
7175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7176 if (!SWIG_IsOK(res1
)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7179 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (int)(arg1
)->GetY();
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_From_int(static_cast< int >(result
));
7193 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7194 PyObject
*resultobj
= 0;
7195 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7199 PyObject
*swig_obj
[1] ;
7201 if (!args
) SWIG_fail
;
7203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7204 if (!SWIG_IsOK(res1
)) {
7205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7207 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (bool)(arg1
)->LeftDown();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7223 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7224 PyObject
*resultobj
= 0;
7225 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7229 PyObject
*swig_obj
[1] ;
7231 if (!args
) SWIG_fail
;
7233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7234 if (!SWIG_IsOK(res1
)) {
7235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7237 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= (bool)(arg1
)->MiddleDown();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7253 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7254 PyObject
*resultobj
= 0;
7255 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7267 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (bool)(arg1
)->RightDown();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7284 PyObject
*resultobj
= 0;
7285 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7289 PyObject
*swig_obj
[1] ;
7291 if (!args
) SWIG_fail
;
7293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7294 if (!SWIG_IsOK(res1
)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7297 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 result
= (bool)(arg1
)->ControlDown();
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7313 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7314 PyObject
*resultobj
= 0;
7315 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7319 PyObject
*swig_obj
[1] ;
7321 if (!args
) SWIG_fail
;
7323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7324 if (!SWIG_IsOK(res1
)) {
7325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7327 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 result
= (bool)(arg1
)->ShiftDown();
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7343 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7357 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)(arg1
)->AltDown();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7374 PyObject
*resultobj
= 0;
7375 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7379 PyObject
*swig_obj
[1] ;
7381 if (!args
) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7387 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)(arg1
)->MetaDown();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7403 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7417 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->CmdDown();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7433 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= 0;
7435 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7443 char * kwnames
[] = {
7444 (char *) "self",(char *) "x", NULL
7447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7449 if (!SWIG_IsOK(res1
)) {
7450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7452 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7454 if (!SWIG_IsOK(ecode2
)) {
7455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7457 arg2
= static_cast< int >(val2
);
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= SWIG_Py_Void();
7471 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
= 0;
7473 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7481 char * kwnames
[] = {
7482 (char *) "self",(char *) "y", NULL
7485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7487 if (!SWIG_IsOK(res1
)) {
7488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7490 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7492 if (!SWIG_IsOK(ecode2
)) {
7493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7495 arg2
= static_cast< int >(val2
);
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_Py_Void();
7509 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 char * kwnames
[] = {
7520 (char *) "self",(char *) "down", NULL
7523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7528 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7529 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7530 if (!SWIG_IsOK(ecode2
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7533 arg2
= static_cast< bool >(val2
);
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 (arg1
)->SetLeftDown(arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_Py_Void();
7547 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
= 0;
7549 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7556 PyObject
* obj1
= 0 ;
7557 char * kwnames
[] = {
7558 (char *) "self",(char *) "down", NULL
7561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7563 if (!SWIG_IsOK(res1
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7566 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7567 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7568 if (!SWIG_IsOK(ecode2
)) {
7569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7571 arg2
= static_cast< bool >(val2
);
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7574 (arg1
)->SetMiddleDown(arg2
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_Py_Void();
7585 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
= 0;
7587 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7594 PyObject
* obj1
= 0 ;
7595 char * kwnames
[] = {
7596 (char *) "self",(char *) "down", NULL
7599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7601 if (!SWIG_IsOK(res1
)) {
7602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7604 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7605 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7606 if (!SWIG_IsOK(ecode2
)) {
7607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7609 arg2
= static_cast< bool >(val2
);
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 (arg1
)->SetRightDown(arg2
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7616 resultobj
= SWIG_Py_Void();
7623 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
= 0;
7625 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7633 char * kwnames
[] = {
7634 (char *) "self",(char *) "down", NULL
7637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7639 if (!SWIG_IsOK(res1
)) {
7640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7642 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7644 if (!SWIG_IsOK(ecode2
)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7647 arg2
= static_cast< bool >(val2
);
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 (arg1
)->SetControlDown(arg2
);
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= SWIG_Py_Void();
7661 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
= 0;
7663 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 char * kwnames
[] = {
7672 (char *) "self",(char *) "down", NULL
7675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7677 if (!SWIG_IsOK(res1
)) {
7678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7680 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7681 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7682 if (!SWIG_IsOK(ecode2
)) {
7683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7685 arg2
= static_cast< bool >(val2
);
7687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7688 (arg1
)->SetShiftDown(arg2
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_Py_Void();
7699 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7700 PyObject
*resultobj
= 0;
7701 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 char * kwnames
[] = {
7710 (char *) "self",(char *) "down", NULL
7713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7715 if (!SWIG_IsOK(res1
)) {
7716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7718 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7719 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7720 if (!SWIG_IsOK(ecode2
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7723 arg2
= static_cast< bool >(val2
);
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 (arg1
)->SetAltDown(arg2
);
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= SWIG_Py_Void();
7737 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
= 0;
7739 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7745 PyObject
* obj0
= 0 ;
7746 PyObject
* obj1
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "self",(char *) "down", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7756 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7758 if (!SWIG_IsOK(ecode2
)) {
7759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7761 arg2
= static_cast< bool >(val2
);
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 (arg1
)->SetMetaDown(arg2
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7768 resultobj
= SWIG_Py_Void();
7775 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7778 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7779 return SWIG_Py_Void();
7782 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7783 return SWIG_Python_InitShadowInstance(args
);
7786 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7787 PyObject
*resultobj
= 0;
7788 wxMouseState result
;
7790 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= wxGetMouseState();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7804 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7805 PyObject
*resultobj
= 0;
7807 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7809 if (!wxPyCheckForApp()) SWIG_fail
;
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 wxWakeUpMainThread();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_Py_Void();
7822 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7825 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7827 if (!wxPyCheckForApp()) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_Py_Void();
7840 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 PyObject
*resultobj
= 0;
7843 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7845 if (!wxPyCheckForApp()) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxPyEndAllowThreads(__tstate
);
7849 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= SWIG_Py_Void();
7858 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7859 PyObject
*resultobj
= 0;
7860 wxMutexGuiLocker
*result
= 0 ;
7862 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7864 if (!wxPyCheckForApp()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7877 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7878 PyObject
*resultobj
= 0;
7879 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7882 PyObject
*swig_obj
[1] ;
7884 if (!args
) SWIG_fail
;
7886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7887 if (!SWIG_IsOK(res1
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7890 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= SWIG_Py_Void();
7905 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7908 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7909 return SWIG_Py_Void();
7912 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7913 return SWIG_Python_InitShadowInstance(args
);
7916 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7917 PyObject
*resultobj
= 0;
7920 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)wxThread_IsMain();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7936 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
= 0;
7938 wxString
*arg1
= 0 ;
7939 wxToolTip
*result
= 0 ;
7940 bool temp1
= false ;
7941 PyObject
* obj0
= 0 ;
7942 char * kwnames
[] = {
7943 (char *) "tip", NULL
7946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7948 arg1
= wxString_in_helper(obj0
);
7949 if (arg1
== NULL
) SWIG_fail
;
7953 if (!wxPyCheckForApp()) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7974 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7976 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7979 PyObject
*swig_obj
[1] ;
7981 if (!args
) SWIG_fail
;
7983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7984 if (!SWIG_IsOK(res1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
7987 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_Py_Void();
8002 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
= 0;
8004 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8005 wxString
*arg2
= 0 ;
8008 bool temp2
= false ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "self",(char *) "tip", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8020 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8022 arg2
= wxString_in_helper(obj1
);
8023 if (arg2
== NULL
) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->SetTip((wxString
const &)*arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_Py_Void();
8047 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8048 PyObject
*resultobj
= 0;
8049 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8053 PyObject
*swig_obj
[1] ;
8055 if (!args
) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8061 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (arg1
)->GetTip();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8081 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8082 PyObject
*resultobj
= 0;
8083 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8084 wxWindow
*result
= 0 ;
8087 PyObject
*swig_obj
[1] ;
8089 if (!args
) SWIG_fail
;
8091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8092 if (!SWIG_IsOK(res1
)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8095 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 result
= (wxWindow
*)(arg1
)->GetWindow();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= wxPyMake_wxObject(result
, 0);
8111 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
= 0;
8116 PyObject
* obj0
= 0 ;
8117 char * kwnames
[] = {
8118 (char *) "flag", NULL
8121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8122 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8123 if (!SWIG_IsOK(ecode1
)) {
8124 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8126 arg1
= static_cast< bool >(val1
);
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxToolTip::Enable(arg1
);
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_Py_Void();
8140 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
= 0;
8145 PyObject
* obj0
= 0 ;
8146 char * kwnames
[] = {
8147 (char *) "milliseconds", NULL
8150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8151 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8152 if (!SWIG_IsOK(ecode1
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8155 arg1
= static_cast< long >(val1
);
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 wxToolTip::SetDelay(arg1
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_Py_Void();
8169 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8171 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8172 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8173 return SWIG_Py_Void();
8176 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8177 return SWIG_Python_InitShadowInstance(args
);
8180 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
= 0;
8182 wxWindow
*arg1
= (wxWindow
*) 0 ;
8184 wxCaret
*result
= 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8190 char * kwnames
[] = {
8191 (char *) "window",(char *) "size", NULL
8194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8196 if (!SWIG_IsOK(res1
)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8202 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8205 if (!wxPyCheckForApp()) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8218 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8219 PyObject
*resultobj
= 0;
8220 wxCaret
*arg1
= (wxCaret
*) 0 ;
8223 PyObject
*swig_obj
[1] ;
8225 if (!args
) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8231 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_Py_Void();
8246 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8247 PyObject
*resultobj
= 0;
8248 wxCaret
*arg1
= (wxCaret
*) 0 ;
8251 PyObject
*swig_obj
[1] ;
8253 if (!args
) SWIG_fail
;
8255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8256 if (!SWIG_IsOK(res1
)) {
8257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8259 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxCaret_Destroy(arg1
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_Py_Void();
8273 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8274 PyObject
*resultobj
= 0;
8275 wxCaret
*arg1
= (wxCaret
*) 0 ;
8279 PyObject
*swig_obj
[1] ;
8281 if (!args
) SWIG_fail
;
8283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8284 if (!SWIG_IsOK(res1
)) {
8285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8287 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 result
= (bool)(arg1
)->IsOk();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8303 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8304 PyObject
*resultobj
= 0;
8305 wxCaret
*arg1
= (wxCaret
*) 0 ;
8309 PyObject
*swig_obj
[1] ;
8311 if (!args
) SWIG_fail
;
8313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8314 if (!SWIG_IsOK(res1
)) {
8315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8317 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8320 result
= (bool)(arg1
)->IsVisible();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8333 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8334 PyObject
*resultobj
= 0;
8335 wxCaret
*arg1
= (wxCaret
*) 0 ;
8339 PyObject
*swig_obj
[1] ;
8341 if (!args
) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8347 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= (arg1
)->GetPosition();
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8362 PyObject
*resultobj
= 0;
8363 wxCaret
*arg1
= (wxCaret
*) 0 ;
8364 int *arg2
= (int *) 0 ;
8365 int *arg3
= (int *) 0 ;
8369 int res2
= SWIG_TMPOBJ
;
8371 int res3
= SWIG_TMPOBJ
;
8372 PyObject
*swig_obj
[1] ;
8376 if (!args
) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8382 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 (arg1
)->GetPosition(arg2
,arg3
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8390 if (SWIG_IsTmpObj(res2
)) {
8391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8393 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8396 if (SWIG_IsTmpObj(res3
)) {
8397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8399 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8408 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8409 PyObject
*resultobj
= 0;
8410 wxCaret
*arg1
= (wxCaret
*) 0 ;
8414 PyObject
*swig_obj
[1] ;
8416 if (!args
) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8422 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (arg1
)->GetSize();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8436 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxCaret
*arg1
= (wxCaret
*) 0 ;
8439 int *arg2
= (int *) 0 ;
8440 int *arg3
= (int *) 0 ;
8444 int res2
= SWIG_TMPOBJ
;
8446 int res3
= SWIG_TMPOBJ
;
8447 PyObject
*swig_obj
[1] ;
8451 if (!args
) SWIG_fail
;
8453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8454 if (!SWIG_IsOK(res1
)) {
8455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8457 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 (arg1
)->GetSize(arg2
,arg3
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_Py_Void();
8465 if (SWIG_IsTmpObj(res2
)) {
8466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8468 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8471 if (SWIG_IsTmpObj(res3
)) {
8472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8474 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8483 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 PyObject
*resultobj
= 0;
8485 wxCaret
*arg1
= (wxCaret
*) 0 ;
8486 wxWindow
*result
= 0 ;
8489 PyObject
*swig_obj
[1] ;
8491 if (!args
) SWIG_fail
;
8493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8494 if (!SWIG_IsOK(res1
)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8497 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (wxWindow
*)(arg1
)->GetWindow();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= wxPyMake_wxObject(result
, 0);
8513 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= 0;
8515 wxCaret
*arg1
= (wxCaret
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8525 PyObject
* obj1
= 0 ;
8526 PyObject
* obj2
= 0 ;
8527 char * kwnames
[] = {
8528 (char *) "self",(char *) "x",(char *) "y", NULL
8531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8533 if (!SWIG_IsOK(res1
)) {
8534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8536 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8538 if (!SWIG_IsOK(ecode2
)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8541 arg2
= static_cast< int >(val2
);
8542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8543 if (!SWIG_IsOK(ecode3
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8546 arg3
= static_cast< int >(val3
);
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 (arg1
)->Move(arg2
,arg3
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxCaret
*arg1
= (wxCaret
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8568 PyObject
* obj1
= 0 ;
8569 char * kwnames
[] = {
8570 (char *) "self",(char *) "pt", NULL
8573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8578 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8581 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 (arg1
)->Move((wxPoint
const &)*arg2
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_Py_Void();
8596 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
= 0;
8598 wxCaret
*arg1
= (wxCaret
*) 0 ;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8610 char * kwnames
[] = {
8611 (char *) "self",(char *) "width",(char *) "height", NULL
8614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8616 if (!SWIG_IsOK(res1
)) {
8617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8619 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8620 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8621 if (!SWIG_IsOK(ecode2
)) {
8622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8624 arg2
= static_cast< int >(val2
);
8625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8626 if (!SWIG_IsOK(ecode3
)) {
8627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8629 arg3
= static_cast< int >(val3
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 (arg1
)->SetSize(arg2
,arg3
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_Py_Void();
8643 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxCaret
*arg1
= (wxCaret
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 char * kwnames
[] = {
8653 (char *) "self",(char *) "size", NULL
8656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8658 if (!SWIG_IsOK(res1
)) {
8659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8661 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 (arg1
)->SetSize((wxSize
const &)*arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_Py_Void();
8679 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
= 0;
8681 wxCaret
*arg1
= (wxCaret
*) 0 ;
8682 int arg2
= (int) true ;
8687 PyObject
* obj0
= 0 ;
8688 PyObject
* obj1
= 0 ;
8689 char * kwnames
[] = {
8690 (char *) "self",(char *) "show", NULL
8693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8695 if (!SWIG_IsOK(res1
)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8698 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8701 if (!SWIG_IsOK(ecode2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8704 arg2
= static_cast< int >(val2
);
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_Py_Void();
8719 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8720 PyObject
*resultobj
= 0;
8721 wxCaret
*arg1
= (wxCaret
*) 0 ;
8724 PyObject
*swig_obj
[1] ;
8726 if (!args
) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8732 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8747 PyObject
*resultobj
= 0;
8750 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (int)wxCaret::GetBlinkTime();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_From_int(static_cast< int >(result
));
8764 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= 0;
8769 PyObject
* obj0
= 0 ;
8770 char * kwnames
[] = {
8771 (char *) "milliseconds", NULL
8774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8776 if (!SWIG_IsOK(ecode1
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8779 arg1
= static_cast< int >(val1
);
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 wxCaret::SetBlinkTime(arg1
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_Py_Void();
8793 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8795 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8796 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8797 return SWIG_Py_Void();
8800 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8801 return SWIG_Python_InitShadowInstance(args
);
8804 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
= 0;
8806 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8807 wxBusyCursor
*result
= 0 ;
8810 PyObject
* obj0
= 0 ;
8811 char * kwnames
[] = {
8812 (char *) "cursor", NULL
8815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8818 if (!SWIG_IsOK(res1
)) {
8819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8821 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8837 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8838 PyObject
*resultobj
= 0;
8839 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8842 PyObject
*swig_obj
[1] ;
8844 if (!args
) SWIG_fail
;
8846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8847 if (!SWIG_IsOK(res1
)) {
8848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8850 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= SWIG_Py_Void();
8865 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8868 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8869 return SWIG_Py_Void();
8872 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8873 return SWIG_Python_InitShadowInstance(args
);
8876 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
= 0;
8878 wxWindow
*arg1
= (wxWindow
*) NULL
;
8879 wxWindowDisabler
*result
= 0 ;
8882 PyObject
* obj0
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "winToSkip", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8890 if (!SWIG_IsOK(res1
)) {
8891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8896 if (!wxPyCheckForApp()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8909 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8910 PyObject
*resultobj
= 0;
8911 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8914 PyObject
*swig_obj
[1] ;
8916 if (!args
) SWIG_fail
;
8918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8919 if (!SWIG_IsOK(res1
)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8922 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_Py_Void();
8937 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8940 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8941 return SWIG_Py_Void();
8944 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 return SWIG_Python_InitShadowInstance(args
);
8948 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
= 0;
8950 wxString
*arg1
= 0 ;
8951 wxBusyInfo
*result
= 0 ;
8952 bool temp1
= false ;
8953 PyObject
* obj0
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "message", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8960 arg1
= wxString_in_helper(obj0
);
8961 if (arg1
== NULL
) SWIG_fail
;
8965 if (!wxPyCheckForApp()) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
8986 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8987 PyObject
*resultobj
= 0;
8988 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
8991 PyObject
*swig_obj
[1] ;
8993 if (!args
) SWIG_fail
;
8995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
8996 if (!SWIG_IsOK(res1
)) {
8997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
8999 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_Py_Void();
9014 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9017 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9018 return SWIG_Py_Void();
9021 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9022 return SWIG_Python_InitShadowInstance(args
);
9025 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9026 PyObject
*resultobj
= 0;
9027 wxStopWatch
*result
= 0 ;
9029 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (wxStopWatch
*)new wxStopWatch();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9043 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= 0;
9045 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9046 long arg2
= (long) 0 ;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 char * kwnames
[] = {
9054 (char *) "self",(char *) "t0", NULL
9057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9059 if (!SWIG_IsOK(res1
)) {
9060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9062 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9064 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9065 if (!SWIG_IsOK(ecode2
)) {
9066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9068 arg2
= static_cast< long >(val2
);
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 (arg1
)->Start(arg2
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 resultobj
= SWIG_Py_Void();
9083 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 PyObject
*resultobj
= 0;
9085 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9088 PyObject
*swig_obj
[1] ;
9090 if (!args
) SWIG_fail
;
9092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9093 if (!SWIG_IsOK(res1
)) {
9094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9096 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_Py_Void();
9110 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9111 PyObject
*resultobj
= 0;
9112 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9115 PyObject
*swig_obj
[1] ;
9117 if (!args
) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9123 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_Py_Void();
9137 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 PyObject
*resultobj
= 0;
9139 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9143 PyObject
*swig_obj
[1] ;
9145 if (!args
) SWIG_fail
;
9147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9148 if (!SWIG_IsOK(res1
)) {
9149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9151 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_From_long(static_cast< long >(result
));
9165 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9167 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9168 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9169 return SWIG_Py_Void();
9172 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9173 return SWIG_Python_InitShadowInstance(args
);
9176 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
= 0;
9178 int arg1
= (int) 9 ;
9179 int arg2
= (int) wxID_FILE1
;
9180 wxFileHistory
*result
= 0 ;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "maxFiles",(char *) "idBase", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9193 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9194 if (!SWIG_IsOK(ecode1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9197 arg1
= static_cast< int >(val1
);
9200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9201 if (!SWIG_IsOK(ecode2
)) {
9202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9204 arg2
= static_cast< int >(val2
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9219 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9220 PyObject
*resultobj
= 0;
9221 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9224 PyObject
*swig_obj
[1] ;
9226 if (!args
) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9232 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9240 resultobj
= SWIG_Py_Void();
9247 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
*resultobj
= 0;
9249 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9250 wxString
*arg2
= 0 ;
9253 bool temp2
= false ;
9254 PyObject
* obj0
= 0 ;
9255 PyObject
* obj1
= 0 ;
9256 char * kwnames
[] = {
9257 (char *) "self",(char *) "file", NULL
9260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9262 if (!SWIG_IsOK(res1
)) {
9263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9265 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9267 arg2
= wxString_in_helper(obj1
);
9268 if (arg2
== NULL
) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= SWIG_Py_Void();
9292 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
= 0;
9294 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9301 PyObject
* obj1
= 0 ;
9302 char * kwnames
[] = {
9303 (char *) "self",(char *) "i", NULL
9306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9308 if (!SWIG_IsOK(res1
)) {
9309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9311 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9313 if (!SWIG_IsOK(ecode2
)) {
9314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9316 arg2
= static_cast< int >(val2
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 (arg1
)->RemoveFileFromHistory(arg2
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9330 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9331 PyObject
*resultobj
= 0;
9332 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9336 PyObject
*swig_obj
[1] ;
9338 if (!args
) SWIG_fail
;
9340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9341 if (!SWIG_IsOK(res1
)) {
9342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9344 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int(static_cast< int >(result
));
9358 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= 0;
9360 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9361 wxMenu
*arg2
= (wxMenu
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "menu", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9377 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9379 if (!SWIG_IsOK(res2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9382 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->UseMenu(arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9396 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9399 wxMenu
*arg2
= (wxMenu
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "menu", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9415 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9416 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9417 if (!SWIG_IsOK(res2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9420 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->RemoveMenu(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9434 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9437 wxConfigBase
*arg2
= 0 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "config", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9453 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9454 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9455 if (!SWIG_IsOK(res2
)) {
9456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9459 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9461 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 (arg1
)->Load(*arg2
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_Py_Void();
9475 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
= 0;
9477 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9478 wxConfigBase
*arg2
= 0 ;
9483 PyObject
* obj0
= 0 ;
9484 PyObject
* obj1
= 0 ;
9485 char * kwnames
[] = {
9486 (char *) "self",(char *) "config", NULL
9489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9494 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9496 if (!SWIG_IsOK(res2
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9502 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->Save(*arg2
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_Py_Void();
9516 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9517 PyObject
*resultobj
= 0;
9518 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9521 PyObject
*swig_obj
[1] ;
9523 if (!args
) SWIG_fail
;
9525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9526 if (!SWIG_IsOK(res1
)) {
9527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9529 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 (arg1
)->AddFilesToMenu();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= SWIG_Py_Void();
9543 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9544 PyObject
*resultobj
= 0;
9545 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9546 wxMenu
*arg2
= (wxMenu
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9553 char * kwnames
[] = {
9554 (char *) "self",(char *) "menu", NULL
9557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9559 if (!SWIG_IsOK(res1
)) {
9560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9562 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9564 if (!SWIG_IsOK(res2
)) {
9565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9567 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 (arg1
)->AddFilesToMenu(arg2
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9574 resultobj
= SWIG_Py_Void();
9581 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9582 PyObject
*resultobj
= 0;
9583 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "self",(char *) "i", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9601 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9626 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9627 PyObject
*resultobj
= 0;
9628 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9632 PyObject
*swig_obj
[1] ;
9634 if (!args
) SWIG_fail
;
9636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9637 if (!SWIG_IsOK(res1
)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9640 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= SWIG_From_int(static_cast< int >(result
));
9654 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9657 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9658 return SWIG_Py_Void();
9661 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9662 return SWIG_Python_InitShadowInstance(args
);
9665 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxString
*arg1
= 0 ;
9668 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9669 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9670 wxSingleInstanceChecker
*result
= 0 ;
9671 bool temp1
= false ;
9672 bool temp2
= false ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "name",(char *) "path", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9681 arg1
= wxString_in_helper(obj0
);
9682 if (arg1
== NULL
) SWIG_fail
;
9687 arg2
= wxString_in_helper(obj1
);
9688 if (arg2
== NULL
) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9721 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9722 PyObject
*resultobj
= 0;
9723 wxSingleInstanceChecker
*result
= 0 ;
9725 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9739 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9740 PyObject
*resultobj
= 0;
9741 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9744 PyObject
*swig_obj
[1] ;
9746 if (!args
) SWIG_fail
;
9748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9749 if (!SWIG_IsOK(res1
)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9752 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_Py_Void();
9767 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= 0;
9769 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9770 wxString
*arg2
= 0 ;
9771 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9772 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9776 bool temp2
= false ;
9777 bool temp3
= false ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 PyObject
* obj2
= 0 ;
9781 char * kwnames
[] = {
9782 (char *) "self",(char *) "name",(char *) "path", NULL
9785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9787 if (!SWIG_IsOK(res1
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9790 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9792 arg2
= wxString_in_helper(obj1
);
9793 if (arg2
== NULL
) SWIG_fail
;
9798 arg3
= wxString_in_helper(obj2
);
9799 if (arg3
== NULL
) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9834 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9835 PyObject
*resultobj
= 0;
9836 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9840 PyObject
*swig_obj
[1] ;
9842 if (!args
) SWIG_fail
;
9844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9845 if (!SWIG_IsOK(res1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9848 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9864 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9867 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9868 return SWIG_Py_Void();
9871 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 return SWIG_Python_InitShadowInstance(args
);
9875 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
= 0;
9877 wxWindow
*arg1
= (wxWindow
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 char * kwnames
[] = {
9887 (char *) "window",(char *) "dc", NULL
9890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9892 if (!SWIG_IsOK(res1
)) {
9893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9895 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9897 if (!SWIG_IsOK(res2
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9903 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9919 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9920 PyObject
*resultobj
= 0;
9921 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9924 PyObject
*swig_obj
[1] ;
9926 if (!args
) SWIG_fail
;
9928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9929 if (!SWIG_IsOK(res1
)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9932 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_Py_Void();
9947 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9948 PyObject
*resultobj
= 0;
9949 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9953 PyObject
*swig_obj
[1] ;
9955 if (!args
) SWIG_fail
;
9957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9958 if (!SWIG_IsOK(res1
)) {
9959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9961 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (arg1
)->GetTip();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9981 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9982 PyObject
*resultobj
= 0;
9983 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9987 PyObject
*swig_obj
[1] ;
9989 if (!args
) SWIG_fail
;
9991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9992 if (!SWIG_IsOK(res1
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9995 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (size_t)(arg1
)->GetCurrentTip();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10009 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
= 0;
10011 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10012 wxString
*arg2
= 0 ;
10016 bool temp2
= false ;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "self",(char *) "tip", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10028 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10030 arg2
= wxString_in_helper(obj1
);
10031 if (arg2
== NULL
) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10061 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10064 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10065 return SWIG_Py_Void();
10068 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
= 0;
10071 wxPyTipProvider
*result
= 0 ;
10074 PyObject
* obj0
= 0 ;
10075 char * kwnames
[] = {
10076 (char *) "currentTip", NULL
10079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10080 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10081 if (!SWIG_IsOK(ecode1
)) {
10082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10084 arg1
= static_cast< size_t >(val1
);
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10098 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
= 0;
10100 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10101 PyObject
*arg2
= (PyObject
*) 0 ;
10102 PyObject
*arg3
= (PyObject
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 PyObject
* obj2
= 0 ;
10108 char * kwnames
[] = {
10109 (char *) "self",(char *) "self",(char *) "_class", NULL
10112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10114 if (!SWIG_IsOK(res1
)) {
10115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10117 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_Py_Void();
10133 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10136 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10137 return SWIG_Py_Void();
10140 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10141 return SWIG_Python_InitShadowInstance(args
);
10144 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
= 0;
10146 wxWindow
*arg1
= (wxWindow
*) 0 ;
10147 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10148 bool arg3
= (bool) true ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 PyObject
* obj2
= 0 ;
10159 char * kwnames
[] = {
10160 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10170 if (!SWIG_IsOK(res2
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10173 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10175 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10176 if (!SWIG_IsOK(ecode3
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10179 arg3
= static_cast< bool >(val3
);
10182 if (!wxPyCheckForApp()) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10185 wxPyEndAllowThreads(__tstate
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10197 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
= 0;
10199 wxString
*arg1
= 0 ;
10201 wxTipProvider
*result
= 0 ;
10202 bool temp1
= false ;
10205 PyObject
* obj0
= 0 ;
10206 PyObject
* obj1
= 0 ;
10207 char * kwnames
[] = {
10208 (char *) "filename",(char *) "currentTip", NULL
10211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10213 arg1
= wxString_in_helper(obj0
);
10214 if (arg1
== NULL
) SWIG_fail
;
10217 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10218 if (!SWIG_IsOK(ecode2
)) {
10219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10221 arg2
= static_cast< size_t >(val2
);
10223 if (!wxPyCheckForApp()) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10244 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
= 0;
10246 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10247 int arg2
= (int) wxID_ANY
;
10248 wxPyTimer
*result
= 0 ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char * kwnames
[] = {
10256 (char *) "owner",(char *) "id", NULL
10259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10262 if (!SWIG_IsOK(res1
)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10265 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10269 if (!SWIG_IsOK(ecode2
)) {
10270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10272 arg2
= static_cast< int >(val2
);
10275 if (!wxPyCheckForApp()) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10288 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10289 PyObject
*resultobj
= 0;
10290 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10293 PyObject
*swig_obj
[1] ;
10295 if (!args
) SWIG_fail
;
10296 swig_obj
[0] = args
;
10297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10301 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 wxPyEndAllowThreads(__tstate
);
10307 if (PyErr_Occurred()) SWIG_fail
;
10309 resultobj
= SWIG_Py_Void();
10316 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10319 PyObject
*arg2
= (PyObject
*) 0 ;
10320 PyObject
*arg3
= (PyObject
*) 0 ;
10321 int arg4
= (int) 1 ;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 PyObject
* obj2
= 0 ;
10329 PyObject
* obj3
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10339 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10344 if (!SWIG_IsOK(ecode4
)) {
10345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10347 arg4
= static_cast< int >(val4
);
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_Py_Void();
10362 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
= 0;
10364 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10365 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10366 int arg3
= (int) wxID_ANY
;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 PyObject
* obj2
= 0 ;
10376 char * kwnames
[] = {
10377 (char *) "self",(char *) "owner",(char *) "id", NULL
10380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10382 if (!SWIG_IsOK(res1
)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10385 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10387 if (!SWIG_IsOK(res2
)) {
10388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10390 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10393 if (!SWIG_IsOK(ecode3
)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10396 arg3
= static_cast< int >(val3
);
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 (arg1
)->SetOwner(arg2
,arg3
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_Py_Void();
10411 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10412 PyObject
*resultobj
= 0;
10413 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10414 wxEvtHandler
*result
= 0 ;
10417 PyObject
*swig_obj
[1] ;
10419 if (!args
) SWIG_fail
;
10420 swig_obj
[0] = args
;
10421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10425 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= wxPyMake_wxObject(result
, 0);
10441 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
= 0;
10443 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10444 int arg2
= (int) -1 ;
10445 bool arg3
= (bool) false ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10465 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10468 if (!SWIG_IsOK(ecode2
)) {
10469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10471 arg2
= static_cast< int >(val2
);
10474 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10475 if (!SWIG_IsOK(ecode3
)) {
10476 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10478 arg3
= static_cast< bool >(val3
);
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10495 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10508 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 wxPyEndAllowThreads(__tstate
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10515 resultobj
= SWIG_Py_Void();
10522 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10523 PyObject
*resultobj
= 0;
10524 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10527 PyObject
*swig_obj
[1] ;
10529 if (!args
) SWIG_fail
;
10530 swig_obj
[0] = args
;
10531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10535 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_Py_Void();
10549 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10550 PyObject
*resultobj
= 0;
10551 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10555 PyObject
*swig_obj
[1] ;
10557 if (!args
) SWIG_fail
;
10558 swig_obj
[0] = args
;
10559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10563 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10579 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10580 PyObject
*resultobj
= 0;
10581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10585 PyObject
*swig_obj
[1] ;
10587 if (!args
) SWIG_fail
;
10588 swig_obj
[0] = args
;
10589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10590 if (!SWIG_IsOK(res1
)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10593 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= SWIG_From_int(static_cast< int >(result
));
10607 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10608 PyObject
*resultobj
= 0;
10609 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10613 PyObject
*swig_obj
[1] ;
10615 if (!args
) SWIG_fail
;
10616 swig_obj
[0] = args
;
10617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10618 if (!SWIG_IsOK(res1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10621 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= SWIG_From_int(static_cast< int >(result
));
10635 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10636 PyObject
*resultobj
= 0;
10637 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10641 PyObject
*swig_obj
[1] ;
10643 if (!args
) SWIG_fail
;
10644 swig_obj
[0] = args
;
10645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10649 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10665 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10668 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10669 return SWIG_Py_Void();
10672 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10673 return SWIG_Python_InitShadowInstance(args
);
10676 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
= 0;
10678 int arg1
= (int) 0 ;
10679 int arg2
= (int) 0 ;
10680 wxTimerEvent
*result
= 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char * kwnames
[] = {
10688 (char *) "timerid",(char *) "interval", NULL
10691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10693 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10694 if (!SWIG_IsOK(ecode1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10697 arg1
= static_cast< int >(val1
);
10700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10701 if (!SWIG_IsOK(ecode2
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10704 arg2
= static_cast< int >(val2
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10719 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10720 PyObject
*resultobj
= 0;
10721 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10725 PyObject
*swig_obj
[1] ;
10727 if (!args
) SWIG_fail
;
10728 swig_obj
[0] = args
;
10729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10733 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_From_int(static_cast< int >(result
));
10747 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10751 return SWIG_Py_Void();
10754 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10755 return SWIG_Python_InitShadowInstance(args
);
10758 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10759 PyObject
*resultobj
= 0;
10760 wxTimer
*arg1
= 0 ;
10761 wxTimerRunner
*result
= 0 ;
10765 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10767 if (!SWIG_IsOK(res1
)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10773 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10775 if (!wxPyCheckForApp()) SWIG_fail
;
10776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10777 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10788 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10789 PyObject
*resultobj
= 0;
10790 wxTimer
*arg1
= 0 ;
10792 bool arg3
= (bool) false ;
10793 wxTimerRunner
*result
= 0 ;
10801 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10803 if (!SWIG_IsOK(res1
)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10809 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10810 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10811 if (!SWIG_IsOK(ecode2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10814 arg2
= static_cast< int >(val2
);
10816 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10817 if (!SWIG_IsOK(ecode3
)) {
10818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10820 arg3
= static_cast< bool >(val3
);
10823 if (!wxPyCheckForApp()) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10836 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10840 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10843 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10845 if ((argc
>= 2) && (argc
<= 3)) {
10846 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10850 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10855 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10856 PyObject
*resultobj
= 0;
10857 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10860 PyObject
*swig_obj
[1] ;
10862 if (!args
) SWIG_fail
;
10863 swig_obj
[0] = args
;
10864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10865 if (!SWIG_IsOK(res1
)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10868 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= SWIG_Py_Void();
10883 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
= 0;
10885 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10887 bool arg3
= (bool) false ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 char * kwnames
[] = {
10898 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10903 if (!SWIG_IsOK(res1
)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10906 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10908 if (!SWIG_IsOK(ecode2
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10911 arg2
= static_cast< int >(val2
);
10913 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10914 if (!SWIG_IsOK(ecode3
)) {
10915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10917 arg3
= static_cast< bool >(val3
);
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->Start(arg2
,arg3
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_Py_Void();
10932 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10935 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10936 return SWIG_Py_Void();
10939 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10940 return SWIG_Python_InitShadowInstance(args
);
10943 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10944 PyObject
*resultobj
= 0;
10945 wxLog
*result
= 0 ;
10947 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (wxLog
*)new wxLog();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10961 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10962 PyObject
*resultobj
= 0;
10963 wxLog
*arg1
= (wxLog
*) 0 ;
10966 PyObject
*swig_obj
[1] ;
10968 if (!args
) SWIG_fail
;
10969 swig_obj
[0] = args
;
10970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10971 if (!SWIG_IsOK(res1
)) {
10972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10974 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10982 resultobj
= SWIG_Py_Void();
10989 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10990 PyObject
*resultobj
= 0;
10993 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (bool)wxLog::IsEnabled();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11009 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= 0;
11011 bool arg1
= (bool) true ;
11015 PyObject
* obj0
= 0 ;
11016 char * kwnames
[] = {
11017 (char *) "doIt", NULL
11020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11022 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11023 if (!SWIG_IsOK(ecode1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11026 arg1
= static_cast< bool >(val1
);
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (bool)wxLog::EnableLogging(arg1
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11043 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
= 0;
11046 wxChar
*arg2
= (wxChar
*) 0 ;
11048 unsigned long val1
;
11052 unsigned int val3
;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 PyObject
* obj2
= 0 ;
11057 char * kwnames
[] = {
11058 (char *) "level",(char *) "szString",(char *) "t", NULL
11061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11062 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11063 if (!SWIG_IsOK(ecode1
)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11066 arg1
= static_cast< wxLogLevel
>(val1
);
11067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11068 if (!SWIG_IsOK(res2
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11071 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11072 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11073 if (!SWIG_IsOK(ecode3
)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11076 arg3
= static_cast< time_t >(val3
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_Py_Void();
11090 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11091 PyObject
*resultobj
= 0;
11092 wxLog
*arg1
= (wxLog
*) 0 ;
11095 PyObject
*swig_obj
[1] ;
11097 if (!args
) SWIG_fail
;
11098 swig_obj
[0] = args
;
11099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11100 if (!SWIG_IsOK(res1
)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11103 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_Py_Void();
11117 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11118 PyObject
*resultobj
= 0;
11120 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 wxLog::FlushActive();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= SWIG_Py_Void();
11134 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11136 wxLog
*result
= 0 ;
11138 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (wxLog
*)wxLog::GetActiveTarget();
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11152 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
= 0;
11154 wxLog
*arg1
= (wxLog
*) 0 ;
11155 wxLog
*result
= 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char * kwnames
[] = {
11159 (char *) "pLogger", NULL
11162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11163 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11180 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11181 PyObject
*resultobj
= 0;
11183 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_Py_Void();
11197 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11198 PyObject
*resultobj
= 0;
11200 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_Py_Void();
11214 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 bool arg1
= (bool) true ;
11219 PyObject
* obj0
= 0 ;
11220 char * kwnames
[] = {
11221 (char *) "bVerbose", NULL
11224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11226 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11227 if (!SWIG_IsOK(ecode1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11230 arg1
= static_cast< bool >(val1
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxLog::SetVerbose(arg1
);
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_Py_Void();
11245 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
= 0;
11248 unsigned long val1
;
11250 PyObject
* obj0
= 0 ;
11251 char * kwnames
[] = {
11252 (char *) "logLevel", NULL
11255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11256 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11257 if (!SWIG_IsOK(ecode1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11260 arg1
= static_cast< wxLogLevel
>(val1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxLog::SetLogLevel(arg1
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_Py_Void();
11274 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11275 PyObject
*resultobj
= 0;
11277 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 wxLog::DontCreateOnDemand();
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11284 resultobj
= SWIG_Py_Void();
11291 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11292 PyObject
*resultobj
= 0;
11294 unsigned long val1
;
11296 PyObject
* obj0
= 0 ;
11297 char * kwnames
[] = {
11298 (char *) "ulMask", NULL
11301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11302 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11303 if (!SWIG_IsOK(ecode1
)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11306 arg1
= static_cast< wxTraceMask
>(val1
);
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 wxLog::SetTraceMask(arg1
);
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_Py_Void();
11320 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
= 0;
11322 wxString
*arg1
= 0 ;
11323 bool temp1
= false ;
11324 PyObject
* obj0
= 0 ;
11325 char * kwnames
[] = {
11326 (char *) "str", NULL
11329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11331 arg1
= wxString_in_helper(obj0
);
11332 if (arg1
== NULL
) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxLog::AddTraceMask((wxString
const &)*arg1
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_Py_Void();
11356 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
= 0;
11358 wxString
*arg1
= 0 ;
11359 bool temp1
= false ;
11360 PyObject
* obj0
= 0 ;
11361 char * kwnames
[] = {
11362 (char *) "str", NULL
11365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11367 arg1
= wxString_in_helper(obj0
);
11368 if (arg1
== NULL
) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_Py_Void();
11392 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11393 PyObject
*resultobj
= 0;
11395 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxLog::ClearTraceMasks();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_Py_Void();
11409 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxArrayString
*result
= 0 ;
11413 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11418 result
= (wxArrayString
*) &_result_ref
;
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11424 resultobj
= wxArrayString2PyList_helper(*result
);
11432 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
= 0;
11434 wxChar
*arg1
= (wxChar
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 char * kwnames
[] = {
11439 (char *) "ts", NULL
11442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11444 if (!SWIG_IsOK(res1
)) {
11445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11447 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 wxLog::SetTimestamp((wxChar
const *)arg1
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_Py_Void();
11461 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11462 PyObject
*resultobj
= 0;
11465 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (bool)wxLog::GetVerbose();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11481 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11482 PyObject
*resultobj
= 0;
11483 wxTraceMask result
;
11485 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (wxTraceMask
)wxLog::GetTraceMask();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11499 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
= 0;
11501 wxChar
*arg1
= (wxChar
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char * kwnames
[] = {
11507 (char *) "mask", NULL
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11515 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11531 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11532 PyObject
*resultobj
= 0;
11535 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (wxLogLevel
)wxLog::GetLogLevel();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11549 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 PyObject
*resultobj
= 0;
11551 wxChar
*result
= 0 ;
11553 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11556 result
= (wxChar
*)wxLog::GetTimestamp();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11567 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11568 PyObject
*resultobj
= 0;
11571 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= wxLog_TimeStamp();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11591 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11592 PyObject
*resultobj
= 0;
11593 wxLog
*arg1
= (wxLog
*) 0 ;
11596 PyObject
*swig_obj
[1] ;
11598 if (!args
) SWIG_fail
;
11599 swig_obj
[0] = args
;
11600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11601 if (!SWIG_IsOK(res1
)) {
11602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11604 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxLog_Destroy(arg1
);
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_Py_Void();
11618 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11620 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11621 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11622 return SWIG_Py_Void();
11625 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11626 return SWIG_Python_InitShadowInstance(args
);
11629 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 PyObject
*resultobj
= 0;
11631 wxLogStderr
*result
= 0 ;
11633 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (wxLogStderr
*)new wxLogStderr();
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11647 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11649 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11650 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11651 return SWIG_Py_Void();
11654 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11655 return SWIG_Python_InitShadowInstance(args
);
11658 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
= 0;
11660 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11661 wxLogTextCtrl
*result
= 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char * kwnames
[] = {
11666 (char *) "pTextCtrl", NULL
11669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11671 if (!SWIG_IsOK(res1
)) {
11672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11688 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11691 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11692 return SWIG_Py_Void();
11695 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 return SWIG_Python_InitShadowInstance(args
);
11699 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxLogGui
*result
= 0 ;
11703 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxLogGui
*)new wxLogGui();
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11717 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11720 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11721 return SWIG_Py_Void();
11724 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11725 return SWIG_Python_InitShadowInstance(args
);
11728 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
= 0;
11730 wxFrame
*arg1
= (wxFrame
*) 0 ;
11731 wxString
*arg2
= 0 ;
11732 bool arg3
= (bool) true ;
11733 bool arg4
= (bool) true ;
11734 wxLogWindow
*result
= 0 ;
11737 bool temp2
= false ;
11742 PyObject
* obj0
= 0 ;
11743 PyObject
* obj1
= 0 ;
11744 PyObject
* obj2
= 0 ;
11745 PyObject
* obj3
= 0 ;
11746 char * kwnames
[] = {
11747 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11755 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11757 arg2
= wxString_in_helper(obj1
);
11758 if (arg2
== NULL
) SWIG_fail
;
11762 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11763 if (!SWIG_IsOK(ecode3
)) {
11764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11766 arg3
= static_cast< bool >(val3
);
11769 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11770 if (!SWIG_IsOK(ecode4
)) {
11771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11773 arg4
= static_cast< bool >(val4
);
11776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11796 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
= 0;
11798 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11799 bool arg2
= (bool) true ;
11804 PyObject
* obj0
= 0 ;
11805 PyObject
* obj1
= 0 ;
11806 char * kwnames
[] = {
11807 (char *) "self",(char *) "bShow", NULL
11810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11812 if (!SWIG_IsOK(res1
)) {
11813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11815 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11818 if (!SWIG_IsOK(ecode2
)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11821 arg2
= static_cast< bool >(val2
);
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 (arg1
)->Show(arg2
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= SWIG_Py_Void();
11836 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 PyObject
*resultobj
= 0;
11838 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11839 wxFrame
*result
= 0 ;
11842 PyObject
*swig_obj
[1] ;
11844 if (!args
) SWIG_fail
;
11845 swig_obj
[0] = args
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11850 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11866 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11867 PyObject
*resultobj
= 0;
11868 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11869 wxLog
*result
= 0 ;
11872 PyObject
*swig_obj
[1] ;
11874 if (!args
) SWIG_fail
;
11875 swig_obj
[0] = args
;
11876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11877 if (!SWIG_IsOK(res1
)) {
11878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11880 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11894 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11908 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11924 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
= 0;
11926 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char * kwnames
[] = {
11935 (char *) "self",(char *) "bDoPass", NULL
11938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11940 if (!SWIG_IsOK(res1
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11943 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11944 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11945 if (!SWIG_IsOK(ecode2
)) {
11946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11948 arg2
= static_cast< bool >(val2
);
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 (arg1
)->PassMessages(arg2
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= SWIG_Py_Void();
11962 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11965 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11966 return SWIG_Py_Void();
11969 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11970 return SWIG_Python_InitShadowInstance(args
);
11973 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
= 0;
11975 wxLog
*arg1
= (wxLog
*) 0 ;
11976 wxLogChain
*result
= 0 ;
11979 PyObject
* obj0
= 0 ;
11980 char * kwnames
[] = {
11981 (char *) "logger", NULL
11984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11986 if (!SWIG_IsOK(res1
)) {
11987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
11989 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (wxLogChain
*)new wxLogChain(arg1
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12003 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
= 0;
12005 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12006 wxLog
*arg2
= (wxLog
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 char * kwnames
[] = {
12014 (char *) "self",(char *) "logger", NULL
12017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12019 if (!SWIG_IsOK(res1
)) {
12020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12022 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12024 if (!SWIG_IsOK(res2
)) {
12025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12027 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 (arg1
)->SetLog(arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_Py_Void();
12041 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
= 0;
12043 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 PyObject
* obj1
= 0 ;
12051 char * kwnames
[] = {
12052 (char *) "self",(char *) "bDoPass", NULL
12055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12057 if (!SWIG_IsOK(res1
)) {
12058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12060 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12061 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12062 if (!SWIG_IsOK(ecode2
)) {
12063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12065 arg2
= static_cast< bool >(val2
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->PassMessages(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_Py_Void();
12079 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 PyObject
*resultobj
= 0;
12081 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12085 PyObject
*swig_obj
[1] ;
12087 if (!args
) SWIG_fail
;
12088 swig_obj
[0] = args
;
12089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12093 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)(arg1
)->IsPassingMessages();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12109 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12110 PyObject
*resultobj
= 0;
12111 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12112 wxLog
*result
= 0 ;
12115 PyObject
*swig_obj
[1] ;
12117 if (!args
) SWIG_fail
;
12118 swig_obj
[0] = args
;
12119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12123 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (wxLog
*)(arg1
)->GetOldLog();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12137 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12140 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12141 return SWIG_Py_Void();
12144 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12145 return SWIG_Python_InitShadowInstance(args
);
12148 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12149 PyObject
*resultobj
= 0;
12150 wxLogBuffer
*result
= 0 ;
12152 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (wxLogBuffer
*)new wxLogBuffer();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12166 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12167 PyObject
*resultobj
= 0;
12168 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12169 wxString
*result
= 0 ;
12172 PyObject
*swig_obj
[1] ;
12174 if (!args
) SWIG_fail
;
12175 swig_obj
[0] = args
;
12176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12177 if (!SWIG_IsOK(res1
)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12180 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12185 result
= (wxString
*) &_result_ref
;
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12194 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12203 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12206 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12207 return SWIG_Py_Void();
12210 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12211 return SWIG_Python_InitShadowInstance(args
);
12214 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12215 PyObject
*resultobj
= 0;
12216 unsigned long result
;
12218 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (unsigned long)wxSysErrorCode();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12232 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 unsigned long arg1
= (unsigned long) 0 ;
12236 unsigned long val1
;
12238 PyObject
* obj0
= 0 ;
12239 char * kwnames
[] = {
12240 (char *) "nErrCode", NULL
12243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12245 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12246 if (!SWIG_IsOK(ecode1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12249 arg1
= static_cast< unsigned long >(val1
);
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= wxSysErrorMsg(arg1
);
12254 wxPyEndAllowThreads(__tstate
);
12255 if (PyErr_Occurred()) SWIG_fail
;
12259 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12261 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12270 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12271 PyObject
*resultobj
= 0;
12272 wxString
*arg1
= 0 ;
12273 bool temp1
= false ;
12274 PyObject
* obj0
= 0 ;
12275 char * kwnames
[] = {
12276 (char *) "msg", NULL
12279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12281 arg1
= wxString_in_helper(obj0
);
12282 if (arg1
== NULL
) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 wxPyLogFatalError((wxString
const &)*arg1
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= SWIG_Py_Void();
12306 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
= 0;
12308 wxString
*arg1
= 0 ;
12309 bool temp1
= false ;
12310 PyObject
* obj0
= 0 ;
12311 char * kwnames
[] = {
12312 (char *) "msg", NULL
12315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12317 arg1
= wxString_in_helper(obj0
);
12318 if (arg1
== NULL
) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxPyLogError((wxString
const &)*arg1
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= SWIG_Py_Void();
12342 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
= 0;
12344 wxString
*arg1
= 0 ;
12345 bool temp1
= false ;
12346 PyObject
* obj0
= 0 ;
12347 char * kwnames
[] = {
12348 (char *) "msg", NULL
12351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12353 arg1
= wxString_in_helper(obj0
);
12354 if (arg1
== NULL
) SWIG_fail
;
12358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12359 wxPyLogWarning((wxString
const &)*arg1
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_Py_Void();
12378 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
= 0;
12380 wxString
*arg1
= 0 ;
12381 bool temp1
= false ;
12382 PyObject
* obj0
= 0 ;
12383 char * kwnames
[] = {
12384 (char *) "msg", NULL
12387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12389 arg1
= wxString_in_helper(obj0
);
12390 if (arg1
== NULL
) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 wxPyLogMessage((wxString
const &)*arg1
);
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= SWIG_Py_Void();
12414 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
= 0;
12416 wxString
*arg1
= 0 ;
12417 bool temp1
= false ;
12418 PyObject
* obj0
= 0 ;
12419 char * kwnames
[] = {
12420 (char *) "msg", NULL
12423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12425 arg1
= wxString_in_helper(obj0
);
12426 if (arg1
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 wxPyLogInfo((wxString
const &)*arg1
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= SWIG_Py_Void();
12450 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
= 0;
12452 wxString
*arg1
= 0 ;
12453 bool temp1
= false ;
12454 PyObject
* obj0
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "msg", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12461 arg1
= wxString_in_helper(obj0
);
12462 if (arg1
== NULL
) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 wxPyLogDebug((wxString
const &)*arg1
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= SWIG_Py_Void();
12486 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= 0;
12488 wxString
*arg1
= 0 ;
12489 bool temp1
= false ;
12490 PyObject
* obj0
= 0 ;
12491 char * kwnames
[] = {
12492 (char *) "msg", NULL
12495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12497 arg1
= wxString_in_helper(obj0
);
12498 if (arg1
== NULL
) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 wxPyLogVerbose((wxString
const &)*arg1
);
12504 wxPyEndAllowThreads(__tstate
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
= 0;
12524 wxString
*arg1
= 0 ;
12525 bool temp1
= false ;
12526 PyObject
* obj0
= 0 ;
12527 char * kwnames
[] = {
12528 (char *) "msg", NULL
12531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12533 arg1
= wxString_in_helper(obj0
);
12534 if (arg1
== NULL
) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 wxPyLogStatus((wxString
const &)*arg1
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_Py_Void();
12558 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
= 0;
12560 wxFrame
*arg1
= (wxFrame
*) 0 ;
12561 wxString
*arg2
= 0 ;
12564 bool temp2
= false ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "pFrame",(char *) "msg", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12573 if (!SWIG_IsOK(res1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12576 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12578 arg2
= wxString_in_helper(obj1
);
12579 if (arg2
== NULL
) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxString
*arg1
= 0 ;
12606 bool temp1
= false ;
12607 PyObject
* obj0
= 0 ;
12608 char * kwnames
[] = {
12609 (char *) "msg", NULL
12612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12614 arg1
= wxString_in_helper(obj0
);
12615 if (arg1
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 wxPyLogSysError((wxString
const &)*arg1
);
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 unsigned long arg1
;
12642 wxString
*arg2
= 0 ;
12643 unsigned long val1
;
12645 bool temp2
= false ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char * kwnames
[] = {
12649 (char *) "level",(char *) "msg", NULL
12652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12653 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12654 if (!SWIG_IsOK(ecode1
)) {
12655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12657 arg1
= static_cast< unsigned long >(val1
);
12659 arg2
= wxString_in_helper(obj1
);
12660 if (arg2
== NULL
) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= SWIG_Py_Void();
12684 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12685 PyObject
*resultobj
= 0;
12686 unsigned long arg1
;
12687 wxString
*arg2
= 0 ;
12688 unsigned long val1
;
12690 bool temp2
= false ;
12692 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12693 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12694 if (!SWIG_IsOK(ecode1
)) {
12695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12697 arg1
= static_cast< unsigned long >(val1
);
12699 arg2
= wxString_in_helper(swig_obj
[1]);
12700 if (arg2
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_Py_Void();
12724 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12725 PyObject
*resultobj
= 0;
12726 wxString
*arg1
= 0 ;
12727 wxString
*arg2
= 0 ;
12728 bool temp1
= false ;
12729 bool temp2
= false ;
12731 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12733 arg1
= wxString_in_helper(swig_obj
[0]);
12734 if (arg1
== NULL
) SWIG_fail
;
12738 arg2
= wxString_in_helper(swig_obj
[1]);
12739 if (arg2
== NULL
) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_Py_Void();
12771 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12775 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12781 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12784 if (!_v
) goto check_1
;
12785 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12790 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12794 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12799 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
= 0;
12801 wxString
*arg1
= 0 ;
12802 wxString
*arg2
= 0 ;
12803 bool temp1
= false ;
12804 bool temp2
= false ;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 char * kwnames
[] = {
12808 (char *) "title",(char *) "text", NULL
12811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12813 arg1
= wxString_in_helper(obj0
);
12814 if (arg1
== NULL
) SWIG_fail
;
12818 arg2
= wxString_in_helper(obj1
);
12819 if (arg2
== NULL
) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_Py_Void();
12851 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxLogNull
*result
= 0 ;
12855 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12858 result
= (wxLogNull
*)new wxLogNull();
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12869 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12870 PyObject
*resultobj
= 0;
12871 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12874 PyObject
*swig_obj
[1] ;
12876 if (!args
) SWIG_fail
;
12877 swig_obj
[0] = args
;
12878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12882 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 resultobj
= SWIG_Py_Void();
12897 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12901 return SWIG_Py_Void();
12904 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12905 return SWIG_Python_InitShadowInstance(args
);
12908 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxPyLog
*result
= 0 ;
12912 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (wxPyLog
*)new wxPyLog();
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12926 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
= 0;
12928 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12929 PyObject
*arg2
= (PyObject
*) 0 ;
12930 PyObject
*arg3
= (PyObject
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char * kwnames
[] = {
12937 (char *) "self",(char *) "self",(char *) "_class", NULL
12940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12942 if (!SWIG_IsOK(res1
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12945 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_Py_Void();
12961 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12965 return SWIG_Py_Void();
12968 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 return SWIG_Python_InitShadowInstance(args
);
12972 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
= 0;
12975 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12976 int arg3
= (int) wxKILL_NOCHILDREN
;
12977 wxKillError result
;
12984 PyObject
* obj0
= 0 ;
12985 PyObject
* obj1
= 0 ;
12986 PyObject
* obj2
= 0 ;
12987 char * kwnames
[] = {
12988 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12993 if (!SWIG_IsOK(ecode1
)) {
12994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
12996 arg1
= static_cast< int >(val1
);
12998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12999 if (!SWIG_IsOK(ecode2
)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13002 arg2
= static_cast< wxSignal
>(val2
);
13005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13006 if (!SWIG_IsOK(ecode3
)) {
13007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13009 arg3
= static_cast< int >(val3
);
13012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13013 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 resultobj
= SWIG_From_int(static_cast< int >(result
));
13024 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13030 PyObject
* obj0
= 0 ;
13031 char * kwnames
[] = {
13032 (char *) "pid", NULL
13035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13036 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13037 if (!SWIG_IsOK(ecode1
)) {
13038 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13040 arg1
= static_cast< int >(val1
);
13042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13043 result
= (bool)wxPyProcess::Exists(arg1
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13056 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
= 0;
13058 wxString
*arg1
= 0 ;
13059 int arg2
= (int) wxEXEC_ASYNC
;
13060 wxPyProcess
*result
= 0 ;
13061 bool temp1
= false ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char * kwnames
[] = {
13067 (char *) "cmd",(char *) "flags", NULL
13070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13072 arg1
= wxString_in_helper(obj0
);
13073 if (arg1
== NULL
) SWIG_fail
;
13077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13078 if (!SWIG_IsOK(ecode2
)) {
13079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13081 arg2
= static_cast< int >(val2
);
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13104 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= 0;
13106 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13107 int arg2
= (int) -1 ;
13108 wxPyProcess
*result
= 0 ;
13113 PyObject
* obj0
= 0 ;
13114 PyObject
* obj1
= 0 ;
13115 char * kwnames
[] = {
13116 (char *) "parent",(char *) "id", NULL
13119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13122 if (!SWIG_IsOK(res1
)) {
13123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13125 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13129 if (!SWIG_IsOK(ecode2
)) {
13130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13132 arg2
= static_cast< int >(val2
);
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13137 wxPyEndAllowThreads(__tstate
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13147 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
= 0;
13149 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13150 PyObject
*arg2
= (PyObject
*) 0 ;
13151 PyObject
*arg3
= (PyObject
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 PyObject
* obj1
= 0 ;
13156 PyObject
* obj2
= 0 ;
13157 char * kwnames
[] = {
13158 (char *) "self",(char *) "self",(char *) "_class", NULL
13161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13163 if (!SWIG_IsOK(res1
)) {
13164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13166 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= SWIG_Py_Void();
13182 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "pid",(char *) "status", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13205 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13207 if (!SWIG_IsOK(ecode2
)) {
13208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13210 arg2
= static_cast< int >(val2
);
13211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13212 if (!SWIG_IsOK(ecode3
)) {
13213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13215 arg3
= static_cast< int >(val3
);
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 (arg1
)->OnTerminate(arg2
,arg3
);
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_Py_Void();
13229 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13230 PyObject
*resultobj
= 0;
13231 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13234 PyObject
*swig_obj
[1] ;
13236 if (!args
) SWIG_fail
;
13237 swig_obj
[0] = args
;
13238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13239 if (!SWIG_IsOK(res1
)) {
13240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13242 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 (arg1
)->Redirect();
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 resultobj
= SWIG_Py_Void();
13256 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13257 PyObject
*resultobj
= 0;
13258 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13262 PyObject
*swig_obj
[1] ;
13264 if (!args
) SWIG_fail
;
13265 swig_obj
[0] = args
;
13266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13270 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (bool)(arg1
)->IsRedirected();
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13286 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13287 PyObject
*resultobj
= 0;
13288 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13291 PyObject
*swig_obj
[1] ;
13293 if (!args
) SWIG_fail
;
13294 swig_obj
[0] = args
;
13295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13296 if (!SWIG_IsOK(res1
)) {
13297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13299 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= SWIG_Py_Void();
13313 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13314 PyObject
*resultobj
= 0;
13315 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13316 wxInputStream
*result
= 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13327 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13335 wxPyInputStream
* _ptr
= NULL
;
13338 _ptr
= new wxPyInputStream(result
);
13340 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13348 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13351 wxInputStream
*result
= 0 ;
13354 PyObject
*swig_obj
[1] ;
13356 if (!args
) SWIG_fail
;
13357 swig_obj
[0] = args
;
13358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13362 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13370 wxPyInputStream
* _ptr
= NULL
;
13373 _ptr
= new wxPyInputStream(result
);
13375 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13383 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13384 PyObject
*resultobj
= 0;
13385 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13386 wxOutputStream
*result
= 0 ;
13389 PyObject
*swig_obj
[1] ;
13391 if (!args
) SWIG_fail
;
13392 swig_obj
[0] = args
;
13393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13394 if (!SWIG_IsOK(res1
)) {
13395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13397 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13411 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 PyObject
*resultobj
= 0;
13413 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13416 PyObject
*swig_obj
[1] ;
13418 if (!args
) SWIG_fail
;
13419 swig_obj
[0] = args
;
13420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13421 if (!SWIG_IsOK(res1
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13424 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->CloseOutput();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_Py_Void();
13438 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13444 PyObject
*swig_obj
[1] ;
13446 if (!args
) SWIG_fail
;
13447 swig_obj
[0] = args
;
13448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13449 if (!SWIG_IsOK(res1
)) {
13450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13452 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13468 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13469 PyObject
*resultobj
= 0;
13470 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13474 PyObject
*swig_obj
[1] ;
13476 if (!args
) SWIG_fail
;
13477 swig_obj
[0] = args
;
13478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13482 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13498 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13512 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13528 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13531 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13532 return SWIG_Py_Void();
13535 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13536 return SWIG_Python_InitShadowInstance(args
);
13539 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
= 0;
13541 int arg1
= (int) 0 ;
13542 int arg2
= (int) 0 ;
13543 int arg3
= (int) 0 ;
13544 wxProcessEvent
*result
= 0 ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 PyObject
* obj2
= 0 ;
13554 char * kwnames
[] = {
13555 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13561 if (!SWIG_IsOK(ecode1
)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13564 arg1
= static_cast< int >(val1
);
13567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13568 if (!SWIG_IsOK(ecode2
)) {
13569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13571 arg2
= static_cast< int >(val2
);
13574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13575 if (!SWIG_IsOK(ecode3
)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13578 arg3
= static_cast< int >(val3
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13593 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13594 PyObject
*resultobj
= 0;
13595 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13599 PyObject
*swig_obj
[1] ;
13601 if (!args
) SWIG_fail
;
13602 swig_obj
[0] = args
;
13603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13607 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (int)(arg1
)->GetPid();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_From_int(static_cast< int >(result
));
13621 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13622 PyObject
*resultobj
= 0;
13623 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13627 PyObject
*swig_obj
[1] ;
13629 if (!args
) SWIG_fail
;
13630 swig_obj
[0] = args
;
13631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13635 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (int)(arg1
)->GetExitCode();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_From_int(static_cast< int >(result
));
13649 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13650 PyObject
*resultobj
= 0;
13651 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13657 PyObject
*swig_obj
[2] ;
13659 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13661 if (!SWIG_IsOK(res1
)) {
13662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13664 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13665 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13666 if (!SWIG_IsOK(ecode2
)) {
13667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13669 arg2
= static_cast< int >(val2
);
13670 if (arg1
) (arg1
)->m_pid
= arg2
;
13672 resultobj
= SWIG_Py_Void();
13679 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 PyObject
*resultobj
= 0;
13681 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13685 PyObject
*swig_obj
[1] ;
13687 if (!args
) SWIG_fail
;
13688 swig_obj
[0] = args
;
13689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13690 if (!SWIG_IsOK(res1
)) {
13691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13693 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13694 result
= (int) ((arg1
)->m_pid
);
13695 resultobj
= SWIG_From_int(static_cast< int >(result
));
13702 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13703 PyObject
*resultobj
= 0;
13704 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13710 PyObject
*swig_obj
[2] ;
13712 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13717 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13718 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13719 if (!SWIG_IsOK(ecode2
)) {
13720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13722 arg2
= static_cast< int >(val2
);
13723 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13725 resultobj
= SWIG_Py_Void();
13732 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13733 PyObject
*resultobj
= 0;
13734 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13738 PyObject
*swig_obj
[1] ;
13740 if (!args
) SWIG_fail
;
13741 swig_obj
[0] = args
;
13742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13746 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13747 result
= (int) ((arg1
)->m_exitcode
);
13748 resultobj
= SWIG_From_int(static_cast< int >(result
));
13755 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13758 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13759 return SWIG_Py_Void();
13762 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13763 return SWIG_Python_InitShadowInstance(args
);
13766 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
= 0;
13768 wxString
*arg1
= 0 ;
13769 int arg2
= (int) wxEXEC_ASYNC
;
13770 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13772 bool temp1
= false ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "command",(char *) "flags",(char *) "process", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13786 arg1
= wxString_in_helper(obj0
);
13787 if (arg1
== NULL
) SWIG_fail
;
13791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13792 if (!SWIG_IsOK(ecode2
)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13795 arg2
= static_cast< int >(val2
);
13798 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13799 if (!SWIG_IsOK(res3
)) {
13800 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13802 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13805 if (!wxPyCheckForApp()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_From_long(static_cast< long >(result
));
13826 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
= 0;
13829 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13830 wxKillError
*arg3
= (wxKillError
*) 0 ;
13831 int arg4
= (int) wxKILL_NOCHILDREN
;
13837 wxKillError temp3
;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13851 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13852 if (!SWIG_IsOK(ecode1
)) {
13853 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13855 arg1
= static_cast< long >(val1
);
13857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13858 if (!SWIG_IsOK(ecode2
)) {
13859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13861 arg2
= static_cast< wxSignal
>(val2
);
13864 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13865 if (!SWIG_IsOK(ecode4
)) {
13866 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13868 arg4
= static_cast< int >(val4
);
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_From_int(static_cast< int >(result
));
13879 o
= PyInt_FromLong((long) (*arg3
));
13883 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13892 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
= 0;
13894 int arg1
= (int) wxJOYSTICK1
;
13895 wxJoystick
*result
= 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char * kwnames
[] = {
13900 (char *) "joystick", NULL
13903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13905 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13906 if (!SWIG_IsOK(ecode1
)) {
13907 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13909 arg1
= static_cast< int >(val1
);
13912 if (!wxPyCheckForApp()) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (wxJoystick
*)new wxJoystick(arg1
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13925 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13926 PyObject
*resultobj
= 0;
13927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13930 PyObject
*swig_obj
[1] ;
13932 if (!args
) SWIG_fail
;
13933 swig_obj
[0] = args
;
13934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13938 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_Py_Void();
13953 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 PyObject
*resultobj
= 0;
13955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13959 PyObject
*swig_obj
[1] ;
13961 if (!args
) SWIG_fail
;
13962 swig_obj
[0] = args
;
13963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13967 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (arg1
)->GetPosition();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13981 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13982 PyObject
*resultobj
= 0;
13983 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13987 PyObject
*swig_obj
[1] ;
13989 if (!args
) SWIG_fail
;
13990 swig_obj
[0] = args
;
13991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13992 if (!SWIG_IsOK(res1
)) {
13993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13995 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (int)(arg1
)->GetZPosition();
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_From_int(static_cast< int >(result
));
14009 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14010 PyObject
*resultobj
= 0;
14011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14015 PyObject
*swig_obj
[1] ;
14017 if (!args
) SWIG_fail
;
14018 swig_obj
[0] = args
;
14019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14020 if (!SWIG_IsOK(res1
)) {
14021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14023 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (int)(arg1
)->GetButtonState();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= SWIG_From_int(static_cast< int >(result
));
14037 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14038 PyObject
*resultobj
= 0;
14039 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14043 PyObject
*swig_obj
[1] ;
14045 if (!args
) SWIG_fail
;
14046 swig_obj
[0] = args
;
14047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14048 if (!SWIG_IsOK(res1
)) {
14049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14051 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (int)(arg1
)->GetPOVPosition();
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14058 resultobj
= SWIG_From_int(static_cast< int >(result
));
14065 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14066 PyObject
*resultobj
= 0;
14067 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14071 PyObject
*swig_obj
[1] ;
14073 if (!args
) SWIG_fail
;
14074 swig_obj
[0] = args
;
14075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14076 if (!SWIG_IsOK(res1
)) {
14077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14079 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (int)(arg1
)->GetPOVCTSPosition();
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14086 resultobj
= SWIG_From_int(static_cast< int >(result
));
14093 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14094 PyObject
*resultobj
= 0;
14095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14099 PyObject
*swig_obj
[1] ;
14101 if (!args
) SWIG_fail
;
14102 swig_obj
[0] = args
;
14103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14104 if (!SWIG_IsOK(res1
)) {
14105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14107 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (int)(arg1
)->GetRudderPosition();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= SWIG_From_int(static_cast< int >(result
));
14121 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14122 PyObject
*resultobj
= 0;
14123 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14127 PyObject
*swig_obj
[1] ;
14129 if (!args
) SWIG_fail
;
14130 swig_obj
[0] = args
;
14131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14132 if (!SWIG_IsOK(res1
)) {
14133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14135 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (int)(arg1
)->GetUPosition();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 resultobj
= SWIG_From_int(static_cast< int >(result
));
14149 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14150 PyObject
*resultobj
= 0;
14151 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14155 PyObject
*swig_obj
[1] ;
14157 if (!args
) SWIG_fail
;
14158 swig_obj
[0] = args
;
14159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14163 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (int)(arg1
)->GetVPosition();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 resultobj
= SWIG_From_int(static_cast< int >(result
));
14177 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14178 PyObject
*resultobj
= 0;
14179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14183 PyObject
*swig_obj
[1] ;
14185 if (!args
) SWIG_fail
;
14186 swig_obj
[0] = args
;
14187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14191 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (int)(arg1
)->GetMovementThreshold();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= SWIG_From_int(static_cast< int >(result
));
14205 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
= 0;
14207 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char * kwnames
[] = {
14216 (char *) "self",(char *) "threshold", NULL
14219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14221 if (!SWIG_IsOK(res1
)) {
14222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14224 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14226 if (!SWIG_IsOK(ecode2
)) {
14227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14229 arg2
= static_cast< int >(val2
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->SetMovementThreshold(arg2
);
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_Py_Void();
14243 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14244 PyObject
*resultobj
= 0;
14245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14249 PyObject
*swig_obj
[1] ;
14251 if (!args
) SWIG_fail
;
14252 swig_obj
[0] = args
;
14253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14254 if (!SWIG_IsOK(res1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14257 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (bool)(arg1
)->IsOk();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14273 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14287 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (int)(arg1
)->GetNumberJoysticks();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_From_int(static_cast< int >(result
));
14301 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14302 PyObject
*resultobj
= 0;
14303 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14307 PyObject
*swig_obj
[1] ;
14309 if (!args
) SWIG_fail
;
14310 swig_obj
[0] = args
;
14311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14312 if (!SWIG_IsOK(res1
)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14315 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (int)(arg1
)->GetManufacturerId();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_From_int(static_cast< int >(result
));
14329 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14330 PyObject
*resultobj
= 0;
14331 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14335 PyObject
*swig_obj
[1] ;
14337 if (!args
) SWIG_fail
;
14338 swig_obj
[0] = args
;
14339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14340 if (!SWIG_IsOK(res1
)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14343 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (int)(arg1
)->GetProductId();
14347 wxPyEndAllowThreads(__tstate
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 resultobj
= SWIG_From_int(static_cast< int >(result
));
14357 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14358 PyObject
*resultobj
= 0;
14359 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14363 PyObject
*swig_obj
[1] ;
14365 if (!args
) SWIG_fail
;
14366 swig_obj
[0] = args
;
14367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14368 if (!SWIG_IsOK(res1
)) {
14369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14371 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (arg1
)->GetProductName();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14391 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 PyObject
*resultobj
= 0;
14393 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14397 PyObject
*swig_obj
[1] ;
14399 if (!args
) SWIG_fail
;
14400 swig_obj
[0] = args
;
14401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14405 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)(arg1
)->GetXMin();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_From_int(static_cast< int >(result
));
14419 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 PyObject
*resultobj
= 0;
14421 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14425 PyObject
*swig_obj
[1] ;
14427 if (!args
) SWIG_fail
;
14428 swig_obj
[0] = args
;
14429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14433 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)(arg1
)->GetYMin();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_From_int(static_cast< int >(result
));
14447 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14448 PyObject
*resultobj
= 0;
14449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14453 PyObject
*swig_obj
[1] ;
14455 if (!args
) SWIG_fail
;
14456 swig_obj
[0] = args
;
14457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14461 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (int)(arg1
)->GetZMin();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= SWIG_From_int(static_cast< int >(result
));
14475 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14476 PyObject
*resultobj
= 0;
14477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14481 PyObject
*swig_obj
[1] ;
14483 if (!args
) SWIG_fail
;
14484 swig_obj
[0] = args
;
14485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14486 if (!SWIG_IsOK(res1
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14489 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (int)(arg1
)->GetXMax();
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_From_int(static_cast< int >(result
));
14503 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14504 PyObject
*resultobj
= 0;
14505 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14509 PyObject
*swig_obj
[1] ;
14511 if (!args
) SWIG_fail
;
14512 swig_obj
[0] = args
;
14513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14514 if (!SWIG_IsOK(res1
)) {
14515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14517 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= (int)(arg1
)->GetYMax();
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_From_int(static_cast< int >(result
));
14531 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14545 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (int)(arg1
)->GetZMax();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_From_int(static_cast< int >(result
));
14559 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14560 PyObject
*resultobj
= 0;
14561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14565 PyObject
*swig_obj
[1] ;
14567 if (!args
) SWIG_fail
;
14568 swig_obj
[0] = args
;
14569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14573 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (int)(arg1
)->GetNumberButtons();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 resultobj
= SWIG_From_int(static_cast< int >(result
));
14587 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14588 PyObject
*resultobj
= 0;
14589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14593 PyObject
*swig_obj
[1] ;
14595 if (!args
) SWIG_fail
;
14596 swig_obj
[0] = args
;
14597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14598 if (!SWIG_IsOK(res1
)) {
14599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14601 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 result
= (int)(arg1
)->GetNumberAxes();
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= SWIG_From_int(static_cast< int >(result
));
14615 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14616 PyObject
*resultobj
= 0;
14617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14621 PyObject
*swig_obj
[1] ;
14623 if (!args
) SWIG_fail
;
14624 swig_obj
[0] = args
;
14625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14626 if (!SWIG_IsOK(res1
)) {
14627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14629 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (int)(arg1
)->GetMaxButtons();
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= SWIG_From_int(static_cast< int >(result
));
14643 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14644 PyObject
*resultobj
= 0;
14645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14649 PyObject
*swig_obj
[1] ;
14651 if (!args
) SWIG_fail
;
14652 swig_obj
[0] = args
;
14653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14654 if (!SWIG_IsOK(res1
)) {
14655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14657 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (int)(arg1
)->GetMaxAxes();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_From_int(static_cast< int >(result
));
14671 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 PyObject
*resultobj
= 0;
14673 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14677 PyObject
*swig_obj
[1] ;
14679 if (!args
) SWIG_fail
;
14680 swig_obj
[0] = args
;
14681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14682 if (!SWIG_IsOK(res1
)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14685 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 result
= (int)(arg1
)->GetPollingMin();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_From_int(static_cast< int >(result
));
14699 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14713 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (int)(arg1
)->GetPollingMax();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_From_int(static_cast< int >(result
));
14727 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14728 PyObject
*resultobj
= 0;
14729 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14733 PyObject
*swig_obj
[1] ;
14735 if (!args
) SWIG_fail
;
14736 swig_obj
[0] = args
;
14737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14741 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (int)(arg1
)->GetRudderMin();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_From_int(static_cast< int >(result
));
14755 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14756 PyObject
*resultobj
= 0;
14757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14761 PyObject
*swig_obj
[1] ;
14763 if (!args
) SWIG_fail
;
14764 swig_obj
[0] = args
;
14765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14766 if (!SWIG_IsOK(res1
)) {
14767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14769 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= (int)(arg1
)->GetRudderMax();
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_From_int(static_cast< int >(result
));
14783 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14784 PyObject
*resultobj
= 0;
14785 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14789 PyObject
*swig_obj
[1] ;
14791 if (!args
) SWIG_fail
;
14792 swig_obj
[0] = args
;
14793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14794 if (!SWIG_IsOK(res1
)) {
14795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14797 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (int)(arg1
)->GetUMin();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_From_int(static_cast< int >(result
));
14811 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14812 PyObject
*resultobj
= 0;
14813 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14817 PyObject
*swig_obj
[1] ;
14819 if (!args
) SWIG_fail
;
14820 swig_obj
[0] = args
;
14821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14822 if (!SWIG_IsOK(res1
)) {
14823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14825 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (int)(arg1
)->GetUMax();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_From_int(static_cast< int >(result
));
14839 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 PyObject
*resultobj
= 0;
14841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14845 PyObject
*swig_obj
[1] ;
14847 if (!args
) SWIG_fail
;
14848 swig_obj
[0] = args
;
14849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14853 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (int)(arg1
)->GetVMin();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_From_int(static_cast< int >(result
));
14867 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14868 PyObject
*resultobj
= 0;
14869 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14873 PyObject
*swig_obj
[1] ;
14875 if (!args
) SWIG_fail
;
14876 swig_obj
[0] = args
;
14877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14878 if (!SWIG_IsOK(res1
)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14881 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14884 result
= (int)(arg1
)->GetVMax();
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_From_int(static_cast< int >(result
));
14895 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14896 PyObject
*resultobj
= 0;
14897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14901 PyObject
*swig_obj
[1] ;
14903 if (!args
) SWIG_fail
;
14904 swig_obj
[0] = args
;
14905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14906 if (!SWIG_IsOK(res1
)) {
14907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14909 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (bool)(arg1
)->HasRudder();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14925 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14926 PyObject
*resultobj
= 0;
14927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14931 PyObject
*swig_obj
[1] ;
14933 if (!args
) SWIG_fail
;
14934 swig_obj
[0] = args
;
14935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14936 if (!SWIG_IsOK(res1
)) {
14937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14939 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (bool)(arg1
)->HasZ();
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14955 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14956 PyObject
*resultobj
= 0;
14957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14961 PyObject
*swig_obj
[1] ;
14963 if (!args
) SWIG_fail
;
14964 swig_obj
[0] = args
;
14965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14969 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 result
= (bool)(arg1
)->HasU();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14985 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14986 PyObject
*resultobj
= 0;
14987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14991 PyObject
*swig_obj
[1] ;
14993 if (!args
) SWIG_fail
;
14994 swig_obj
[0] = args
;
14995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14996 if (!SWIG_IsOK(res1
)) {
14997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
14999 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (bool)(arg1
)->HasV();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15015 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15016 PyObject
*resultobj
= 0;
15017 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15021 PyObject
*swig_obj
[1] ;
15023 if (!args
) SWIG_fail
;
15024 swig_obj
[0] = args
;
15025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15029 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->HasPOV();
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15045 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)(arg1
)->HasPOV4Dir();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15076 PyObject
*resultobj
= 0;
15077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15089 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (bool)(arg1
)->HasPOVCTS();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15105 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
= 0;
15107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15108 wxWindow
*arg2
= (wxWindow
*) 0 ;
15109 int arg3
= (int) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 PyObject
* obj2
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15129 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15131 if (!SWIG_IsOK(res2
)) {
15132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15137 if (!SWIG_IsOK(ecode3
)) {
15138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15140 arg3
= static_cast< int >(val3
);
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15157 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15158 PyObject
*resultobj
= 0;
15159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15163 PyObject
*swig_obj
[1] ;
15165 if (!args
) SWIG_fail
;
15166 swig_obj
[0] = args
;
15167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15168 if (!SWIG_IsOK(res1
)) {
15169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15171 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (bool)(arg1
)->ReleaseCapture();
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15187 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15189 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15190 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15191 return SWIG_Py_Void();
15194 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15195 return SWIG_Python_InitShadowInstance(args
);
15198 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
= 0;
15200 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15201 int arg2
= (int) 0 ;
15202 int arg3
= (int) wxJOYSTICK1
;
15203 int arg4
= (int) 0 ;
15204 wxJoystickEvent
*result
= 0 ;
15213 PyObject
* obj0
= 0 ;
15214 PyObject
* obj1
= 0 ;
15215 PyObject
* obj2
= 0 ;
15216 PyObject
* obj3
= 0 ;
15217 char * kwnames
[] = {
15218 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15223 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15224 if (!SWIG_IsOK(ecode1
)) {
15225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15227 arg1
= static_cast< wxEventType
>(val1
);
15230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15231 if (!SWIG_IsOK(ecode2
)) {
15232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15234 arg2
= static_cast< int >(val2
);
15237 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15238 if (!SWIG_IsOK(ecode3
)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15241 arg3
= static_cast< int >(val3
);
15244 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15245 if (!SWIG_IsOK(ecode4
)) {
15246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15248 arg4
= static_cast< int >(val4
);
15251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15252 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15263 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15264 PyObject
*resultobj
= 0;
15265 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15269 PyObject
*swig_obj
[1] ;
15271 if (!args
) SWIG_fail
;
15272 swig_obj
[0] = args
;
15273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15274 if (!SWIG_IsOK(res1
)) {
15275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15277 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15291 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15292 PyObject
*resultobj
= 0;
15293 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15297 PyObject
*swig_obj
[1] ;
15299 if (!args
) SWIG_fail
;
15300 swig_obj
[0] = args
;
15301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15305 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= SWIG_From_int(static_cast< int >(result
));
15319 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15325 PyObject
*swig_obj
[1] ;
15327 if (!args
) SWIG_fail
;
15328 swig_obj
[0] = args
;
15329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15330 if (!SWIG_IsOK(res1
)) {
15331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15333 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_From_int(static_cast< int >(result
));
15347 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15348 PyObject
*resultobj
= 0;
15349 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15353 PyObject
*swig_obj
[1] ;
15355 if (!args
) SWIG_fail
;
15356 swig_obj
[0] = args
;
15357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15358 if (!SWIG_IsOK(res1
)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15361 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_From_int(static_cast< int >(result
));
15375 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15381 PyObject
*swig_obj
[1] ;
15383 if (!args
) SWIG_fail
;
15384 swig_obj
[0] = args
;
15385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15389 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_From_int(static_cast< int >(result
));
15403 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
= 0;
15405 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char * kwnames
[] = {
15414 (char *) "self",(char *) "stick", NULL
15417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15419 if (!SWIG_IsOK(res1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15422 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15424 if (!SWIG_IsOK(ecode2
)) {
15425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15427 arg2
= static_cast< int >(val2
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 (arg1
)->SetJoystick(arg2
);
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char * kwnames
[] = {
15452 (char *) "self",(char *) "state", NULL
15455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15457 if (!SWIG_IsOK(res1
)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15460 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15462 if (!SWIG_IsOK(ecode2
)) {
15463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15465 arg2
= static_cast< int >(val2
);
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 (arg1
)->SetButtonState(arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 resultobj
= SWIG_Py_Void();
15479 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
= 0;
15481 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 PyObject
* obj1
= 0 ;
15489 char * kwnames
[] = {
15490 (char *) "self",(char *) "change", NULL
15493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15495 if (!SWIG_IsOK(res1
)) {
15496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15498 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15500 if (!SWIG_IsOK(ecode2
)) {
15501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15503 arg2
= static_cast< int >(val2
);
15505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15506 (arg1
)->SetButtonChange(arg2
);
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= SWIG_Py_Void();
15517 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
= 0;
15519 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15520 wxPoint
*arg2
= 0 ;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 char * kwnames
[] = {
15527 (char *) "self",(char *) "pos", NULL
15530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15532 if (!SWIG_IsOK(res1
)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15535 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_Py_Void();
15553 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char * kwnames
[] = {
15564 (char *) "self",(char *) "zPos", NULL
15567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15572 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15574 if (!SWIG_IsOK(ecode2
)) {
15575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15577 arg2
= static_cast< int >(val2
);
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->SetZPosition(arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_Py_Void();
15591 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15592 PyObject
*resultobj
= 0;
15593 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15597 PyObject
*swig_obj
[1] ;
15599 if (!args
) SWIG_fail
;
15600 swig_obj
[0] = args
;
15601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15605 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15609 wxPyEndAllowThreads(__tstate
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15621 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15622 PyObject
*resultobj
= 0;
15623 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15627 PyObject
*swig_obj
[1] ;
15629 if (!args
) SWIG_fail
;
15630 swig_obj
[0] = args
;
15631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15632 if (!SWIG_IsOK(res1
)) {
15633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15635 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15639 wxPyEndAllowThreads(__tstate
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15651 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15652 PyObject
*resultobj
= 0;
15653 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15657 PyObject
*swig_obj
[1] ;
15659 if (!args
) SWIG_fail
;
15660 swig_obj
[0] = args
;
15661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15662 if (!SWIG_IsOK(res1
)) {
15663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15665 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15681 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15684 int arg2
= (int) wxJOY_BUTTON_ANY
;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char * kwnames
[] = {
15693 (char *) "self",(char *) "but", NULL
15696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15698 if (!SWIG_IsOK(res1
)) {
15699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15701 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15704 if (!SWIG_IsOK(ecode2
)) {
15705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15707 arg2
= static_cast< int >(val2
);
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15724 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
= 0;
15726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15727 int arg2
= (int) wxJOY_BUTTON_ANY
;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 char * kwnames
[] = {
15736 (char *) "self",(char *) "but", NULL
15739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15744 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15747 if (!SWIG_IsOK(ecode2
)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15750 arg2
= static_cast< int >(val2
);
15753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15754 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15755 wxPyEndAllowThreads(__tstate
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15767 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
= 0;
15769 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15770 int arg2
= (int) wxJOY_BUTTON_ANY
;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "self",(char *) "but", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15787 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15790 if (!SWIG_IsOK(ecode2
)) {
15791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15793 arg2
= static_cast< int >(val2
);
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15810 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15813 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15814 return SWIG_Py_Void();
15817 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15818 return SWIG_Python_InitShadowInstance(args
);
15821 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= 0;
15823 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15824 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15825 wxSound
*result
= 0 ;
15826 bool temp1
= false ;
15827 PyObject
* obj0
= 0 ;
15828 char * kwnames
[] = {
15829 (char *) "fileName", NULL
15832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15835 arg1
= wxString_in_helper(obj0
);
15836 if (arg1
== NULL
) SWIG_fail
;
15841 if (!wxPyCheckForApp()) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15862 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
= 0;
15864 PyObject
*arg1
= (PyObject
*) 0 ;
15865 wxSound
*result
= 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char * kwnames
[] = {
15868 (char *) "data", NULL
15871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15874 if (!wxPyCheckForApp()) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (wxSound
*)new_wxSound(arg1
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15887 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15888 PyObject
*resultobj
= 0;
15889 wxSound
*arg1
= (wxSound
*) 0 ;
15892 PyObject
*swig_obj
[1] ;
15894 if (!args
) SWIG_fail
;
15895 swig_obj
[0] = args
;
15896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15900 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= SWIG_Py_Void();
15915 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
= 0;
15917 wxSound
*arg1
= (wxSound
*) 0 ;
15918 wxString
*arg2
= 0 ;
15922 bool temp2
= false ;
15923 PyObject
* obj0
= 0 ;
15924 PyObject
* obj1
= 0 ;
15925 char * kwnames
[] = {
15926 (char *) "self",(char *) "fileName", NULL
15929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15931 if (!SWIG_IsOK(res1
)) {
15932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15934 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15936 arg2
= wxString_in_helper(obj1
);
15937 if (arg2
== NULL
) SWIG_fail
;
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
= 0;
15965 wxSound
*arg1
= (wxSound
*) 0 ;
15966 PyObject
*arg2
= (PyObject
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 char * kwnames
[] = {
15973 (char *) "self",(char *) "data", NULL
15976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15978 if (!SWIG_IsOK(res1
)) {
15979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15981 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15998 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 PyObject
*resultobj
= 0;
16000 wxSound
*arg1
= (wxSound
*) 0 ;
16004 PyObject
*swig_obj
[1] ;
16006 if (!args
) SWIG_fail
;
16007 swig_obj
[0] = args
;
16008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16012 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)(arg1
)->IsOk();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16028 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
= 0;
16030 wxSound
*arg1
= (wxSound
*) 0 ;
16031 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16035 unsigned int val2
;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char * kwnames
[] = {
16040 (char *) "self",(char *) "flags", NULL
16043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16048 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16050 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16051 if (!SWIG_IsOK(ecode2
)) {
16052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16054 arg2
= static_cast< unsigned int >(val2
);
16057 if (!wxPyCheckForApp()) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16072 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
= 0;
16074 wxString
*arg1
= 0 ;
16075 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16077 bool temp1
= false ;
16078 unsigned int val2
;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char * kwnames
[] = {
16083 (char *) "filename",(char *) "flags", NULL
16086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16088 arg1
= wxString_in_helper(obj0
);
16089 if (arg1
== NULL
) SWIG_fail
;
16093 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16094 if (!SWIG_IsOK(ecode2
)) {
16095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16097 arg2
= static_cast< unsigned int >(val2
);
16100 if (!wxPyCheckForApp()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16123 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16124 PyObject
*resultobj
= 0;
16126 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16128 if (!wxPyCheckForApp()) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= SWIG_Py_Void();
16141 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16143 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16144 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16145 return SWIG_Py_Void();
16148 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 return SWIG_Python_InitShadowInstance(args
);
16152 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
= 0;
16154 wxString
*arg1
= 0 ;
16155 wxString
*arg2
= 0 ;
16156 wxString
*arg3
= 0 ;
16157 wxString
*arg4
= 0 ;
16158 wxFileTypeInfo
*result
= 0 ;
16159 bool temp1
= false ;
16160 bool temp2
= false ;
16161 bool temp3
= false ;
16162 bool temp4
= false ;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 PyObject
* obj2
= 0 ;
16166 PyObject
* obj3
= 0 ;
16167 char * kwnames
[] = {
16168 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16173 arg1
= wxString_in_helper(obj0
);
16174 if (arg1
== NULL
) SWIG_fail
;
16178 arg2
= wxString_in_helper(obj1
);
16179 if (arg2
== NULL
) SWIG_fail
;
16183 arg3
= wxString_in_helper(obj2
);
16184 if (arg3
== NULL
) SWIG_fail
;
16188 arg4
= wxString_in_helper(obj3
);
16189 if (arg4
== NULL
) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16237 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
= 0;
16239 wxArrayString
*arg1
= 0 ;
16240 wxFileTypeInfo
*result
= 0 ;
16241 bool temp1
= false ;
16242 PyObject
* obj0
= 0 ;
16243 char * kwnames
[] = {
16244 (char *) "sArray", NULL
16247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16249 if (! PySequence_Check(obj0
)) {
16250 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16253 arg1
= new wxArrayString
;
16255 int i
, len
=PySequence_Length(obj0
);
16256 for (i
=0; i
<len
; i
++) {
16257 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16258 wxString
* s
= wxString_in_helper(item
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16273 if (temp1
) delete arg1
;
16278 if (temp1
) delete arg1
;
16284 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16285 PyObject
*resultobj
= 0;
16286 wxFileTypeInfo
*result
= 0 ;
16288 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16302 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16303 PyObject
*resultobj
= 0;
16304 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16308 PyObject
*swig_obj
[1] ;
16310 if (!args
) SWIG_fail
;
16311 swig_obj
[0] = args
;
16312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16313 if (!SWIG_IsOK(res1
)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16316 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16319 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16332 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16333 PyObject
*resultobj
= 0;
16334 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16335 wxString
*arg2
= 0 ;
16336 int arg3
= (int) 0 ;
16339 bool temp2
= false ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 PyObject
* obj2
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16354 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16356 arg2
= wxString_in_helper(obj1
);
16357 if (arg2
== NULL
) SWIG_fail
;
16361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16362 if (!SWIG_IsOK(ecode3
)) {
16363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16365 arg3
= static_cast< int >(val3
);
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= SWIG_Py_Void();
16388 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
= 0;
16390 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16391 wxString
*arg2
= 0 ;
16394 bool temp2
= false ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "shortDesc", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16406 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16408 arg2
= wxString_in_helper(obj1
);
16409 if (arg2
== NULL
) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_Py_Void();
16433 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16434 PyObject
*resultobj
= 0;
16435 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16436 wxString
*result
= 0 ;
16439 PyObject
*swig_obj
[1] ;
16441 if (!args
) SWIG_fail
;
16442 swig_obj
[0] = args
;
16443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16444 if (!SWIG_IsOK(res1
)) {
16445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16447 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16452 result
= (wxString
*) &_result_ref
;
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16470 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16471 PyObject
*resultobj
= 0;
16472 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16473 wxString
*result
= 0 ;
16476 PyObject
*swig_obj
[1] ;
16478 if (!args
) SWIG_fail
;
16479 swig_obj
[0] = args
;
16480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16481 if (!SWIG_IsOK(res1
)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16484 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16489 result
= (wxString
*) &_result_ref
;
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16498 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16507 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16508 PyObject
*resultobj
= 0;
16509 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16510 wxString
*result
= 0 ;
16513 PyObject
*swig_obj
[1] ;
16515 if (!args
) SWIG_fail
;
16516 swig_obj
[0] = args
;
16517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16518 if (!SWIG_IsOK(res1
)) {
16519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16521 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16526 result
= (wxString
*) &_result_ref
;
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16544 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 PyObject
*resultobj
= 0;
16546 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16547 wxString
*result
= 0 ;
16550 PyObject
*swig_obj
[1] ;
16552 if (!args
) SWIG_fail
;
16553 swig_obj
[0] = args
;
16554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16555 if (!SWIG_IsOK(res1
)) {
16556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16558 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16563 result
= (wxString
*) &_result_ref
;
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16570 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16572 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16581 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16582 PyObject
*resultobj
= 0;
16583 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16584 wxString
*result
= 0 ;
16587 PyObject
*swig_obj
[1] ;
16589 if (!args
) SWIG_fail
;
16590 swig_obj
[0] = args
;
16591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16595 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16600 result
= (wxString
*) &_result_ref
;
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16609 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16618 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 PyObject
*resultobj
= 0;
16620 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16621 wxArrayString
*result
= 0 ;
16624 PyObject
*swig_obj
[1] ;
16626 if (!args
) SWIG_fail
;
16627 swig_obj
[0] = args
;
16628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16629 if (!SWIG_IsOK(res1
)) {
16630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16632 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16637 result
= (wxArrayString
*) &_result_ref
;
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= wxArrayString2PyList_helper(*result
);
16651 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16652 PyObject
*resultobj
= 0;
16653 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16657 PyObject
*swig_obj
[1] ;
16659 if (!args
) SWIG_fail
;
16660 swig_obj
[0] = args
;
16661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16662 if (!SWIG_IsOK(res1
)) {
16663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16665 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16679 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16680 PyObject
*resultobj
= 0;
16681 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16682 wxString
*result
= 0 ;
16685 PyObject
*swig_obj
[1] ;
16687 if (!args
) SWIG_fail
;
16688 swig_obj
[0] = args
;
16689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16693 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16698 result
= (wxString
*) &_result_ref
;
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16707 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16716 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16717 PyObject
*resultobj
= 0;
16718 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16722 PyObject
*swig_obj
[1] ;
16724 if (!args
) SWIG_fail
;
16725 swig_obj
[0] = args
;
16726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16727 if (!SWIG_IsOK(res1
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16730 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16737 resultobj
= SWIG_From_int(static_cast< int >(result
));
16744 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16747 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16748 return SWIG_Py_Void();
16751 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16752 return SWIG_Python_InitShadowInstance(args
);
16755 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
= 0;
16757 wxFileTypeInfo
*arg1
= 0 ;
16758 wxFileType
*result
= 0 ;
16761 PyObject
* obj0
= 0 ;
16762 char * kwnames
[] = {
16763 (char *) "ftInfo", NULL
16766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16767 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16768 if (!SWIG_IsOK(res1
)) {
16769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16774 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16788 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16789 PyObject
*resultobj
= 0;
16790 wxFileType
*arg1
= (wxFileType
*) 0 ;
16793 PyObject
*swig_obj
[1] ;
16795 if (!args
) SWIG_fail
;
16796 swig_obj
[0] = args
;
16797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16798 if (!SWIG_IsOK(res1
)) {
16799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16801 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_Py_Void();
16816 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16817 PyObject
*resultobj
= 0;
16818 wxFileType
*arg1
= (wxFileType
*) 0 ;
16819 PyObject
*result
= 0 ;
16822 PyObject
*swig_obj
[1] ;
16824 if (!args
) SWIG_fail
;
16825 swig_obj
[0] = args
;
16826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16827 if (!SWIG_IsOK(res1
)) {
16828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16830 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= result
;
16844 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16845 PyObject
*resultobj
= 0;
16846 wxFileType
*arg1
= (wxFileType
*) 0 ;
16847 PyObject
*result
= 0 ;
16850 PyObject
*swig_obj
[1] ;
16852 if (!args
) SWIG_fail
;
16853 swig_obj
[0] = args
;
16854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16858 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16862 wxPyEndAllowThreads(__tstate
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= result
;
16872 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16873 PyObject
*resultobj
= 0;
16874 wxFileType
*arg1
= (wxFileType
*) 0 ;
16875 PyObject
*result
= 0 ;
16878 PyObject
*swig_obj
[1] ;
16880 if (!args
) SWIG_fail
;
16881 swig_obj
[0] = args
;
16882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16883 if (!SWIG_IsOK(res1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16886 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
;
16900 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16901 PyObject
*resultobj
= 0;
16902 wxFileType
*arg1
= (wxFileType
*) 0 ;
16903 wxIcon
*result
= 0 ;
16906 PyObject
*swig_obj
[1] ;
16908 if (!args
) SWIG_fail
;
16909 swig_obj
[0] = args
;
16910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16911 if (!SWIG_IsOK(res1
)) {
16912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16914 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16928 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16929 PyObject
*resultobj
= 0;
16930 wxFileType
*arg1
= (wxFileType
*) 0 ;
16931 PyObject
*result
= 0 ;
16934 PyObject
*swig_obj
[1] ;
16936 if (!args
) SWIG_fail
;
16937 swig_obj
[0] = args
;
16938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16939 if (!SWIG_IsOK(res1
)) {
16940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16942 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= result
;
16956 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16957 PyObject
*resultobj
= 0;
16958 wxFileType
*arg1
= (wxFileType
*) 0 ;
16959 PyObject
*result
= 0 ;
16962 PyObject
*swig_obj
[1] ;
16964 if (!args
) SWIG_fail
;
16965 swig_obj
[0] = args
;
16966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16967 if (!SWIG_IsOK(res1
)) {
16968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16970 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= result
;
16984 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
= 0;
16986 wxFileType
*arg1
= (wxFileType
*) 0 ;
16987 wxString
*arg2
= 0 ;
16988 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16989 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16990 PyObject
*result
= 0 ;
16993 bool temp2
= false ;
16994 bool temp3
= false ;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 PyObject
* obj2
= 0 ;
16998 char * kwnames
[] = {
16999 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17004 if (!SWIG_IsOK(res1
)) {
17005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17007 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17009 arg2
= wxString_in_helper(obj1
);
17010 if (arg2
== NULL
) SWIG_fail
;
17015 arg3
= wxString_in_helper(obj2
);
17016 if (arg3
== NULL
) SWIG_fail
;
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= result
;
17049 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
= 0;
17051 wxFileType
*arg1
= (wxFileType
*) 0 ;
17052 wxString
*arg2
= 0 ;
17053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17055 PyObject
*result
= 0 ;
17058 bool temp2
= false ;
17059 bool temp3
= false ;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 PyObject
* obj2
= 0 ;
17063 char * kwnames
[] = {
17064 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17072 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17074 arg2
= wxString_in_helper(obj1
);
17075 if (arg2
== NULL
) SWIG_fail
;
17080 arg3
= wxString_in_helper(obj2
);
17081 if (arg3
== NULL
) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= result
;
17114 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxFileType
*arg1
= (wxFileType
*) 0 ;
17117 wxString
*arg2
= 0 ;
17118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17120 PyObject
*result
= 0 ;
17123 bool temp2
= false ;
17124 bool temp3
= false ;
17125 PyObject
* obj0
= 0 ;
17126 PyObject
* obj1
= 0 ;
17127 PyObject
* obj2
= 0 ;
17128 char * kwnames
[] = {
17129 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17134 if (!SWIG_IsOK(res1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17137 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17139 arg2
= wxString_in_helper(obj1
);
17140 if (arg2
== NULL
) SWIG_fail
;
17145 arg3
= wxString_in_helper(obj2
);
17146 if (arg3
== NULL
) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= result
;
17179 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
= 0;
17181 wxFileType
*arg1
= (wxFileType
*) 0 ;
17182 wxString
*arg2
= 0 ;
17183 wxString
*arg3
= 0 ;
17184 bool arg4
= (bool) true ;
17188 bool temp2
= false ;
17189 bool temp3
= false ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 PyObject
* obj3
= 0 ;
17196 char * kwnames
[] = {
17197 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17202 if (!SWIG_IsOK(res1
)) {
17203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17205 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17207 arg2
= wxString_in_helper(obj1
);
17208 if (arg2
== NULL
) SWIG_fail
;
17212 arg3
= wxString_in_helper(obj2
);
17213 if (arg3
== NULL
) SWIG_fail
;
17217 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17218 if (!SWIG_IsOK(ecode4
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17221 arg4
= static_cast< bool >(val4
);
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17254 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
= 0;
17256 wxFileType
*arg1
= (wxFileType
*) 0 ;
17257 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17258 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17259 int arg3
= (int) 0 ;
17263 bool temp2
= false ;
17266 PyObject
* obj0
= 0 ;
17267 PyObject
* obj1
= 0 ;
17268 PyObject
* obj2
= 0 ;
17269 char * kwnames
[] = {
17270 (char *) "self",(char *) "cmd",(char *) "index", NULL
17273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17275 if (!SWIG_IsOK(res1
)) {
17276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17278 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17281 arg2
= wxString_in_helper(obj1
);
17282 if (arg2
== NULL
) SWIG_fail
;
17287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17288 if (!SWIG_IsOK(ecode3
)) {
17289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17291 arg3
= static_cast< int >(val3
);
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17316 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17317 PyObject
*resultobj
= 0;
17318 wxFileType
*arg1
= (wxFileType
*) 0 ;
17322 PyObject
*swig_obj
[1] ;
17324 if (!args
) SWIG_fail
;
17325 swig_obj
[0] = args
;
17326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17330 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (bool)(arg1
)->Unassociate();
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17346 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
= 0;
17348 wxString
*arg1
= 0 ;
17349 wxString
*arg2
= 0 ;
17350 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17351 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17353 bool temp1
= false ;
17354 bool temp2
= false ;
17355 bool temp3
= false ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17365 arg1
= wxString_in_helper(obj0
);
17366 if (arg1
== NULL
) SWIG_fail
;
17370 arg2
= wxString_in_helper(obj1
);
17371 if (arg2
== NULL
) SWIG_fail
;
17376 arg3
= wxString_in_helper(obj2
);
17377 if (arg3
== NULL
) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17424 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17427 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17428 return SWIG_Py_Void();
17431 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17432 return SWIG_Python_InitShadowInstance(args
);
17435 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17436 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17441 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17442 PyObject
*pyobj
= 0;
17444 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17449 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
= 0;
17451 wxString
*arg1
= 0 ;
17452 wxString
*arg2
= 0 ;
17454 bool temp1
= false ;
17455 bool temp2
= false ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char * kwnames
[] = {
17459 (char *) "mimeType",(char *) "wildcard", NULL
17462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17464 arg1
= wxString_in_helper(obj0
);
17465 if (arg1
== NULL
) SWIG_fail
;
17469 arg2
= wxString_in_helper(obj1
);
17470 if (arg2
== NULL
) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17504 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17505 PyObject
*resultobj
= 0;
17506 wxMimeTypesManager
*result
= 0 ;
17508 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17522 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
= 0;
17524 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17525 int arg2
= (int) wxMAILCAP_ALL
;
17526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17532 bool temp3
= false ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 PyObject
* obj2
= 0 ;
17536 char * kwnames
[] = {
17537 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17542 if (!SWIG_IsOK(res1
)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17545 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17548 if (!SWIG_IsOK(ecode2
)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17551 arg2
= static_cast< int >(val2
);
17555 arg3
= wxString_in_helper(obj2
);
17556 if (arg3
== NULL
) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= SWIG_Py_Void();
17581 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 PyObject
*resultobj
= 0;
17583 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17586 PyObject
*swig_obj
[1] ;
17588 if (!args
) SWIG_fail
;
17589 swig_obj
[0] = args
;
17590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17591 if (!SWIG_IsOK(res1
)) {
17592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17594 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->ClearData();
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 resultobj
= SWIG_Py_Void();
17608 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
= 0;
17610 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17611 wxString
*arg2
= 0 ;
17612 wxFileType
*result
= 0 ;
17615 bool temp2
= false ;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 char * kwnames
[] = {
17619 (char *) "self",(char *) "ext", NULL
17622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17624 if (!SWIG_IsOK(res1
)) {
17625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17627 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17629 arg2
= wxString_in_helper(obj1
);
17630 if (arg2
== NULL
) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17654 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
= 0;
17656 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17657 wxString
*arg2
= 0 ;
17658 wxFileType
*result
= 0 ;
17661 bool temp2
= false ;
17662 PyObject
* obj0
= 0 ;
17663 PyObject
* obj1
= 0 ;
17664 char * kwnames
[] = {
17665 (char *) "self",(char *) "mimeType", NULL
17668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17670 if (!SWIG_IsOK(res1
)) {
17671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17673 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17675 arg2
= wxString_in_helper(obj1
);
17676 if (arg2
== NULL
) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17700 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
= 0;
17702 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17703 wxString
*arg2
= 0 ;
17704 bool arg3
= (bool) false ;
17708 bool temp2
= false ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char * kwnames
[] = {
17715 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17720 if (!SWIG_IsOK(res1
)) {
17721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17723 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17725 arg2
= wxString_in_helper(obj1
);
17726 if (arg2
== NULL
) SWIG_fail
;
17730 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17731 if (!SWIG_IsOK(ecode3
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17734 arg3
= static_cast< bool >(val3
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
= 0;
17761 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17762 wxString
*arg2
= 0 ;
17766 bool temp2
= false ;
17767 PyObject
* obj0
= 0 ;
17768 PyObject
* obj1
= 0 ;
17769 char * kwnames
[] = {
17770 (char *) "self",(char *) "filename", NULL
17773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17775 if (!SWIG_IsOK(res1
)) {
17776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17778 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17780 arg2
= wxString_in_helper(obj1
);
17781 if (arg2
== NULL
) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17807 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17808 PyObject
*resultobj
= 0;
17809 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17810 PyObject
*result
= 0 ;
17813 PyObject
*swig_obj
[1] ;
17815 if (!args
) SWIG_fail
;
17816 swig_obj
[0] = args
;
17817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17818 if (!SWIG_IsOK(res1
)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17821 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= result
;
17835 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17838 wxFileTypeInfo
*arg2
= 0 ;
17843 PyObject
* obj0
= 0 ;
17844 PyObject
* obj1
= 0 ;
17845 char * kwnames
[] = {
17846 (char *) "self",(char *) "ft", NULL
17849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17851 if (!SWIG_IsOK(res1
)) {
17852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17854 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17856 if (!SWIG_IsOK(res2
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17862 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_Py_Void();
17876 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17877 PyObject
*resultobj
= 0;
17878 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17879 wxFileTypeInfo
*arg2
= 0 ;
17880 wxFileType
*result
= 0 ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 char * kwnames
[] = {
17888 (char *) "self",(char *) "ftInfo", NULL
17891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17896 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17898 if (!SWIG_IsOK(res2
)) {
17899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17904 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17918 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17921 wxFileType
*arg2
= (wxFileType
*) 0 ;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 char * kwnames
[] = {
17930 (char *) "self",(char *) "ft", NULL
17933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17938 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17940 if (!SWIG_IsOK(res2
)) {
17941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17943 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (bool)(arg1
)->Unassociate(arg2
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17959 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17960 PyObject
*resultobj
= 0;
17961 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17964 PyObject
*swig_obj
[1] ;
17966 if (!args
) SWIG_fail
;
17967 swig_obj
[0] = args
;
17968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17969 if (!SWIG_IsOK(res1
)) {
17970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17972 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_Py_Void();
17987 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17989 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17990 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
17991 return SWIG_Py_Void();
17994 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17995 return SWIG_Python_InitShadowInstance(args
);
17998 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
17999 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18004 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18005 PyObject
*pyobj
= 0;
18009 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18011 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18018 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18019 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18024 SWIGINTERN PyObject
*ART_MENU_get(void) {
18025 PyObject
*pyobj
= 0;
18029 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18031 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18038 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18039 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18044 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18045 PyObject
*pyobj
= 0;
18049 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18051 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18058 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18059 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18064 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18065 PyObject
*pyobj
= 0;
18069 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18071 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18078 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18079 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18084 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18085 PyObject
*pyobj
= 0;
18089 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18091 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18098 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18099 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18104 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18105 PyObject
*pyobj
= 0;
18109 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18111 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18118 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18119 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18124 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18125 PyObject
*pyobj
= 0;
18129 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18131 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18138 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18139 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18144 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18145 PyObject
*pyobj
= 0;
18149 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18151 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18158 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18159 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18164 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18165 PyObject
*pyobj
= 0;
18169 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18171 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18178 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18179 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18184 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18185 PyObject
*pyobj
= 0;
18189 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18191 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18198 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18199 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18204 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18205 PyObject
*pyobj
= 0;
18209 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18211 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18218 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18219 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18224 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18225 PyObject
*pyobj
= 0;
18229 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18231 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18238 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18239 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18244 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18245 PyObject
*pyobj
= 0;
18249 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18251 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18258 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18259 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18264 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18265 PyObject
*pyobj
= 0;
18269 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18271 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18278 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18279 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18284 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18285 PyObject
*pyobj
= 0;
18289 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18291 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18298 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18299 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18304 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18305 PyObject
*pyobj
= 0;
18309 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18311 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18318 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18319 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18324 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18325 PyObject
*pyobj
= 0;
18329 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18331 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18338 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18339 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18344 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18345 PyObject
*pyobj
= 0;
18349 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18351 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18358 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18359 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18364 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18365 PyObject
*pyobj
= 0;
18369 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18371 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18378 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18379 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18384 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18385 PyObject
*pyobj
= 0;
18389 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18391 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18398 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18399 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18404 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18405 PyObject
*pyobj
= 0;
18409 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18411 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18418 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18419 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18424 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18425 PyObject
*pyobj
= 0;
18429 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18431 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18438 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18439 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18444 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18445 PyObject
*pyobj
= 0;
18449 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18451 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18458 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18459 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18464 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18465 PyObject
*pyobj
= 0;
18469 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18471 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18478 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18479 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18484 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18485 PyObject
*pyobj
= 0;
18489 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18491 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18498 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18499 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18504 SWIGINTERN PyObject
*ART_HELP_get(void) {
18505 PyObject
*pyobj
= 0;
18509 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18511 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18518 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18519 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18524 SWIGINTERN PyObject
*ART_TIP_get(void) {
18525 PyObject
*pyobj
= 0;
18529 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18531 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18538 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18539 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18544 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18545 PyObject
*pyobj
= 0;
18549 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18551 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18558 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18559 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18564 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18565 PyObject
*pyobj
= 0;
18569 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18571 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18578 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18579 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18584 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18585 PyObject
*pyobj
= 0;
18589 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18591 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18598 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18599 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18604 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18605 PyObject
*pyobj
= 0;
18609 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18611 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18618 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18619 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18624 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18625 PyObject
*pyobj
= 0;
18629 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18631 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18638 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18639 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18644 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18645 PyObject
*pyobj
= 0;
18649 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18651 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18658 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18659 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18664 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18665 PyObject
*pyobj
= 0;
18669 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18671 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18678 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18679 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18684 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18685 PyObject
*pyobj
= 0;
18689 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18691 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18698 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18699 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18704 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18705 PyObject
*pyobj
= 0;
18709 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18711 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18718 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18719 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18724 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18725 PyObject
*pyobj
= 0;
18729 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18731 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18738 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18739 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18744 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18745 PyObject
*pyobj
= 0;
18749 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18751 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18758 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18759 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18764 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18765 PyObject
*pyobj
= 0;
18769 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18771 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18778 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18779 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18784 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18785 PyObject
*pyobj
= 0;
18789 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18791 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18798 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18799 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18804 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18805 PyObject
*pyobj
= 0;
18809 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18811 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18818 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18819 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18824 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18825 PyObject
*pyobj
= 0;
18829 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18831 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18838 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18839 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18844 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18845 PyObject
*pyobj
= 0;
18849 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18851 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18858 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18859 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18864 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18865 PyObject
*pyobj
= 0;
18869 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18871 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18878 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18879 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18884 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18885 PyObject
*pyobj
= 0;
18889 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18891 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18898 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18899 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18904 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18905 PyObject
*pyobj
= 0;
18909 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18911 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18918 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18919 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18924 SWIGINTERN PyObject
*ART_COPY_get(void) {
18925 PyObject
*pyobj
= 0;
18929 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18931 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18938 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18939 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18944 SWIGINTERN PyObject
*ART_CUT_get(void) {
18945 PyObject
*pyobj
= 0;
18949 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18951 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18958 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18959 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18964 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18965 PyObject
*pyobj
= 0;
18969 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18971 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18978 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18979 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18984 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18985 PyObject
*pyobj
= 0;
18989 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18991 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18998 SWIGINTERN
int ART_NEW_set(PyObject
*) {
18999 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19004 SWIGINTERN PyObject
*ART_NEW_get(void) {
19005 PyObject
*pyobj
= 0;
19009 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19011 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19018 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19019 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19024 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19025 PyObject
*pyobj
= 0;
19029 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19031 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19038 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19039 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19044 SWIGINTERN PyObject
*ART_REDO_get(void) {
19045 PyObject
*pyobj
= 0;
19049 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19051 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19058 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19059 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19064 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19065 PyObject
*pyobj
= 0;
19069 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19071 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19078 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19079 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19084 SWIGINTERN PyObject
*ART_FIND_get(void) {
19085 PyObject
*pyobj
= 0;
19089 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19091 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19098 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19099 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19104 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19105 PyObject
*pyobj
= 0;
19109 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19111 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19118 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19119 PyObject
*resultobj
= 0;
19120 wxPyArtProvider
*result
= 0 ;
19122 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19124 if (!wxPyCheckForApp()) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19126 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19137 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19138 PyObject
*resultobj
= 0;
19139 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19142 PyObject
*swig_obj
[1] ;
19144 if (!args
) SWIG_fail
;
19145 swig_obj
[0] = args
;
19146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19147 if (!SWIG_IsOK(res1
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19150 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= SWIG_Py_Void();
19165 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
= 0;
19167 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19168 PyObject
*arg2
= (PyObject
*) 0 ;
19169 PyObject
*arg3
= (PyObject
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 PyObject
* obj2
= 0 ;
19175 char * kwnames
[] = {
19176 (char *) "self",(char *) "self",(char *) "_class", NULL
19179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19181 if (!SWIG_IsOK(res1
)) {
19182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19184 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_Py_Void();
19200 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
= 0;
19202 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19204 PyObject
* obj0
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "provider", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 wxPyArtProvider::PushProvider(arg1
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_Py_Void();
19227 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19228 PyObject
*resultobj
= 0;
19231 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 result
= (bool)wxPyArtProvider::PopProvider();
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19247 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19248 PyObject
*resultobj
= 0;
19249 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19253 PyObject
* obj0
= 0 ;
19254 char * kwnames
[] = {
19255 (char *) "provider", NULL
19258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19260 if (!SWIG_IsOK(res1
)) {
19261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19263 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19267 wxPyEndAllowThreads(__tstate
);
19268 if (PyErr_Occurred()) SWIG_fail
;
19271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19279 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
= 0;
19281 wxString
*arg1
= 0 ;
19282 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19283 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19284 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19285 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19287 bool temp1
= false ;
19288 bool temp2
= false ;
19290 PyObject
* obj0
= 0 ;
19291 PyObject
* obj1
= 0 ;
19292 PyObject
* obj2
= 0 ;
19293 char * kwnames
[] = {
19294 (char *) "id",(char *) "client",(char *) "size", NULL
19297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19299 arg1
= wxString_in_helper(obj0
);
19300 if (arg1
== NULL
) SWIG_fail
;
19305 arg2
= wxString_in_helper(obj1
);
19306 if (arg2
== NULL
) SWIG_fail
;
19313 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19317 if (!wxPyCheckForApp()) SWIG_fail
;
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19319 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19323 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19346 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxString
*arg1
= 0 ;
19349 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19350 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19351 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19352 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19354 bool temp1
= false ;
19355 bool temp2
= false ;
19357 PyObject
* obj0
= 0 ;
19358 PyObject
* obj1
= 0 ;
19359 PyObject
* obj2
= 0 ;
19360 char * kwnames
[] = {
19361 (char *) "id",(char *) "client",(char *) "size", NULL
19364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19366 arg1
= wxString_in_helper(obj0
);
19367 if (arg1
== NULL
) SWIG_fail
;
19372 arg2
= wxString_in_helper(obj1
);
19373 if (arg2
== NULL
) SWIG_fail
;
19380 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19384 if (!wxPyCheckForApp()) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19413 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19414 PyObject
*resultobj
= 0;
19415 wxString
*arg1
= 0 ;
19416 bool arg2
= (bool) false ;
19418 bool temp1
= false ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 char * kwnames
[] = {
19424 (char *) "client",(char *) "platform_dependent", NULL
19427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19429 arg1
= wxString_in_helper(obj0
);
19430 if (arg1
== NULL
) SWIG_fail
;
19434 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19435 if (!SWIG_IsOK(ecode2
)) {
19436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19438 arg2
= static_cast< bool >(val2
);
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19461 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19462 PyObject
*resultobj
= 0;
19463 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19466 PyObject
*swig_obj
[1] ;
19468 if (!args
) SWIG_fail
;
19469 swig_obj
[0] = args
;
19470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19471 if (!SWIG_IsOK(res1
)) {
19472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19474 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 wxPyArtProvider_Destroy(arg1
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_Py_Void();
19488 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19492 return SWIG_Py_Void();
19495 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19496 return SWIG_Python_InitShadowInstance(args
);
19499 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19500 PyObject
*resultobj
= 0;
19501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19504 PyObject
*swig_obj
[1] ;
19506 if (!args
) SWIG_fail
;
19507 swig_obj
[0] = args
;
19508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19512 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 resultobj
= SWIG_Py_Void();
19527 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
= 0;
19529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19530 wxConfigBase
*result
= 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char * kwnames
[] = {
19534 (char *) "config", NULL
19537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19538 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19539 if (!SWIG_IsOK(res1
)) {
19540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19555 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 bool arg1
= (bool) true ;
19558 wxConfigBase
*result
= 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char * kwnames
[] = {
19563 (char *) "createOnDemand", NULL
19566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19568 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19569 if (!SWIG_IsOK(ecode1
)) {
19570 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19572 arg1
= static_cast< bool >(val1
);
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19587 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19588 PyObject
*resultobj
= 0;
19589 wxConfigBase
*result
= 0 ;
19591 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19594 result
= (wxConfigBase
*)wxConfigBase::Create();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19605 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19606 PyObject
*resultobj
= 0;
19608 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 wxConfigBase::DontCreateOnDemand();
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19625 wxString
*arg2
= 0 ;
19628 bool temp2
= false ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "path", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19640 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19642 arg2
= wxString_in_helper(obj1
);
19643 if (arg2
== NULL
) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->SetPath((wxString
const &)*arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= SWIG_Py_Void();
19667 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19668 PyObject
*resultobj
= 0;
19669 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19670 wxString
*result
= 0 ;
19673 PyObject
*swig_obj
[1] ;
19675 if (!args
) SWIG_fail
;
19676 swig_obj
[0] = args
;
19677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19681 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19685 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19686 result
= (wxString
*) &_result_ref
;
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19704 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19705 PyObject
*resultobj
= 0;
19706 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19707 PyObject
*result
= 0 ;
19710 PyObject
*swig_obj
[1] ;
19712 if (!args
) SWIG_fail
;
19713 swig_obj
[0] = args
;
19714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19715 if (!SWIG_IsOK(res1
)) {
19716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19718 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= result
;
19732 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
= 0;
19734 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19736 PyObject
*result
= 0 ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "index", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19752 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19753 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19754 if (!SWIG_IsOK(ecode2
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19757 arg2
= static_cast< long >(val2
);
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= result
;
19771 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19772 PyObject
*resultobj
= 0;
19773 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19774 PyObject
*result
= 0 ;
19777 PyObject
*swig_obj
[1] ;
19779 if (!args
) SWIG_fail
;
19780 swig_obj
[0] = args
;
19781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19785 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= result
;
19799 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
= 0;
19801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19803 PyObject
*result
= 0 ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 char * kwnames
[] = {
19811 (char *) "self",(char *) "index", NULL
19814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19816 if (!SWIG_IsOK(res1
)) {
19817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19819 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19820 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19821 if (!SWIG_IsOK(ecode2
)) {
19822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19824 arg2
= static_cast< long >(val2
);
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= result
;
19838 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19839 PyObject
*resultobj
= 0;
19840 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19841 bool arg2
= (bool) false ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char * kwnames
[] = {
19850 (char *) "self",(char *) "recursive", NULL
19853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19858 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19860 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19861 if (!SWIG_IsOK(ecode2
)) {
19862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19864 arg2
= static_cast< bool >(val2
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19872 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19879 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
= 0;
19881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19882 bool arg2
= (bool) false ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char * kwnames
[] = {
19891 (char *) "self",(char *) "recursive", NULL
19894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19896 if (!SWIG_IsOK(res1
)) {
19897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19899 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19901 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19902 if (!SWIG_IsOK(ecode2
)) {
19903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19905 arg2
= static_cast< bool >(val2
);
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19920 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
= 0;
19922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19923 wxString
*arg2
= 0 ;
19927 bool temp2
= false ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char * kwnames
[] = {
19931 (char *) "self",(char *) "name", NULL
19934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19936 if (!SWIG_IsOK(res1
)) {
19937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19939 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19941 arg2
= wxString_in_helper(obj1
);
19942 if (arg2
== NULL
) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19968 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
= 0;
19970 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19971 wxString
*arg2
= 0 ;
19975 bool temp2
= false ;
19976 PyObject
* obj0
= 0 ;
19977 PyObject
* obj1
= 0 ;
19978 char * kwnames
[] = {
19979 (char *) "self",(char *) "name", NULL
19982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19984 if (!SWIG_IsOK(res1
)) {
19985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19987 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19989 arg2
= wxString_in_helper(obj1
);
19990 if (arg2
== NULL
) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
20000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20016 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
= 0;
20018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20019 wxString
*arg2
= 0 ;
20023 bool temp2
= false ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char * kwnames
[] = {
20027 (char *) "self",(char *) "name", NULL
20030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20032 if (!SWIG_IsOK(res1
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20035 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20037 arg2
= wxString_in_helper(obj1
);
20038 if (arg2
== NULL
) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20064 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
= 0;
20066 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20067 wxString
*arg2
= 0 ;
20068 wxConfigBase::EntryType result
;
20071 bool temp2
= false ;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char * kwnames
[] = {
20075 (char *) "self",(char *) "name", NULL
20078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20080 if (!SWIG_IsOK(res1
)) {
20081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20083 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20085 arg2
= wxString_in_helper(obj1
);
20086 if (arg2
== NULL
) SWIG_fail
;
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_From_int(static_cast< int >(result
));
20110 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20111 PyObject
*resultobj
= 0;
20112 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20113 wxString
*arg2
= 0 ;
20114 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20115 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20119 bool temp2
= false ;
20120 bool temp3
= false ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 PyObject
* obj2
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20133 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20135 arg2
= wxString_in_helper(obj1
);
20136 if (arg2
== NULL
) SWIG_fail
;
20141 arg3
= wxString_in_helper(obj2
);
20142 if (arg3
== NULL
) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20181 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
= 0;
20183 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20184 wxString
*arg2
= 0 ;
20185 long arg3
= (long) 0 ;
20189 bool temp2
= false ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 PyObject
* obj2
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20201 if (!SWIG_IsOK(res1
)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20204 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20206 arg2
= wxString_in_helper(obj1
);
20207 if (arg2
== NULL
) SWIG_fail
;
20211 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20212 if (!SWIG_IsOK(ecode3
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20215 arg3
= static_cast< long >(val3
);
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 resultobj
= SWIG_From_long(static_cast< long >(result
));
20238 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= 0;
20240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20241 wxString
*arg2
= 0 ;
20242 double arg3
= (double) 0.0 ;
20246 bool temp2
= false ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 PyObject
* obj2
= 0 ;
20252 char * kwnames
[] = {
20253 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20258 if (!SWIG_IsOK(res1
)) {
20259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20261 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20263 arg2
= wxString_in_helper(obj1
);
20264 if (arg2
== NULL
) SWIG_fail
;
20268 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20269 if (!SWIG_IsOK(ecode3
)) {
20270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20272 arg3
= static_cast< double >(val3
);
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_From_double(static_cast< double >(result
));
20295 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
= 0;
20297 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20298 wxString
*arg2
= 0 ;
20299 bool arg3
= (bool) false ;
20303 bool temp2
= false ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 PyObject
* obj2
= 0 ;
20309 char * kwnames
[] = {
20310 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20318 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20320 arg2
= wxString_in_helper(obj1
);
20321 if (arg2
== NULL
) SWIG_fail
;
20325 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20326 if (!SWIG_IsOK(ecode3
)) {
20327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20329 arg3
= static_cast< bool >(val3
);
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
= 0;
20356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20357 wxString
*arg2
= 0 ;
20358 wxString
*arg3
= 0 ;
20362 bool temp2
= false ;
20363 bool temp3
= false ;
20364 PyObject
* obj0
= 0 ;
20365 PyObject
* obj1
= 0 ;
20366 PyObject
* obj2
= 0 ;
20367 char * kwnames
[] = {
20368 (char *) "self",(char *) "key",(char *) "value", NULL
20371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20373 if (!SWIG_IsOK(res1
)) {
20374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20376 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20378 arg2
= wxString_in_helper(obj1
);
20379 if (arg2
== NULL
) SWIG_fail
;
20383 arg3
= wxString_in_helper(obj2
);
20384 if (arg3
== NULL
) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20418 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
= 0;
20420 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20421 wxString
*arg2
= 0 ;
20426 bool temp2
= false ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 PyObject
* obj2
= 0 ;
20432 char * kwnames
[] = {
20433 (char *) "self",(char *) "key",(char *) "value", NULL
20436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20438 if (!SWIG_IsOK(res1
)) {
20439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20441 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20443 arg2
= wxString_in_helper(obj1
);
20444 if (arg2
== NULL
) SWIG_fail
;
20447 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20448 if (!SWIG_IsOK(ecode3
)) {
20449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20451 arg3
= static_cast< long >(val3
);
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20475 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
= 0;
20477 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20478 wxString
*arg2
= 0 ;
20483 bool temp2
= false ;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 PyObject
* obj2
= 0 ;
20489 char * kwnames
[] = {
20490 (char *) "self",(char *) "key",(char *) "value", NULL
20493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20495 if (!SWIG_IsOK(res1
)) {
20496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20498 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20500 arg2
= wxString_in_helper(obj1
);
20501 if (arg2
== NULL
) SWIG_fail
;
20504 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20505 if (!SWIG_IsOK(ecode3
)) {
20506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20508 arg3
= static_cast< double >(val3
);
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20532 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
= 0;
20534 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20535 wxString
*arg2
= 0 ;
20540 bool temp2
= false ;
20543 PyObject
* obj0
= 0 ;
20544 PyObject
* obj1
= 0 ;
20545 PyObject
* obj2
= 0 ;
20546 char * kwnames
[] = {
20547 (char *) "self",(char *) "key",(char *) "value", NULL
20550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20552 if (!SWIG_IsOK(res1
)) {
20553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20555 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20557 arg2
= wxString_in_helper(obj1
);
20558 if (arg2
== NULL
) SWIG_fail
;
20561 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20562 if (!SWIG_IsOK(ecode3
)) {
20563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20565 arg3
= static_cast< bool >(val3
);
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20589 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
= 0;
20591 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20592 bool arg2
= (bool) false ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char * kwnames
[] = {
20601 (char *) "self",(char *) "currentOnly", NULL
20604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20606 if (!SWIG_IsOK(res1
)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20609 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20612 if (!SWIG_IsOK(ecode2
)) {
20613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20615 arg2
= static_cast< bool >(val2
);
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (bool)(arg1
)->Flush(arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
= 0;
20634 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20635 wxString
*arg2
= 0 ;
20636 wxString
*arg3
= 0 ;
20640 bool temp2
= false ;
20641 bool temp3
= false ;
20642 PyObject
* obj0
= 0 ;
20643 PyObject
* obj1
= 0 ;
20644 PyObject
* obj2
= 0 ;
20645 char * kwnames
[] = {
20646 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20654 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20656 arg2
= wxString_in_helper(obj1
);
20657 if (arg2
== NULL
) SWIG_fail
;
20661 arg3
= wxString_in_helper(obj2
);
20662 if (arg3
== NULL
) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= 0;
20698 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20699 wxString
*arg2
= 0 ;
20700 wxString
*arg3
= 0 ;
20704 bool temp2
= false ;
20705 bool temp3
= false ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20708 PyObject
* obj2
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20718 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20720 arg2
= wxString_in_helper(obj1
);
20721 if (arg2
== NULL
) SWIG_fail
;
20725 arg3
= wxString_in_helper(obj2
);
20726 if (arg3
== NULL
) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20760 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
= 0;
20762 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20763 wxString
*arg2
= 0 ;
20764 bool arg3
= (bool) true ;
20768 bool temp2
= false ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 PyObject
* obj2
= 0 ;
20774 char * kwnames
[] = {
20775 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20780 if (!SWIG_IsOK(res1
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20783 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20785 arg2
= wxString_in_helper(obj1
);
20786 if (arg2
== NULL
) SWIG_fail
;
20790 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20791 if (!SWIG_IsOK(ecode3
)) {
20792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20794 arg3
= static_cast< bool >(val3
);
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20819 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
= 0;
20821 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20822 wxString
*arg2
= 0 ;
20826 bool temp2
= false ;
20827 PyObject
* obj0
= 0 ;
20828 PyObject
* obj1
= 0 ;
20829 char * kwnames
[] = {
20830 (char *) "self",(char *) "key", NULL
20833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20838 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20840 arg2
= wxString_in_helper(obj1
);
20841 if (arg2
== NULL
) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20867 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20868 PyObject
*resultobj
= 0;
20869 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20873 PyObject
*swig_obj
[1] ;
20875 if (!args
) SWIG_fail
;
20876 swig_obj
[0] = args
;
20877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20878 if (!SWIG_IsOK(res1
)) {
20879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20881 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 result
= (bool)(arg1
)->DeleteAll();
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20897 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20900 bool arg2
= (bool) true ;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char * kwnames
[] = {
20908 (char *) "self",(char *) "doIt", NULL
20911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20913 if (!SWIG_IsOK(res1
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20916 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20918 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20919 if (!SWIG_IsOK(ecode2
)) {
20920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20922 arg2
= static_cast< bool >(val2
);
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 (arg1
)->SetExpandEnvVars(arg2
);
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_Py_Void();
20937 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20938 PyObject
*resultobj
= 0;
20939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20943 PyObject
*swig_obj
[1] ;
20945 if (!args
) SWIG_fail
;
20946 swig_obj
[0] = args
;
20947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20948 if (!SWIG_IsOK(res1
)) {
20949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20951 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20967 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20968 PyObject
*resultobj
= 0;
20969 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20970 bool arg2
= (bool) true ;
20975 PyObject
* obj0
= 0 ;
20976 PyObject
* obj1
= 0 ;
20977 char * kwnames
[] = {
20978 (char *) "self",(char *) "doIt", NULL
20981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20983 if (!SWIG_IsOK(res1
)) {
20984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20986 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20988 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20989 if (!SWIG_IsOK(ecode2
)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
20992 arg2
= static_cast< bool >(val2
);
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 (arg1
)->SetRecordDefaults(arg2
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_Py_Void();
21007 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 PyObject
*resultobj
= 0;
21009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21013 PyObject
*swig_obj
[1] ;
21015 if (!args
) SWIG_fail
;
21016 swig_obj
[0] = args
;
21017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21018 if (!SWIG_IsOK(res1
)) {
21019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21021 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21037 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
= 0;
21039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21040 wxString
*arg2
= 0 ;
21044 bool temp2
= false ;
21045 PyObject
* obj0
= 0 ;
21046 PyObject
* obj1
= 0 ;
21047 char * kwnames
[] = {
21048 (char *) "self",(char *) "str", NULL
21051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21053 if (!SWIG_IsOK(res1
)) {
21054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21056 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21058 arg2
= wxString_in_helper(obj1
);
21059 if (arg2
== NULL
) SWIG_fail
;
21063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21064 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21089 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21090 PyObject
*resultobj
= 0;
21091 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21095 PyObject
*swig_obj
[1] ;
21097 if (!args
) SWIG_fail
;
21098 swig_obj
[0] = args
;
21099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21100 if (!SWIG_IsOK(res1
)) {
21101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21103 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21123 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 PyObject
*resultobj
= 0;
21125 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21129 PyObject
*swig_obj
[1] ;
21131 if (!args
) SWIG_fail
;
21132 swig_obj
[0] = args
;
21133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21137 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21157 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
= 0;
21159 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21160 wxString
*arg2
= 0 ;
21163 bool temp2
= false ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "appName", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21175 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21177 arg2
= wxString_in_helper(obj1
);
21178 if (arg2
== NULL
) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->SetAppName((wxString
const &)*arg2
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= SWIG_Py_Void();
21202 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
= 0;
21204 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21205 wxString
*arg2
= 0 ;
21208 bool temp2
= false ;
21209 PyObject
* obj0
= 0 ;
21210 PyObject
* obj1
= 0 ;
21211 char * kwnames
[] = {
21212 (char *) "self",(char *) "vendorName", NULL
21215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21217 if (!SWIG_IsOK(res1
)) {
21218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21220 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21222 arg2
= wxString_in_helper(obj1
);
21223 if (arg2
== NULL
) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 resultobj
= SWIG_Py_Void();
21247 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
= 0;
21249 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21255 PyObject
* obj0
= 0 ;
21256 PyObject
* obj1
= 0 ;
21257 char * kwnames
[] = {
21258 (char *) "self",(char *) "style", NULL
21261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21263 if (!SWIG_IsOK(res1
)) {
21264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21266 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21267 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21268 if (!SWIG_IsOK(ecode2
)) {
21269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21271 arg2
= static_cast< long >(val2
);
21273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 (arg1
)->SetStyle(arg2
);
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_Py_Void();
21285 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21286 PyObject
*resultobj
= 0;
21287 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21291 PyObject
*swig_obj
[1] ;
21293 if (!args
) SWIG_fail
;
21294 swig_obj
[0] = args
;
21295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21296 if (!SWIG_IsOK(res1
)) {
21297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21299 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= SWIG_From_long(static_cast< long >(result
));
21313 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21315 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21316 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21317 return SWIG_Py_Void();
21320 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
= 0;
21322 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21323 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21324 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21328 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21329 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21330 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21331 wxConfig
*result
= 0 ;
21332 bool temp1
= false ;
21333 bool temp2
= false ;
21334 bool temp3
= false ;
21335 bool temp4
= false ;
21338 PyObject
* obj0
= 0 ;
21339 PyObject
* obj1
= 0 ;
21340 PyObject
* obj2
= 0 ;
21341 PyObject
* obj3
= 0 ;
21342 PyObject
* obj4
= 0 ;
21343 char * kwnames
[] = {
21344 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21350 arg1
= wxString_in_helper(obj0
);
21351 if (arg1
== NULL
) SWIG_fail
;
21357 arg2
= wxString_in_helper(obj1
);
21358 if (arg2
== NULL
) SWIG_fail
;
21364 arg3
= wxString_in_helper(obj2
);
21365 if (arg3
== NULL
) SWIG_fail
;
21371 arg4
= wxString_in_helper(obj3
);
21372 if (arg4
== NULL
) SWIG_fail
;
21377 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21378 if (!SWIG_IsOK(ecode5
)) {
21379 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21381 arg5
= static_cast< long >(val5
);
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21428 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21429 PyObject
*resultobj
= 0;
21430 wxConfig
*arg1
= (wxConfig
*) 0 ;
21433 PyObject
*swig_obj
[1] ;
21435 if (!args
) SWIG_fail
;
21436 swig_obj
[0] = args
;
21437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21438 if (!SWIG_IsOK(res1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21441 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 resultobj
= SWIG_Py_Void();
21456 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21459 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21460 return SWIG_Py_Void();
21463 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21464 return SWIG_Python_InitShadowInstance(args
);
21467 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
= 0;
21469 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21470 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21471 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21472 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21473 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21474 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21475 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21476 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21477 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21478 wxFileConfig
*result
= 0 ;
21479 bool temp1
= false ;
21480 bool temp2
= false ;
21481 bool temp3
= false ;
21482 bool temp4
= false ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 PyObject
* obj2
= 0 ;
21488 PyObject
* obj3
= 0 ;
21489 PyObject
* obj4
= 0 ;
21490 char * kwnames
[] = {
21491 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21497 arg1
= wxString_in_helper(obj0
);
21498 if (arg1
== NULL
) SWIG_fail
;
21504 arg2
= wxString_in_helper(obj1
);
21505 if (arg2
== NULL
) SWIG_fail
;
21511 arg3
= wxString_in_helper(obj2
);
21512 if (arg3
== NULL
) SWIG_fail
;
21518 arg4
= wxString_in_helper(obj3
);
21519 if (arg4
== NULL
) SWIG_fail
;
21524 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21525 if (!SWIG_IsOK(ecode5
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21528 arg5
= static_cast< long >(val5
);
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21575 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21576 PyObject
*resultobj
= 0;
21577 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21580 PyObject
*swig_obj
[1] ;
21582 if (!args
) SWIG_fail
;
21583 swig_obj
[0] = args
;
21584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21585 if (!SWIG_IsOK(res1
)) {
21586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21588 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= SWIG_Py_Void();
21603 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21606 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21607 return SWIG_Py_Void();
21610 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 return SWIG_Python_InitShadowInstance(args
);
21614 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
= 0;
21616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21617 wxString
*arg2
= 0 ;
21618 wxConfigPathChanger
*result
= 0 ;
21621 bool temp2
= false ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char * kwnames
[] = {
21625 (char *) "config",(char *) "entry", NULL
21628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21630 if (!SWIG_IsOK(res1
)) {
21631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21633 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21635 arg2
= wxString_in_helper(obj1
);
21636 if (arg2
== NULL
) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21660 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21661 PyObject
*resultobj
= 0;
21662 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21665 PyObject
*swig_obj
[1] ;
21667 if (!args
) SWIG_fail
;
21668 swig_obj
[0] = args
;
21669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21673 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_Py_Void();
21688 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21689 PyObject
*resultobj
= 0;
21690 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21691 wxString
*result
= 0 ;
21694 PyObject
*swig_obj
[1] ;
21696 if (!args
) SWIG_fail
;
21697 swig_obj
[0] = args
;
21698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21699 if (!SWIG_IsOK(res1
)) {
21700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21702 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21707 result
= (wxString
*) &_result_ref
;
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21716 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21725 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21728 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21729 return SWIG_Py_Void();
21732 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21733 return SWIG_Python_InitShadowInstance(args
);
21736 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxString
*arg1
= 0 ;
21740 bool temp1
= false ;
21741 PyObject
* obj0
= 0 ;
21742 char * kwnames
[] = {
21743 (char *) "sz", NULL
21746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21748 arg1
= wxString_in_helper(obj0
);
21749 if (arg1
== NULL
) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21779 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21780 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21785 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21786 PyObject
*pyobj
= 0;
21790 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21792 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21799 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21800 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21805 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21806 PyObject
*pyobj
= 0;
21810 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21812 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21819 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
= 0;
21821 wxDateTime::Country arg1
;
21824 PyObject
* obj0
= 0 ;
21825 char * kwnames
[] = {
21826 (char *) "country", NULL
21829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21830 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21831 if (!SWIG_IsOK(ecode1
)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21834 arg1
= static_cast< wxDateTime::Country
>(val1
);
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 wxDateTime::SetCountry(arg1
);
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_Py_Void();
21848 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21849 PyObject
*resultobj
= 0;
21850 wxDateTime::Country result
;
21852 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_From_int(static_cast< int >(result
));
21866 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
= 0;
21868 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21872 PyObject
* obj0
= 0 ;
21873 char * kwnames
[] = {
21874 (char *) "country", NULL
21877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21879 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21880 if (!SWIG_IsOK(ecode1
)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21883 arg1
= static_cast< wxDateTime::Country
>(val1
);
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21900 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
= 0;
21902 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21906 PyObject
* obj0
= 0 ;
21907 char * kwnames
[] = {
21908 (char *) "cal", NULL
21911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21914 if (!SWIG_IsOK(ecode1
)) {
21915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21917 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= SWIG_From_int(static_cast< int >(result
));
21932 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21938 PyObject
* obj0
= 0 ;
21939 char * kwnames
[] = {
21940 (char *) "year", NULL
21943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21944 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21945 if (!SWIG_IsOK(ecode1
)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21948 arg1
= static_cast< int >(val1
);
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_From_int(static_cast< int >(result
));
21962 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
= 0;
21964 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21965 wxDateTime::Month result
;
21968 PyObject
* obj0
= 0 ;
21969 char * kwnames
[] = {
21970 (char *) "cal", NULL
21973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21976 if (!SWIG_IsOK(ecode1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21979 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21987 resultobj
= SWIG_From_int(static_cast< int >(result
));
21994 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
= 0;
21996 int arg1
= (int) wxDateTime::Inv_Year
;
21997 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22003 PyObject
* obj0
= 0 ;
22004 PyObject
* obj1
= 0 ;
22005 char * kwnames
[] = {
22006 (char *) "year",(char *) "cal", NULL
22009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22012 if (!SWIG_IsOK(ecode1
)) {
22013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22015 arg1
= static_cast< int >(val1
);
22018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22019 if (!SWIG_IsOK(ecode2
)) {
22020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22022 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22039 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
= 0;
22041 int arg1
= (int) wxDateTime::Inv_Year
;
22045 PyObject
* obj0
= 0 ;
22046 char * kwnames
[] = {
22047 (char *) "year", NULL
22050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22053 if (!SWIG_IsOK(ecode1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22056 arg1
= static_cast< int >(val1
);
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (int)wxDateTime::GetCentury(arg1
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_From_int(static_cast< int >(result
));
22071 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
= 0;
22074 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char * kwnames
[] = {
22083 (char *) "year",(char *) "cal", NULL
22086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22088 if (!SWIG_IsOK(ecode1
)) {
22089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22091 arg1
= static_cast< int >(val1
);
22093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22094 if (!SWIG_IsOK(ecode2
)) {
22095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22097 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_From_int(static_cast< int >(result
));
22112 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
= 0;
22114 wxDateTime::Month arg1
;
22115 int arg2
= (int) wxDateTime::Inv_Year
;
22116 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22124 PyObject
* obj0
= 0 ;
22125 PyObject
* obj1
= 0 ;
22126 PyObject
* obj2
= 0 ;
22127 char * kwnames
[] = {
22128 (char *) "month",(char *) "year",(char *) "cal", NULL
22131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22133 if (!SWIG_IsOK(ecode1
)) {
22134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22136 arg1
= static_cast< wxDateTime::Month
>(val1
);
22138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22139 if (!SWIG_IsOK(ecode2
)) {
22140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22142 arg2
= static_cast< int >(val2
);
22145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22146 if (!SWIG_IsOK(ecode3
)) {
22147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22149 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= SWIG_From_int(static_cast< int >(result
));
22164 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
= 0;
22166 wxDateTime::Month arg1
;
22167 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char * kwnames
[] = {
22176 (char *) "month",(char *) "flags", NULL
22179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22180 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22181 if (!SWIG_IsOK(ecode1
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22184 arg1
= static_cast< wxDateTime::Month
>(val1
);
22186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22187 if (!SWIG_IsOK(ecode2
)) {
22188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22190 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22211 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
= 0;
22213 wxDateTime::WeekDay arg1
;
22214 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char * kwnames
[] = {
22223 (char *) "weekday",(char *) "flags", NULL
22226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22227 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22228 if (!SWIG_IsOK(ecode1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22231 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22234 if (!SWIG_IsOK(ecode2
)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22237 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22258 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22259 PyObject
*resultobj
= 0;
22260 PyObject
*result
= 0 ;
22262 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 resultobj
= result
;
22276 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
= 0;
22278 int arg1
= (int) wxDateTime::Inv_Year
;
22279 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22285 PyObject
* obj0
= 0 ;
22286 PyObject
* obj1
= 0 ;
22287 char * kwnames
[] = {
22288 (char *) "year",(char *) "country", NULL
22291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22293 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22294 if (!SWIG_IsOK(ecode1
)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22297 arg1
= static_cast< int >(val1
);
22300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22301 if (!SWIG_IsOK(ecode2
)) {
22302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22304 arg2
= static_cast< wxDateTime::Country
>(val2
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22321 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 int arg1
= (int) wxDateTime::Inv_Year
;
22324 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char * kwnames
[] = {
22333 (char *) "year",(char *) "country", NULL
22336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22339 if (!SWIG_IsOK(ecode1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22342 arg1
= static_cast< int >(val1
);
22345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22346 if (!SWIG_IsOK(ecode2
)) {
22347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22349 arg2
= static_cast< wxDateTime::Country
>(val2
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22364 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
= 0;
22366 int arg1
= (int) wxDateTime::Inv_Year
;
22367 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22373 PyObject
* obj0
= 0 ;
22374 PyObject
* obj1
= 0 ;
22375 char * kwnames
[] = {
22376 (char *) "year",(char *) "country", NULL
22379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22382 if (!SWIG_IsOK(ecode1
)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22385 arg1
= static_cast< int >(val1
);
22388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22389 if (!SWIG_IsOK(ecode2
)) {
22390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22392 arg2
= static_cast< wxDateTime::Country
>(val2
);
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22407 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22408 PyObject
*resultobj
= 0;
22411 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 result
= wxDateTime::Now();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22425 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22426 PyObject
*resultobj
= 0;
22429 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= wxDateTime::UNow();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22443 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22447 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= wxDateTime::Today();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22461 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22462 PyObject
*resultobj
= 0;
22463 wxDateTime
*result
= 0 ;
22465 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (wxDateTime
*)new wxDateTime();
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22479 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
= 0;
22482 wxDateTime
*result
= 0 ;
22483 unsigned int val1
;
22485 PyObject
* obj0
= 0 ;
22486 char * kwnames
[] = {
22487 (char *) "timet", NULL
22490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22491 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22492 if (!SWIG_IsOK(ecode1
)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22495 arg1
= static_cast< time_t >(val1
);
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (wxDateTime
*)new wxDateTime(arg1
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22509 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
= 0;
22512 wxDateTime
*result
= 0 ;
22515 PyObject
* obj0
= 0 ;
22516 char * kwnames
[] = {
22517 (char *) "jdn", NULL
22520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22521 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22522 if (!SWIG_IsOK(ecode1
)) {
22523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22525 arg1
= static_cast< double >(val1
);
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxDateTime
*)new wxDateTime(arg1
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22539 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
= 0;
22542 int arg2
= (int) 0 ;
22543 int arg3
= (int) 0 ;
22544 int arg4
= (int) 0 ;
22545 wxDateTime
*result
= 0 ;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 PyObject
* obj2
= 0 ;
22557 PyObject
* obj3
= 0 ;
22558 char * kwnames
[] = {
22559 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22563 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22564 if (!SWIG_IsOK(ecode1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22567 arg1
= static_cast< int >(val1
);
22569 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22570 if (!SWIG_IsOK(ecode2
)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22573 arg2
= static_cast< int >(val2
);
22576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22577 if (!SWIG_IsOK(ecode3
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22580 arg3
= static_cast< int >(val3
);
22583 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22584 if (!SWIG_IsOK(ecode4
)) {
22585 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22587 arg4
= static_cast< int >(val4
);
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22602 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22603 PyObject
*resultobj
= 0;
22605 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22606 int arg3
= (int) wxDateTime::Inv_Year
;
22607 int arg4
= (int) 0 ;
22608 int arg5
= (int) 0 ;
22609 int arg6
= (int) 0 ;
22610 int arg7
= (int) 0 ;
22611 wxDateTime
*result
= 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 PyObject
* obj3
= 0 ;
22630 PyObject
* obj4
= 0 ;
22631 PyObject
* obj5
= 0 ;
22632 PyObject
* obj6
= 0 ;
22633 char * kwnames
[] = {
22634 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22638 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22639 if (!SWIG_IsOK(ecode1
)) {
22640 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22642 arg1
= static_cast< int >(val1
);
22644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22645 if (!SWIG_IsOK(ecode2
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22648 arg2
= static_cast< wxDateTime::Month
>(val2
);
22651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22652 if (!SWIG_IsOK(ecode3
)) {
22653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22655 arg3
= static_cast< int >(val3
);
22658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22659 if (!SWIG_IsOK(ecode4
)) {
22660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22662 arg4
= static_cast< int >(val4
);
22665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22666 if (!SWIG_IsOK(ecode5
)) {
22667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22669 arg5
= static_cast< int >(val5
);
22672 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22673 if (!SWIG_IsOK(ecode6
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22676 arg6
= static_cast< int >(val6
);
22679 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22680 if (!SWIG_IsOK(ecode7
)) {
22681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22683 arg7
= static_cast< int >(val7
);
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22698 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
= 0;
22700 wxDateTime
*arg1
= 0 ;
22701 wxDateTime
*result
= 0 ;
22704 PyObject
* obj0
= 0 ;
22705 char * kwnames
[] = {
22706 (char *) "date", NULL
22709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22710 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22711 if (!SWIG_IsOK(res1
)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22717 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22731 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22732 PyObject
*resultobj
= 0;
22733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22736 PyObject
*swig_obj
[1] ;
22738 if (!args
) SWIG_fail
;
22739 swig_obj
[0] = args
;
22740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22741 if (!SWIG_IsOK(res1
)) {
22742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22744 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 wxPyEndAllowThreads(__tstate
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22752 resultobj
= SWIG_Py_Void();
22759 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22760 PyObject
*resultobj
= 0;
22761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22762 wxDateTime
*result
= 0 ;
22765 PyObject
*swig_obj
[1] ;
22767 if (!args
) SWIG_fail
;
22768 swig_obj
[0] = args
;
22769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22770 if (!SWIG_IsOK(res1
)) {
22771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22773 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22777 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22778 result
= (wxDateTime
*) &_result_ref
;
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22790 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
= 0;
22792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22794 wxDateTime
*result
= 0 ;
22797 unsigned int val2
;
22799 PyObject
* obj0
= 0 ;
22800 PyObject
* obj1
= 0 ;
22801 char * kwnames
[] = {
22802 (char *) "self",(char *) "timet", NULL
22805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22807 if (!SWIG_IsOK(res1
)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22810 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22811 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22812 if (!SWIG_IsOK(ecode2
)) {
22813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22815 arg2
= static_cast< time_t >(val2
);
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22820 result
= (wxDateTime
*) &_result_ref
;
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22832 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
= 0;
22834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22836 wxDateTime
*result
= 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char * kwnames
[] = {
22844 (char *) "self",(char *) "jdn", NULL
22847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22849 if (!SWIG_IsOK(res1
)) {
22850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22852 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22853 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22854 if (!SWIG_IsOK(ecode2
)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22857 arg2
= static_cast< double >(val2
);
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22862 result
= (wxDateTime
*) &_result_ref
;
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22874 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
= 0;
22876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22878 int arg3
= (int) 0 ;
22879 int arg4
= (int) 0 ;
22880 int arg5
= (int) 0 ;
22881 wxDateTime
*result
= 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 PyObject
* obj2
= 0 ;
22895 PyObject
* obj3
= 0 ;
22896 PyObject
* obj4
= 0 ;
22897 char * kwnames
[] = {
22898 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22903 if (!SWIG_IsOK(res1
)) {
22904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22908 if (!SWIG_IsOK(ecode2
)) {
22909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22911 arg2
= static_cast< int >(val2
);
22913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22914 if (!SWIG_IsOK(ecode3
)) {
22915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22917 arg3
= static_cast< int >(val3
);
22920 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22921 if (!SWIG_IsOK(ecode4
)) {
22922 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22924 arg4
= static_cast< int >(val4
);
22927 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22928 if (!SWIG_IsOK(ecode5
)) {
22929 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22931 arg5
= static_cast< int >(val5
);
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22937 result
= (wxDateTime
*) &_result_ref
;
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22949 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22953 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22954 int arg4
= (int) wxDateTime::Inv_Year
;
22955 int arg5
= (int) 0 ;
22956 int arg6
= (int) 0 ;
22957 int arg7
= (int) 0 ;
22958 int arg8
= (int) 0 ;
22959 wxDateTime
*result
= 0 ;
22976 PyObject
* obj0
= 0 ;
22977 PyObject
* obj1
= 0 ;
22978 PyObject
* obj2
= 0 ;
22979 PyObject
* obj3
= 0 ;
22980 PyObject
* obj4
= 0 ;
22981 PyObject
* obj5
= 0 ;
22982 PyObject
* obj6
= 0 ;
22983 PyObject
* obj7
= 0 ;
22984 char * kwnames
[] = {
22985 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22990 if (!SWIG_IsOK(res1
)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
22993 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22995 if (!SWIG_IsOK(ecode2
)) {
22996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
22998 arg2
= static_cast< int >(val2
);
23000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23001 if (!SWIG_IsOK(ecode3
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23004 arg3
= static_cast< wxDateTime::Month
>(val3
);
23007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23008 if (!SWIG_IsOK(ecode4
)) {
23009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23011 arg4
= static_cast< int >(val4
);
23014 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23015 if (!SWIG_IsOK(ecode5
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23018 arg5
= static_cast< int >(val5
);
23021 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23022 if (!SWIG_IsOK(ecode6
)) {
23023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23025 arg6
= static_cast< int >(val6
);
23028 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23029 if (!SWIG_IsOK(ecode7
)) {
23030 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23032 arg7
= static_cast< int >(val7
);
23035 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23036 if (!SWIG_IsOK(ecode8
)) {
23037 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23039 arg8
= static_cast< int >(val8
);
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23045 result
= (wxDateTime
*) &_result_ref
;
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23057 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23060 wxDateTime
*result
= 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23071 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23076 result
= (wxDateTime
*) &_result_ref
;
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23088 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= 0;
23090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23092 wxDateTime
*result
= 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char * kwnames
[] = {
23100 (char *) "self",(char *) "year", NULL
23103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23108 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23110 if (!SWIG_IsOK(ecode2
)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23113 arg2
= static_cast< int >(val2
);
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23118 result
= (wxDateTime
*) &_result_ref
;
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23130 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
= 0;
23132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23133 wxDateTime::Month arg2
;
23134 wxDateTime
*result
= 0 ;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 char * kwnames
[] = {
23142 (char *) "self",(char *) "month", NULL
23145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23147 if (!SWIG_IsOK(res1
)) {
23148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23152 if (!SWIG_IsOK(ecode2
)) {
23153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23155 arg2
= static_cast< wxDateTime::Month
>(val2
);
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23160 result
= (wxDateTime
*) &_result_ref
;
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23172 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
= 0;
23174 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23176 wxDateTime
*result
= 0 ;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 char * kwnames
[] = {
23184 (char *) "self",(char *) "day", NULL
23187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23189 if (!SWIG_IsOK(res1
)) {
23190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23192 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23194 if (!SWIG_IsOK(ecode2
)) {
23195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23197 arg2
= static_cast< int >(val2
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23202 result
= (wxDateTime
*) &_result_ref
;
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23214 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
= 0;
23216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23218 wxDateTime
*result
= 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char * kwnames
[] = {
23226 (char *) "self",(char *) "hour", NULL
23229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23231 if (!SWIG_IsOK(res1
)) {
23232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23234 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23236 if (!SWIG_IsOK(ecode2
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23239 arg2
= static_cast< int >(val2
);
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23244 result
= (wxDateTime
*) &_result_ref
;
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23256 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
= 0;
23258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23260 wxDateTime
*result
= 0 ;
23265 PyObject
* obj0
= 0 ;
23266 PyObject
* obj1
= 0 ;
23267 char * kwnames
[] = {
23268 (char *) "self",(char *) "minute", NULL
23271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23276 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23278 if (!SWIG_IsOK(ecode2
)) {
23279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23281 arg2
= static_cast< int >(val2
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23286 result
= (wxDateTime
*) &_result_ref
;
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23298 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
= 0;
23300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23302 wxDateTime
*result
= 0 ;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char * kwnames
[] = {
23310 (char *) "self",(char *) "second", NULL
23313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23318 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23320 if (!SWIG_IsOK(ecode2
)) {
23321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23323 arg2
= static_cast< int >(val2
);
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23328 result
= (wxDateTime
*) &_result_ref
;
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23340 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
= 0;
23342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23344 wxDateTime
*result
= 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "millisecond", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23360 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23362 if (!SWIG_IsOK(ecode2
)) {
23363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23365 arg2
= static_cast< int >(val2
);
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23370 result
= (wxDateTime
*) &_result_ref
;
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23382 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
= 0;
23384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23385 wxDateTime::WeekDay arg2
;
23386 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23387 wxDateTime
*result
= 0 ;
23394 PyObject
* obj0
= 0 ;
23395 PyObject
* obj1
= 0 ;
23396 PyObject
* obj2
= 0 ;
23397 char * kwnames
[] = {
23398 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23406 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23408 if (!SWIG_IsOK(ecode2
)) {
23409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23411 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23414 if (!SWIG_IsOK(ecode3
)) {
23415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23417 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23423 result
= (wxDateTime
*) &_result_ref
;
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23435 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
= 0;
23437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23438 wxDateTime::WeekDay arg2
;
23439 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 PyObject
* obj2
= 0 ;
23450 char * kwnames
[] = {
23451 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23456 if (!SWIG_IsOK(res1
)) {
23457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23459 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23461 if (!SWIG_IsOK(ecode2
)) {
23462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23464 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23467 if (!SWIG_IsOK(ecode3
)) {
23468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23470 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23485 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23488 wxDateTime::WeekDay arg2
;
23489 wxDateTime
*result
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char * kwnames
[] = {
23497 (char *) "self",(char *) "weekday", NULL
23500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23505 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23507 if (!SWIG_IsOK(ecode2
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23510 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23515 result
= (wxDateTime
*) &_result_ref
;
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23527 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
= 0;
23529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23530 wxDateTime::WeekDay arg2
;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char * kwnames
[] = {
23539 (char *) "self",(char *) "weekday", NULL
23542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23544 if (!SWIG_IsOK(res1
)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23547 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23549 if (!SWIG_IsOK(ecode2
)) {
23550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23552 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (arg1
)->GetNextWeekDay(arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23566 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
= 0;
23568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23569 wxDateTime::WeekDay arg2
;
23570 wxDateTime
*result
= 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char * kwnames
[] = {
23578 (char *) "self",(char *) "weekday", NULL
23581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23583 if (!SWIG_IsOK(res1
)) {
23584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23586 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23588 if (!SWIG_IsOK(ecode2
)) {
23589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23591 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23596 result
= (wxDateTime
*) &_result_ref
;
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23608 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
= 0;
23610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23611 wxDateTime::WeekDay arg2
;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char * kwnames
[] = {
23620 (char *) "self",(char *) "weekday", NULL
23623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23625 if (!SWIG_IsOK(res1
)) {
23626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23628 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23630 if (!SWIG_IsOK(ecode2
)) {
23631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23633 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (arg1
)->GetPrevWeekDay(arg2
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23647 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
= 0;
23649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23650 wxDateTime::WeekDay arg2
;
23651 int arg3
= (int) 1 ;
23652 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23653 int arg5
= (int) wxDateTime::Inv_Year
;
23665 PyObject
* obj0
= 0 ;
23666 PyObject
* obj1
= 0 ;
23667 PyObject
* obj2
= 0 ;
23668 PyObject
* obj3
= 0 ;
23669 PyObject
* obj4
= 0 ;
23670 char * kwnames
[] = {
23671 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23676 if (!SWIG_IsOK(res1
)) {
23677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23679 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23681 if (!SWIG_IsOK(ecode2
)) {
23682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23684 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23687 if (!SWIG_IsOK(ecode3
)) {
23688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23690 arg3
= static_cast< int >(val3
);
23693 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23694 if (!SWIG_IsOK(ecode4
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23697 arg4
= static_cast< wxDateTime::Month
>(val4
);
23700 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23701 if (!SWIG_IsOK(ecode5
)) {
23702 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23704 arg5
= static_cast< int >(val5
);
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23721 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
= 0;
23723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23724 wxDateTime::WeekDay arg2
;
23725 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23726 int arg4
= (int) wxDateTime::Inv_Year
;
23736 PyObject
* obj0
= 0 ;
23737 PyObject
* obj1
= 0 ;
23738 PyObject
* obj2
= 0 ;
23739 PyObject
* obj3
= 0 ;
23740 char * kwnames
[] = {
23741 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23749 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23751 if (!SWIG_IsOK(ecode2
)) {
23752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23754 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23757 if (!SWIG_IsOK(ecode3
)) {
23758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23760 arg3
= static_cast< wxDateTime::Month
>(val3
);
23763 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23764 if (!SWIG_IsOK(ecode4
)) {
23765 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23767 arg4
= static_cast< int >(val4
);
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23784 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23787 wxDateTime::WeekDay arg2
;
23788 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23789 int arg4
= (int) wxDateTime::Inv_Year
;
23799 PyObject
* obj0
= 0 ;
23800 PyObject
* obj1
= 0 ;
23801 PyObject
* obj2
= 0 ;
23802 PyObject
* obj3
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23812 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23814 if (!SWIG_IsOK(ecode2
)) {
23815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23817 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23819 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23820 if (!SWIG_IsOK(ecode3
)) {
23821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23823 arg3
= static_cast< wxDateTime::Month
>(val3
);
23826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23827 if (!SWIG_IsOK(ecode4
)) {
23828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23830 arg4
= static_cast< int >(val4
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23845 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
= 0;
23847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23849 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23850 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23860 PyObject
* obj0
= 0 ;
23861 PyObject
* obj1
= 0 ;
23862 PyObject
* obj2
= 0 ;
23863 PyObject
* obj3
= 0 ;
23864 char * kwnames
[] = {
23865 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23870 if (!SWIG_IsOK(res1
)) {
23871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23873 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23875 if (!SWIG_IsOK(ecode2
)) {
23876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23878 arg2
= static_cast< int >(val2
);
23880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23881 if (!SWIG_IsOK(ecode3
)) {
23882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23884 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23887 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23888 if (!SWIG_IsOK(ecode4
)) {
23889 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23891 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
= 0;
23910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23912 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23913 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 PyObject
* obj2
= 0 ;
23926 PyObject
* obj3
= 0 ;
23927 char * kwnames
[] = {
23928 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23933 if (!SWIG_IsOK(res1
)) {
23934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23936 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23938 if (!SWIG_IsOK(ecode2
)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23941 arg2
= static_cast< int >(val2
);
23943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23944 if (!SWIG_IsOK(ecode3
)) {
23945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23947 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23951 if (!SWIG_IsOK(ecode4
)) {
23952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23954 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23969 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23973 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 PyObject
* obj2
= 0 ;
23984 char * kwnames
[] = {
23985 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
23988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23990 if (!SWIG_IsOK(ecode1
)) {
23991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
23993 arg1
= static_cast< int >(val1
);
23994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23995 if (!SWIG_IsOK(ecode2
)) {
23996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
23998 arg2
= static_cast< int >(val2
);
24000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24001 if (!SWIG_IsOK(ecode3
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24004 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24019 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
= 0;
24021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24022 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24023 int arg3
= (int) wxDateTime::Inv_Year
;
24024 wxDateTime
*result
= 0 ;
24031 PyObject
* obj0
= 0 ;
24032 PyObject
* obj1
= 0 ;
24033 PyObject
* obj2
= 0 ;
24034 char * kwnames
[] = {
24035 (char *) "self",(char *) "month",(char *) "year", NULL
24038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24040 if (!SWIG_IsOK(res1
)) {
24041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24043 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24046 if (!SWIG_IsOK(ecode2
)) {
24047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24049 arg2
= static_cast< wxDateTime::Month
>(val2
);
24052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24053 if (!SWIG_IsOK(ecode3
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24056 arg3
= static_cast< int >(val3
);
24059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24062 result
= (wxDateTime
*) &_result_ref
;
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24074 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
= 0;
24076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24077 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24078 int arg3
= (int) wxDateTime::Inv_Year
;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 PyObject
* obj2
= 0 ;
24089 char * kwnames
[] = {
24090 (char *) "self",(char *) "month",(char *) "year", NULL
24093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24095 if (!SWIG_IsOK(res1
)) {
24096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24098 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24101 if (!SWIG_IsOK(ecode2
)) {
24102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24104 arg2
= static_cast< wxDateTime::Month
>(val2
);
24107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24108 if (!SWIG_IsOK(ecode3
)) {
24109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24111 arg3
= static_cast< int >(val3
);
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24126 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24130 wxDateTime
*result
= 0 ;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 char * kwnames
[] = {
24138 (char *) "self",(char *) "yday", NULL
24141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24143 if (!SWIG_IsOK(res1
)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24146 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24148 if (!SWIG_IsOK(ecode2
)) {
24149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24151 arg2
= static_cast< int >(val2
);
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24156 result
= (wxDateTime
*) &_result_ref
;
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24168 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
= 0;
24170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "self",(char *) "yday", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24188 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24190 if (!SWIG_IsOK(ecode2
)) {
24191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24193 arg2
= static_cast< int >(val2
);
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (arg1
)->GetYearDay(arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24207 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24208 PyObject
*resultobj
= 0;
24209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24213 PyObject
*swig_obj
[1] ;
24215 if (!args
) SWIG_fail
;
24216 swig_obj
[0] = args
;
24217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24221 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (double)(arg1
)->GetJulianDayNumber();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_From_double(static_cast< double >(result
));
24235 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24241 PyObject
*swig_obj
[1] ;
24243 if (!args
) SWIG_fail
;
24244 swig_obj
[0] = args
;
24245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24249 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (double)(arg1
)->GetJDN();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_From_double(static_cast< double >(result
));
24263 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24264 PyObject
*resultobj
= 0;
24265 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24269 PyObject
*swig_obj
[1] ;
24271 if (!args
) SWIG_fail
;
24272 swig_obj
[0] = args
;
24273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24274 if (!SWIG_IsOK(res1
)) {
24275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24277 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24281 wxPyEndAllowThreads(__tstate
);
24282 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= SWIG_From_double(static_cast< double >(result
));
24291 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24292 PyObject
*resultobj
= 0;
24293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24297 PyObject
*swig_obj
[1] ;
24299 if (!args
) SWIG_fail
;
24300 swig_obj
[0] = args
;
24301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24302 if (!SWIG_IsOK(res1
)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24305 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (double)(arg1
)->GetMJD();
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 resultobj
= SWIG_From_double(static_cast< double >(result
));
24319 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24320 PyObject
*resultobj
= 0;
24321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24325 PyObject
*swig_obj
[1] ;
24327 if (!args
) SWIG_fail
;
24328 swig_obj
[0] = args
;
24329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24333 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (double)(arg1
)->GetRataDie();
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_From_double(static_cast< double >(result
));
24347 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24350 wxDateTime::TimeZone
*arg2
= 0 ;
24351 bool arg3
= (bool) false ;
24355 bool temp2
= false ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 PyObject
* obj2
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24370 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24372 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24376 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24377 if (!SWIG_IsOK(ecode3
)) {
24378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24380 arg3
= static_cast< bool >(val3
);
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24390 if (temp2
) delete arg2
;
24395 if (temp2
) delete arg2
;
24401 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
= 0;
24403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24404 wxDateTime::TimeZone
*arg2
= 0 ;
24405 bool arg3
= (bool) false ;
24406 wxDateTime
*result
= 0 ;
24409 bool temp2
= false ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 PyObject
* obj2
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24424 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24426 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24430 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24431 if (!SWIG_IsOK(ecode3
)) {
24432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24434 arg3
= static_cast< bool >(val3
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24440 result
= (wxDateTime
*) &_result_ref
;
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24447 if (temp2
) delete arg2
;
24452 if (temp2
) delete arg2
;
24458 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
= 0;
24460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24461 wxDateTime::TimeZone
*arg2
= 0 ;
24462 bool arg3
= (bool) false ;
24466 bool temp2
= false ;
24469 PyObject
* obj0
= 0 ;
24470 PyObject
* obj1
= 0 ;
24471 PyObject
* obj2
= 0 ;
24472 char * kwnames
[] = {
24473 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24478 if (!SWIG_IsOK(res1
)) {
24479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24481 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24483 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24487 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24488 if (!SWIG_IsOK(ecode3
)) {
24489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24491 arg3
= static_cast< bool >(val3
);
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24501 if (temp2
) delete arg2
;
24506 if (temp2
) delete arg2
;
24512 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24514 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24515 wxDateTime::TimeZone
*arg2
= 0 ;
24516 bool arg3
= (bool) false ;
24517 wxDateTime
*result
= 0 ;
24520 bool temp2
= false ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24535 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24537 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24541 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24542 if (!SWIG_IsOK(ecode3
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24545 arg3
= static_cast< bool >(val3
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24551 result
= (wxDateTime
*) &_result_ref
;
24553 wxPyEndAllowThreads(__tstate
);
24554 if (PyErr_Occurred()) SWIG_fail
;
24556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24558 if (temp2
) delete arg2
;
24563 if (temp2
) delete arg2
;
24569 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
= 0;
24571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24572 bool arg2
= (bool) false ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 char * kwnames
[] = {
24581 (char *) "self",(char *) "noDST", NULL
24584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24586 if (!SWIG_IsOK(res1
)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24589 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24591 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24592 if (!SWIG_IsOK(ecode2
)) {
24593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24595 arg2
= static_cast< bool >(val2
);
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24610 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24613 bool arg2
= (bool) false ;
24614 wxDateTime
*result
= 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "self",(char *) "noDST", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24630 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24632 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24633 if (!SWIG_IsOK(ecode2
)) {
24634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24636 arg2
= static_cast< bool >(val2
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24642 result
= (wxDateTime
*) &_result_ref
;
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24654 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
= 0;
24656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24657 bool arg2
= (bool) false ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char * kwnames
[] = {
24666 (char *) "self",(char *) "noDST", NULL
24669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24671 if (!SWIG_IsOK(res1
)) {
24672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24674 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24676 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24677 if (!SWIG_IsOK(ecode2
)) {
24678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24680 arg2
= static_cast< bool >(val2
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24695 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24698 bool arg2
= (bool) false ;
24699 wxDateTime
*result
= 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 char * kwnames
[] = {
24707 (char *) "self",(char *) "noDST", NULL
24710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24712 if (!SWIG_IsOK(res1
)) {
24713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24715 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24718 if (!SWIG_IsOK(ecode2
)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24721 arg2
= static_cast< bool >(val2
);
24724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24727 result
= (wxDateTime
*) &_result_ref
;
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24739 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
= 0;
24741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24742 bool arg2
= (bool) false ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char * kwnames
[] = {
24751 (char *) "self",(char *) "noDST", NULL
24754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24756 if (!SWIG_IsOK(res1
)) {
24757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24759 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24761 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24762 if (!SWIG_IsOK(ecode2
)) {
24763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24765 arg2
= static_cast< bool >(val2
);
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24780 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
= 0;
24782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24783 bool arg2
= (bool) false ;
24784 wxDateTime
*result
= 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "noDST", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24803 if (!SWIG_IsOK(ecode2
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24806 arg2
= static_cast< bool >(val2
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24812 result
= (wxDateTime
*) &_result_ref
;
24814 wxPyEndAllowThreads(__tstate
);
24815 if (PyErr_Occurred()) SWIG_fail
;
24817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24824 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
= 0;
24826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24827 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char * kwnames
[] = {
24836 (char *) "self",(char *) "country", NULL
24839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24844 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24847 if (!SWIG_IsOK(ecode2
)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24850 arg2
= static_cast< wxDateTime::Country
>(val2
);
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (int)(arg1
)->IsDST(arg2
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= SWIG_From_int(static_cast< int >(result
));
24865 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24866 PyObject
*resultobj
= 0;
24867 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24871 PyObject
*swig_obj
[1] ;
24873 if (!args
) SWIG_fail
;
24874 swig_obj
[0] = args
;
24875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24879 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24895 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24896 PyObject
*resultobj
= 0;
24897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24901 PyObject
*swig_obj
[1] ;
24903 if (!args
) SWIG_fail
;
24904 swig_obj
[0] = args
;
24905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24923 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
= 0;
24925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24926 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24927 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24931 bool temp2
= false ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 char * kwnames
[] = {
24935 (char *) "self",(char *) "tz", NULL
24938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24940 if (!SWIG_IsOK(res1
)) {
24941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24943 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24946 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_From_int(static_cast< int >(result
));
24958 if (temp2
) delete arg2
;
24963 if (temp2
) delete arg2
;
24969 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
= 0;
24971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24972 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24973 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24974 wxDateTime::Month result
;
24977 bool temp2
= false ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char * kwnames
[] = {
24981 (char *) "self",(char *) "tz", NULL
24984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24992 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_From_int(static_cast< int >(result
));
25004 if (temp2
) delete arg2
;
25009 if (temp2
) delete arg2
;
25015 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
= 0;
25017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25018 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25019 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25023 bool temp2
= false ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char * kwnames
[] = {
25027 (char *) "self",(char *) "tz", NULL
25030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25032 if (!SWIG_IsOK(res1
)) {
25033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25035 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25038 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_From_int(static_cast< int >(result
));
25050 if (temp2
) delete arg2
;
25055 if (temp2
) delete arg2
;
25061 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
= 0;
25063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25064 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25065 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25066 wxDateTime::WeekDay result
;
25069 bool temp2
= false ;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 char * kwnames
[] = {
25073 (char *) "self",(char *) "tz", NULL
25076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25078 if (!SWIG_IsOK(res1
)) {
25079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25081 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25084 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 resultobj
= SWIG_From_int(static_cast< int >(result
));
25096 if (temp2
) delete arg2
;
25101 if (temp2
) delete arg2
;
25107 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
= 0;
25109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25110 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25111 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25115 bool temp2
= false ;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 char * kwnames
[] = {
25119 (char *) "self",(char *) "tz", NULL
25122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25124 if (!SWIG_IsOK(res1
)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25127 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25130 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25140 resultobj
= SWIG_From_int(static_cast< int >(result
));
25142 if (temp2
) delete arg2
;
25147 if (temp2
) delete arg2
;
25153 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25156 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25157 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25161 bool temp2
= false ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 char * kwnames
[] = {
25165 (char *) "self",(char *) "tz", NULL
25168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25173 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25176 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= SWIG_From_int(static_cast< int >(result
));
25188 if (temp2
) delete arg2
;
25193 if (temp2
) delete arg2
;
25199 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
= 0;
25201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25202 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25203 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25207 bool temp2
= false ;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 char * kwnames
[] = {
25211 (char *) "self",(char *) "tz", NULL
25214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25216 if (!SWIG_IsOK(res1
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25219 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25222 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_From_int(static_cast< int >(result
));
25234 if (temp2
) delete arg2
;
25239 if (temp2
) delete arg2
;
25245 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
= 0;
25247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25248 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25249 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25253 bool temp2
= false ;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "self",(char *) "tz", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25268 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 resultobj
= SWIG_From_int(static_cast< int >(result
));
25280 if (temp2
) delete arg2
;
25285 if (temp2
) delete arg2
;
25291 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
= 0;
25293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25294 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25295 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25299 bool temp2
= false ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "self",(char *) "tz", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25311 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25314 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25320 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25321 wxPyEndAllowThreads(__tstate
);
25322 if (PyErr_Occurred()) SWIG_fail
;
25324 resultobj
= SWIG_From_int(static_cast< int >(result
));
25326 if (temp2
) delete arg2
;
25331 if (temp2
) delete arg2
;
25337 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
= 0;
25339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25340 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25341 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25342 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25348 bool temp3
= false ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 PyObject
* obj2
= 0 ;
25352 char * kwnames
[] = {
25353 (char *) "self",(char *) "flags",(char *) "tz", NULL
25356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25358 if (!SWIG_IsOK(res1
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25361 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25364 if (!SWIG_IsOK(ecode2
)) {
25365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25367 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25371 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25377 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25378 wxPyEndAllowThreads(__tstate
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 resultobj
= SWIG_From_int(static_cast< int >(result
));
25383 if (temp3
) delete arg3
;
25388 if (temp3
) delete arg3
;
25394 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
= 0;
25396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25397 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25398 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25399 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25405 bool temp3
= false ;
25406 PyObject
* obj0
= 0 ;
25407 PyObject
* obj1
= 0 ;
25408 PyObject
* obj2
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "self",(char *) "flags",(char *) "tz", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25418 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25421 if (!SWIG_IsOK(ecode2
)) {
25422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25424 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25428 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_From_int(static_cast< int >(result
));
25440 if (temp3
) delete arg3
;
25445 if (temp3
) delete arg3
;
25451 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25454 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char * kwnames
[] = {
25463 (char *) "self",(char *) "country", NULL
25466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25471 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25474 if (!SWIG_IsOK(ecode2
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25477 arg2
= static_cast< wxDateTime::Country
>(val2
);
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25494 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
= 0;
25496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25497 wxDateTime
*arg2
= 0 ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char * kwnames
[] = {
25506 (char *) "self",(char *) "datetime", NULL
25509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25514 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25516 if (!SWIG_IsOK(res2
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25522 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25538 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
= 0;
25540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25541 wxDateTime
*arg2
= 0 ;
25547 PyObject
* obj0
= 0 ;
25548 PyObject
* obj1
= 0 ;
25549 char * kwnames
[] = {
25550 (char *) "self",(char *) "datetime", NULL
25553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25555 if (!SWIG_IsOK(res1
)) {
25556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25558 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25559 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25560 if (!SWIG_IsOK(res2
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25566 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25582 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
= 0;
25584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25585 wxDateTime
*arg2
= 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 char * kwnames
[] = {
25594 (char *) "self",(char *) "datetime", NULL
25597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25599 if (!SWIG_IsOK(res1
)) {
25600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25602 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25604 if (!SWIG_IsOK(res2
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25610 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25626 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= 0;
25628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25629 wxDateTime
*arg2
= 0 ;
25630 wxDateTime
*arg3
= 0 ;
25638 PyObject
* obj0
= 0 ;
25639 PyObject
* obj1
= 0 ;
25640 PyObject
* obj2
= 0 ;
25641 char * kwnames
[] = {
25642 (char *) "self",(char *) "t1",(char *) "t2", NULL
25645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25647 if (!SWIG_IsOK(res1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25650 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25652 if (!SWIG_IsOK(res2
)) {
25653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25658 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25659 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25660 if (!SWIG_IsOK(res3
)) {
25661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25666 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25682 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
= 0;
25684 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25685 wxDateTime
*arg2
= 0 ;
25686 wxDateTime
*arg3
= 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 char * kwnames
[] = {
25698 (char *) "self",(char *) "t1",(char *) "t2", NULL
25701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25703 if (!SWIG_IsOK(res1
)) {
25704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25706 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25708 if (!SWIG_IsOK(res2
)) {
25709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25714 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25715 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25716 if (!SWIG_IsOK(res3
)) {
25717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25722 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25738 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
= 0;
25740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25741 wxDateTime
*arg2
= 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "dt", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25758 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25760 if (!SWIG_IsOK(res2
)) {
25761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25766 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25782 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25783 PyObject
*resultobj
= 0;
25784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25785 wxDateTime
*arg2
= 0 ;
25791 PyObject
* obj0
= 0 ;
25792 PyObject
* obj1
= 0 ;
25793 char * kwnames
[] = {
25794 (char *) "self",(char *) "dt", NULL
25797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25799 if (!SWIG_IsOK(res1
)) {
25800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25802 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25804 if (!SWIG_IsOK(res2
)) {
25805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25810 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25826 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
= 0;
25828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25829 wxDateTime
*arg2
= 0 ;
25830 wxTimeSpan
*arg3
= 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 PyObject
* obj2
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "dt",(char *) "ts", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25850 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25852 if (!SWIG_IsOK(res2
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25858 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25859 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25860 if (!SWIG_IsOK(res3
)) {
25861 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25864 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25866 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25882 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25885 wxTimeSpan
*arg2
= 0 ;
25886 wxDateTime
*result
= 0 ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 char * kwnames
[] = {
25894 (char *) "self",(char *) "diff", NULL
25897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25899 if (!SWIG_IsOK(res1
)) {
25900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25904 if (!SWIG_IsOK(res2
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25910 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25915 result
= (wxDateTime
*) &_result_ref
;
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25927 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25930 wxDateSpan
*arg2
= 0 ;
25931 wxDateTime
*result
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char * kwnames
[] = {
25939 (char *) "self",(char *) "diff", NULL
25942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25944 if (!SWIG_IsOK(res1
)) {
25945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25947 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25949 if (!SWIG_IsOK(res2
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25955 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25960 result
= (wxDateTime
*) &_result_ref
;
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25972 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= 0;
25974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25975 wxTimeSpan
*arg2
= 0 ;
25976 wxDateTime
*result
= 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "self",(char *) "diff", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25992 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25994 if (!SWIG_IsOK(res2
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26000 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26005 result
= (wxDateTime
*) &_result_ref
;
26007 wxPyEndAllowThreads(__tstate
);
26008 if (PyErr_Occurred()) SWIG_fail
;
26010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26017 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26018 PyObject
*resultobj
= 0;
26019 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26020 wxDateSpan
*arg2
= 0 ;
26021 wxDateTime
*result
= 0 ;
26026 PyObject
* obj0
= 0 ;
26027 PyObject
* obj1
= 0 ;
26028 char * kwnames
[] = {
26029 (char *) "self",(char *) "diff", NULL
26032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26037 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26038 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26039 if (!SWIG_IsOK(res2
)) {
26040 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26045 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26050 result
= (wxDateTime
*) &_result_ref
;
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26062 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
= 0;
26064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26065 wxDateTime
*arg2
= 0 ;
26071 PyObject
* obj0
= 0 ;
26072 PyObject
* obj1
= 0 ;
26073 char * kwnames
[] = {
26074 (char *) "self",(char *) "dt", NULL
26077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26079 if (!SWIG_IsOK(res1
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26082 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26084 if (!SWIG_IsOK(res2
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26090 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26094 wxPyEndAllowThreads(__tstate
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26104 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26105 PyObject
*resultobj
= 0;
26106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26107 wxTimeSpan
*arg2
= 0 ;
26108 wxDateTime
*result
= 0 ;
26114 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26119 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26120 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26121 if (!SWIG_IsOK(res2
)) {
26122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26127 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26132 result
= (wxDateTime
*) &_result_ref
;
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26144 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26145 PyObject
*resultobj
= 0;
26146 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26147 wxDateSpan
*arg2
= 0 ;
26148 wxDateTime
*result
= 0 ;
26154 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26156 if (!SWIG_IsOK(res1
)) {
26157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26159 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26160 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26161 if (!SWIG_IsOK(res2
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26167 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26172 result
= (wxDateTime
*) &_result_ref
;
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26184 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26188 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26193 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26194 _v
= SWIG_CheckState(res
);
26196 if (!_v
) goto check_1
;
26197 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26202 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26206 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26211 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26212 PyObject
*resultobj
= 0;
26213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26214 wxTimeSpan
*arg2
= 0 ;
26215 wxDateTime
*result
= 0 ;
26221 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26223 if (!SWIG_IsOK(res1
)) {
26224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26226 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26227 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26228 if (!SWIG_IsOK(res2
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26234 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26239 result
= (wxDateTime
*) &_result_ref
;
26241 wxPyEndAllowThreads(__tstate
);
26242 if (PyErr_Occurred()) SWIG_fail
;
26244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26251 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26252 PyObject
*resultobj
= 0;
26253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26254 wxDateSpan
*arg2
= 0 ;
26255 wxDateTime
*result
= 0 ;
26261 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26263 if (!SWIG_IsOK(res1
)) {
26264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26266 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26267 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26268 if (!SWIG_IsOK(res2
)) {
26269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26274 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26279 result
= (wxDateTime
*) &_result_ref
;
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26291 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26295 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26300 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26301 _v
= SWIG_CheckState(res
);
26303 if (!_v
) goto check_1
;
26304 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26309 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26313 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26318 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26319 PyObject
*resultobj
= 0;
26320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26321 wxTimeSpan
*arg2
= 0 ;
26328 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26330 if (!SWIG_IsOK(res1
)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26333 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26334 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26335 if (!SWIG_IsOK(res2
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26341 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26355 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26356 PyObject
*resultobj
= 0;
26357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26358 wxDateSpan
*arg2
= 0 ;
26365 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26367 if (!SWIG_IsOK(res1
)) {
26368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26370 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26371 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26372 if (!SWIG_IsOK(res2
)) {
26373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26378 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26392 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26396 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26401 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26402 _v
= SWIG_CheckState(res
);
26404 if (!_v
) goto check_1
;
26405 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26410 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26414 Py_INCREF(Py_NotImplemented
);
26415 return Py_NotImplemented
;
26419 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26420 PyObject
*resultobj
= 0;
26421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26422 wxDateTime
*arg2
= 0 ;
26429 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26434 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26435 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26436 if (!SWIG_IsOK(res2
)) {
26437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26442 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26456 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26457 PyObject
*resultobj
= 0;
26458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26459 wxTimeSpan
*arg2
= 0 ;
26466 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26471 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26472 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26473 if (!SWIG_IsOK(res2
)) {
26474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26479 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26493 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26494 PyObject
*resultobj
= 0;
26495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26496 wxDateSpan
*arg2
= 0 ;
26503 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26505 if (!SWIG_IsOK(res1
)) {
26506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26508 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26509 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26510 if (!SWIG_IsOK(res2
)) {
26511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26514 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26516 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26530 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26534 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26539 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26540 _v
= SWIG_CheckState(res
);
26542 if (!_v
) goto check_1
;
26543 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26550 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26551 _v
= SWIG_CheckState(res
);
26553 if (!_v
) goto check_2
;
26554 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26559 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26563 Py_INCREF(Py_NotImplemented
);
26564 return Py_NotImplemented
;
26568 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
= 0;
26570 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26571 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26577 PyObject
* obj0
= 0 ;
26578 PyObject
* obj1
= 0 ;
26579 char * kwnames
[] = {
26580 (char *) "self",(char *) "other", NULL
26583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26588 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26590 if (!SWIG_IsOK(res2
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26593 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26609 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
= 0;
26611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26612 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "other", NULL
26624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26629 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26631 if (!SWIG_IsOK(res2
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26634 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26650 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
= 0;
26652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26653 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char * kwnames
[] = {
26662 (char *) "self",(char *) "other", NULL
26665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26667 if (!SWIG_IsOK(res1
)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26670 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26672 if (!SWIG_IsOK(res2
)) {
26673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26675 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26678 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
= 0;
26693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26694 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26701 PyObject
* obj1
= 0 ;
26702 char * kwnames
[] = {
26703 (char *) "self",(char *) "other", NULL
26706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26708 if (!SWIG_IsOK(res1
)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26711 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26713 if (!SWIG_IsOK(res2
)) {
26714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26716 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26720 wxPyEndAllowThreads(__tstate
);
26721 if (PyErr_Occurred()) SWIG_fail
;
26724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26732 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
= 0;
26734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26735 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 char * kwnames
[] = {
26744 (char *) "self",(char *) "other", NULL
26747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26749 if (!SWIG_IsOK(res1
)) {
26750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26753 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26754 if (!SWIG_IsOK(res2
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26757 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26773 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
= 0;
26775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26776 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 PyObject
* obj1
= 0 ;
26784 char * kwnames
[] = {
26785 (char *) "self",(char *) "other", NULL
26788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26793 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26795 if (!SWIG_IsOK(res2
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26798 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26814 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
= 0;
26816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26817 wxString
*arg2
= 0 ;
26821 bool temp2
= false ;
26822 PyObject
* obj0
= 0 ;
26823 PyObject
* obj1
= 0 ;
26824 char * kwnames
[] = {
26825 (char *) "self",(char *) "date", NULL
26828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26833 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26835 arg2
= wxString_in_helper(obj1
);
26836 if (arg2
== NULL
) SWIG_fail
;
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_From_int(static_cast< int >(result
));
26860 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
= 0;
26862 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26863 wxString
*arg2
= 0 ;
26864 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26866 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26867 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26871 bool temp2
= false ;
26872 bool temp3
= false ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 PyObject
* obj2
= 0 ;
26878 PyObject
* obj3
= 0 ;
26879 char * kwnames
[] = {
26880 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26888 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26890 arg2
= wxString_in_helper(obj1
);
26891 if (arg2
== NULL
) SWIG_fail
;
26896 arg3
= wxString_in_helper(obj2
);
26897 if (arg3
== NULL
) SWIG_fail
;
26902 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26903 if (!SWIG_IsOK(res4
)) {
26904 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26909 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_From_int(static_cast< int >(result
));
26940 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26943 wxString
*arg2
= 0 ;
26947 bool temp2
= false ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26950 char * kwnames
[] = {
26951 (char *) "self",(char *) "datetime", NULL
26954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26956 if (!SWIG_IsOK(res1
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26959 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26961 arg2
= wxString_in_helper(obj1
);
26962 if (arg2
== NULL
) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_From_int(static_cast< int >(result
));
26986 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
= 0;
26988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26989 wxString
*arg2
= 0 ;
26993 bool temp2
= false ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char * kwnames
[] = {
26997 (char *) "self",(char *) "date", NULL
27000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27002 if (!SWIG_IsOK(res1
)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27005 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27007 arg2
= wxString_in_helper(obj1
);
27008 if (arg2
== NULL
) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_From_int(static_cast< int >(result
));
27032 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
= 0;
27034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27035 wxString
*arg2
= 0 ;
27039 bool temp2
= false ;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 char * kwnames
[] = {
27043 (char *) "self",(char *) "time", NULL
27046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27048 if (!SWIG_IsOK(res1
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27053 arg2
= wxString_in_helper(obj1
);
27054 if (arg2
== NULL
) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_From_int(static_cast< int >(result
));
27078 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
= 0;
27080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27081 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27082 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27083 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27084 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27088 bool temp2
= false ;
27089 bool temp3
= false ;
27090 PyObject
* obj0
= 0 ;
27091 PyObject
* obj1
= 0 ;
27092 PyObject
* obj2
= 0 ;
27093 char * kwnames
[] = {
27094 (char *) "self",(char *) "format",(char *) "tz", NULL
27097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27102 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27105 arg2
= wxString_in_helper(obj1
);
27106 if (arg2
== NULL
) SWIG_fail
;
27112 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27134 if (temp3
) delete arg3
;
27143 if (temp3
) delete arg3
;
27149 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27150 PyObject
*resultobj
= 0;
27151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27155 PyObject
*swig_obj
[1] ;
27157 if (!args
) SWIG_fail
;
27158 swig_obj
[0] = args
;
27159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27163 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27183 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27197 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27217 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27218 PyObject
*resultobj
= 0;
27219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27223 PyObject
*swig_obj
[1] ;
27225 if (!args
) SWIG_fail
;
27226 swig_obj
[0] = args
;
27227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27228 if (!SWIG_IsOK(res1
)) {
27229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27231 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27251 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27252 PyObject
*resultobj
= 0;
27253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27257 PyObject
*swig_obj
[1] ;
27259 if (!args
) SWIG_fail
;
27260 swig_obj
[0] = args
;
27261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27262 if (!SWIG_IsOK(res1
)) {
27263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27265 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27285 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27288 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27289 return SWIG_Py_Void();
27292 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27293 return SWIG_Python_InitShadowInstance(args
);
27296 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
= 0;
27302 PyObject
* obj0
= 0 ;
27303 char * kwnames
[] = {
27304 (char *) "ms", NULL
27307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27308 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27309 if (!SWIG_IsOK(ecode1
)) {
27310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27312 arg1
= static_cast< long >(val1
);
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= wxTimeSpan::Milliseconds(arg1
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27326 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27327 PyObject
*resultobj
= 0;
27330 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= wxTimeSpan::Millisecond();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27344 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
= 0;
27350 PyObject
* obj0
= 0 ;
27351 char * kwnames
[] = {
27352 (char *) "sec", NULL
27355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27356 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27357 if (!SWIG_IsOK(ecode1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27360 arg1
= static_cast< long >(val1
);
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= wxTimeSpan::Seconds(arg1
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27374 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27375 PyObject
*resultobj
= 0;
27378 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= wxTimeSpan::Second();
27382 wxPyEndAllowThreads(__tstate
);
27383 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27392 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27393 PyObject
*resultobj
= 0;
27398 PyObject
* obj0
= 0 ;
27399 char * kwnames
[] = {
27400 (char *) "min", NULL
27403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27404 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27405 if (!SWIG_IsOK(ecode1
)) {
27406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27408 arg1
= static_cast< long >(val1
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= wxTimeSpan::Minutes(arg1
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27422 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27423 PyObject
*resultobj
= 0;
27426 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 result
= wxTimeSpan::Minute();
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27440 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
= 0;
27446 PyObject
* obj0
= 0 ;
27447 char * kwnames
[] = {
27448 (char *) "hours", NULL
27451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27452 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27453 if (!SWIG_IsOK(ecode1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27456 arg1
= static_cast< long >(val1
);
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= wxTimeSpan::Hours(arg1
);
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27474 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= wxTimeSpan::Hour();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27488 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
= 0;
27494 PyObject
* obj0
= 0 ;
27495 char * kwnames
[] = {
27496 (char *) "days", NULL
27499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27500 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27501 if (!SWIG_IsOK(ecode1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27504 arg1
= static_cast< long >(val1
);
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= wxTimeSpan::Days(arg1
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27518 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27519 PyObject
*resultobj
= 0;
27522 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= wxTimeSpan::Day();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27536 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
= 0;
27542 PyObject
* obj0
= 0 ;
27543 char * kwnames
[] = {
27544 (char *) "days", NULL
27547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27548 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27549 if (!SWIG_IsOK(ecode1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27552 arg1
= static_cast< long >(val1
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= wxTimeSpan::Weeks(arg1
);
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27566 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27567 PyObject
*resultobj
= 0;
27570 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= wxTimeSpan::Week();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27584 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
= 0;
27586 long arg1
= (long) 0 ;
27587 long arg2
= (long) 0 ;
27588 long arg3
= (long) 0 ;
27589 long arg4
= (long) 0 ;
27590 wxTimeSpan
*result
= 0 ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 PyObject
* obj3
= 0 ;
27603 char * kwnames
[] = {
27604 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27609 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27610 if (!SWIG_IsOK(ecode1
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27613 arg1
= static_cast< long >(val1
);
27616 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27617 if (!SWIG_IsOK(ecode2
)) {
27618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27620 arg2
= static_cast< long >(val2
);
27623 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27624 if (!SWIG_IsOK(ecode3
)) {
27625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27627 arg3
= static_cast< long >(val3
);
27630 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27631 if (!SWIG_IsOK(ecode4
)) {
27632 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27634 arg4
= static_cast< long >(val4
);
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27649 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27650 PyObject
*resultobj
= 0;
27651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27654 PyObject
*swig_obj
[1] ;
27656 if (!args
) SWIG_fail
;
27657 swig_obj
[0] = args
;
27658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27659 if (!SWIG_IsOK(res1
)) {
27660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27662 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= SWIG_Py_Void();
27677 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
= 0;
27679 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27680 wxTimeSpan
*arg2
= 0 ;
27681 wxTimeSpan
*result
= 0 ;
27686 PyObject
* obj0
= 0 ;
27687 PyObject
* obj1
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "self",(char *) "diff", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27694 if (!SWIG_IsOK(res1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27697 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27699 if (!SWIG_IsOK(res2
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27705 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27710 result
= (wxTimeSpan
*) &_result_ref
;
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27722 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
= 0;
27724 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27725 wxTimeSpan
*arg2
= 0 ;
27726 wxTimeSpan
*result
= 0 ;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 char * kwnames
[] = {
27734 (char *) "self",(char *) "diff", NULL
27737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27739 if (!SWIG_IsOK(res1
)) {
27740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27742 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27743 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27744 if (!SWIG_IsOK(res2
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27750 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27755 result
= (wxTimeSpan
*) &_result_ref
;
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27767 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27768 PyObject
*resultobj
= 0;
27769 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27771 wxTimeSpan
*result
= 0 ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 char * kwnames
[] = {
27779 (char *) "self",(char *) "n", NULL
27782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27787 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27789 if (!SWIG_IsOK(ecode2
)) {
27790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27792 arg2
= static_cast< int >(val2
);
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27797 result
= (wxTimeSpan
*) &_result_ref
;
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27809 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27810 PyObject
*resultobj
= 0;
27811 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27812 wxTimeSpan
*result
= 0 ;
27815 PyObject
*swig_obj
[1] ;
27817 if (!args
) SWIG_fail
;
27818 swig_obj
[0] = args
;
27819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27820 if (!SWIG_IsOK(res1
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27823 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27827 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27828 result
= (wxTimeSpan
*) &_result_ref
;
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27840 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27841 PyObject
*resultobj
= 0;
27842 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27846 PyObject
*swig_obj
[1] ;
27848 if (!args
) SWIG_fail
;
27849 swig_obj
[0] = args
;
27850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27851 if (!SWIG_IsOK(res1
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27854 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27857 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27868 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
= 0;
27870 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27871 wxTimeSpan
*arg2
= 0 ;
27872 wxTimeSpan
*result
= 0 ;
27877 PyObject
* obj0
= 0 ;
27878 PyObject
* obj1
= 0 ;
27879 char * kwnames
[] = {
27880 (char *) "self",(char *) "diff", NULL
27883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27885 if (!SWIG_IsOK(res1
)) {
27886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27888 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27890 if (!SWIG_IsOK(res2
)) {
27891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27896 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27901 result
= (wxTimeSpan
*) &_result_ref
;
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27913 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
= 0;
27915 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27916 wxTimeSpan
*arg2
= 0 ;
27917 wxTimeSpan
*result
= 0 ;
27922 PyObject
* obj0
= 0 ;
27923 PyObject
* obj1
= 0 ;
27924 char * kwnames
[] = {
27925 (char *) "self",(char *) "diff", NULL
27928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27930 if (!SWIG_IsOK(res1
)) {
27931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27933 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27935 if (!SWIG_IsOK(res2
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27941 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27945 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27946 result
= (wxTimeSpan
*) &_result_ref
;
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27958 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
= 0;
27960 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27962 wxTimeSpan
*result
= 0 ;
27967 PyObject
* obj0
= 0 ;
27968 PyObject
* obj1
= 0 ;
27969 char * kwnames
[] = {
27970 (char *) "self",(char *) "n", NULL
27973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27975 if (!SWIG_IsOK(res1
)) {
27976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27978 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27980 if (!SWIG_IsOK(ecode2
)) {
27981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27983 arg2
= static_cast< int >(val2
);
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27988 result
= (wxTimeSpan
*) &_result_ref
;
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28000 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28001 PyObject
*resultobj
= 0;
28002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28003 wxTimeSpan
*result
= 0 ;
28006 PyObject
*swig_obj
[1] ;
28008 if (!args
) SWIG_fail
;
28009 swig_obj
[0] = args
;
28010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28011 if (!SWIG_IsOK(res1
)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28014 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28018 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28019 result
= (wxTimeSpan
*) &_result_ref
;
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28031 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28032 PyObject
*resultobj
= 0;
28033 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28034 wxTimeSpan
*arg2
= 0 ;
28040 PyObject
* obj0
= 0 ;
28041 PyObject
* obj1
= 0 ;
28042 char * kwnames
[] = {
28043 (char *) "self",(char *) "other", NULL
28046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28048 if (!SWIG_IsOK(res1
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28051 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28053 if (!SWIG_IsOK(res2
)) {
28054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28059 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28073 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
= 0;
28075 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28076 wxTimeSpan
*arg2
= 0 ;
28082 PyObject
* obj0
= 0 ;
28083 PyObject
* obj1
= 0 ;
28084 char * kwnames
[] = {
28085 (char *) "self",(char *) "other", NULL
28088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28090 if (!SWIG_IsOK(res1
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28093 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28095 if (!SWIG_IsOK(res2
)) {
28096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28101 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28104 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28115 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
= 0;
28117 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char * kwnames
[] = {
28127 (char *) "self",(char *) "n", NULL
28130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28132 if (!SWIG_IsOK(res1
)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28135 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28137 if (!SWIG_IsOK(ecode2
)) {
28138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28140 arg2
= static_cast< int >(val2
);
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= wxTimeSpan___mul__(arg1
,arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28154 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
= 0;
28156 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 char * kwnames
[] = {
28166 (char *) "self",(char *) "n", NULL
28169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28174 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28176 if (!SWIG_IsOK(ecode2
)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28179 arg2
= static_cast< int >(val2
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28193 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
= 0;
28195 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28196 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28202 PyObject
* obj0
= 0 ;
28203 PyObject
* obj1
= 0 ;
28204 char * kwnames
[] = {
28205 (char *) "self",(char *) "other", NULL
28208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28210 if (!SWIG_IsOK(res1
)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28213 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28215 if (!SWIG_IsOK(res2
)) {
28216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28218 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28221 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28234 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
= 0;
28236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28237 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 PyObject
* obj1
= 0 ;
28245 char * kwnames
[] = {
28246 (char *) "self",(char *) "other", NULL
28249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28254 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28255 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28256 if (!SWIG_IsOK(res2
)) {
28257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28259 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28262 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28263 wxPyEndAllowThreads(__tstate
);
28264 if (PyErr_Occurred()) SWIG_fail
;
28267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28275 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
= 0;
28277 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28278 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28284 PyObject
* obj0
= 0 ;
28285 PyObject
* obj1
= 0 ;
28286 char * kwnames
[] = {
28287 (char *) "self",(char *) "other", NULL
28290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28292 if (!SWIG_IsOK(res1
)) {
28293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28295 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28297 if (!SWIG_IsOK(res2
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28300 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28316 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
= 0;
28318 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28319 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char * kwnames
[] = {
28328 (char *) "self",(char *) "other", NULL
28331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28336 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28338 if (!SWIG_IsOK(res2
)) {
28339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28341 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28344 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28345 wxPyEndAllowThreads(__tstate
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28357 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28358 PyObject
*resultobj
= 0;
28359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28360 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 char * kwnames
[] = {
28369 (char *) "self",(char *) "other", NULL
28372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28377 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28378 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28379 if (!SWIG_IsOK(res2
)) {
28380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28382 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28385 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28398 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
= 0;
28400 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28401 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char * kwnames
[] = {
28410 (char *) "self",(char *) "other", NULL
28413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28418 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28420 if (!SWIG_IsOK(res2
)) {
28421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28423 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 PyObject
*resultobj
= 0;
28441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28445 PyObject
*swig_obj
[1] ;
28447 if (!args
) SWIG_fail
;
28448 swig_obj
[0] = args
;
28449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28450 if (!SWIG_IsOK(res1
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28453 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28483 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28499 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 PyObject
*resultobj
= 0;
28501 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28505 PyObject
*swig_obj
[1] ;
28507 if (!args
) SWIG_fail
;
28508 swig_obj
[0] = args
;
28509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28513 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28529 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
= 0;
28531 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28532 wxTimeSpan
*arg2
= 0 ;
28538 PyObject
* obj0
= 0 ;
28539 PyObject
* obj1
= 0 ;
28540 char * kwnames
[] = {
28541 (char *) "self",(char *) "ts", NULL
28544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28546 if (!SWIG_IsOK(res1
)) {
28547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28549 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28551 if (!SWIG_IsOK(res2
)) {
28552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28557 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28573 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
= 0;
28575 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28576 wxTimeSpan
*arg2
= 0 ;
28582 PyObject
* obj0
= 0 ;
28583 PyObject
* obj1
= 0 ;
28584 char * kwnames
[] = {
28585 (char *) "self",(char *) "ts", NULL
28588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28590 if (!SWIG_IsOK(res1
)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28593 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28594 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28595 if (!SWIG_IsOK(res2
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28601 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28605 wxPyEndAllowThreads(__tstate
);
28606 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28617 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
= 0;
28619 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28620 wxTimeSpan
*arg2
= 0 ;
28626 PyObject
* obj0
= 0 ;
28627 PyObject
* obj1
= 0 ;
28628 char * kwnames
[] = {
28629 (char *) "self",(char *) "t", NULL
28632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28634 if (!SWIG_IsOK(res1
)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28637 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28638 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28639 if (!SWIG_IsOK(res2
)) {
28640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28643 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28645 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28661 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28662 PyObject
*resultobj
= 0;
28663 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28667 PyObject
*swig_obj
[1] ;
28669 if (!args
) SWIG_fail
;
28670 swig_obj
[0] = args
;
28671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28672 if (!SWIG_IsOK(res1
)) {
28673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28675 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 resultobj
= SWIG_From_int(static_cast< int >(result
));
28689 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28690 PyObject
*resultobj
= 0;
28691 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28695 PyObject
*swig_obj
[1] ;
28697 if (!args
) SWIG_fail
;
28698 swig_obj
[0] = args
;
28699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28703 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28706 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_From_int(static_cast< int >(result
));
28717 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28718 PyObject
*resultobj
= 0;
28719 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28723 PyObject
*swig_obj
[1] ;
28725 if (!args
) SWIG_fail
;
28726 swig_obj
[0] = args
;
28727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28728 if (!SWIG_IsOK(res1
)) {
28729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28731 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 resultobj
= SWIG_From_int(static_cast< int >(result
));
28745 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 PyObject
*resultobj
= 0;
28747 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28759 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_From_int(static_cast< int >(result
));
28773 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28774 PyObject
*resultobj
= 0;
28775 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28779 PyObject
*swig_obj
[1] ;
28781 if (!args
) SWIG_fail
;
28782 swig_obj
[0] = args
;
28783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28787 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28795 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28796 hi
= PyLong_FromLong( (&result
)->GetHi() );
28797 lo
= PyLong_FromLong( (&result
)->GetLo() );
28798 shifter
= PyLong_FromLong(32);
28799 shifted
= PyNumber_Lshift(hi
, shifter
);
28800 resultobj
= PyNumber_Or(shifted
, lo
);
28803 Py_DECREF(shifter
);
28804 Py_DECREF(shifted
);
28812 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28813 PyObject
*resultobj
= 0;
28814 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28818 PyObject
*swig_obj
[1] ;
28820 if (!args
) SWIG_fail
;
28821 swig_obj
[0] = args
;
28822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28823 if (!SWIG_IsOK(res1
)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28826 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28834 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28835 hi
= PyLong_FromLong( (&result
)->GetHi() );
28836 lo
= PyLong_FromLong( (&result
)->GetLo() );
28837 shifter
= PyLong_FromLong(32);
28838 shifted
= PyNumber_Lshift(hi
, shifter
);
28839 resultobj
= PyNumber_Or(shifted
, lo
);
28842 Py_DECREF(shifter
);
28843 Py_DECREF(shifted
);
28851 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28852 PyObject
*resultobj
= 0;
28853 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28854 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28855 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28859 bool temp2
= false ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char * kwnames
[] = {
28863 (char *) "self",(char *) "format", NULL
28866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28871 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28874 arg2
= wxString_in_helper(obj1
);
28875 if (arg2
== NULL
) SWIG_fail
;
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28906 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28909 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28910 return SWIG_Py_Void();
28913 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28914 return SWIG_Python_InitShadowInstance(args
);
28917 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
= 0;
28919 int arg1
= (int) 0 ;
28920 int arg2
= (int) 0 ;
28921 int arg3
= (int) 0 ;
28922 int arg4
= (int) 0 ;
28923 wxDateSpan
*result
= 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 PyObject
* obj2
= 0 ;
28935 PyObject
* obj3
= 0 ;
28936 char * kwnames
[] = {
28937 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28942 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28943 if (!SWIG_IsOK(ecode1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28946 arg1
= static_cast< int >(val1
);
28949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28950 if (!SWIG_IsOK(ecode2
)) {
28951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28953 arg2
= static_cast< int >(val2
);
28956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28957 if (!SWIG_IsOK(ecode3
)) {
28958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28960 arg3
= static_cast< int >(val3
);
28963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28964 if (!SWIG_IsOK(ecode4
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28967 arg4
= static_cast< int >(val4
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28982 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28983 PyObject
*resultobj
= 0;
28984 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28987 PyObject
*swig_obj
[1] ;
28989 if (!args
) SWIG_fail
;
28990 swig_obj
[0] = args
;
28991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
28992 if (!SWIG_IsOK(res1
)) {
28993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
28995 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_Py_Void();
29010 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
= 0;
29016 PyObject
* obj0
= 0 ;
29017 char * kwnames
[] = {
29018 (char *) "days", NULL
29021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29022 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29023 if (!SWIG_IsOK(ecode1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29026 arg1
= static_cast< int >(val1
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= wxDateSpan::Days(arg1
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29040 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29041 PyObject
*resultobj
= 0;
29044 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29047 result
= wxDateSpan::Day();
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29058 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
= 0;
29064 PyObject
* obj0
= 0 ;
29065 char * kwnames
[] = {
29066 (char *) "weeks", NULL
29069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29070 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29071 if (!SWIG_IsOK(ecode1
)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29074 arg1
= static_cast< int >(val1
);
29076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29077 result
= wxDateSpan::Weeks(arg1
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29088 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29089 PyObject
*resultobj
= 0;
29092 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29095 result
= wxDateSpan::Week();
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29106 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29112 PyObject
* obj0
= 0 ;
29113 char * kwnames
[] = {
29114 (char *) "mon", NULL
29117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29118 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29119 if (!SWIG_IsOK(ecode1
)) {
29120 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29122 arg1
= static_cast< int >(val1
);
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 result
= wxDateSpan::Months(arg1
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29136 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29137 PyObject
*resultobj
= 0;
29140 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 result
= wxDateSpan::Month();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29154 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
= 0;
29160 PyObject
* obj0
= 0 ;
29161 char * kwnames
[] = {
29162 (char *) "years", NULL
29165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29167 if (!SWIG_IsOK(ecode1
)) {
29168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29170 arg1
= static_cast< int >(val1
);
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= wxDateSpan::Years(arg1
);
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29184 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29185 PyObject
*resultobj
= 0;
29188 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 result
= wxDateSpan::Year();
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29202 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
= 0;
29204 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29206 wxDateSpan
*result
= 0 ;
29211 PyObject
* obj0
= 0 ;
29212 PyObject
* obj1
= 0 ;
29213 char * kwnames
[] = {
29214 (char *) "self",(char *) "n", NULL
29217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29219 if (!SWIG_IsOK(res1
)) {
29220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29222 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29224 if (!SWIG_IsOK(ecode2
)) {
29225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29227 arg2
= static_cast< int >(val2
);
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29232 result
= (wxDateSpan
*) &_result_ref
;
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29244 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29248 wxDateSpan
*result
= 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char * kwnames
[] = {
29256 (char *) "self",(char *) "n", NULL
29259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29264 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29266 if (!SWIG_IsOK(ecode2
)) {
29267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29269 arg2
= static_cast< int >(val2
);
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29273 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29274 result
= (wxDateSpan
*) &_result_ref
;
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29286 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
= 0;
29288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29290 wxDateSpan
*result
= 0 ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char * kwnames
[] = {
29298 (char *) "self",(char *) "n", NULL
29301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29303 if (!SWIG_IsOK(res1
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29306 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29308 if (!SWIG_IsOK(ecode2
)) {
29309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29311 arg2
= static_cast< int >(val2
);
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29315 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29316 result
= (wxDateSpan
*) &_result_ref
;
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29328 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29329 PyObject
*resultobj
= 0;
29330 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29332 wxDateSpan
*result
= 0 ;
29337 PyObject
* obj0
= 0 ;
29338 PyObject
* obj1
= 0 ;
29339 char * kwnames
[] = {
29340 (char *) "self",(char *) "n", NULL
29343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29345 if (!SWIG_IsOK(res1
)) {
29346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29348 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29350 if (!SWIG_IsOK(ecode2
)) {
29351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29353 arg2
= static_cast< int >(val2
);
29355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29358 result
= (wxDateSpan
*) &_result_ref
;
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29370 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29371 PyObject
*resultobj
= 0;
29372 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29376 PyObject
*swig_obj
[1] ;
29378 if (!args
) SWIG_fail
;
29379 swig_obj
[0] = args
;
29380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29384 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= SWIG_From_int(static_cast< int >(result
));
29398 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29399 PyObject
*resultobj
= 0;
29400 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29404 PyObject
*swig_obj
[1] ;
29406 if (!args
) SWIG_fail
;
29407 swig_obj
[0] = args
;
29408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29412 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= SWIG_From_int(static_cast< int >(result
));
29426 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29427 PyObject
*resultobj
= 0;
29428 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29432 PyObject
*swig_obj
[1] ;
29434 if (!args
) SWIG_fail
;
29435 swig_obj
[0] = args
;
29436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29440 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 resultobj
= SWIG_From_int(static_cast< int >(result
));
29454 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29455 PyObject
*resultobj
= 0;
29456 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29460 PyObject
*swig_obj
[1] ;
29462 if (!args
) SWIG_fail
;
29463 swig_obj
[0] = args
;
29464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29465 if (!SWIG_IsOK(res1
)) {
29466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29468 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29471 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_From_int(static_cast< int >(result
));
29482 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29483 PyObject
*resultobj
= 0;
29484 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29488 PyObject
*swig_obj
[1] ;
29490 if (!args
) SWIG_fail
;
29491 swig_obj
[0] = args
;
29492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29496 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29499 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29503 resultobj
= SWIG_From_int(static_cast< int >(result
));
29510 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29513 wxDateSpan
*arg2
= 0 ;
29514 wxDateSpan
*result
= 0 ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 char * kwnames
[] = {
29522 (char *) "self",(char *) "other", NULL
29525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29530 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29532 if (!SWIG_IsOK(res2
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29538 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29543 result
= (wxDateSpan
*) &_result_ref
;
29545 wxPyEndAllowThreads(__tstate
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29555 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
= 0;
29557 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29558 wxDateSpan
*arg2
= 0 ;
29559 wxDateSpan
*result
= 0 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "other", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29575 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29576 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29577 if (!SWIG_IsOK(res2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29583 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29587 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29588 result
= (wxDateSpan
*) &_result_ref
;
29590 wxPyEndAllowThreads(__tstate
);
29591 if (PyErr_Occurred()) SWIG_fail
;
29593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29600 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29601 PyObject
*resultobj
= 0;
29602 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29603 wxDateSpan
*result
= 0 ;
29606 PyObject
*swig_obj
[1] ;
29608 if (!args
) SWIG_fail
;
29609 swig_obj
[0] = args
;
29610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29614 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29619 result
= (wxDateSpan
*) &_result_ref
;
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29631 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
= 0;
29633 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29635 wxDateSpan
*result
= 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "factor", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29651 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29653 if (!SWIG_IsOK(ecode2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29656 arg2
= static_cast< int >(val2
);
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29660 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29661 result
= (wxDateSpan
*) &_result_ref
;
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29673 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29674 PyObject
*resultobj
= 0;
29675 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29676 wxDateSpan
*arg2
= 0 ;
29677 wxDateSpan
*result
= 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 char * kwnames
[] = {
29685 (char *) "self",(char *) "other", NULL
29688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29690 if (!SWIG_IsOK(res1
)) {
29691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29693 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29695 if (!SWIG_IsOK(res2
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29701 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29706 result
= (wxDateSpan
*) &_result_ref
;
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29718 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
= 0;
29720 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29721 wxDateSpan
*arg2
= 0 ;
29722 wxDateSpan
*result
= 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 char * kwnames
[] = {
29730 (char *) "self",(char *) "other", NULL
29733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29735 if (!SWIG_IsOK(res1
)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29738 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29740 if (!SWIG_IsOK(res2
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29746 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29751 result
= (wxDateSpan
*) &_result_ref
;
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29763 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29766 wxDateSpan
*result
= 0 ;
29769 PyObject
*swig_obj
[1] ;
29771 if (!args
) SWIG_fail
;
29772 swig_obj
[0] = args
;
29773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29777 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29781 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29782 result
= (wxDateSpan
*) &_result_ref
;
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29794 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
= 0;
29796 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29798 wxDateSpan
*result
= 0 ;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 char * kwnames
[] = {
29806 (char *) "self",(char *) "factor", NULL
29809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29811 if (!SWIG_IsOK(res1
)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29814 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29816 if (!SWIG_IsOK(ecode2
)) {
29817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29819 arg2
= static_cast< int >(val2
);
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29824 result
= (wxDateSpan
*) &_result_ref
;
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29836 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
= 0;
29838 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29839 wxDateSpan
*arg2
= 0 ;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 char * kwnames
[] = {
29848 (char *) "self",(char *) "other", NULL
29851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29856 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29858 if (!SWIG_IsOK(res2
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29864 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29868 wxPyEndAllowThreads(__tstate
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29871 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29878 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
= 0;
29880 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29881 wxDateSpan
*arg2
= 0 ;
29887 PyObject
* obj0
= 0 ;
29888 PyObject
* obj1
= 0 ;
29889 char * kwnames
[] = {
29890 (char *) "self",(char *) "other", NULL
29893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29898 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29900 if (!SWIG_IsOK(res2
)) {
29901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29906 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29920 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
= 0;
29922 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29929 PyObject
* obj0
= 0 ;
29930 PyObject
* obj1
= 0 ;
29931 char * kwnames
[] = {
29932 (char *) "self",(char *) "n", NULL
29935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29940 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29942 if (!SWIG_IsOK(ecode2
)) {
29943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29945 arg2
= static_cast< int >(val2
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 result
= wxDateSpan___mul__(arg1
,arg2
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29959 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29960 PyObject
*resultobj
= 0;
29961 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 char * kwnames
[] = {
29971 (char *) "self",(char *) "n", NULL
29974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29976 if (!SWIG_IsOK(res1
)) {
29977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29979 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29981 if (!SWIG_IsOK(ecode2
)) {
29982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29984 arg2
= static_cast< int >(val2
);
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= wxDateSpan___rmul__(arg1
,arg2
);
29988 wxPyEndAllowThreads(__tstate
);
29989 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29998 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
= 0;
30000 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30001 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 char * kwnames
[] = {
30010 (char *) "self",(char *) "other", NULL
30013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30015 if (!SWIG_IsOK(res1
)) {
30016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30018 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30020 if (!SWIG_IsOK(res2
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30023 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30039 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30042 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30048 PyObject
* obj0
= 0 ;
30049 PyObject
* obj1
= 0 ;
30050 char * kwnames
[] = {
30051 (char *) "self",(char *) "other", NULL
30054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30059 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30061 if (!SWIG_IsOK(res2
)) {
30062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30064 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30080 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30083 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30084 return SWIG_Py_Void();
30087 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 return SWIG_Python_InitShadowInstance(args
);
30091 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30095 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= (long)wxGetLocalTime();
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_From_long(static_cast< long >(result
));
30109 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 PyObject
*resultobj
= 0;
30113 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (long)wxGetUTCTime();
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_From_long(static_cast< long >(result
));
30127 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30128 PyObject
*resultobj
= 0;
30131 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (long)wxGetCurrentTime();
30135 wxPyEndAllowThreads(__tstate
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30138 resultobj
= SWIG_From_long(static_cast< long >(result
));
30145 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30146 PyObject
*resultobj
= 0;
30149 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= wxGetLocalTimeMillis();
30153 wxPyEndAllowThreads(__tstate
);
30154 if (PyErr_Occurred()) SWIG_fail
;
30157 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30158 hi
= PyLong_FromLong( (&result
)->GetHi() );
30159 lo
= PyLong_FromLong( (&result
)->GetLo() );
30160 shifter
= PyLong_FromLong(32);
30161 shifted
= PyNumber_Lshift(hi
, shifter
);
30162 resultobj
= PyNumber_Or(shifted
, lo
);
30165 Py_DECREF(shifter
);
30166 Py_DECREF(shifted
);
30174 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30175 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30180 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30181 PyObject
*pyobj
= 0;
30183 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30188 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
= 0;
30190 wxDataFormatId arg1
;
30191 wxDataFormat
*result
= 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char * kwnames
[] = {
30196 (char *) "type", NULL
30199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30200 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30201 if (!SWIG_IsOK(ecode1
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30204 arg1
= static_cast< wxDataFormatId
>(val1
);
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30218 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30219 PyObject
*resultobj
= 0;
30220 wxString
*arg1
= 0 ;
30221 wxDataFormat
*result
= 0 ;
30222 bool temp1
= false ;
30223 PyObject
* obj0
= 0 ;
30224 char * kwnames
[] = {
30225 (char *) "format", NULL
30228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30230 arg1
= wxString_in_helper(obj0
);
30231 if (arg1
== NULL
) SWIG_fail
;
30235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30255 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 PyObject
*resultobj
= 0;
30257 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30260 PyObject
*swig_obj
[1] ;
30262 if (!args
) SWIG_fail
;
30263 swig_obj
[0] = args
;
30264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30268 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_Py_Void();
30283 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30284 PyObject
*resultobj
= 0;
30285 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30286 wxDataFormatId arg2
;
30293 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30298 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30299 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30300 if (!SWIG_IsOK(ecode2
)) {
30301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30303 arg2
= static_cast< wxDataFormatId
>(val2
);
30305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30306 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30307 wxPyEndAllowThreads(__tstate
);
30308 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30319 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30320 PyObject
*resultobj
= 0;
30321 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30322 wxDataFormatId arg2
;
30329 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30331 if (!SWIG_IsOK(res1
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30334 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30335 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30336 if (!SWIG_IsOK(ecode2
)) {
30337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30339 arg2
= static_cast< wxDataFormatId
>(val2
);
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30355 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30356 PyObject
*resultobj
= 0;
30357 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30358 wxDataFormat
*arg2
= 0 ;
30365 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30370 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30371 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30372 if (!SWIG_IsOK(res2
)) {
30373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30378 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30394 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30398 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30403 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30404 _v
= SWIG_CheckState(res
);
30406 if (!_v
) goto check_1
;
30407 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30412 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30416 Py_INCREF(Py_NotImplemented
);
30417 return Py_NotImplemented
;
30421 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30422 PyObject
*resultobj
= 0;
30423 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30424 wxDataFormat
*arg2
= 0 ;
30431 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30436 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30437 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30438 if (!SWIG_IsOK(res2
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30444 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30460 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30464 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30469 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30470 _v
= SWIG_CheckState(res
);
30472 if (!_v
) goto check_1
;
30473 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30478 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30482 Py_INCREF(Py_NotImplemented
);
30483 return Py_NotImplemented
;
30487 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30488 PyObject
*resultobj
= 0;
30489 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30490 wxDataFormatId arg2
;
30495 PyObject
* obj0
= 0 ;
30496 PyObject
* obj1
= 0 ;
30497 char * kwnames
[] = {
30498 (char *) "self",(char *) "format", NULL
30501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30503 if (!SWIG_IsOK(res1
)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30506 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30508 if (!SWIG_IsOK(ecode2
)) {
30509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30511 arg2
= static_cast< wxDataFormatId
>(val2
);
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 (arg1
)->SetType(arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= SWIG_Py_Void();
30525 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30526 PyObject
*resultobj
= 0;
30527 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30528 wxDataFormatId result
;
30531 PyObject
*swig_obj
[1] ;
30533 if (!args
) SWIG_fail
;
30534 swig_obj
[0] = args
;
30535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30536 if (!SWIG_IsOK(res1
)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30539 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= SWIG_From_int(static_cast< int >(result
));
30553 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30554 PyObject
*resultobj
= 0;
30555 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30559 PyObject
*swig_obj
[1] ;
30561 if (!args
) SWIG_fail
;
30562 swig_obj
[0] = args
;
30563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30564 if (!SWIG_IsOK(res1
)) {
30565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30567 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 result
= ((wxDataFormat
const *)arg1
)->GetId();
30571 wxPyEndAllowThreads(__tstate
);
30572 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30587 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
= 0;
30589 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30590 wxString
*arg2
= 0 ;
30593 bool temp2
= false ;
30594 PyObject
* obj0
= 0 ;
30595 PyObject
* obj1
= 0 ;
30596 char * kwnames
[] = {
30597 (char *) "self",(char *) "format", NULL
30600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30602 if (!SWIG_IsOK(res1
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30605 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30607 arg2
= wxString_in_helper(obj1
);
30608 if (arg2
== NULL
) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 (arg1
)->SetId((wxString
const &)*arg2
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 resultobj
= SWIG_Py_Void();
30632 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30635 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30636 return SWIG_Py_Void();
30639 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30640 return SWIG_Python_InitShadowInstance(args
);
30643 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30644 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30649 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30650 PyObject
*pyobj
= 0;
30652 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30657 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 PyObject
*resultobj
= 0;
30659 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30662 PyObject
*swig_obj
[1] ;
30664 if (!args
) SWIG_fail
;
30665 swig_obj
[0] = args
;
30666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30667 if (!SWIG_IsOK(res1
)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30670 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30688 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30689 SwigValueWrapper
<wxDataFormat
> result
;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 char * kwnames
[] = {
30697 (char *) "self",(char *) "dir", NULL
30700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30702 if (!SWIG_IsOK(res1
)) {
30703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30705 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30708 if (!SWIG_IsOK(ecode2
)) {
30709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30711 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30726 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30727 PyObject
*resultobj
= 0;
30728 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30729 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30735 PyObject
* obj0
= 0 ;
30736 PyObject
* obj1
= 0 ;
30737 char * kwnames
[] = {
30738 (char *) "self",(char *) "dir", NULL
30741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30743 if (!SWIG_IsOK(res1
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30746 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30749 if (!SWIG_IsOK(ecode2
)) {
30750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30752 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30767 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
= 0;
30769 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30770 wxDataFormat
*arg2
= 0 ;
30771 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 PyObject
* obj2
= 0 ;
30782 char * kwnames
[] = {
30783 (char *) "self",(char *) "format",(char *) "dir", NULL
30786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30788 if (!SWIG_IsOK(res1
)) {
30789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30791 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30793 if (!SWIG_IsOK(res2
)) {
30794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30799 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30802 if (!SWIG_IsOK(ecode3
)) {
30803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30805 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30822 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
= 0;
30824 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30825 wxDataFormat
*arg2
= 0 ;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 char * kwnames
[] = {
30834 (char *) "self",(char *) "format", NULL
30837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30839 if (!SWIG_IsOK(res1
)) {
30840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30842 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30844 if (!SWIG_IsOK(res2
)) {
30845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30850 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30864 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30865 PyObject
*resultobj
= 0;
30866 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30867 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30868 PyObject
*result
= 0 ;
30873 PyObject
* obj0
= 0 ;
30874 PyObject
* obj1
= 0 ;
30875 char * kwnames
[] = {
30876 (char *) "self",(char *) "dir", NULL
30879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30881 if (!SWIG_IsOK(res1
)) {
30882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30884 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30887 if (!SWIG_IsOK(ecode2
)) {
30888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30890 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= result
;
30905 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
= 0;
30907 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30908 wxDataFormat
*arg2
= 0 ;
30909 PyObject
*result
= 0 ;
30914 PyObject
* obj0
= 0 ;
30915 PyObject
* obj1
= 0 ;
30916 char * kwnames
[] = {
30917 (char *) "self",(char *) "format", NULL
30920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30922 if (!SWIG_IsOK(res1
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30925 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30926 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30927 if (!SWIG_IsOK(res2
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30933 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30936 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= result
;
30947 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
= 0;
30949 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30950 wxDataFormat
*arg2
= 0 ;
30951 PyObject
*arg3
= (PyObject
*) 0 ;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 PyObject
* obj2
= 0 ;
30960 char * kwnames
[] = {
30961 (char *) "self",(char *) "format",(char *) "data", NULL
30964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30966 if (!SWIG_IsOK(res1
)) {
30967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30969 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30970 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30971 if (!SWIG_IsOK(res2
)) {
30972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30977 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30994 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30996 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30997 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
30998 return SWIG_Py_Void();
31001 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31002 PyObject
*resultobj
= 0;
31003 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31004 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31005 wxDataObjectSimple
*result
= 0 ;
31008 PyObject
* obj0
= 0 ;
31009 char * kwnames
[] = {
31010 (char *) "format", NULL
31013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31022 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31037 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31038 PyObject
*resultobj
= 0;
31039 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31040 wxDataFormat
*result
= 0 ;
31043 PyObject
*swig_obj
[1] ;
31045 if (!args
) SWIG_fail
;
31046 swig_obj
[0] = args
;
31047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31051 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31056 result
= (wxDataFormat
*) &_result_ref
;
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31068 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
= 0;
31070 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31071 wxDataFormat
*arg2
= 0 ;
31076 PyObject
* obj0
= 0 ;
31077 PyObject
* obj1
= 0 ;
31078 char * kwnames
[] = {
31079 (char *) "self",(char *) "format", NULL
31082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31084 if (!SWIG_IsOK(res1
)) {
31085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31087 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31088 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31089 if (!SWIG_IsOK(res2
)) {
31090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31093 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31095 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31102 resultobj
= SWIG_Py_Void();
31109 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31110 PyObject
*resultobj
= 0;
31111 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31115 PyObject
*swig_obj
[1] ;
31117 if (!args
) SWIG_fail
;
31118 swig_obj
[0] = args
;
31119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31120 if (!SWIG_IsOK(res1
)) {
31121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31123 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31137 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31138 PyObject
*resultobj
= 0;
31139 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31140 PyObject
*result
= 0 ;
31143 PyObject
*swig_obj
[1] ;
31145 if (!args
) SWIG_fail
;
31146 swig_obj
[0] = args
;
31147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31148 if (!SWIG_IsOK(res1
)) {
31149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31151 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31155 wxPyEndAllowThreads(__tstate
);
31156 if (PyErr_Occurred()) SWIG_fail
;
31158 resultobj
= result
;
31165 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31166 PyObject
*resultobj
= 0;
31167 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31168 PyObject
*arg2
= (PyObject
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 char * kwnames
[] = {
31175 (char *) "self",(char *) "data", NULL
31178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31180 if (!SWIG_IsOK(res1
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31183 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31200 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31203 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31204 return SWIG_Py_Void();
31207 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31208 return SWIG_Python_InitShadowInstance(args
);
31211 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
= 0;
31213 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31214 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31215 wxPyDataObjectSimple
*result
= 0 ;
31218 PyObject
* obj0
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "format", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31225 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31226 if (!SWIG_IsOK(res1
)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31232 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31247 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31248 PyObject
*resultobj
= 0;
31249 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31250 PyObject
*arg2
= (PyObject
*) 0 ;
31251 PyObject
*arg3
= (PyObject
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 PyObject
* obj2
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "self",(char *) "_class", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31266 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_Py_Void();
31282 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31285 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31286 return SWIG_Py_Void();
31289 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31290 return SWIG_Python_InitShadowInstance(args
);
31293 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31294 PyObject
*resultobj
= 0;
31295 wxDataObjectComposite
*result
= 0 ;
31297 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31301 wxPyEndAllowThreads(__tstate
);
31302 if (PyErr_Occurred()) SWIG_fail
;
31304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31311 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31312 PyObject
*resultobj
= 0;
31313 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31314 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31315 bool arg3
= (bool) false ;
31321 PyObject
* obj0
= 0 ;
31322 PyObject
* obj1
= 0 ;
31323 PyObject
* obj2
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31333 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31334 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31335 if (!SWIG_IsOK(res2
)) {
31336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31340 if (!SWIG_IsOK(ecode3
)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31343 arg3
= static_cast< bool >(val3
);
31346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31347 (arg1
)->Add(arg2
,arg3
);
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= SWIG_Py_Void();
31358 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31359 PyObject
*resultobj
= 0;
31360 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31361 SwigValueWrapper
<wxDataFormat
> result
;
31364 PyObject
*swig_obj
[1] ;
31366 if (!args
) SWIG_fail
;
31367 swig_obj
[0] = args
;
31368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31372 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31386 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31389 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31390 return SWIG_Py_Void();
31393 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31394 return SWIG_Python_InitShadowInstance(args
);
31397 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
= 0;
31399 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31400 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31401 wxTextDataObject
*result
= 0 ;
31402 bool temp1
= false ;
31403 PyObject
* obj0
= 0 ;
31404 char * kwnames
[] = {
31405 (char *) "text", NULL
31408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31411 arg1
= wxString_in_helper(obj0
);
31412 if (arg1
== NULL
) SWIG_fail
;
31417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31418 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31437 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31438 PyObject
*resultobj
= 0;
31439 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31443 PyObject
*swig_obj
[1] ;
31445 if (!args
) SWIG_fail
;
31446 swig_obj
[0] = args
;
31447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31448 if (!SWIG_IsOK(res1
)) {
31449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31451 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31454 result
= (size_t)(arg1
)->GetTextLength();
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31465 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31466 PyObject
*resultobj
= 0;
31467 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31471 PyObject
*swig_obj
[1] ;
31473 if (!args
) SWIG_fail
;
31474 swig_obj
[0] = args
;
31475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31479 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31482 result
= (arg1
)->GetText();
31483 wxPyEndAllowThreads(__tstate
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31499 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
= 0;
31501 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31502 wxString
*arg2
= 0 ;
31505 bool temp2
= false ;
31506 PyObject
* obj0
= 0 ;
31507 PyObject
* obj1
= 0 ;
31508 char * kwnames
[] = {
31509 (char *) "self",(char *) "text", NULL
31512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31514 if (!SWIG_IsOK(res1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31517 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31519 arg2
= wxString_in_helper(obj1
);
31520 if (arg2
== NULL
) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 (arg1
)->SetText((wxString
const &)*arg2
);
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_Py_Void();
31544 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31548 return SWIG_Py_Void();
31551 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31552 return SWIG_Python_InitShadowInstance(args
);
31555 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31556 PyObject
*resultobj
= 0;
31557 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31558 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31559 wxPyTextDataObject
*result
= 0 ;
31560 bool temp1
= false ;
31561 PyObject
* obj0
= 0 ;
31562 char * kwnames
[] = {
31563 (char *) "text", NULL
31566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31569 arg1
= wxString_in_helper(obj0
);
31570 if (arg1
== NULL
) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31595 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31596 PyObject
*resultobj
= 0;
31597 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31598 PyObject
*arg2
= (PyObject
*) 0 ;
31599 PyObject
*arg3
= (PyObject
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 PyObject
* obj2
= 0 ;
31605 char * kwnames
[] = {
31606 (char *) "self",(char *) "self",(char *) "_class", NULL
31609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31611 if (!SWIG_IsOK(res1
)) {
31612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31614 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_Py_Void();
31630 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31634 return SWIG_Py_Void();
31637 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31638 return SWIG_Python_InitShadowInstance(args
);
31641 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
= 0;
31643 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31644 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31645 wxBitmapDataObject
*result
= 0 ;
31648 PyObject
* obj0
= 0 ;
31649 char * kwnames
[] = {
31650 (char *) "bitmap", NULL
31653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31655 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31656 if (!SWIG_IsOK(res1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31666 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31667 wxPyEndAllowThreads(__tstate
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31677 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31678 PyObject
*resultobj
= 0;
31679 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31683 PyObject
*swig_obj
[1] ;
31685 if (!args
) SWIG_fail
;
31686 swig_obj
[0] = args
;
31687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31688 if (!SWIG_IsOK(res1
)) {
31689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31691 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31694 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31695 wxPyEndAllowThreads(__tstate
);
31696 if (PyErr_Occurred()) SWIG_fail
;
31698 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31705 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
= 0;
31707 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31708 wxBitmap
*arg2
= 0 ;
31713 PyObject
* obj0
= 0 ;
31714 PyObject
* obj1
= 0 ;
31715 char * kwnames
[] = {
31716 (char *) "self",(char *) "bitmap", NULL
31719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31721 if (!SWIG_IsOK(res1
)) {
31722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31724 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31726 if (!SWIG_IsOK(res2
)) {
31727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31732 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31735 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= SWIG_Py_Void();
31746 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31749 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31750 return SWIG_Py_Void();
31753 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31754 return SWIG_Python_InitShadowInstance(args
);
31757 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
= 0;
31759 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31760 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31761 wxPyBitmapDataObject
*result
= 0 ;
31764 PyObject
* obj0
= 0 ;
31765 char * kwnames
[] = {
31766 (char *) "bitmap", NULL
31769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31771 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31772 if (!SWIG_IsOK(res1
)) {
31773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31778 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31782 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31783 wxPyEndAllowThreads(__tstate
);
31784 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31793 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31794 PyObject
*resultobj
= 0;
31795 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31796 PyObject
*arg2
= (PyObject
*) 0 ;
31797 PyObject
*arg3
= (PyObject
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 PyObject
* obj2
= 0 ;
31803 char * kwnames
[] = {
31804 (char *) "self",(char *) "self",(char *) "_class", NULL
31807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31809 if (!SWIG_IsOK(res1
)) {
31810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31812 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_Py_Void();
31828 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31831 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31832 return SWIG_Py_Void();
31835 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31836 return SWIG_Python_InitShadowInstance(args
);
31839 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31840 PyObject
*resultobj
= 0;
31841 wxFileDataObject
*result
= 0 ;
31843 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31846 result
= (wxFileDataObject
*)new wxFileDataObject();
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31857 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31858 PyObject
*resultobj
= 0;
31859 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31860 wxArrayString
*result
= 0 ;
31863 PyObject
*swig_obj
[1] ;
31865 if (!args
) SWIG_fail
;
31866 swig_obj
[0] = args
;
31867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31868 if (!SWIG_IsOK(res1
)) {
31869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31871 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31876 result
= (wxArrayString
*) &_result_ref
;
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= wxArrayString2PyList_helper(*result
);
31890 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
= 0;
31892 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31893 wxString
*arg2
= 0 ;
31896 bool temp2
= false ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "self",(char *) "filename", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31908 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31910 arg2
= wxString_in_helper(obj1
);
31911 if (arg2
== NULL
) SWIG_fail
;
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 (arg1
)->AddFile((wxString
const &)*arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_Py_Void();
31935 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31937 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31938 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31939 return SWIG_Py_Void();
31942 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 return SWIG_Python_InitShadowInstance(args
);
31946 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31947 PyObject
*resultobj
= 0;
31948 wxDataFormat
*arg1
= 0 ;
31949 wxCustomDataObject
*result
= 0 ;
31953 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31955 if (!SWIG_IsOK(res1
)) {
31956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31961 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31975 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31976 PyObject
*resultobj
= 0;
31977 wxString
*arg1
= 0 ;
31978 wxCustomDataObject
*result
= 0 ;
31979 bool temp1
= false ;
31981 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31983 arg1
= wxString_in_helper(swig_obj
[0]);
31984 if (arg1
== NULL
) SWIG_fail
;
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31990 wxPyEndAllowThreads(__tstate
);
31991 if (PyErr_Occurred()) SWIG_fail
;
31993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32008 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32009 PyObject
*resultobj
= 0;
32010 wxCustomDataObject
*result
= 0 ;
32012 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32015 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32026 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32030 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32033 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32039 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32042 if (!_v
) goto check_2
;
32043 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32048 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32052 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32057 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32058 PyObject
*resultobj
= 0;
32059 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32060 PyObject
*arg2
= (PyObject
*) 0 ;
32064 PyObject
* obj0
= 0 ;
32065 PyObject
* obj1
= 0 ;
32066 char * kwnames
[] = {
32067 (char *) "self",(char *) "data", NULL
32070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32072 if (!SWIG_IsOK(res1
)) {
32073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32075 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32092 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32093 PyObject
*resultobj
= 0;
32094 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32098 PyObject
*swig_obj
[1] ;
32100 if (!args
) SWIG_fail
;
32101 swig_obj
[0] = args
;
32102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32103 if (!SWIG_IsOK(res1
)) {
32104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32106 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (size_t)(arg1
)->GetSize();
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32120 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32121 PyObject
*resultobj
= 0;
32122 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32123 PyObject
*result
= 0 ;
32126 PyObject
*swig_obj
[1] ;
32128 if (!args
) SWIG_fail
;
32129 swig_obj
[0] = args
;
32130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32131 if (!SWIG_IsOK(res1
)) {
32132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32134 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= result
;
32148 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32151 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32152 return SWIG_Py_Void();
32155 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32156 return SWIG_Python_InitShadowInstance(args
);
32159 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32160 PyObject
*resultobj
= 0;
32161 wxURLDataObject
*result
= 0 ;
32163 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (wxURLDataObject
*)new wxURLDataObject();
32167 wxPyEndAllowThreads(__tstate
);
32168 if (PyErr_Occurred()) SWIG_fail
;
32170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32177 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32178 PyObject
*resultobj
= 0;
32179 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32183 PyObject
*swig_obj
[1] ;
32185 if (!args
) SWIG_fail
;
32186 swig_obj
[0] = args
;
32187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32188 if (!SWIG_IsOK(res1
)) {
32189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32191 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (arg1
)->GetURL();
32195 wxPyEndAllowThreads(__tstate
);
32196 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32211 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32212 PyObject
*resultobj
= 0;
32213 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32214 wxString
*arg2
= 0 ;
32217 bool temp2
= false ;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char * kwnames
[] = {
32221 (char *) "self",(char *) "url", NULL
32224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32226 if (!SWIG_IsOK(res1
)) {
32227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32229 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32231 arg2
= wxString_in_helper(obj1
);
32232 if (arg2
== NULL
) SWIG_fail
;
32236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32237 (arg1
)->SetURL((wxString
const &)*arg2
);
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= SWIG_Py_Void();
32256 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32258 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32259 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32260 return SWIG_Py_Void();
32263 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32264 return SWIG_Python_InitShadowInstance(args
);
32267 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32268 PyObject
*resultobj
= 0;
32269 wxMetafileDataObject
*result
= 0 ;
32271 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32275 wxPyEndAllowThreads(__tstate
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32285 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32286 PyObject
*resultobj
= 0;
32287 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32288 wxMetafile
*arg2
= 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "metafile", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32304 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32305 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32306 if (!SWIG_IsOK(res2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32312 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32316 wxPyEndAllowThreads(__tstate
);
32317 if (PyErr_Occurred()) SWIG_fail
;
32319 resultobj
= SWIG_Py_Void();
32326 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32327 PyObject
*resultobj
= 0;
32328 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32332 PyObject
*swig_obj
[1] ;
32334 if (!args
) SWIG_fail
;
32335 swig_obj
[0] = args
;
32336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32337 if (!SWIG_IsOK(res1
)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32340 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32344 wxPyEndAllowThreads(__tstate
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32347 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32354 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32357 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32358 return SWIG_Py_Void();
32361 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32362 return SWIG_Python_InitShadowInstance(args
);
32365 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
= 0;
32367 wxDragResult arg1
;
32371 PyObject
* obj0
= 0 ;
32372 char * kwnames
[] = {
32373 (char *) "res", NULL
32376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32378 if (!SWIG_IsOK(ecode1
)) {
32379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32381 arg1
= static_cast< wxDragResult
>(val1
);
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 result
= (bool)wxIsDragResultOk(arg1
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32397 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
= 0;
32399 wxWindow
*arg1
= (wxWindow
*) 0 ;
32400 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32401 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32402 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32403 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32404 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32405 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32406 wxPyDropSource
*result
= 0 ;
32415 PyObject
* obj0
= 0 ;
32416 PyObject
* obj1
= 0 ;
32417 PyObject
* obj2
= 0 ;
32418 PyObject
* obj3
= 0 ;
32419 char * kwnames
[] = {
32420 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32425 if (!SWIG_IsOK(res1
)) {
32426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32430 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32431 if (!SWIG_IsOK(res2
)) {
32432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32437 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32440 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32441 if (!SWIG_IsOK(res3
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32447 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32450 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32451 if (!SWIG_IsOK(res4
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32457 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32472 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32473 PyObject
*resultobj
= 0;
32474 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32475 PyObject
*arg2
= (PyObject
*) 0 ;
32476 PyObject
*arg3
= (PyObject
*) 0 ;
32482 PyObject
* obj0
= 0 ;
32483 PyObject
* obj1
= 0 ;
32484 PyObject
* obj2
= 0 ;
32485 PyObject
* obj3
= 0 ;
32486 char * kwnames
[] = {
32487 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32492 if (!SWIG_IsOK(res1
)) {
32493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32495 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32499 if (!SWIG_IsOK(ecode4
)) {
32500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32502 arg4
= static_cast< int >(val4
);
32504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32505 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32506 wxPyEndAllowThreads(__tstate
);
32507 if (PyErr_Occurred()) SWIG_fail
;
32509 resultobj
= SWIG_Py_Void();
32516 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32517 PyObject
*resultobj
= 0;
32518 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32521 PyObject
*swig_obj
[1] ;
32523 if (!args
) SWIG_fail
;
32524 swig_obj
[0] = args
;
32525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32526 if (!SWIG_IsOK(res1
)) {
32527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32529 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 resultobj
= SWIG_Py_Void();
32544 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
= 0;
32546 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32547 wxDataObject
*arg2
= 0 ;
32552 PyObject
* obj0
= 0 ;
32553 PyObject
* obj1
= 0 ;
32554 char * kwnames
[] = {
32555 (char *) "self",(char *) "data", NULL
32558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32560 if (!SWIG_IsOK(res1
)) {
32561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32563 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32565 if (!SWIG_IsOK(res2
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32571 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 (arg1
)->SetData(*arg2
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= SWIG_Py_Void();
32585 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32586 PyObject
*resultobj
= 0;
32587 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32588 wxDataObject
*result
= 0 ;
32591 PyObject
*swig_obj
[1] ;
32593 if (!args
) SWIG_fail
;
32594 swig_obj
[0] = args
;
32595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32596 if (!SWIG_IsOK(res1
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32599 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32613 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32616 wxDragResult arg2
;
32617 wxCursor
*arg3
= 0 ;
32624 PyObject
* obj0
= 0 ;
32625 PyObject
* obj1
= 0 ;
32626 PyObject
* obj2
= 0 ;
32627 char * kwnames
[] = {
32628 (char *) "self",(char *) "res",(char *) "cursor", NULL
32631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32633 if (!SWIG_IsOK(res1
)) {
32634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32636 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32638 if (!SWIG_IsOK(ecode2
)) {
32639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32641 arg2
= static_cast< wxDragResult
>(val2
);
32642 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32643 if (!SWIG_IsOK(res3
)) {
32644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32649 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32652 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32653 wxPyEndAllowThreads(__tstate
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= SWIG_Py_Void();
32663 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32664 PyObject
*resultobj
= 0;
32665 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32666 int arg2
= (int) wxDrag_CopyOnly
;
32667 wxDragResult result
;
32672 PyObject
* obj0
= 0 ;
32673 PyObject
* obj1
= 0 ;
32674 char * kwnames
[] = {
32675 (char *) "self",(char *) "flags", NULL
32678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32680 if (!SWIG_IsOK(res1
)) {
32681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32683 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32686 if (!SWIG_IsOK(ecode2
)) {
32687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32689 arg2
= static_cast< int >(val2
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_From_int(static_cast< int >(result
));
32704 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
= 0;
32706 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32707 wxDragResult arg2
;
32713 PyObject
* obj0
= 0 ;
32714 PyObject
* obj1
= 0 ;
32715 char * kwnames
[] = {
32716 (char *) "self",(char *) "effect", NULL
32719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32721 if (!SWIG_IsOK(res1
)) {
32722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32724 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32726 if (!SWIG_IsOK(ecode2
)) {
32727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32729 arg2
= static_cast< wxDragResult
>(val2
);
32731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32732 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32733 wxPyEndAllowThreads(__tstate
);
32734 if (PyErr_Occurred()) SWIG_fail
;
32737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32745 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32747 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32748 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32749 return SWIG_Py_Void();
32752 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32753 return SWIG_Python_InitShadowInstance(args
);
32756 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
= 0;
32758 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32759 wxPyDropTarget
*result
= 0 ;
32761 PyObject
* obj0
= 0 ;
32762 char * kwnames
[] = {
32763 (char *) "dataObject", NULL
32766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32768 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32769 if (!SWIG_IsOK(res1
)) {
32770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32786 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
= 0;
32788 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32789 PyObject
*arg2
= (PyObject
*) 0 ;
32790 PyObject
*arg3
= (PyObject
*) 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 PyObject
* obj2
= 0 ;
32796 char * kwnames
[] = {
32797 (char *) "self",(char *) "self",(char *) "_class", NULL
32800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32802 if (!SWIG_IsOK(res1
)) {
32803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32805 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32811 wxPyEndAllowThreads(__tstate
);
32812 if (PyErr_Occurred()) SWIG_fail
;
32814 resultobj
= SWIG_Py_Void();
32821 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32822 PyObject
*resultobj
= 0;
32823 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32826 PyObject
*swig_obj
[1] ;
32828 if (!args
) SWIG_fail
;
32829 swig_obj
[0] = args
;
32830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32831 if (!SWIG_IsOK(res1
)) {
32832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32834 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= SWIG_Py_Void();
32849 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32850 PyObject
*resultobj
= 0;
32851 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32852 wxDataObject
*result
= 0 ;
32855 PyObject
*swig_obj
[1] ;
32857 if (!args
) SWIG_fail
;
32858 swig_obj
[0] = args
;
32859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32860 if (!SWIG_IsOK(res1
)) {
32861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32863 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32866 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32867 wxPyEndAllowThreads(__tstate
);
32868 if (PyErr_Occurred()) SWIG_fail
;
32870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32877 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32878 PyObject
*resultobj
= 0;
32879 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32880 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32884 PyObject
* obj0
= 0 ;
32885 PyObject
* obj1
= 0 ;
32886 char * kwnames
[] = {
32887 (char *) "self",(char *) "dataObject", NULL
32890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32892 if (!SWIG_IsOK(res1
)) {
32893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32895 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32896 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32897 if (!SWIG_IsOK(res2
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32902 (arg1
)->SetDataObject(arg2
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32906 resultobj
= SWIG_Py_Void();
32913 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32914 PyObject
*resultobj
= 0;
32915 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32918 wxDragResult arg4
;
32919 wxDragResult result
;
32928 PyObject
* obj0
= 0 ;
32929 PyObject
* obj1
= 0 ;
32930 PyObject
* obj2
= 0 ;
32931 PyObject
* obj3
= 0 ;
32932 char * kwnames
[] = {
32933 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32941 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32943 if (!SWIG_IsOK(ecode2
)) {
32944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32946 arg2
= static_cast< int >(val2
);
32947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32948 if (!SWIG_IsOK(ecode3
)) {
32949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32951 arg3
= static_cast< int >(val3
);
32952 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32953 if (!SWIG_IsOK(ecode4
)) {
32954 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32956 arg4
= static_cast< wxDragResult
>(val4
);
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32959 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 resultobj
= SWIG_From_int(static_cast< int >(result
));
32970 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
= 0;
32972 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32975 wxDragResult arg4
;
32976 wxDragResult result
;
32985 PyObject
* obj0
= 0 ;
32986 PyObject
* obj1
= 0 ;
32987 PyObject
* obj2
= 0 ;
32988 PyObject
* obj3
= 0 ;
32989 char * kwnames
[] = {
32990 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
32993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32995 if (!SWIG_IsOK(res1
)) {
32996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32998 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33000 if (!SWIG_IsOK(ecode2
)) {
33001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33003 arg2
= static_cast< int >(val2
);
33004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33005 if (!SWIG_IsOK(ecode3
)) {
33006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33008 arg3
= static_cast< int >(val3
);
33009 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33010 if (!SWIG_IsOK(ecode4
)) {
33011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33013 arg4
= static_cast< wxDragResult
>(val4
);
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= SWIG_From_int(static_cast< int >(result
));
33027 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33028 PyObject
*resultobj
= 0;
33029 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33032 PyObject
*swig_obj
[1] ;
33034 if (!args
) SWIG_fail
;
33035 swig_obj
[0] = args
;
33036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33037 if (!SWIG_IsOK(res1
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33040 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 wxPyEndAllowThreads(__tstate
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= SWIG_Py_Void();
33054 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
= 0;
33056 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 PyObject
* obj2
= 0 ;
33069 char * kwnames
[] = {
33070 (char *) "self",(char *) "x",(char *) "y", NULL
33073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33075 if (!SWIG_IsOK(res1
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33078 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33080 if (!SWIG_IsOK(ecode2
)) {
33081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33083 arg2
= static_cast< int >(val2
);
33084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33085 if (!SWIG_IsOK(ecode3
)) {
33086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33088 arg3
= static_cast< int >(val3
);
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33104 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33105 PyObject
*resultobj
= 0;
33106 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33110 PyObject
*swig_obj
[1] ;
33112 if (!args
) SWIG_fail
;
33113 swig_obj
[0] = args
;
33114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33115 if (!SWIG_IsOK(res1
)) {
33116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33118 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33121 result
= (bool)(arg1
)->GetData();
33122 wxPyEndAllowThreads(__tstate
);
33123 if (PyErr_Occurred()) SWIG_fail
;
33126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33134 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33135 PyObject
*resultobj
= 0;
33136 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33137 wxDragResult arg2
;
33142 PyObject
* obj0
= 0 ;
33143 PyObject
* obj1
= 0 ;
33144 char * kwnames
[] = {
33145 (char *) "self",(char *) "action", NULL
33148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33153 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33155 if (!SWIG_IsOK(ecode2
)) {
33156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33158 arg2
= static_cast< wxDragResult
>(val2
);
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 (arg1
)->SetDefaultAction(arg2
);
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33165 resultobj
= SWIG_Py_Void();
33172 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33173 PyObject
*resultobj
= 0;
33174 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33175 wxDragResult result
;
33178 PyObject
*swig_obj
[1] ;
33180 if (!args
) SWIG_fail
;
33181 swig_obj
[0] = args
;
33182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33183 if (!SWIG_IsOK(res1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33186 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_From_int(static_cast< int >(result
));
33200 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33204 return SWIG_Py_Void();
33207 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33208 return SWIG_Python_InitShadowInstance(args
);
33211 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33212 PyObject
*resultobj
= 0;
33213 wxPyTextDropTarget
*result
= 0 ;
33215 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33229 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
= 0;
33231 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33232 PyObject
*arg2
= (PyObject
*) 0 ;
33233 PyObject
*arg3
= (PyObject
*) 0 ;
33236 PyObject
* obj0
= 0 ;
33237 PyObject
* obj1
= 0 ;
33238 PyObject
* obj2
= 0 ;
33239 char * kwnames
[] = {
33240 (char *) "self",(char *) "self",(char *) "_class", NULL
33243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33245 if (!SWIG_IsOK(res1
)) {
33246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33248 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= SWIG_Py_Void();
33264 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33265 PyObject
*resultobj
= 0;
33266 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33269 wxString
*arg4
= 0 ;
33277 bool temp4
= false ;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 PyObject
* obj2
= 0 ;
33281 PyObject
* obj3
= 0 ;
33282 char * kwnames
[] = {
33283 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33288 if (!SWIG_IsOK(res1
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33291 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33293 if (!SWIG_IsOK(ecode2
)) {
33294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33296 arg2
= static_cast< int >(val2
);
33297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33298 if (!SWIG_IsOK(ecode3
)) {
33299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33301 arg3
= static_cast< int >(val3
);
33303 arg4
= wxString_in_helper(obj3
);
33304 if (arg4
== NULL
) SWIG_fail
;
33308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33309 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33310 wxPyEndAllowThreads(__tstate
);
33311 if (PyErr_Occurred()) SWIG_fail
;
33314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33330 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
= 0;
33332 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33335 wxDragResult arg4
;
33336 wxDragResult result
;
33345 PyObject
* obj0
= 0 ;
33346 PyObject
* obj1
= 0 ;
33347 PyObject
* obj2
= 0 ;
33348 PyObject
* obj3
= 0 ;
33349 char * kwnames
[] = {
33350 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33355 if (!SWIG_IsOK(res1
)) {
33356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33358 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33360 if (!SWIG_IsOK(ecode2
)) {
33361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33363 arg2
= static_cast< int >(val2
);
33364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33365 if (!SWIG_IsOK(ecode3
)) {
33366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33368 arg3
= static_cast< int >(val3
);
33369 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33370 if (!SWIG_IsOK(ecode4
)) {
33371 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33373 arg4
= static_cast< wxDragResult
>(val4
);
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 resultobj
= SWIG_From_int(static_cast< int >(result
));
33387 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
= 0;
33389 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33392 wxDragResult arg4
;
33393 wxDragResult result
;
33402 PyObject
* obj0
= 0 ;
33403 PyObject
* obj1
= 0 ;
33404 PyObject
* obj2
= 0 ;
33405 PyObject
* obj3
= 0 ;
33406 char * kwnames
[] = {
33407 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33412 if (!SWIG_IsOK(res1
)) {
33413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33415 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33417 if (!SWIG_IsOK(ecode2
)) {
33418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33420 arg2
= static_cast< int >(val2
);
33421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33422 if (!SWIG_IsOK(ecode3
)) {
33423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33425 arg3
= static_cast< int >(val3
);
33426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33427 if (!SWIG_IsOK(ecode4
)) {
33428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33430 arg4
= static_cast< wxDragResult
>(val4
);
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33434 wxPyEndAllowThreads(__tstate
);
33435 if (PyErr_Occurred()) SWIG_fail
;
33437 resultobj
= SWIG_From_int(static_cast< int >(result
));
33444 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33445 PyObject
*resultobj
= 0;
33446 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33449 PyObject
*swig_obj
[1] ;
33451 if (!args
) SWIG_fail
;
33452 swig_obj
[0] = args
;
33453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33454 if (!SWIG_IsOK(res1
)) {
33455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33457 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33464 resultobj
= SWIG_Py_Void();
33471 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
= 0;
33473 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33483 PyObject
* obj0
= 0 ;
33484 PyObject
* obj1
= 0 ;
33485 PyObject
* obj2
= 0 ;
33486 char * kwnames
[] = {
33487 (char *) "self",(char *) "x",(char *) "y", NULL
33490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33492 if (!SWIG_IsOK(res1
)) {
33493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33495 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33497 if (!SWIG_IsOK(ecode2
)) {
33498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33500 arg2
= static_cast< int >(val2
);
33501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33502 if (!SWIG_IsOK(ecode3
)) {
33503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33505 arg3
= static_cast< int >(val3
);
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33509 wxPyEndAllowThreads(__tstate
);
33510 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33521 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
= 0;
33523 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33526 wxDragResult arg4
;
33527 wxDragResult result
;
33536 PyObject
* obj0
= 0 ;
33537 PyObject
* obj1
= 0 ;
33538 PyObject
* obj2
= 0 ;
33539 PyObject
* obj3
= 0 ;
33540 char * kwnames
[] = {
33541 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33546 if (!SWIG_IsOK(res1
)) {
33547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33549 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33551 if (!SWIG_IsOK(ecode2
)) {
33552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33554 arg2
= static_cast< int >(val2
);
33555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33556 if (!SWIG_IsOK(ecode3
)) {
33557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33559 arg3
= static_cast< int >(val3
);
33560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33561 if (!SWIG_IsOK(ecode4
)) {
33562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33564 arg4
= static_cast< wxDragResult
>(val4
);
33566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33567 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33568 wxPyEndAllowThreads(__tstate
);
33569 if (PyErr_Occurred()) SWIG_fail
;
33571 resultobj
= SWIG_From_int(static_cast< int >(result
));
33578 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33580 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33581 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33582 return SWIG_Py_Void();
33585 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33586 return SWIG_Python_InitShadowInstance(args
);
33589 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33590 PyObject
*resultobj
= 0;
33591 wxPyFileDropTarget
*result
= 0 ;
33593 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33607 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
= 0;
33609 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33610 PyObject
*arg2
= (PyObject
*) 0 ;
33611 PyObject
*arg3
= (PyObject
*) 0 ;
33614 PyObject
* obj0
= 0 ;
33615 PyObject
* obj1
= 0 ;
33616 PyObject
* obj2
= 0 ;
33617 char * kwnames
[] = {
33618 (char *) "self",(char *) "self",(char *) "_class", NULL
33621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33623 if (!SWIG_IsOK(res1
)) {
33624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33626 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33632 wxPyEndAllowThreads(__tstate
);
33633 if (PyErr_Occurred()) SWIG_fail
;
33635 resultobj
= SWIG_Py_Void();
33642 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33643 PyObject
*resultobj
= 0;
33644 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33647 wxArrayString
*arg4
= 0 ;
33655 bool temp4
= false ;
33656 PyObject
* obj0
= 0 ;
33657 PyObject
* obj1
= 0 ;
33658 PyObject
* obj2
= 0 ;
33659 PyObject
* obj3
= 0 ;
33660 char * kwnames
[] = {
33661 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33669 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33671 if (!SWIG_IsOK(ecode2
)) {
33672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33674 arg2
= static_cast< int >(val2
);
33675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33676 if (!SWIG_IsOK(ecode3
)) {
33677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33679 arg3
= static_cast< int >(val3
);
33681 if (! PySequence_Check(obj3
)) {
33682 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33685 arg4
= new wxArrayString
;
33687 int i
, len
=PySequence_Length(obj3
);
33688 for (i
=0; i
<len
; i
++) {
33689 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33690 wxString
* s
= wxString_in_helper(item
);
33691 if (PyErr_Occurred()) SWIG_fail
;
33698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33699 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33700 wxPyEndAllowThreads(__tstate
);
33701 if (PyErr_Occurred()) SWIG_fail
;
33704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33707 if (temp4
) delete arg4
;
33712 if (temp4
) delete arg4
;
33718 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33719 PyObject
*resultobj
= 0;
33720 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33723 wxDragResult arg4
;
33724 wxDragResult result
;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 PyObject
* obj2
= 0 ;
33736 PyObject
* obj3
= 0 ;
33737 char * kwnames
[] = {
33738 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33743 if (!SWIG_IsOK(res1
)) {
33744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33746 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33748 if (!SWIG_IsOK(ecode2
)) {
33749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33751 arg2
= static_cast< int >(val2
);
33752 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33753 if (!SWIG_IsOK(ecode3
)) {
33754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33756 arg3
= static_cast< int >(val3
);
33757 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33758 if (!SWIG_IsOK(ecode4
)) {
33759 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33761 arg4
= static_cast< wxDragResult
>(val4
);
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33768 resultobj
= SWIG_From_int(static_cast< int >(result
));
33775 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33776 PyObject
*resultobj
= 0;
33777 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33780 wxDragResult arg4
;
33781 wxDragResult result
;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 PyObject
* obj2
= 0 ;
33793 PyObject
* obj3
= 0 ;
33794 char * kwnames
[] = {
33795 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33800 if (!SWIG_IsOK(res1
)) {
33801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33803 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33805 if (!SWIG_IsOK(ecode2
)) {
33806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33808 arg2
= static_cast< int >(val2
);
33809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33810 if (!SWIG_IsOK(ecode3
)) {
33811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33813 arg3
= static_cast< int >(val3
);
33814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33815 if (!SWIG_IsOK(ecode4
)) {
33816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33818 arg4
= static_cast< wxDragResult
>(val4
);
33820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33821 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= SWIG_From_int(static_cast< int >(result
));
33832 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33833 PyObject
*resultobj
= 0;
33834 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33837 PyObject
*swig_obj
[1] ;
33839 if (!args
) SWIG_fail
;
33840 swig_obj
[0] = args
;
33841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33842 if (!SWIG_IsOK(res1
)) {
33843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33845 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 wxPyEndAllowThreads(__tstate
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33852 resultobj
= SWIG_Py_Void();
33859 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33860 PyObject
*resultobj
= 0;
33861 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33871 PyObject
* obj0
= 0 ;
33872 PyObject
* obj1
= 0 ;
33873 PyObject
* obj2
= 0 ;
33874 char * kwnames
[] = {
33875 (char *) "self",(char *) "x",(char *) "y", NULL
33878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33880 if (!SWIG_IsOK(res1
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33883 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33885 if (!SWIG_IsOK(ecode2
)) {
33886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33888 arg2
= static_cast< int >(val2
);
33889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33890 if (!SWIG_IsOK(ecode3
)) {
33891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33893 arg3
= static_cast< int >(val3
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33909 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33910 PyObject
*resultobj
= 0;
33911 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33914 wxDragResult arg4
;
33915 wxDragResult result
;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 PyObject
* obj2
= 0 ;
33927 PyObject
* obj3
= 0 ;
33928 char * kwnames
[] = {
33929 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33934 if (!SWIG_IsOK(res1
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33937 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33939 if (!SWIG_IsOK(ecode2
)) {
33940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33942 arg2
= static_cast< int >(val2
);
33943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33944 if (!SWIG_IsOK(ecode3
)) {
33945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33947 arg3
= static_cast< int >(val3
);
33948 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33949 if (!SWIG_IsOK(ecode4
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33952 arg4
= static_cast< wxDragResult
>(val4
);
33954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33955 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33959 resultobj
= SWIG_From_int(static_cast< int >(result
));
33966 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33970 return SWIG_Py_Void();
33973 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33974 return SWIG_Python_InitShadowInstance(args
);
33977 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33978 PyObject
*resultobj
= 0;
33979 wxClipboard
*result
= 0 ;
33981 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33984 result
= (wxClipboard
*)new wxClipboard();
33985 wxPyEndAllowThreads(__tstate
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33995 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 PyObject
*resultobj
= 0;
33997 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34000 PyObject
*swig_obj
[1] ;
34002 if (!args
) SWIG_fail
;
34003 swig_obj
[0] = args
;
34004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34008 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 resultobj
= SWIG_Py_Void();
34023 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34024 PyObject
*resultobj
= 0;
34025 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34029 PyObject
*swig_obj
[1] ;
34031 if (!args
) SWIG_fail
;
34032 swig_obj
[0] = args
;
34033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34037 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 result
= (bool)(arg1
)->Open();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34053 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34054 PyObject
*resultobj
= 0;
34055 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34058 PyObject
*swig_obj
[1] ;
34060 if (!args
) SWIG_fail
;
34061 swig_obj
[0] = args
;
34062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34066 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= SWIG_Py_Void();
34080 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34081 PyObject
*resultobj
= 0;
34082 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34086 PyObject
*swig_obj
[1] ;
34088 if (!args
) SWIG_fail
;
34089 swig_obj
[0] = args
;
34090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34091 if (!SWIG_IsOK(res1
)) {
34092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34094 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34097 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34098 wxPyEndAllowThreads(__tstate
);
34099 if (PyErr_Occurred()) SWIG_fail
;
34102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34110 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
= 0;
34112 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34113 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34118 PyObject
* obj0
= 0 ;
34119 PyObject
* obj1
= 0 ;
34120 char * kwnames
[] = {
34121 (char *) "self",(char *) "data", NULL
34124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34126 if (!SWIG_IsOK(res1
)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34129 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34130 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34131 if (!SWIG_IsOK(res2
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (bool)(arg1
)->AddData(arg2
);
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34149 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
= 0;
34151 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34152 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34157 PyObject
* obj0
= 0 ;
34158 PyObject
* obj1
= 0 ;
34159 char * kwnames
[] = {
34160 (char *) "self",(char *) "data", NULL
34163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34165 if (!SWIG_IsOK(res1
)) {
34166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34168 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34169 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34170 if (!SWIG_IsOK(res2
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 result
= (bool)(arg1
)->SetData(arg2
);
34176 wxPyEndAllowThreads(__tstate
);
34177 if (PyErr_Occurred()) SWIG_fail
;
34180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34188 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34189 PyObject
*resultobj
= 0;
34190 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34191 wxDataFormat
*arg2
= 0 ;
34197 PyObject
* obj0
= 0 ;
34198 PyObject
* obj1
= 0 ;
34199 char * kwnames
[] = {
34200 (char *) "self",(char *) "format", NULL
34203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34205 if (!SWIG_IsOK(res1
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34208 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34210 if (!SWIG_IsOK(res2
)) {
34211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34216 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34219 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34232 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
= 0;
34234 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34235 wxDataObject
*arg2
= 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "data", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34252 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34254 if (!SWIG_IsOK(res2
)) {
34255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34260 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34263 result
= (bool)(arg1
)->GetData(*arg2
);
34264 wxPyEndAllowThreads(__tstate
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34276 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34277 PyObject
*resultobj
= 0;
34278 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34281 PyObject
*swig_obj
[1] ;
34283 if (!args
) SWIG_fail
;
34284 swig_obj
[0] = args
;
34285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34286 if (!SWIG_IsOK(res1
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34289 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_Py_Void();
34303 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34304 PyObject
*resultobj
= 0;
34305 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34309 PyObject
*swig_obj
[1] ;
34311 if (!args
) SWIG_fail
;
34312 swig_obj
[0] = args
;
34313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34314 if (!SWIG_IsOK(res1
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34317 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (bool)(arg1
)->Flush();
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34333 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
= 0;
34335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34336 bool arg2
= (bool) true ;
34341 PyObject
* obj0
= 0 ;
34342 PyObject
* obj1
= 0 ;
34343 char * kwnames
[] = {
34344 (char *) "self",(char *) "primary", NULL
34347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34349 if (!SWIG_IsOK(res1
)) {
34350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34352 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34354 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34355 if (!SWIG_IsOK(ecode2
)) {
34356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34358 arg2
= static_cast< bool >(val2
);
34361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34362 (arg1
)->UsePrimarySelection(arg2
);
34363 wxPyEndAllowThreads(__tstate
);
34364 if (PyErr_Occurred()) SWIG_fail
;
34366 resultobj
= SWIG_Py_Void();
34373 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34374 PyObject
*resultobj
= 0;
34375 wxClipboard
*result
= 0 ;
34377 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34380 result
= (wxClipboard
*)wxClipboard::Get();
34381 wxPyEndAllowThreads(__tstate
);
34382 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34391 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34394 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34395 return SWIG_Py_Void();
34398 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34399 return SWIG_Python_InitShadowInstance(args
);
34402 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
= 0;
34404 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34405 wxClipboardLocker
*result
= 0 ;
34408 PyObject
* obj0
= 0 ;
34409 char * kwnames
[] = {
34410 (char *) "clipboard", NULL
34413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34416 if (!SWIG_IsOK(res1
)) {
34417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34419 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34423 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34434 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34435 PyObject
*resultobj
= 0;
34436 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34439 PyObject
*swig_obj
[1] ;
34441 if (!args
) SWIG_fail
;
34442 swig_obj
[0] = args
;
34443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34444 if (!SWIG_IsOK(res1
)) {
34445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34447 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_Py_Void();
34462 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34463 PyObject
*resultobj
= 0;
34464 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34468 PyObject
*swig_obj
[1] ;
34470 if (!args
) SWIG_fail
;
34471 swig_obj
[0] = args
;
34472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34473 if (!SWIG_IsOK(res1
)) {
34474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34476 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34479 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34480 wxPyEndAllowThreads(__tstate
);
34481 if (PyErr_Occurred()) SWIG_fail
;
34484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34492 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34495 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34496 return SWIG_Py_Void();
34499 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34500 return SWIG_Python_InitShadowInstance(args
);
34503 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
= 0;
34505 int arg1
= (int) 0 ;
34506 int arg2
= (int) 0 ;
34507 int arg3
= (int) 0 ;
34508 int arg4
= (int) 0 ;
34509 wxVideoMode
*result
= 0 ;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 PyObject
* obj2
= 0 ;
34521 PyObject
* obj3
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34529 if (!SWIG_IsOK(ecode1
)) {
34530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34532 arg1
= static_cast< int >(val1
);
34535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34536 if (!SWIG_IsOK(ecode2
)) {
34537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34539 arg2
= static_cast< int >(val2
);
34542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34543 if (!SWIG_IsOK(ecode3
)) {
34544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34546 arg3
= static_cast< int >(val3
);
34549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34550 if (!SWIG_IsOK(ecode4
)) {
34551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34553 arg4
= static_cast< int >(val4
);
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34568 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34569 PyObject
*resultobj
= 0;
34570 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34573 PyObject
*swig_obj
[1] ;
34575 if (!args
) SWIG_fail
;
34576 swig_obj
[0] = args
;
34577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34578 if (!SWIG_IsOK(res1
)) {
34579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34581 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 wxPyEndAllowThreads(__tstate
);
34587 if (PyErr_Occurred()) SWIG_fail
;
34589 resultobj
= SWIG_Py_Void();
34596 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34597 PyObject
*resultobj
= 0;
34598 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34599 wxVideoMode
*arg2
= 0 ;
34605 PyObject
* obj0
= 0 ;
34606 PyObject
* obj1
= 0 ;
34607 char * kwnames
[] = {
34608 (char *) "self",(char *) "other", NULL
34611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34613 if (!SWIG_IsOK(res1
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34616 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34617 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34618 if (!SWIG_IsOK(res2
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34624 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34627 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34640 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34641 PyObject
*resultobj
= 0;
34642 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34646 PyObject
*swig_obj
[1] ;
34648 if (!args
) SWIG_fail
;
34649 swig_obj
[0] = args
;
34650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34651 if (!SWIG_IsOK(res1
)) {
34652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34654 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= SWIG_From_int(static_cast< int >(result
));
34668 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34669 PyObject
*resultobj
= 0;
34670 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34674 PyObject
*swig_obj
[1] ;
34676 if (!args
) SWIG_fail
;
34677 swig_obj
[0] = args
;
34678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34679 if (!SWIG_IsOK(res1
)) {
34680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34682 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 resultobj
= SWIG_From_int(static_cast< int >(result
));
34696 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34697 PyObject
*resultobj
= 0;
34698 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34702 PyObject
*swig_obj
[1] ;
34704 if (!args
) SWIG_fail
;
34705 swig_obj
[0] = args
;
34706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34707 if (!SWIG_IsOK(res1
)) {
34708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34710 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34713 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34714 wxPyEndAllowThreads(__tstate
);
34715 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= SWIG_From_int(static_cast< int >(result
));
34724 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34725 PyObject
*resultobj
= 0;
34726 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34730 PyObject
*swig_obj
[1] ;
34732 if (!args
) SWIG_fail
;
34733 swig_obj
[0] = args
;
34734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34735 if (!SWIG_IsOK(res1
)) {
34736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34738 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34741 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34742 wxPyEndAllowThreads(__tstate
);
34743 if (PyErr_Occurred()) SWIG_fail
;
34746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34754 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
= 0;
34756 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34757 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34763 PyObject
* obj0
= 0 ;
34764 PyObject
* obj1
= 0 ;
34765 char * kwnames
[] = {
34766 (char *) "self",(char *) "other", NULL
34769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34771 if (!SWIG_IsOK(res1
)) {
34772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34774 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34776 if (!SWIG_IsOK(res2
)) {
34777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34779 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34795 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
= 0;
34797 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34798 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34804 PyObject
* obj0
= 0 ;
34805 PyObject
* obj1
= 0 ;
34806 char * kwnames
[] = {
34807 (char *) "self",(char *) "other", NULL
34810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34812 if (!SWIG_IsOK(res1
)) {
34813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34815 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34817 if (!SWIG_IsOK(res2
)) {
34818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34820 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34824 wxPyEndAllowThreads(__tstate
);
34825 if (PyErr_Occurred()) SWIG_fail
;
34828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34836 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34837 PyObject
*resultobj
= 0;
34838 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34844 PyObject
*swig_obj
[2] ;
34846 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34848 if (!SWIG_IsOK(res1
)) {
34849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34851 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34852 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34853 if (!SWIG_IsOK(ecode2
)) {
34854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34856 arg2
= static_cast< int >(val2
);
34857 if (arg1
) (arg1
)->w
= arg2
;
34859 resultobj
= SWIG_Py_Void();
34866 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34867 PyObject
*resultobj
= 0;
34868 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34872 PyObject
*swig_obj
[1] ;
34874 if (!args
) SWIG_fail
;
34875 swig_obj
[0] = args
;
34876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34877 if (!SWIG_IsOK(res1
)) {
34878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34880 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34881 result
= (int) ((arg1
)->w
);
34882 resultobj
= SWIG_From_int(static_cast< int >(result
));
34889 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34890 PyObject
*resultobj
= 0;
34891 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34897 PyObject
*swig_obj
[2] ;
34899 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34901 if (!SWIG_IsOK(res1
)) {
34902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34904 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34905 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34906 if (!SWIG_IsOK(ecode2
)) {
34907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34909 arg2
= static_cast< int >(val2
);
34910 if (arg1
) (arg1
)->h
= arg2
;
34912 resultobj
= SWIG_Py_Void();
34919 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34920 PyObject
*resultobj
= 0;
34921 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34925 PyObject
*swig_obj
[1] ;
34927 if (!args
) SWIG_fail
;
34928 swig_obj
[0] = args
;
34929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34930 if (!SWIG_IsOK(res1
)) {
34931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34933 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34934 result
= (int) ((arg1
)->h
);
34935 resultobj
= SWIG_From_int(static_cast< int >(result
));
34942 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34943 PyObject
*resultobj
= 0;
34944 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34950 PyObject
*swig_obj
[2] ;
34952 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34957 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34958 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34959 if (!SWIG_IsOK(ecode2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34962 arg2
= static_cast< int >(val2
);
34963 if (arg1
) (arg1
)->bpp
= arg2
;
34965 resultobj
= SWIG_Py_Void();
34972 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34973 PyObject
*resultobj
= 0;
34974 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34978 PyObject
*swig_obj
[1] ;
34980 if (!args
) SWIG_fail
;
34981 swig_obj
[0] = args
;
34982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34983 if (!SWIG_IsOK(res1
)) {
34984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34986 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34987 result
= (int) ((arg1
)->bpp
);
34988 resultobj
= SWIG_From_int(static_cast< int >(result
));
34995 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34996 PyObject
*resultobj
= 0;
34997 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35003 PyObject
*swig_obj
[2] ;
35005 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35007 if (!SWIG_IsOK(res1
)) {
35008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35010 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35011 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35012 if (!SWIG_IsOK(ecode2
)) {
35013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35015 arg2
= static_cast< int >(val2
);
35016 if (arg1
) (arg1
)->refresh
= arg2
;
35018 resultobj
= SWIG_Py_Void();
35025 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35026 PyObject
*resultobj
= 0;
35027 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35031 PyObject
*swig_obj
[1] ;
35033 if (!args
) SWIG_fail
;
35034 swig_obj
[0] = args
;
35035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35036 if (!SWIG_IsOK(res1
)) {
35037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35039 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35040 result
= (int) ((arg1
)->refresh
);
35041 resultobj
= SWIG_From_int(static_cast< int >(result
));
35048 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35051 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35052 return SWIG_Py_Void();
35055 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35056 return SWIG_Python_InitShadowInstance(args
);
35059 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35060 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35065 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35066 PyObject
*pyobj
= 0;
35068 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35073 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35074 PyObject
*resultobj
= 0;
35075 size_t arg1
= (size_t) 0 ;
35076 wxDisplay
*result
= 0 ;
35079 PyObject
* obj0
= 0 ;
35080 char * kwnames
[] = {
35081 (char *) "index", NULL
35084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35086 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35087 if (!SWIG_IsOK(ecode1
)) {
35088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35090 arg1
= static_cast< size_t >(val1
);
35093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35094 result
= (wxDisplay
*)new wxDisplay(arg1
);
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35105 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35106 PyObject
*resultobj
= 0;
35107 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35110 PyObject
*swig_obj
[1] ;
35112 if (!args
) SWIG_fail
;
35113 swig_obj
[0] = args
;
35114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35115 if (!SWIG_IsOK(res1
)) {
35116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35118 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35126 resultobj
= SWIG_Py_Void();
35133 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35134 PyObject
*resultobj
= 0;
35137 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35140 result
= (size_t)wxDisplay::GetCount();
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35151 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35152 PyObject
*resultobj
= 0;
35153 wxPoint
*arg1
= 0 ;
35156 PyObject
* obj0
= 0 ;
35157 char * kwnames
[] = {
35158 (char *) "pt", NULL
35161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35164 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= SWIG_From_int(static_cast< int >(result
));
35179 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
= 0;
35181 wxWindow
*arg1
= (wxWindow
*) 0 ;
35185 PyObject
* obj0
= 0 ;
35186 char * kwnames
[] = {
35187 (char *) "window", NULL
35190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35192 if (!SWIG_IsOK(res1
)) {
35193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35195 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (int)wxDisplay::GetFromWindow(arg1
);
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35202 resultobj
= SWIG_From_int(static_cast< int >(result
));
35209 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35210 PyObject
*resultobj
= 0;
35211 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35215 PyObject
*swig_obj
[1] ;
35217 if (!args
) SWIG_fail
;
35218 swig_obj
[0] = args
;
35219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35220 if (!SWIG_IsOK(res1
)) {
35221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35223 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35226 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35227 wxPyEndAllowThreads(__tstate
);
35228 if (PyErr_Occurred()) SWIG_fail
;
35231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35239 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35240 PyObject
*resultobj
= 0;
35241 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35245 PyObject
*swig_obj
[1] ;
35247 if (!args
) SWIG_fail
;
35248 swig_obj
[0] = args
;
35249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35250 if (!SWIG_IsOK(res1
)) {
35251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35253 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35257 wxPyEndAllowThreads(__tstate
);
35258 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35267 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(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_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35281 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35284 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35285 wxPyEndAllowThreads(__tstate
);
35286 if (PyErr_Occurred()) SWIG_fail
;
35288 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35295 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35296 PyObject
*resultobj
= 0;
35297 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35301 PyObject
*swig_obj
[1] ;
35303 if (!args
) SWIG_fail
;
35304 swig_obj
[0] = args
;
35305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35306 if (!SWIG_IsOK(res1
)) {
35307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35309 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= ((wxDisplay
const *)arg1
)->GetName();
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35329 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35330 PyObject
*resultobj
= 0;
35331 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35335 PyObject
*swig_obj
[1] ;
35337 if (!args
) SWIG_fail
;
35338 swig_obj
[0] = args
;
35339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35340 if (!SWIG_IsOK(res1
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35343 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35346 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35347 wxPyEndAllowThreads(__tstate
);
35348 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35359 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
= 0;
35361 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35362 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35363 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35364 PyObject
*result
= 0 ;
35369 PyObject
* obj0
= 0 ;
35370 PyObject
* obj1
= 0 ;
35371 char * kwnames
[] = {
35372 (char *) "self",(char *) "mode", NULL
35375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35377 if (!SWIG_IsOK(res1
)) {
35378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35380 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35382 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35383 if (!SWIG_IsOK(res2
)) {
35384 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35389 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35397 resultobj
= result
;
35404 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35405 PyObject
*resultobj
= 0;
35406 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35407 wxVideoMode result
;
35410 PyObject
*swig_obj
[1] ;
35412 if (!args
) SWIG_fail
;
35413 swig_obj
[0] = args
;
35414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35415 if (!SWIG_IsOK(res1
)) {
35416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35418 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35422 wxPyEndAllowThreads(__tstate
);
35423 if (PyErr_Occurred()) SWIG_fail
;
35425 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35432 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35433 PyObject
*resultobj
= 0;
35434 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35435 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35436 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35442 PyObject
* obj0
= 0 ;
35443 PyObject
* obj1
= 0 ;
35444 char * kwnames
[] = {
35445 (char *) "self",(char *) "mode", NULL
35448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35450 if (!SWIG_IsOK(res1
)) {
35451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35453 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35456 if (!SWIG_IsOK(res2
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35462 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35479 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35480 PyObject
*resultobj
= 0;
35481 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35484 PyObject
*swig_obj
[1] ;
35486 if (!args
) SWIG_fail
;
35487 swig_obj
[0] = args
;
35488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35489 if (!SWIG_IsOK(res1
)) {
35490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35492 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 wxDisplay_ResetMode(arg1
);
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= SWIG_Py_Void();
35506 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35509 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35510 return SWIG_Py_Void();
35513 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35514 return SWIG_Python_InitShadowInstance(args
);
35517 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35518 PyObject
*resultobj
= 0;
35519 wxStandardPaths
*result
= 0 ;
35521 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35525 wxPyEndAllowThreads(__tstate
);
35526 if (PyErr_Occurred()) SWIG_fail
;
35528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35535 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35536 PyObject
*resultobj
= 0;
35537 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35541 PyObject
*swig_obj
[1] ;
35543 if (!args
) SWIG_fail
;
35544 swig_obj
[0] = args
;
35545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35546 if (!SWIG_IsOK(res1
)) {
35547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35549 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35553 wxPyEndAllowThreads(__tstate
);
35554 if (PyErr_Occurred()) SWIG_fail
;
35558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35569 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35570 PyObject
*resultobj
= 0;
35571 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35575 PyObject
*swig_obj
[1] ;
35577 if (!args
) SWIG_fail
;
35578 swig_obj
[0] = args
;
35579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35580 if (!SWIG_IsOK(res1
)) {
35581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35583 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35586 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35603 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35604 PyObject
*resultobj
= 0;
35605 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35609 PyObject
*swig_obj
[1] ;
35611 if (!args
) SWIG_fail
;
35612 swig_obj
[0] = args
;
35613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35614 if (!SWIG_IsOK(res1
)) {
35615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35617 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35621 wxPyEndAllowThreads(__tstate
);
35622 if (PyErr_Occurred()) SWIG_fail
;
35626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35637 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35638 PyObject
*resultobj
= 0;
35639 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35643 PyObject
*swig_obj
[1] ;
35645 if (!args
) SWIG_fail
;
35646 swig_obj
[0] = args
;
35647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35648 if (!SWIG_IsOK(res1
)) {
35649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35651 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35654 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35671 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35672 PyObject
*resultobj
= 0;
35673 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35677 PyObject
*swig_obj
[1] ;
35679 if (!args
) SWIG_fail
;
35680 swig_obj
[0] = args
;
35681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35682 if (!SWIG_IsOK(res1
)) {
35683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35685 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35689 wxPyEndAllowThreads(__tstate
);
35690 if (PyErr_Occurred()) SWIG_fail
;
35694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35705 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35706 PyObject
*resultobj
= 0;
35707 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35711 PyObject
*swig_obj
[1] ;
35713 if (!args
) SWIG_fail
;
35714 swig_obj
[0] = args
;
35715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35716 if (!SWIG_IsOK(res1
)) {
35717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35719 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35722 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35723 wxPyEndAllowThreads(__tstate
);
35724 if (PyErr_Occurred()) SWIG_fail
;
35728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35739 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35740 PyObject
*resultobj
= 0;
35741 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35745 PyObject
*swig_obj
[1] ;
35747 if (!args
) SWIG_fail
;
35748 swig_obj
[0] = args
;
35749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35750 if (!SWIG_IsOK(res1
)) {
35751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35753 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35757 wxPyEndAllowThreads(__tstate
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35762 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35764 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35773 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35774 PyObject
*resultobj
= 0;
35775 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35779 PyObject
*swig_obj
[1] ;
35781 if (!args
) SWIG_fail
;
35782 swig_obj
[0] = args
;
35783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35787 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35807 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
= 0;
35809 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35810 wxString
*arg2
= 0 ;
35811 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35815 bool temp2
= false ;
35818 PyObject
* obj0
= 0 ;
35819 PyObject
* obj1
= 0 ;
35820 PyObject
* obj2
= 0 ;
35821 char * kwnames
[] = {
35822 (char *) "self",(char *) "lang",(char *) "category", NULL
35825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35830 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35832 arg2
= wxString_in_helper(obj1
);
35833 if (arg2
== NULL
) SWIG_fail
;
35837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35838 if (!SWIG_IsOK(ecode3
)) {
35839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35841 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35845 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35846 wxPyEndAllowThreads(__tstate
);
35847 if (PyErr_Occurred()) SWIG_fail
;
35851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35870 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35871 PyObject
*resultobj
= 0;
35872 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35876 PyObject
*swig_obj
[1] ;
35878 if (!args
) SWIG_fail
;
35879 swig_obj
[0] = args
;
35880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35881 if (!SWIG_IsOK(res1
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35884 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35887 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
35888 wxPyEndAllowThreads(__tstate
);
35889 if (PyErr_Occurred()) SWIG_fail
;
35893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35904 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
= 0;
35906 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35907 wxString
*arg2
= 0 ;
35910 bool temp2
= false ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char * kwnames
[] = {
35914 (char *) "self",(char *) "prefix", NULL
35917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35919 if (!SWIG_IsOK(res1
)) {
35920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35922 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35924 arg2
= wxString_in_helper(obj1
);
35925 if (arg2
== NULL
) SWIG_fail
;
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 resultobj
= SWIG_Py_Void();
35949 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35950 PyObject
*resultobj
= 0;
35951 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35955 PyObject
*swig_obj
[1] ;
35957 if (!args
) SWIG_fail
;
35958 swig_obj
[0] = args
;
35959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35960 if (!SWIG_IsOK(res1
)) {
35961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35963 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35966 result
= wxStandardPaths_GetInstallPrefix(arg1
);
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35983 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35986 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35987 return SWIG_Py_Void();
35990 static PyMethodDef SwigMethods
[] = {
35991 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35993 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35994 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35995 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35996 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35997 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35998 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35999 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36000 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36001 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36002 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36004 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36005 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36006 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36007 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36008 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36010 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36012 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36013 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36014 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36015 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36016 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36017 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36018 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36019 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36020 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36021 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36022 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36023 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36024 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36025 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36026 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36028 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36029 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36030 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36031 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36032 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36033 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36034 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36035 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36036 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36037 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36038 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36039 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36040 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36041 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36042 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36044 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36045 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36046 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36047 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36048 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36049 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36050 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36051 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36052 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36053 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36054 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36055 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36056 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36057 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36058 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36060 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36061 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36062 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36065 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36067 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36068 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36069 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36070 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36071 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36072 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36073 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36074 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36075 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36076 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36077 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36078 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36079 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36081 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36082 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36083 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36084 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36085 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36086 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36087 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36088 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36089 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36090 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36091 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36092 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36093 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36094 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36095 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36096 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36097 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36098 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36099 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36100 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36101 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36102 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36103 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36104 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36105 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36106 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36107 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36108 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36109 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36110 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36111 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36112 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36113 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36114 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36115 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36116 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36117 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36118 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36119 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36120 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36121 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36122 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36123 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36124 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36125 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36126 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36127 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36128 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36129 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36130 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36131 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36132 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36133 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36134 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36135 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36136 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36137 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36138 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36139 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36140 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36141 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36142 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36143 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36144 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36145 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36146 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36147 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36148 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36149 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36151 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36152 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36153 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36154 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36155 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36157 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36160 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36161 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36162 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36163 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36164 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36165 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36167 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36168 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36169 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36171 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36172 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36173 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36174 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36175 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36177 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36178 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36179 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36182 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36183 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36186 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36187 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36188 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36189 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36190 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36191 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36192 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36193 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36194 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36195 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36196 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36197 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36198 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36199 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36200 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36201 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36202 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36203 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36204 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36205 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36206 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36207 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36210 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36211 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36212 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36213 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36214 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36215 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36217 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36218 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36222 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36223 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36225 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36226 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36227 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36228 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36229 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36230 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36231 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36232 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36233 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36234 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36235 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36236 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36238 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36239 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36240 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36241 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36242 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36244 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36245 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36246 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36247 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36248 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36249 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36250 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36254 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36255 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36256 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36257 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36258 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36259 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36260 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36261 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36262 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36275 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36277 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36278 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36279 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36280 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36281 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36283 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36284 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36291 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36292 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36293 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36294 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36295 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36296 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36297 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36298 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36299 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36300 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36301 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36302 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36304 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36305 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36306 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36307 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36308 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36309 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36310 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36311 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36315 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36316 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36317 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36318 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36319 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36320 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36321 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36322 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36323 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36324 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36326 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36327 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36328 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36329 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36330 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36331 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36332 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36333 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36334 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36335 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36336 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36337 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36338 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36339 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36340 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36341 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36342 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36343 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36344 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36345 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36346 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36347 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36348 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36349 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36350 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36351 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36352 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36353 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36354 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36355 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36357 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36358 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36359 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36361 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36362 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36363 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36364 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36365 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36371 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36372 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36373 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36377 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36378 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36381 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36384 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36387 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36388 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36389 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36392 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36393 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36396 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36397 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36398 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36399 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36400 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36401 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36402 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36403 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36404 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36405 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36406 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36408 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36409 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36410 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36411 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36412 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36413 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36414 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36415 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36416 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36419 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36420 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36421 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36422 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36423 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36425 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36427 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36432 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36436 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36437 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36438 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36439 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36440 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36443 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36448 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36449 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36450 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36451 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36454 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36455 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36457 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36458 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36460 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36463 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36473 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36478 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36479 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36480 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36481 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36483 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36485 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36487 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36488 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36492 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36493 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36495 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36496 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36497 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36499 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36500 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36501 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36503 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36504 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36505 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36506 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36509 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36510 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36513 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36520 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36524 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36525 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36526 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36527 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36533 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36534 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36535 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36539 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36563 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36564 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36565 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36566 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36567 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36576 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36577 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36578 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36579 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36580 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36582 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36584 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36601 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36603 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36604 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36606 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36607 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36608 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36609 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36612 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36613 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36614 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36619 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36622 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36623 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36624 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36625 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36626 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36627 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36628 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36629 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36631 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36633 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36634 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36635 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36637 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36638 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36639 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36641 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36642 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36645 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36646 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36650 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36658 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36661 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36662 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36663 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36667 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36668 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36669 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36670 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36671 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36672 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36674 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36675 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36677 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36678 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36679 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36681 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36682 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36683 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36685 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36686 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36688 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36689 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36690 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36691 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36692 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36693 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36694 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36697 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36701 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36709 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36710 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36711 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36712 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36713 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36714 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36717 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36718 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36719 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36721 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36722 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36724 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36725 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36726 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36728 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36734 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36735 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36736 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36738 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36739 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36741 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36742 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36745 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36746 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36747 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
36749 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36750 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36751 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36753 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36754 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36756 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36757 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36760 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36761 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36763 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36765 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36766 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36769 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36770 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36771 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36772 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36773 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36774 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36775 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36776 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36777 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36778 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36779 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36780 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36781 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36782 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36783 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36785 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36786 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36787 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36789 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36790 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36791 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36795 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36797 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36801 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36802 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36805 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36806 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36810 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36812 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36814 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36815 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36816 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36817 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36822 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36825 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36826 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36827 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36832 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36835 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36836 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36837 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36838 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36839 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36840 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36841 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36846 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36847 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36849 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36850 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36851 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36853 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36854 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36855 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36856 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36858 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36860 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36861 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36862 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36863 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36866 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36867 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36868 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36869 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36870 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36871 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36872 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36873 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36874 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36875 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36877 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36878 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36881 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36882 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
36883 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36884 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36885 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36887 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36889 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36890 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36891 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36892 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36893 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36894 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36895 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36896 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36897 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36898 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36899 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
36900 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
36902 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36904 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36905 { NULL
, NULL
, 0, NULL
}
36909 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36911 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36914 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36915 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36917 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36918 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36920 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36921 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36923 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36924 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36926 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36927 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36929 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36930 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36932 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36933 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36935 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36936 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36938 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36941 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36942 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36944 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36945 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36947 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36948 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36950 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36953 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36954 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36956 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36957 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36959 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36960 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36962 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36963 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36965 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36966 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36968 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36969 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36971 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36974 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
36975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
36977 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36978 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36980 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36981 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36983 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36984 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36986 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36987 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36989 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36990 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36992 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36993 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36995 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36996 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36998 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36999 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37001 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37002 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37004 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37005 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37007 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37008 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37010 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37011 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37013 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37014 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37016 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37017 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37019 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37020 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37022 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37023 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37025 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37026 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37028 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37029 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37031 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37032 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37034 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37035 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37037 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37038 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37040 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37041 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37043 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37044 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37046 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37047 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37049 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37050 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37052 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37053 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37055 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37056 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37058 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37059 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37061 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37062 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37064 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37065 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37067 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37068 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37070 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37071 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37073 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37074 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37076 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37077 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37079 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37080 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37082 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37083 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37085 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37086 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37088 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37089 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37091 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37092 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37094 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37095 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37097 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37098 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37100 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37101 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37103 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37104 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37106 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37107 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37109 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37110 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37112 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37113 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37115 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37116 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37118 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37119 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37121 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37122 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37124 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37125 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37127 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37128 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37130 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37131 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37133 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37134 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37136 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37137 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37139 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37140 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37142 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37145 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37146 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37148 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37149 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37151 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37152 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37154 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37155 return (void *)((wxObject
*) ((wxSizer
*) x
));
37157 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37158 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37160 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37161 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37163 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37166 static void *_p_wxEventTo_p_wxObject(void *x
) {
37167 return (void *)((wxObject
*) ((wxEvent
*) x
));
37169 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37170 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37172 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37173 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37175 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37176 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37178 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37179 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37181 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37182 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37184 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37185 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37187 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37188 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37190 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37191 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37193 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37194 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37196 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37197 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37199 static void *_p_wxControlTo_p_wxObject(void *x
) {
37200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37202 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37203 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37205 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37206 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37208 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37209 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37211 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37212 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37214 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37215 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37217 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37218 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37220 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37223 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37224 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37226 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37227 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37229 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37230 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37232 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37233 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37235 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37236 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37238 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37241 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37242 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37244 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37245 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37247 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37248 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37250 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37251 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37253 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37254 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37256 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37257 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37259 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37262 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37265 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37266 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37268 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37269 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37271 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37272 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37274 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37275 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37277 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37278 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37280 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37281 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37283 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37286 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37289 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37290 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37292 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37293 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37295 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37296 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37298 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37299 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37301 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37302 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37304 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37305 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37307 static void *_p_wxImageTo_p_wxObject(void *x
) {
37308 return (void *)((wxObject
*) ((wxImage
*) x
));
37310 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37311 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37313 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37314 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37316 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37317 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37319 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37320 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37322 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37323 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37325 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37326 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37328 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37331 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37332 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37334 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37335 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37337 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37340 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37341 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37343 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37344 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37346 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37347 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37349 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37352 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37353 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37355 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37356 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37358 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37359 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37361 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37362 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37364 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37367 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37368 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37370 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37371 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37373 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37374 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37376 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37377 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37379 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37380 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37382 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37385 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37388 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37389 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37391 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37392 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37394 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37395 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37397 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37398 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37400 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37401 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37403 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37404 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37406 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37407 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37409 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37410 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37412 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37413 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37415 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37416 return (void *)((wxWindow
*) ((wxControl
*) x
));
37418 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37419 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37421 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37422 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37424 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37425 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37427 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37428 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37430 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37431 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};
37432 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37433 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37434 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37435 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37436 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37437 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37438 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37439 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37440 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37441 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37442 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37443 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37444 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37445 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37446 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37447 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37448 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37449 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37450 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37451 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37452 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37453 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37454 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37455 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37456 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37457 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37458 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37459 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37460 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37461 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37462 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37463 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37464 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37465 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37466 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37467 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37468 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37469 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37470 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37471 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37472 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37473 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37474 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37475 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37476 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37477 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37478 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37479 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37480 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37481 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37482 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37483 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37484 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37485 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37486 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37487 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37488 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37489 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37490 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37491 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37492 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37493 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37494 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37495 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37496 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37497 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37498 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37499 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37500 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37501 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37502 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37503 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37504 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37505 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37506 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37507 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37508 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37509 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37510 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37511 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37512 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37513 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37514 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37515 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37516 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37517 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37518 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37519 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37520 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37521 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37522 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37523 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37524 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37525 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37526 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37527 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37528 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37529 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37530 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37531 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37532 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37533 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37534 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37535 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37536 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37537 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37538 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37539 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37540 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37541 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37542 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37543 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37544 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37545 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37546 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37547 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37548 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37549 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37550 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37551 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37552 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37553 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37554 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37555 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37556 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37557 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37558 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37559 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37560 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37561 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37562 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37563 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37564 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37565 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37566 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37567 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37568 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37569 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37570 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37571 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37572 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37573 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37574 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37575 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37576 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37577 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37578 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37579 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37580 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37581 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37582 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37583 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37584 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37585 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37586 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37587 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37588 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37589 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37590 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37591 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37592 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37593 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37594 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37595 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37596 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37597 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37598 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37599 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37600 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37602 static swig_type_info
*swig_type_initial
[] = {
37604 &_swigt__p_form_ops_t
,
37606 &_swigt__p_unsigned_char
,
37607 &_swigt__p_unsigned_int
,
37608 &_swigt__p_unsigned_long
,
37610 &_swigt__p_wxANIHandler
,
37611 &_swigt__p_wxAcceleratorTable
,
37612 &_swigt__p_wxActivateEvent
,
37613 &_swigt__p_wxArrayString
,
37614 &_swigt__p_wxBMPHandler
,
37615 &_swigt__p_wxBitmap
,
37616 &_swigt__p_wxBitmapDataObject
,
37617 &_swigt__p_wxBoxSizer
,
37618 &_swigt__p_wxBusyCursor
,
37619 &_swigt__p_wxBusyInfo
,
37620 &_swigt__p_wxCURHandler
,
37621 &_swigt__p_wxCaret
,
37623 &_swigt__p_wxChildFocusEvent
,
37624 &_swigt__p_wxClipboard
,
37625 &_swigt__p_wxClipboardLocker
,
37626 &_swigt__p_wxClipboardTextEvent
,
37627 &_swigt__p_wxCloseEvent
,
37628 &_swigt__p_wxColour
,
37629 &_swigt__p_wxCommandEvent
,
37630 &_swigt__p_wxConfig
,
37631 &_swigt__p_wxConfigBase
,
37632 &_swigt__p_wxConfigPathChanger
,
37633 &_swigt__p_wxContextMenuEvent
,
37634 &_swigt__p_wxControl
,
37635 &_swigt__p_wxControlWithItems
,
37636 &_swigt__p_wxCursor
,
37637 &_swigt__p_wxCustomDataObject
,
37639 &_swigt__p_wxDataFormat
,
37640 &_swigt__p_wxDataObject
,
37641 &_swigt__p_wxDataObjectComposite
,
37642 &_swigt__p_wxDataObjectSimple
,
37643 &_swigt__p_wxDateEvent
,
37644 &_swigt__p_wxDateSpan
,
37645 &_swigt__p_wxDateTime
,
37646 &_swigt__p_wxDateTime__TimeZone
,
37647 &_swigt__p_wxDisplay
,
37648 &_swigt__p_wxDisplayChangedEvent
,
37649 &_swigt__p_wxDropFilesEvent
,
37650 &_swigt__p_wxDuplexMode
,
37651 &_swigt__p_wxEraseEvent
,
37652 &_swigt__p_wxEvent
,
37653 &_swigt__p_wxEvtHandler
,
37654 &_swigt__p_wxFSFile
,
37655 &_swigt__p_wxFileConfig
,
37656 &_swigt__p_wxFileDataObject
,
37657 &_swigt__p_wxFileHistory
,
37658 &_swigt__p_wxFileSystem
,
37659 &_swigt__p_wxFileType
,
37660 &_swigt__p_wxFileTypeInfo
,
37661 &_swigt__p_wxFlexGridSizer
,
37662 &_swigt__p_wxFocusEvent
,
37664 &_swigt__p_wxFrame
,
37665 &_swigt__p_wxGBSizerItem
,
37666 &_swigt__p_wxGIFHandler
,
37667 &_swigt__p_wxGridBagSizer
,
37668 &_swigt__p_wxGridSizer
,
37669 &_swigt__p_wxICOHandler
,
37671 &_swigt__p_wxIconizeEvent
,
37672 &_swigt__p_wxIdleEvent
,
37673 &_swigt__p_wxImage
,
37674 &_swigt__p_wxImageHandler
,
37675 &_swigt__p_wxIndividualLayoutConstraint
,
37676 &_swigt__p_wxInitDialogEvent
,
37677 &_swigt__p_wxJPEGHandler
,
37678 &_swigt__p_wxJoystick
,
37679 &_swigt__p_wxJoystickEvent
,
37680 &_swigt__p_wxKeyEvent
,
37681 &_swigt__p_wxKillError
,
37682 &_swigt__p_wxLayoutConstraints
,
37684 &_swigt__p_wxLogBuffer
,
37685 &_swigt__p_wxLogChain
,
37686 &_swigt__p_wxLogGui
,
37687 &_swigt__p_wxLogNull
,
37688 &_swigt__p_wxLogStderr
,
37689 &_swigt__p_wxLogTextCtrl
,
37690 &_swigt__p_wxLogWindow
,
37691 &_swigt__p_wxMaximizeEvent
,
37692 &_swigt__p_wxMemorySize
,
37694 &_swigt__p_wxMenuBar
,
37695 &_swigt__p_wxMenuEvent
,
37696 &_swigt__p_wxMenuItem
,
37697 &_swigt__p_wxMetafile
,
37698 &_swigt__p_wxMetafileDataObject
,
37699 &_swigt__p_wxMimeTypesManager
,
37700 &_swigt__p_wxMouseCaptureChangedEvent
,
37701 &_swigt__p_wxMouseEvent
,
37702 &_swigt__p_wxMouseState
,
37703 &_swigt__p_wxMoveEvent
,
37704 &_swigt__p_wxMutexGuiLocker
,
37705 &_swigt__p_wxNavigationKeyEvent
,
37706 &_swigt__p_wxNcPaintEvent
,
37707 &_swigt__p_wxNotifyEvent
,
37708 &_swigt__p_wxObject
,
37709 &_swigt__p_wxOutputStream
,
37710 &_swigt__p_wxPCXHandler
,
37711 &_swigt__p_wxPNGHandler
,
37712 &_swigt__p_wxPNMHandler
,
37713 &_swigt__p_wxPaintEvent
,
37714 &_swigt__p_wxPaletteChangedEvent
,
37715 &_swigt__p_wxPaperSize
,
37716 &_swigt__p_wxPoint
,
37717 &_swigt__p_wxProcessEvent
,
37718 &_swigt__p_wxPyApp
,
37719 &_swigt__p_wxPyArtProvider
,
37720 &_swigt__p_wxPyBitmapDataObject
,
37721 &_swigt__p_wxPyCommandEvent
,
37722 &_swigt__p_wxPyDataObjectSimple
,
37723 &_swigt__p_wxPyDropSource
,
37724 &_swigt__p_wxPyDropTarget
,
37725 &_swigt__p_wxPyEvent
,
37726 &_swigt__p_wxPyFileDropTarget
,
37727 &_swigt__p_wxPyImageHandler
,
37728 &_swigt__p_wxPyLog
,
37729 &_swigt__p_wxPyProcess
,
37730 &_swigt__p_wxPySizer
,
37731 &_swigt__p_wxPyTextDataObject
,
37732 &_swigt__p_wxPyTextDropTarget
,
37733 &_swigt__p_wxPyTimer
,
37734 &_swigt__p_wxPyTipProvider
,
37735 &_swigt__p_wxPyValidator
,
37736 &_swigt__p_wxQueryNewPaletteEvent
,
37738 &_swigt__p_wxScrollEvent
,
37739 &_swigt__p_wxScrollWinEvent
,
37740 &_swigt__p_wxSetCursorEvent
,
37741 &_swigt__p_wxShowEvent
,
37742 &_swigt__p_wxSingleInstanceChecker
,
37744 &_swigt__p_wxSizeEvent
,
37745 &_swigt__p_wxSizer
,
37746 &_swigt__p_wxSizerItem
,
37747 &_swigt__p_wxSound
,
37748 &_swigt__p_wxStandardPaths
,
37749 &_swigt__p_wxStaticBoxSizer
,
37750 &_swigt__p_wxStdDialogButtonSizer
,
37751 &_swigt__p_wxStopWatch
,
37752 &_swigt__p_wxString
,
37753 &_swigt__p_wxSysColourChangedEvent
,
37754 &_swigt__p_wxSystemOptions
,
37755 &_swigt__p_wxSystemSettings
,
37756 &_swigt__p_wxTIFFHandler
,
37757 &_swigt__p_wxTextCtrl
,
37758 &_swigt__p_wxTextDataObject
,
37759 &_swigt__p_wxTimeSpan
,
37760 &_swigt__p_wxTimer
,
37761 &_swigt__p_wxTimerEvent
,
37762 &_swigt__p_wxTimerRunner
,
37763 &_swigt__p_wxTipProvider
,
37764 &_swigt__p_wxToolTip
,
37765 &_swigt__p_wxURLDataObject
,
37766 &_swigt__p_wxUpdateUIEvent
,
37767 &_swigt__p_wxValidator
,
37768 &_swigt__p_wxVideoMode
,
37769 &_swigt__p_wxWindow
,
37770 &_swigt__p_wxWindowCreateEvent
,
37771 &_swigt__p_wxWindowDestroyEvent
,
37772 &_swigt__p_wxWindowDisabler
,
37773 &_swigt__p_wxXPMHandler
,
37776 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37777 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37778 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37779 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37780 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37781 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37782 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37783 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37784 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37785 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}};
37786 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37787 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37788 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37789 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37790 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37791 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37792 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37793 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37794 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}};
37795 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37796 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37797 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37798 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37799 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37800 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}};
37801 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37802 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}};
37803 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37804 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37805 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37806 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37807 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37808 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37809 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37810 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37811 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37812 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37813 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37814 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37815 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37816 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37817 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37818 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37819 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37820 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37821 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37822 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37823 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37824 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37825 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37826 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37827 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
37828 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37829 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37830 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37831 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37832 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37833 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37834 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37835 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37836 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37837 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37838 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37839 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37840 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37841 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37842 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37843 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37844 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37845 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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
37846 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37847 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37848 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37849 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37850 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37851 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37852 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}};
37853 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37854 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37855 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37856 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37857 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37858 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37859 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37860 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37861 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37862 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37863 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37864 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}};
37865 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37866 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37867 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37868 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37869 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37870 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37871 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37872 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37873 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37874 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
37875 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37876 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37877 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37878 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37879 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37880 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37881 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37882 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37883 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37884 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37885 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37886 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37887 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37888 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37889 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37890 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37891 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37892 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37893 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37894 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37895 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37896 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37897 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37898 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37899 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37900 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37901 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37902 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37903 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37904 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37905 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37906 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37907 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37908 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37909 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
37910 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37911 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37912 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37913 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37914 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37915 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37916 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37917 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37918 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}};
37919 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37920 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37921 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37922 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37923 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37924 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37925 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37926 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37927 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37928 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37929 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37930 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37931 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37932 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37933 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37934 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37935 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37936 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}};
37937 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37938 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37939 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37940 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37941 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}};
37942 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37943 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37944 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37945 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}};
37946 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37948 static swig_cast_info
*swig_cast_initial
[] = {
37950 _swigc__p_form_ops_t
,
37952 _swigc__p_unsigned_char
,
37953 _swigc__p_unsigned_int
,
37954 _swigc__p_unsigned_long
,
37956 _swigc__p_wxANIHandler
,
37957 _swigc__p_wxAcceleratorTable
,
37958 _swigc__p_wxActivateEvent
,
37959 _swigc__p_wxArrayString
,
37960 _swigc__p_wxBMPHandler
,
37961 _swigc__p_wxBitmap
,
37962 _swigc__p_wxBitmapDataObject
,
37963 _swigc__p_wxBoxSizer
,
37964 _swigc__p_wxBusyCursor
,
37965 _swigc__p_wxBusyInfo
,
37966 _swigc__p_wxCURHandler
,
37969 _swigc__p_wxChildFocusEvent
,
37970 _swigc__p_wxClipboard
,
37971 _swigc__p_wxClipboardLocker
,
37972 _swigc__p_wxClipboardTextEvent
,
37973 _swigc__p_wxCloseEvent
,
37974 _swigc__p_wxColour
,
37975 _swigc__p_wxCommandEvent
,
37976 _swigc__p_wxConfig
,
37977 _swigc__p_wxConfigBase
,
37978 _swigc__p_wxConfigPathChanger
,
37979 _swigc__p_wxContextMenuEvent
,
37980 _swigc__p_wxControl
,
37981 _swigc__p_wxControlWithItems
,
37982 _swigc__p_wxCursor
,
37983 _swigc__p_wxCustomDataObject
,
37985 _swigc__p_wxDataFormat
,
37986 _swigc__p_wxDataObject
,
37987 _swigc__p_wxDataObjectComposite
,
37988 _swigc__p_wxDataObjectSimple
,
37989 _swigc__p_wxDateEvent
,
37990 _swigc__p_wxDateSpan
,
37991 _swigc__p_wxDateTime
,
37992 _swigc__p_wxDateTime__TimeZone
,
37993 _swigc__p_wxDisplay
,
37994 _swigc__p_wxDisplayChangedEvent
,
37995 _swigc__p_wxDropFilesEvent
,
37996 _swigc__p_wxDuplexMode
,
37997 _swigc__p_wxEraseEvent
,
37999 _swigc__p_wxEvtHandler
,
38000 _swigc__p_wxFSFile
,
38001 _swigc__p_wxFileConfig
,
38002 _swigc__p_wxFileDataObject
,
38003 _swigc__p_wxFileHistory
,
38004 _swigc__p_wxFileSystem
,
38005 _swigc__p_wxFileType
,
38006 _swigc__p_wxFileTypeInfo
,
38007 _swigc__p_wxFlexGridSizer
,
38008 _swigc__p_wxFocusEvent
,
38011 _swigc__p_wxGBSizerItem
,
38012 _swigc__p_wxGIFHandler
,
38013 _swigc__p_wxGridBagSizer
,
38014 _swigc__p_wxGridSizer
,
38015 _swigc__p_wxICOHandler
,
38017 _swigc__p_wxIconizeEvent
,
38018 _swigc__p_wxIdleEvent
,
38020 _swigc__p_wxImageHandler
,
38021 _swigc__p_wxIndividualLayoutConstraint
,
38022 _swigc__p_wxInitDialogEvent
,
38023 _swigc__p_wxJPEGHandler
,
38024 _swigc__p_wxJoystick
,
38025 _swigc__p_wxJoystickEvent
,
38026 _swigc__p_wxKeyEvent
,
38027 _swigc__p_wxKillError
,
38028 _swigc__p_wxLayoutConstraints
,
38030 _swigc__p_wxLogBuffer
,
38031 _swigc__p_wxLogChain
,
38032 _swigc__p_wxLogGui
,
38033 _swigc__p_wxLogNull
,
38034 _swigc__p_wxLogStderr
,
38035 _swigc__p_wxLogTextCtrl
,
38036 _swigc__p_wxLogWindow
,
38037 _swigc__p_wxMaximizeEvent
,
38038 _swigc__p_wxMemorySize
,
38040 _swigc__p_wxMenuBar
,
38041 _swigc__p_wxMenuEvent
,
38042 _swigc__p_wxMenuItem
,
38043 _swigc__p_wxMetafile
,
38044 _swigc__p_wxMetafileDataObject
,
38045 _swigc__p_wxMimeTypesManager
,
38046 _swigc__p_wxMouseCaptureChangedEvent
,
38047 _swigc__p_wxMouseEvent
,
38048 _swigc__p_wxMouseState
,
38049 _swigc__p_wxMoveEvent
,
38050 _swigc__p_wxMutexGuiLocker
,
38051 _swigc__p_wxNavigationKeyEvent
,
38052 _swigc__p_wxNcPaintEvent
,
38053 _swigc__p_wxNotifyEvent
,
38054 _swigc__p_wxObject
,
38055 _swigc__p_wxOutputStream
,
38056 _swigc__p_wxPCXHandler
,
38057 _swigc__p_wxPNGHandler
,
38058 _swigc__p_wxPNMHandler
,
38059 _swigc__p_wxPaintEvent
,
38060 _swigc__p_wxPaletteChangedEvent
,
38061 _swigc__p_wxPaperSize
,
38063 _swigc__p_wxProcessEvent
,
38065 _swigc__p_wxPyArtProvider
,
38066 _swigc__p_wxPyBitmapDataObject
,
38067 _swigc__p_wxPyCommandEvent
,
38068 _swigc__p_wxPyDataObjectSimple
,
38069 _swigc__p_wxPyDropSource
,
38070 _swigc__p_wxPyDropTarget
,
38071 _swigc__p_wxPyEvent
,
38072 _swigc__p_wxPyFileDropTarget
,
38073 _swigc__p_wxPyImageHandler
,
38075 _swigc__p_wxPyProcess
,
38076 _swigc__p_wxPySizer
,
38077 _swigc__p_wxPyTextDataObject
,
38078 _swigc__p_wxPyTextDropTarget
,
38079 _swigc__p_wxPyTimer
,
38080 _swigc__p_wxPyTipProvider
,
38081 _swigc__p_wxPyValidator
,
38082 _swigc__p_wxQueryNewPaletteEvent
,
38084 _swigc__p_wxScrollEvent
,
38085 _swigc__p_wxScrollWinEvent
,
38086 _swigc__p_wxSetCursorEvent
,
38087 _swigc__p_wxShowEvent
,
38088 _swigc__p_wxSingleInstanceChecker
,
38090 _swigc__p_wxSizeEvent
,
38092 _swigc__p_wxSizerItem
,
38094 _swigc__p_wxStandardPaths
,
38095 _swigc__p_wxStaticBoxSizer
,
38096 _swigc__p_wxStdDialogButtonSizer
,
38097 _swigc__p_wxStopWatch
,
38098 _swigc__p_wxString
,
38099 _swigc__p_wxSysColourChangedEvent
,
38100 _swigc__p_wxSystemOptions
,
38101 _swigc__p_wxSystemSettings
,
38102 _swigc__p_wxTIFFHandler
,
38103 _swigc__p_wxTextCtrl
,
38104 _swigc__p_wxTextDataObject
,
38105 _swigc__p_wxTimeSpan
,
38107 _swigc__p_wxTimerEvent
,
38108 _swigc__p_wxTimerRunner
,
38109 _swigc__p_wxTipProvider
,
38110 _swigc__p_wxToolTip
,
38111 _swigc__p_wxURLDataObject
,
38112 _swigc__p_wxUpdateUIEvent
,
38113 _swigc__p_wxValidator
,
38114 _swigc__p_wxVideoMode
,
38115 _swigc__p_wxWindow
,
38116 _swigc__p_wxWindowCreateEvent
,
38117 _swigc__p_wxWindowDestroyEvent
,
38118 _swigc__p_wxWindowDisabler
,
38119 _swigc__p_wxXPMHandler
,
38123 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38125 static swig_const_info swig_const_table
[] = {
38126 {0, 0, 0, 0.0, 0, 0}};
38131 /* -----------------------------------------------------------------------------
38132 * Type initialization:
38133 * This problem is tough by the requirement that no dynamic
38134 * memory is used. Also, since swig_type_info structures store pointers to
38135 * swig_cast_info structures and swig_cast_info structures store pointers back
38136 * to swig_type_info structures, we need some lookup code at initialization.
38137 * The idea is that swig generates all the structures that are needed.
38138 * The runtime then collects these partially filled structures.
38139 * The SWIG_InitializeModule function takes these initial arrays out of
38140 * swig_module, and does all the lookup, filling in the swig_module.types
38141 * array with the correct data and linking the correct swig_cast_info
38142 * structures together.
38144 * The generated swig_type_info structures are assigned staticly to an initial
38145 * array. We just loop though that array, and handle each type individually.
38146 * First we lookup if this type has been already loaded, and if so, use the
38147 * loaded structure instead of the generated one. Then we have to fill in the
38148 * cast linked list. The cast data is initially stored in something like a
38149 * two-dimensional array. Each row corresponds to a type (there are the same
38150 * number of rows as there are in the swig_type_initial array). Each entry in
38151 * a column is one of the swig_cast_info structures for that type.
38152 * The cast_initial array is actually an array of arrays, because each row has
38153 * a variable number of columns. So to actually build the cast linked list,
38154 * we find the array of casts associated with the type, and loop through it
38155 * adding the casts to the list. The one last trick we need to do is making
38156 * sure the type pointer in the swig_cast_info struct is correct.
38158 * First off, we lookup the cast->type name to see if it is already loaded.
38159 * There are three cases to handle:
38160 * 1) If the cast->type has already been loaded AND the type we are adding
38161 * casting info to has not been loaded (it is in this module), THEN we
38162 * replace the cast->type pointer with the type pointer that has already
38164 * 2) If BOTH types (the one we are adding casting info to, and the
38165 * cast->type) are loaded, THEN the cast info has already been loaded by
38166 * the previous module so we just ignore it.
38167 * 3) Finally, if cast->type has not already been loaded, then we add that
38168 * swig_cast_info to the linked list (because the cast->type) pointer will
38170 * ----------------------------------------------------------------------------- */
38180 #define SWIGRUNTIME_DEBUG
38184 SWIG_InitializeModule(void *clientdata
) {
38186 swig_module_info
*module_head
;
38187 static int init_run
= 0;
38189 clientdata
= clientdata
;
38191 if (init_run
) return;
38194 /* Initialize the swig_module */
38195 swig_module
.type_initial
= swig_type_initial
;
38196 swig_module
.cast_initial
= swig_cast_initial
;
38198 /* Try and load any already created modules */
38199 module_head
= SWIG_GetModule(clientdata
);
38201 swig_module
.next
= module_head
->next
;
38202 module_head
->next
= &swig_module
;
38204 /* This is the first module loaded */
38205 swig_module
.next
= &swig_module
;
38206 SWIG_SetModule(clientdata
, &swig_module
);
38209 /* Now work on filling in swig_module.types */
38210 #ifdef SWIGRUNTIME_DEBUG
38211 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38213 for (i
= 0; i
< swig_module
.size
; ++i
) {
38214 swig_type_info
*type
= 0;
38215 swig_type_info
*ret
;
38216 swig_cast_info
*cast
;
38218 #ifdef SWIGRUNTIME_DEBUG
38219 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38222 /* if there is another module already loaded */
38223 if (swig_module
.next
!= &swig_module
) {
38224 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38227 /* Overwrite clientdata field */
38228 #ifdef SWIGRUNTIME_DEBUG
38229 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38231 if (swig_module
.type_initial
[i
]->clientdata
) {
38232 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38233 #ifdef SWIGRUNTIME_DEBUG
38234 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38238 type
= swig_module
.type_initial
[i
];
38241 /* Insert casting types */
38242 cast
= swig_module
.cast_initial
[i
];
38243 while (cast
->type
) {
38244 /* Don't need to add information already in the list */
38246 #ifdef SWIGRUNTIME_DEBUG
38247 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38249 if (swig_module
.next
!= &swig_module
) {
38250 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38251 #ifdef SWIGRUNTIME_DEBUG
38252 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38256 if (type
== swig_module
.type_initial
[i
]) {
38257 #ifdef SWIGRUNTIME_DEBUG
38258 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38263 /* Check for casting already in the list */
38264 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38265 #ifdef SWIGRUNTIME_DEBUG
38266 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38268 if (!ocast
) ret
= 0;
38273 #ifdef SWIGRUNTIME_DEBUG
38274 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38277 type
->cast
->prev
= cast
;
38278 cast
->next
= type
->cast
;
38284 /* Set entry in modules->types array equal to the type */
38285 swig_module
.types
[i
] = type
;
38287 swig_module
.types
[i
] = 0;
38289 #ifdef SWIGRUNTIME_DEBUG
38290 printf("**** SWIG_InitializeModule: Cast List ******\n");
38291 for (i
= 0; i
< swig_module
.size
; ++i
) {
38293 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38294 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38295 while (cast
->type
) {
38296 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38300 printf("---- Total casts: %d\n",j
);
38302 printf("**** SWIG_InitializeModule: Cast List ******\n");
38306 /* This function will propagate the clientdata field of type to
38307 * any new swig_type_info structures that have been added into the list
38308 * of equivalent types. It is like calling
38309 * SWIG_TypeClientData(type, clientdata) a second time.
38312 SWIG_PropagateClientData(void) {
38314 swig_cast_info
*equiv
;
38315 static int init_run
= 0;
38317 if (init_run
) return;
38320 for (i
= 0; i
< swig_module
.size
; i
++) {
38321 if (swig_module
.types
[i
]->clientdata
) {
38322 equiv
= swig_module
.types
[i
]->cast
;
38324 if (!equiv
->converter
) {
38325 if (equiv
->type
&& !equiv
->type
->clientdata
)
38326 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38328 equiv
= equiv
->next
;
38348 /* Python-specific SWIG API */
38349 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38350 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38351 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38353 /* -----------------------------------------------------------------------------
38354 * global variable support code.
38355 * ----------------------------------------------------------------------------- */
38357 typedef struct swig_globalvar
{
38358 char *name
; /* Name of global variable */
38359 PyObject
*(*get_attr
)(void); /* Return the current value */
38360 int (*set_attr
)(PyObject
*); /* Set the value */
38361 struct swig_globalvar
*next
;
38364 typedef struct swig_varlinkobject
{
38366 swig_globalvar
*vars
;
38367 } swig_varlinkobject
;
38369 SWIGINTERN PyObject
*
38370 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38371 return PyString_FromString("<Swig global variables>");
38374 SWIGINTERN PyObject
*
38375 swig_varlink_str(swig_varlinkobject
*v
) {
38376 PyObject
*str
= PyString_FromString("(");
38377 swig_globalvar
*var
;
38378 for (var
= v
->vars
; var
; var
=var
->next
) {
38379 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38380 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38382 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38387 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38388 PyObject
*str
= swig_varlink_str(v
);
38389 fprintf(fp
,"Swig global variables ");
38390 fprintf(fp
,"%s\n", PyString_AsString(str
));
38396 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38397 swig_globalvar
*var
= v
->vars
;
38399 swig_globalvar
*n
= var
->next
;
38406 SWIGINTERN PyObject
*
38407 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38408 PyObject
*res
= NULL
;
38409 swig_globalvar
*var
= v
->vars
;
38411 if (strcmp(var
->name
,n
) == 0) {
38412 res
= (*var
->get_attr
)();
38417 if (res
== NULL
&& !PyErr_Occurred()) {
38418 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38424 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38426 swig_globalvar
*var
= v
->vars
;
38428 if (strcmp(var
->name
,n
) == 0) {
38429 res
= (*var
->set_attr
)(p
);
38434 if (res
== 1 && !PyErr_Occurred()) {
38435 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38440 SWIGINTERN PyTypeObject
*
38441 swig_varlink_type(void) {
38442 static char varlink__doc__
[] = "Swig var link object";
38443 static PyTypeObject varlink_type
;
38444 static int type_init
= 0;
38446 const PyTypeObject tmp
38448 PyObject_HEAD_INIT(NULL
)
38449 0, /* Number of items in variable part (ob_size) */
38450 (char *)"swigvarlink", /* Type name (tp_name) */
38451 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38452 0, /* Itemsize (tp_itemsize) */
38453 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38454 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38455 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38456 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38457 0, /* tp_compare */
38458 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38459 0, /* tp_as_number */
38460 0, /* tp_as_sequence */
38461 0, /* tp_as_mapping */
38464 (reprfunc
)swig_varlink_str
, /* tp_str */
38465 0, /* tp_getattro */
38466 0, /* tp_setattro */
38467 0, /* tp_as_buffer */
38469 varlink__doc__
, /* tp_doc */
38470 0, /* tp_traverse */
38472 0, /* tp_richcompare */
38473 0, /* tp_weaklistoffset */
38474 #if PY_VERSION_HEX >= 0x02020000
38475 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38477 #if PY_VERSION_HEX >= 0x02030000
38480 #ifdef COUNT_ALLOCS
38481 0,0,0,0 /* tp_alloc -> tp_next */
38484 varlink_type
= tmp
;
38485 varlink_type
.ob_type
= &PyType_Type
;
38488 return &varlink_type
;
38491 /* Create a variable linking object for use later */
38492 SWIGINTERN PyObject
*
38493 SWIG_Python_newvarlink(void) {
38494 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38498 return ((PyObject
*) result
);
38502 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38503 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38504 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38506 size_t size
= strlen(name
)+1;
38507 gv
->name
= (char *)malloc(size
);
38509 strncpy(gv
->name
,name
,size
);
38510 gv
->get_attr
= get_attr
;
38511 gv
->set_attr
= set_attr
;
38512 gv
->next
= v
->vars
;
38518 SWIGINTERN PyObject
*
38520 static PyObject
*_SWIG_globals
= 0;
38521 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38522 return _SWIG_globals
;
38525 /* -----------------------------------------------------------------------------
38526 * constants/methods manipulation
38527 * ----------------------------------------------------------------------------- */
38529 /* Install Constants */
38531 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38534 for (i
= 0; constants
[i
].type
; ++i
) {
38535 switch(constants
[i
].type
) {
38536 case SWIG_PY_POINTER
:
38537 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38539 case SWIG_PY_BINARY
:
38540 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38547 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38553 /* -----------------------------------------------------------------------------*/
38554 /* Fix SwigMethods to carry the callback ptrs when needed */
38555 /* -----------------------------------------------------------------------------*/
38558 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38559 swig_const_info
*const_table
,
38560 swig_type_info
**types
,
38561 swig_type_info
**types_initial
) {
38563 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38564 char *c
= methods
[i
].ml_doc
;
38565 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38567 swig_const_info
*ci
= 0;
38568 char *name
= c
+ 10;
38569 for (j
= 0; const_table
[j
].type
; ++j
) {
38570 if (strncmp(const_table
[j
].name
, name
,
38571 strlen(const_table
[j
].name
)) == 0) {
38572 ci
= &(const_table
[j
]);
38577 size_t shift
= (ci
->ptype
) - types
;
38578 swig_type_info
*ty
= types_initial
[shift
];
38579 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38580 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38581 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38584 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38586 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38588 strncpy(buff
, "swig_ptr: ", 10);
38590 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38591 methods
[i
].ml_doc
= ndoc
;
38603 /* -----------------------------------------------------------------------------*
38604 * Partial Init method
38605 * -----------------------------------------------------------------------------*/
38610 SWIGEXPORT
void SWIG_init(void) {
38613 /* Fix SwigMethods to carry the callback ptrs when needed */
38614 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38616 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38617 d
= PyModule_GetDict(m
);
38619 SWIG_InitializeModule(0);
38620 SWIG_InstallConstants(d
,swig_const_table
);
38623 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38624 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38625 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38626 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38627 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38628 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38629 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38630 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38631 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38632 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38633 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38634 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38635 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38636 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38637 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38638 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38639 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38640 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38641 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38642 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38643 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38644 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38645 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38646 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38647 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38648 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38649 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38650 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38651 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38652 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38653 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38654 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38655 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38656 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38657 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38658 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38659 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38660 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38661 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38662 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38663 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38664 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38665 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38666 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38667 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38668 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38669 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38670 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38671 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38672 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38673 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38674 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38675 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38676 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38677 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38678 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38679 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38680 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38681 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38682 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38683 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38684 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38685 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38686 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38687 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38688 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38689 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38690 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38691 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38692 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38693 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38694 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38695 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38696 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38697 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38698 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38699 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38700 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38701 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38702 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38703 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38704 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38705 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38706 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38707 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38708 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38709 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38710 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38711 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38712 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38713 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38714 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38715 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38716 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38717 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38718 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38719 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38720 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38721 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38722 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38723 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38724 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38726 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38728 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38729 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38730 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38731 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38732 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38733 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38734 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38735 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38736 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38737 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38738 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38739 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38740 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38741 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38742 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38743 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38744 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38745 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38746 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38747 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38748 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38749 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38750 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38751 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38752 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38753 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38754 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38755 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38756 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38757 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38758 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38759 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38760 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38761 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38762 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38763 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38764 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38765 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38766 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38767 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38768 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38769 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38770 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38771 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38772 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38773 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38774 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38775 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38776 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38777 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38778 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38779 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38780 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38782 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38784 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38785 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38786 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38787 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38788 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38789 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38790 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38791 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38792 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38793 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38794 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38795 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38796 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38797 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38798 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38799 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38800 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38801 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38802 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38803 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38804 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38805 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38806 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38807 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38808 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38809 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38810 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38811 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38812 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38813 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38814 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38815 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38816 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38817 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38818 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38819 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38820 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38821 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38822 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38823 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38824 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38825 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38826 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38827 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38828 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38829 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38830 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38831 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38832 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38833 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38834 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38835 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38836 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38837 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38838 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38839 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38840 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38841 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38842 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38843 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38844 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38845 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38846 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38847 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38848 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38849 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38850 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38851 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38852 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38853 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38854 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38855 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38856 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38857 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38858 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38859 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38861 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38863 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38864 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38865 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38866 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38867 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38868 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38869 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38870 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38871 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38872 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38873 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38874 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38875 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38876 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38877 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38878 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38879 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38880 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38881 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38882 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38883 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38884 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38885 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38886 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38887 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38888 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38889 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38890 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38891 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38892 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38893 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38894 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38895 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38896 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38897 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38898 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38899 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38900 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38901 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38902 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38903 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38904 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38905 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38906 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38907 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38908 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38909 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38910 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38911 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38912 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38913 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38914 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38915 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38916 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38917 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38918 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38919 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38920 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38921 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38922 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38923 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38924 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38925 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38926 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38927 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38928 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38929 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38930 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38931 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38932 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38933 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38934 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38935 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38936 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38937 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38938 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38939 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38940 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38941 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38942 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38943 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38944 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38945 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38946 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38947 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38948 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38949 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38950 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38951 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38952 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38953 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38954 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38955 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38956 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38957 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38958 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38959 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38960 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38961 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38962 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38963 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38964 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38965 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38966 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38967 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38968 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38969 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38970 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38971 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38972 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38973 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38974 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38975 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38976 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38977 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38978 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38979 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38980 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38981 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38982 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38983 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38984 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38985 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38986 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38987 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38988 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38989 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38990 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38991 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38992 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38993 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38994 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38995 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38996 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38997 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38998 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38999 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39000 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39001 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39002 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39003 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39004 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39005 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39006 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39007 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39008 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39009 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39010 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39011 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39012 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39013 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39014 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39015 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39016 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39017 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39018 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39019 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39020 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39021 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39022 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39023 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39024 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39025 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39026 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39027 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39028 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39029 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39030 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39031 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39032 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39033 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39034 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39035 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39036 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39037 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39038 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39039 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39040 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39041 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39042 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39043 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39044 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39045 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39046 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39047 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39048 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39049 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39050 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39051 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39052 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39053 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39054 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39055 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39056 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39057 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39058 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39059 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39060 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39061 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39062 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39064 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39065 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39066 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39067 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39069 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39070 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39071 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39072 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));