1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_void swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2476 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2477 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2478 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2479 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2480 #define SWIGTYPE_p_wxCaret swig_types[18]
2481 #define SWIGTYPE_p_wxChar swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxClipboard swig_types[21]
2484 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[23]
2486 #define SWIGTYPE_p_wxColour swig_types[24]
2487 #define SWIGTYPE_p_wxCommandEvent swig_types[25]
2488 #define SWIGTYPE_p_wxConfig swig_types[26]
2489 #define SWIGTYPE_p_wxConfigBase swig_types[27]
2490 #define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
2491 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2492 #define SWIGTYPE_p_wxControl swig_types[30]
2493 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2494 #define SWIGTYPE_p_wxCursor swig_types[32]
2495 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
2496 #define SWIGTYPE_p_wxDC swig_types[34]
2497 #define SWIGTYPE_p_wxDataFormat swig_types[35]
2498 #define SWIGTYPE_p_wxDataObject swig_types[36]
2499 #define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
2500 #define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDateSpan swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
2505 #define SWIGTYPE_p_wxDisplay swig_types[43]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[46]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvent swig_types[48]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
2512 #define SWIGTYPE_p_wxFSFile swig_types[50]
2513 #define SWIGTYPE_p_wxFileConfig swig_types[51]
2514 #define SWIGTYPE_p_wxFileDataObject swig_types[52]
2515 #define SWIGTYPE_p_wxFileHistory swig_types[53]
2516 #define SWIGTYPE_p_wxFileSystem swig_types[54]
2517 #define SWIGTYPE_p_wxFileType swig_types[55]
2518 #define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
2519 #define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520 #define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFont swig_types[59]
2522 #define SWIGTYPE_p_wxFrame swig_types[60]
2523 #define SWIGTYPE_p_wxGBSizerItem swig_types[61]
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[62]
2525 #define SWIGTYPE_p_wxGridBagSizer swig_types[63]
2526 #define SWIGTYPE_p_wxGridSizer swig_types[64]
2527 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2528 #define SWIGTYPE_p_wxIcon swig_types[66]
2529 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2530 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2531 #define SWIGTYPE_p_wxImage swig_types[69]
2532 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxJoystick swig_types[74]
2537 #define SWIGTYPE_p_wxJoystickEvent swig_types[75]
2538 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
2539 #define SWIGTYPE_p_wxKillError swig_types[77]
2540 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2541 #define SWIGTYPE_p_wxLog swig_types[79]
2542 #define SWIGTYPE_p_wxLogBuffer swig_types[80]
2543 #define SWIGTYPE_p_wxLogChain swig_types[81]
2544 #define SWIGTYPE_p_wxLogGui swig_types[82]
2545 #define SWIGTYPE_p_wxLogNull swig_types[83]
2546 #define SWIGTYPE_p_wxLogStderr swig_types[84]
2547 #define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
2548 #define SWIGTYPE_p_wxLogWindow swig_types[86]
2549 #define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMemorySize swig_types[88]
2551 #define SWIGTYPE_p_wxMenu swig_types[89]
2552 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2553 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2555 #define SWIGTYPE_p_wxMetafile swig_types[93]
2556 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
2557 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2558 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2560 #define SWIGTYPE_p_wxMouseState swig_types[98]
2561 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2566 #define SWIGTYPE_p_wxObject swig_types[104]
2567 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2571 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2572 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2573 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2574 #define SWIGTYPE_p_wxPoint swig_types[112]
2575 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
2576 #define SWIGTYPE_p_wxPyApp swig_types[114]
2577 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
2578 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
2581 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
2582 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
2583 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2584 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
2585 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2586 #define SWIGTYPE_p_wxPyLog swig_types[124]
2587 #define SWIGTYPE_p_wxPyProcess swig_types[125]
2588 #define SWIGTYPE_p_wxPySizer swig_types[126]
2589 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
2590 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
2591 #define SWIGTYPE_p_wxPyTimer swig_types[129]
2592 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
2593 #define SWIGTYPE_p_wxPyValidator swig_types[131]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2595 #define SWIGTYPE_p_wxRect swig_types[133]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2598 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2599 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
2601 #define SWIGTYPE_p_wxSize swig_types[139]
2602 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2603 #define SWIGTYPE_p_wxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2605 #define SWIGTYPE_p_wxSound swig_types[143]
2606 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
2607 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxStopWatch swig_types[147]
2610 #define SWIGTYPE_p_wxString swig_types[148]
2611 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2612 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
2613 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
2616 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
2617 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
2618 #define SWIGTYPE_p_wxTimer swig_types[156]
2619 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
2620 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
2621 #define SWIGTYPE_p_wxTipProvider swig_types[159]
2622 #define SWIGTYPE_p_wxToolTip swig_types[160]
2623 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2625 #define SWIGTYPE_p_wxValidator swig_types[163]
2626 #define SWIGTYPE_p_wxVideoMode swig_types[164]
2627 #define SWIGTYPE_p_wxWindow swig_types[165]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2630 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2632 static swig_type_info
*swig_types
[171];
2633 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2637 /* -------- TYPES TABLE (END) -------- */
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2654 /*-----------------------------------------------
2655 @(target):= _misc_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_misc_
2659 #define SWIG_name "_misc_"
2661 #define SWIGVERSION 0x010329
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2668 #include <stdexcept>
2672 class PyObject_ptr
{
2677 PyObject_ptr() :_obj(0)
2681 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2686 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2688 if (initial_ref
) Py_XINCREF(_obj
);
2691 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2693 Py_XINCREF(item
._obj
);
2704 operator PyObject
*() const
2709 PyObject
*operator->() const
2718 struct PyObject_var
: PyObject_ptr
{
2719 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2721 PyObject_var
& operator = (PyObject
* obj
)
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733 #include "wx/wxPython/pyistream.h"
2735 static const wxString
wxPyEmptyString(wxEmptyString
);
2739 #define SWIG_From_long PyInt_FromLong
2742 SWIGINTERNINLINE PyObject
*
2743 SWIG_From_int (int value
)
2745 return SWIG_From_long (value
);
2751 # define LLONG_MIN LONG_LONG_MIN
2754 # define LLONG_MAX LONG_LONG_MAX
2757 # define ULLONG_MAX ULONG_LONG_MAX
2762 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2764 if (PyNumber_Check(obj
)) {
2765 if (val
) *val
= PyInt_AsLong(obj
);
2768 return SWIG_TypeError
;
2773 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2776 int res
= SWIG_AsVal_long (obj
, &v
);
2777 if (SWIG_IsOK(res
)) {
2778 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2779 return SWIG_OverflowError
;
2781 if (val
) *val
= static_cast< int >(v
);
2787 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2789 #include <wx/stockitem.h>
2791 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2792 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2793 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2796 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2798 if (obj
== Py_True
) {
2799 if (val
) *val
= true;
2801 } else if (obj
== Py_False
) {
2802 if (val
) *val
= false;
2806 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2807 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2814 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2817 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2818 return SWIG_TypeError
;
2821 *val
= (unsigned long)v
;
2826 SWIGINTERNINLINE PyObject
*
2827 SWIG_From_unsigned_SS_long (unsigned long value
)
2829 return (value
> LONG_MAX
) ?
2830 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2834 void* wxGetXDisplay()
2837 return wxGetDisplay();
2844 wxWindow
* FindWindowAtPointer() {
2846 return wxFindWindowAtPointer(unused
);
2850 bool wxThread_IsMain() {
2851 #ifdef WXP_WITH_THREAD
2852 return wxThread::IsMain();
2858 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2862 #include <wx/snglinst.h>
2866 #include <wx/msw/private.h>
2867 #include <wx/dynload.h>
2872 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2883 // This one only partially works. Appears to be an undocumented
2884 // "standard" convention that not all widgets adhear to. For
2885 // example, for some widgets backgrounds or non-client areas may
2887 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2892 // This one works much better, nearly all widgets and their
2893 // children are captured correctly[**]. Prior to the big
2894 // background erase changes that Vadim did in 2004-2005 this
2895 // method failed badly on XP with Themes activated, most native
2896 // widgets draw only partially, if at all. Without themes it
2897 // worked just like on Win2k. After those changes this method
2900 // ** For example the radio buttons in a wxRadioBox are not its
2901 // children by default, but you can capture it via the panel
2902 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2903 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2904 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2905 PRF_ERASEBKGND
| PRF_OWNED
);
2911 // This one is only defined in the latest SDK and is only
2912 // available on XP. MSDN says it is similar to sending WM_PRINT
2913 // so I expect that it will work similar to the above. Since it
2914 // is avaialble only on XP, it can't be compiled like this and
2915 // will have to be loaded dynamically.
2916 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2921 // Use PrintWindow if available, or fallback to WM_PRINT
2922 // otherwise. Unfortunately using PrintWindow is even worse than
2923 // WM_PRINT. For most native widgets nothing is drawn to the dc
2924 // at all, with or without Themes.
2925 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2926 static bool s_triedToLoad
= false;
2927 static PrintWindow_t pfnPrintWindow
= NULL
;
2928 if ( !s_triedToLoad
)
2931 s_triedToLoad
= true;
2932 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2933 if ( dllUser32
.IsLoaded() )
2935 wxLogNull nolog
; // Don't report errors here
2936 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2941 //printf("Using PrintWindow\n");
2942 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2946 //printf("Using WM_PRINT\n");
2947 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2948 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2949 PRF_ERASEBKGND
| PRF_OWNED
);
2960 #include <wx/tipdlg.h>
2963 SWIGINTERNINLINE PyObject
*
2964 SWIG_From_size_t (size_t value
)
2966 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2970 class wxPyTipProvider
: public wxTipProvider
{
2972 wxPyTipProvider(size_t currentTip
)
2973 : wxTipProvider(currentTip
) {}
2975 DEC_PYCALLBACK_STRING__pure(GetTip
);
2976 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2980 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2981 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2984 SWIGINTERNINLINE
int
2985 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2988 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2989 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2994 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
2996 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
2998 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
2999 : wxTimer(owner
, id
)
3006 SWIGINTERN swig_type_info
*
3007 SWIG_pchar_descriptor()
3009 static int init
= 0;
3010 static swig_type_info
* info
= 0;
3012 info
= SWIG_TypeQuery("_p_char");
3019 SWIGINTERNINLINE PyObject
*
3020 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3023 if (size
> INT_MAX
) {
3024 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3025 return pchar_descriptor
?
3026 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3028 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3031 return SWIG_Py_Void();
3036 SWIGINTERNINLINE PyObject
*
3037 SWIG_FromCharPtr(const char *cptr
)
3039 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3044 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3047 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3048 if (SWIG_IsOK(res
)) {
3049 if ((v
> UINT_MAX
)) {
3050 return SWIG_OverflowError
;
3052 if (val
) *val
= static_cast< unsigned int >(v
);
3058 SWIGINTERN wxString
wxLog_TimeStamp(){
3060 wxLog::TimeStamp(&msg
);
3063 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3064 // Make some wrappers that double any % signs so they are 'escaped'
3065 void wxPyLogFatalError(const wxString
& msg
)
3068 m
.Replace(wxT("%"), wxT("%%"));
3072 void wxPyLogError(const wxString
& msg
)
3075 m
.Replace(wxT("%"), wxT("%%"));
3079 void wxPyLogWarning(const wxString
& msg
)
3082 m
.Replace(wxT("%"), wxT("%%"));
3086 void wxPyLogMessage(const wxString
& msg
)
3089 m
.Replace(wxT("%"), wxT("%%"));
3093 void wxPyLogInfo(const wxString
& msg
)
3096 m
.Replace(wxT("%"), wxT("%%"));
3100 void wxPyLogDebug(const wxString
& msg
)
3103 m
.Replace(wxT("%"), wxT("%%"));
3107 void wxPyLogVerbose(const wxString
& msg
)
3110 m
.Replace(wxT("%"), wxT("%%"));
3114 void wxPyLogStatus(const wxString
& msg
)
3117 m
.Replace(wxT("%"), wxT("%%"));
3121 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3124 m
.Replace(wxT("%"), wxT("%%"));
3125 wxLogStatus(pFrame
, m
);
3128 void wxPyLogSysError(const wxString
& msg
)
3131 m
.Replace(wxT("%"), wxT("%%"));
3135 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3138 m
.Replace(wxT("%"), wxT("%%"));
3139 wxLogGeneric(level
, m
);
3142 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3145 m
.Replace(wxT("%"), wxT("%%"));
3146 wxLogTrace(mask
, m
);
3149 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3152 m
.Replace(wxT("%"), wxT("%%"));
3153 wxLogTrace(mask
, m
);
3158 // A wxLog class that can be derived from in wxPython
3159 class wxPyLog
: public wxLog
{
3161 wxPyLog() : wxLog() {}
3163 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3165 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3166 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3167 PyObject
* s
= wx2PyString(szString
);
3168 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3171 wxPyEndBlockThreads(blocked
);
3173 wxLog::DoLog(level
, szString
, t
);
3176 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3179 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3180 PyObject
* s
= wx2PyString(szString
);
3181 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3184 wxPyEndBlockThreads(blocked
);
3186 wxLog::DoLogString(szString
, t
);
3189 DEC_PYCALLBACK_VOID_(Flush
);
3192 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3197 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3200 #include <wx/joystick.h>
3203 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3204 // A C++ stub class for wxJoystick for platforms that don't have it.
3205 class wxJoystick
: public wxObject
{
3207 wxJoystick(int joystick
= wxJOYSTICK1
) {
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 PyErr_SetString(PyExc_NotImplementedError
,
3210 "wxJoystick is not available on this platform.");
3211 wxPyEndBlockThreads(blocked
);
3213 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3214 int GetZPosition() { return -1; }
3215 int GetButtonState() { return -1; }
3216 int GetPOVPosition() { return -1; }
3217 int GetPOVCTSPosition() { return -1; }
3218 int GetRudderPosition() { return -1; }
3219 int GetUPosition() { return -1; }
3220 int GetVPosition() { return -1; }
3221 int GetMovementThreshold() { return -1; }
3222 void SetMovementThreshold(int threshold
) {}
3224 bool IsOk(void) { return false; }
3225 int GetNumberJoysticks() { return -1; }
3226 int GetManufacturerId() { return -1; }
3227 int GetProductId() { return -1; }
3228 wxString
GetProductName() { return wxEmptyString
; }
3229 int GetXMin() { return -1; }
3230 int GetYMin() { return -1; }
3231 int GetZMin() { return -1; }
3232 int GetXMax() { return -1; }
3233 int GetYMax() { return -1; }
3234 int GetZMax() { return -1; }
3235 int GetNumberButtons() { return -1; }
3236 int GetNumberAxes() { return -1; }
3237 int GetMaxButtons() { return -1; }
3238 int GetMaxAxes() { return -1; }
3239 int GetPollingMin() { return -1; }
3240 int GetPollingMax() { return -1; }
3241 int GetRudderMin() { return -1; }
3242 int GetRudderMax() { return -1; }
3243 int GetUMin() { return -1; }
3244 int GetUMax() { return -1; }
3245 int GetVMin() { return -1; }
3246 int GetVMax() { return -1; }
3248 bool HasRudder() { return false; }
3249 bool HasZ() { return false; }
3250 bool HasU() { return false; }
3251 bool HasV() { return false; }
3252 bool HasPOV() { return false; }
3253 bool HasPOV4Dir() { return false; }
3254 bool HasPOVCTS() { return false; }
3256 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3257 bool ReleaseCapture() { return false; }
3262 #include <wx/sound.h>
3266 // A C++ stub class for wxWave for platforms that don't have it.
3267 class wxSound
: public wxObject
3271 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3272 PyErr_SetString(PyExc_NotImplementedError
,
3273 "wxSound is not available on this platform.");
3274 wxPyEndBlockThreads(blocked
);
3276 wxSound(const wxString
&/*, bool*/) {
3277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3278 PyErr_SetString(PyExc_NotImplementedError
,
3279 "wxSound is not available on this platform.");
3280 wxPyEndBlockThreads(blocked
);
3282 wxSound(int, const wxByte
*) {
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3291 bool Create(const wxString
&/*, bool*/) { return false; }
3292 bool Create(int, const wxByte
*) { return false; };
3293 bool IsOk() { return false; };
3294 bool Play(unsigned) const { return false; }
3295 static bool Play(const wxString
&, unsigned) { return false; }
3296 static void Stop() {}
3301 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3302 if (fileName
.Length() == 0)
3305 return new wxSound(fileName
);
3307 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3308 unsigned char* buffer
; int size
;
3309 wxSound
*sound
= NULL
;
3311 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3312 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3314 sound
= new wxSound(size
, buffer
);
3316 wxPyEndBlockThreads(blocked
);
3319 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3321 unsigned char* buffer
;
3325 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3326 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3328 rv
= self
->Create(size
, buffer
);
3330 wxPyEndBlockThreads(blocked
);
3333 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3334 PyErr_SetString(PyExc_NotImplementedError
,
3335 "Create from data is not available on this platform.");
3336 wxPyEndBlockThreads(blocked
);
3341 #include <wx/mimetype.h>
3343 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3345 if (self
->GetMimeType(&str
))
3346 return wx2PyString(str
);
3350 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3352 if (self
->GetMimeTypes(arr
))
3353 return wxArrayString2PyList_helper(arr
);
3357 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3359 if (self
->GetExtensions(arr
))
3360 return wxArrayString2PyList_helper(arr
);
3364 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3366 if (self
->GetIcon(&loc
))
3367 return new wxIcon(loc
);
3371 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3373 if (self
->GetIcon(&loc
)) {
3374 wxString iconFile
= loc
.GetFileName();
3377 iconIndex
= loc
.GetIndex();
3379 // Make a tuple and put the values in it
3380 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3381 PyObject
* tuple
= PyTuple_New(3);
3382 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3383 wxT("wxIcon"), true));
3384 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3385 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3386 wxPyEndBlockThreads(blocked
);
3392 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3394 if (self
->GetDescription(&str
))
3395 return wx2PyString(str
);
3399 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3401 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3402 return wx2PyString(str
);
3406 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3408 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3409 return wx2PyString(str
);
3413 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 wxArrayString verbs
;
3415 wxArrayString commands
;
3416 if (self
->GetAllCommands(&verbs
, &commands
,
3417 wxFileType::MessageParameters(filename
, mimetype
))) {
3418 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3419 PyObject
* tuple
= PyTuple_New(2);
3420 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3421 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3422 wxPyEndBlockThreads(blocked
);
3428 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3429 return wxFileType::ExpandCommand(command
,
3430 wxFileType::MessageParameters(filename
, mimetype
));
3432 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3434 self
->EnumAllFileTypes(arr
);
3435 return wxArrayString2PyList_helper(arr
);
3438 #include <wx/artprov.h>
3440 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3441 static const wxString
wxPyART_MENU(wxART_MENU
);
3442 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3443 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3444 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3445 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3446 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3447 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3448 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3449 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3450 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3451 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3452 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3453 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3454 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3455 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3456 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3457 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3458 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3459 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3460 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3461 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3462 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3463 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3464 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3465 static const wxString
wxPyART_HELP(wxART_HELP
);
3466 static const wxString
wxPyART_TIP(wxART_TIP
);
3467 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3468 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3469 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3470 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3471 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3472 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3473 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3474 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3475 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3476 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3477 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3478 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3479 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3480 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3481 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3482 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3483 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3484 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3485 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3486 static const wxString
wxPyART_COPY(wxART_COPY
);
3487 static const wxString
wxPyART_CUT(wxART_CUT
);
3488 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3489 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3490 static const wxString
wxPyART_NEW(wxART_NEW
);
3491 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3492 static const wxString
wxPyART_REDO(wxART_REDO
);
3493 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3494 static const wxString
wxPyART_FIND(wxART_FIND
);
3495 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3496 // Python aware wxArtProvider
3497 class wxPyArtProvider
: public wxArtProvider
{
3500 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3501 const wxArtClient
& client
,
3502 const wxSize
& size
) {
3503 wxBitmap rval
= wxNullBitmap
;
3504 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3505 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3506 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3510 s1
= wx2PyString(id
);
3511 s2
= wx2PyString(client
);
3512 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3517 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3522 wxPyEndBlockThreads(blocked
);
3529 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3533 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3534 PyObject
* ret
= PyTuple_New(3);
3536 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3537 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3538 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3543 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3548 cont
= self
->GetFirstGroup(value
, index
);
3549 return __EnumerationHelper(cont
, value
, index
);
3551 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3555 cont
= self
->GetNextGroup(value
, index
);
3556 return __EnumerationHelper(cont
, value
, index
);
3558 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3563 cont
= self
->GetFirstEntry(value
, index
);
3564 return __EnumerationHelper(cont
, value
, index
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3570 cont
= self
->GetNextEntry(value
, index
);
3571 return __EnumerationHelper(cont
, value
, index
);
3573 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3575 self
->Read(key
, &rv
, defaultVal
);
3580 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3582 if (PyNumber_Check(obj
)) {
3583 if (val
) *val
= PyFloat_AsDouble(obj
);
3586 return SWIG_TypeError
;
3589 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3591 self
->Read(key
, &rv
, defaultVal
);
3595 #define SWIG_From_double PyFloat_FromDouble
3597 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3599 self
->Read(key
, &rv
, defaultVal
);
3603 #include <wx/datetime.h>
3605 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3606 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3608 #define LOCAL_TZ wxDateTime::Local
3610 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3613 wxDateTime::GetAmPmStrings(&am
, &pm
);
3614 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3615 PyObject
* tup
= PyTuple_New(2);
3616 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3617 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3618 wxPyEndBlockThreads(blocked
);
3622 SWIGINTERNINLINE PyObject
*
3623 SWIG_From_unsigned_SS_int (unsigned int value
)
3625 return SWIG_From_unsigned_SS_long (value
);
3628 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3629 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3630 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3631 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3632 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3633 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3634 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3635 return (*self
< *other
);
3637 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3638 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3639 return (*self
<= *other
);
3641 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3642 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3643 return (*self
> *other
);
3645 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3646 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3647 return (*self
>= *other
);
3649 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3650 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3651 return (*self
== *other
);
3653 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3654 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3655 return (*self
!= *other
);
3657 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3659 const wxChar
* _date
= date
;
3660 rv
= self
->ParseRfc822Date(_date
);
3661 if (rv
== NULL
) return -1;
3664 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3666 const wxChar
* _date
= date
;
3667 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3668 if (rv
== NULL
) return -1;
3671 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3673 const wxChar
* _datetime
= datetime
;
3674 rv
= self
->ParseDateTime(_datetime
);
3675 if (rv
== NULL
) return -1;
3676 return rv
- _datetime
;
3678 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3680 const wxChar
* _date
= date
;
3681 rv
= self
->ParseDate(_date
);
3682 if (rv
== NULL
) return -1;
3685 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3687 const wxChar
* _time
= time
;
3688 rv
= self
->ParseTime(_time
);
3689 if (rv
== NULL
) return -1;
3692 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3693 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3694 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3695 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3696 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3697 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3698 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3699 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3700 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3701 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3702 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3703 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3704 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3705 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3706 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3707 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3709 #include <wx/dataobj.h>
3711 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3712 size_t count
= self
->GetFormatCount(dir
);
3713 wxDataFormat
* formats
= new wxDataFormat
[count
];
3714 self
->GetAllFormats(formats
, dir
);
3716 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3717 PyObject
* list
= PyList_New(count
);
3718 for (size_t i
=0; i
<count
; i
++) {
3719 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3720 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3721 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3723 wxPyEndBlockThreads(blocked
);
3727 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3728 PyObject
* rval
= NULL
;
3729 size_t size
= self
->GetDataSize(format
);
3730 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3732 char* buf
= new char[size
];
3733 if (self
->GetDataHere(format
, buf
))
3734 rval
= PyString_FromStringAndSize(buf
, size
);
3741 wxPyEndBlockThreads(blocked
);
3744 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3746 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3747 if (PyString_Check(data
)) {
3748 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3751 // raise a TypeError if not a string
3752 PyErr_SetString(PyExc_TypeError
, "String expected.");
3755 wxPyEndBlockThreads(blocked
);
3758 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3759 PyObject
* rval
= NULL
;
3760 size_t size
= self
->GetDataSize();
3761 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3763 char* buf
= new char[size
];
3764 if (self
->GetDataHere(buf
))
3765 rval
= PyString_FromStringAndSize(buf
, size
);
3772 wxPyEndBlockThreads(blocked
);
3775 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3777 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3778 if (PyString_Check(data
)) {
3779 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3782 // raise a TypeError if not a string
3783 PyErr_SetString(PyExc_TypeError
, "String expected.");
3786 wxPyEndBlockThreads(blocked
);
3789 // Create a new class for wxPython to use
3790 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3792 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3793 : wxDataObjectSimple(format
) {}
3795 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3796 bool GetDataHere(void *buf
) const;
3797 bool SetData(size_t len
, const void *buf
) const;
3801 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3803 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3804 // We need to get the data for this object and write it to buf. I think
3805 // the best way to do this for wxPython is to have the Python method
3806 // return either a string or None and then act appropriately with the
3810 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3811 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3813 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3815 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3817 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3821 wxPyEndBlockThreads(blocked
);
3825 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3826 // For this one we simply need to make a string from buf and len
3827 // and send it to the Python method.
3829 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3830 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3831 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3832 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3835 wxPyEndBlockThreads(blocked
);
3839 // Create a new class for wxPython to use
3840 class wxPyTextDataObject
: public wxTextDataObject
{
3842 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3843 : wxTextDataObject(text
) {}
3845 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3846 DEC_PYCALLBACK_STRING__const(GetText
);
3847 DEC_PYCALLBACK__STRING(SetText
);
3851 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3852 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3853 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3856 // Create a new class for wxPython to use
3857 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3859 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3860 : wxBitmapDataObject(bitmap
) {}
3862 wxBitmap
GetBitmap() const;
3863 void SetBitmap(const wxBitmap
& bitmap
);
3867 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3868 wxBitmap
* rval
= &wxNullBitmap
;
3869 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3870 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3873 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3875 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3880 wxPyEndBlockThreads(blocked
);
3884 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3885 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3886 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3887 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3888 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3891 wxPyEndBlockThreads(blocked
);
3894 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3895 return new wxCustomDataObject(wxDataFormat(formatName
));
3897 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3899 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3900 if (PyString_Check(data
)) {
3901 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3904 // raise a TypeError if not a string
3905 PyErr_SetString(PyExc_TypeError
, "String expected.");
3908 wxPyEndBlockThreads(blocked
);
3911 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3913 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3914 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3915 wxPyEndBlockThreads(blocked
);
3919 #include <wx/metafile.h>
3922 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3925 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3926 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3927 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3928 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3929 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3932 class wxPyTextDropTarget
: public wxTextDropTarget
{
3934 wxPyTextDropTarget() {}
3936 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3938 DEC_PYCALLBACK__(OnLeave
);
3939 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3940 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3941 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3942 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3947 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3948 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3949 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3950 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3951 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3952 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3956 class wxPyFileDropTarget
: public wxFileDropTarget
{
3958 wxPyFileDropTarget() {}
3960 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3962 DEC_PYCALLBACK__(OnLeave
);
3963 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3964 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3965 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3966 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3971 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3972 const wxArrayString
& filenames
) {
3974 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3975 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3976 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3977 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3980 wxPyEndBlockThreads(blocked
);
3986 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3987 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3988 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3989 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3990 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
3995 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
3997 #include <wx/display.h>
3999 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4000 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4003 const wxVideoMode wxDefaultVideoMode
;
4006 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4008 PyObject
* pyList
= NULL
;
4009 wxArrayVideoModes arr
= self
->GetModes(mode
);
4010 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4011 pyList
= PyList_New(0);
4012 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4014 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4015 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4016 PyList_Append(pyList
, pyObj
);
4019 wxPyEndBlockThreads(blocked
);
4022 wxPyRaiseNotImplemented();
4026 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4028 return self
->GetCurrentMode();
4030 wxPyRaiseNotImplemented();
4031 return wxDefaultVideoMode
;
4034 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4036 return self
->ChangeMode(mode
);
4038 wxPyRaiseNotImplemented();
4042 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4046 wxPyRaiseNotImplemented();
4050 #include <wx/stdpaths.h>
4052 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4053 return (wxStandardPaths
*) &wxStandardPaths::Get();
4055 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4056 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4060 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
= 0;
4062 wxSystemColour arg1
;
4066 PyObject
* obj0
= 0 ;
4067 char * kwnames
[] = {
4068 (char *) "index", NULL
4071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4073 if (!SWIG_IsOK(ecode1
)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4076 arg1
= static_cast< wxSystemColour
>(val1
);
4078 if (!wxPyCheckForApp()) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= wxSystemSettings::GetColour(arg1
);
4081 wxPyEndAllowThreads(__tstate
);
4082 if (PyErr_Occurred()) SWIG_fail
;
4084 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4091 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
= 0;
4097 PyObject
* obj0
= 0 ;
4098 char * kwnames
[] = {
4099 (char *) "index", NULL
4102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4103 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4104 if (!SWIG_IsOK(ecode1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4107 arg1
= static_cast< wxSystemFont
>(val1
);
4109 if (!wxPyCheckForApp()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= wxSystemSettings::GetFont(arg1
);
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4122 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
= 0;
4124 wxSystemMetric arg1
;
4125 wxWindow
*arg2
= (wxWindow
*) NULL
;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4133 char * kwnames
[] = {
4134 (char *) "index",(char *) "win", NULL
4137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4138 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4139 if (!SWIG_IsOK(ecode1
)) {
4140 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4142 arg1
= static_cast< wxSystemMetric
>(val1
);
4144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4145 if (!SWIG_IsOK(res2
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4148 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4151 if (!wxPyCheckForApp()) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 resultobj
= SWIG_From_int(static_cast< int >(result
));
4164 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
*resultobj
= 0;
4166 wxSystemFeature arg1
;
4170 PyObject
* obj0
= 0 ;
4171 char * kwnames
[] = {
4172 (char *) "index", NULL
4175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4176 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4177 if (!SWIG_IsOK(ecode1
)) {
4178 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4180 arg1
= static_cast< wxSystemFeature
>(val1
);
4182 if (!wxPyCheckForApp()) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4197 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4198 PyObject
*resultobj
= 0;
4199 wxSystemScreenType result
;
4201 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4203 if (!wxPyCheckForApp()) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 resultobj
= SWIG_From_int(static_cast< int >(result
));
4216 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
= 0;
4218 wxSystemScreenType arg1
;
4221 PyObject
* obj0
= 0 ;
4222 char * kwnames
[] = {
4223 (char *) "screen", NULL
4226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4227 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4228 if (!SWIG_IsOK(ecode1
)) {
4229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4231 arg1
= static_cast< wxSystemScreenType
>(val1
);
4233 if (!wxPyCheckForApp()) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxSystemSettings::SetScreenType(arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 resultobj
= SWIG_Py_Void();
4246 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4249 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4250 return SWIG_Py_Void();
4253 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4254 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4259 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4260 PyObject
*pyobj
= 0;
4264 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4266 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4273 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4274 PyObject
*resultobj
= 0;
4275 wxSystemOptions
*result
= 0 ;
4277 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (wxSystemOptions
*)new wxSystemOptions();
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4291 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
= 0;
4293 wxString
*arg1
= 0 ;
4294 wxString
*arg2
= 0 ;
4295 bool temp1
= false ;
4296 bool temp2
= false ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4299 char * kwnames
[] = {
4300 (char *) "name",(char *) "value", NULL
4303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4305 arg1
= wxString_in_helper(obj0
);
4306 if (arg1
== NULL
) SWIG_fail
;
4310 arg2
= wxString_in_helper(obj1
);
4311 if (arg2
== NULL
) SWIG_fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_Py_Void();
4343 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= 0;
4345 wxString
*arg1
= 0 ;
4347 bool temp1
= false ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 char * kwnames
[] = {
4353 (char *) "name",(char *) "value", NULL
4356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4358 arg1
= wxString_in_helper(obj0
);
4359 if (arg1
== NULL
) SWIG_fail
;
4362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4363 if (!SWIG_IsOK(ecode2
)) {
4364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4366 arg2
= static_cast< int >(val2
);
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_Py_Void();
4388 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
= 0;
4390 wxString
*arg1
= 0 ;
4392 bool temp1
= false ;
4393 PyObject
* obj0
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "name", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4400 arg1
= wxString_in_helper(obj0
);
4401 if (arg1
== NULL
) SWIG_fail
;
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4431 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxString
*arg1
= 0 ;
4435 bool temp1
= false ;
4436 PyObject
* obj0
= 0 ;
4437 char * kwnames
[] = {
4438 (char *) "name", NULL
4441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4443 arg1
= wxString_in_helper(obj0
);
4444 if (arg1
== NULL
) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 resultobj
= SWIG_From_int(static_cast< int >(result
));
4468 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= 0;
4470 wxString
*arg1
= 0 ;
4472 bool temp1
= false ;
4473 PyObject
* obj0
= 0 ;
4474 char * kwnames
[] = {
4475 (char *) "name", NULL
4478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4480 arg1
= wxString_in_helper(obj0
);
4481 if (arg1
== NULL
) SWIG_fail
;
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4486 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
= 0;
4509 wxString
*arg1
= 0 ;
4511 bool temp1
= false ;
4512 PyObject
* obj0
= 0 ;
4513 char * kwnames
[] = {
4514 (char *) "name", NULL
4517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4519 arg1
= wxString_in_helper(obj0
);
4520 if (arg1
== NULL
) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4546 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4549 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4550 return SWIG_Py_Void();
4553 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4554 return SWIG_Python_InitShadowInstance(args
);
4557 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4558 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4563 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4564 PyObject
*pyobj
= 0;
4568 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4570 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4577 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4578 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4583 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4584 PyObject
*pyobj
= 0;
4588 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4590 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4597 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4598 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4603 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4604 PyObject
*pyobj
= 0;
4608 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4610 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4617 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 PyObject
*resultobj
= 0;
4621 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (long)wxNewId();
4625 wxPyEndAllowThreads(__tstate
);
4626 if (PyErr_Occurred()) SWIG_fail
;
4628 resultobj
= SWIG_From_long(static_cast< long >(result
));
4635 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
= 0;
4640 PyObject
* obj0
= 0 ;
4641 char * kwnames
[] = {
4645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4646 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4647 if (!SWIG_IsOK(ecode1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4650 arg1
= static_cast< long >(val1
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_Py_Void();
4664 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4665 PyObject
*resultobj
= 0;
4668 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (long)wxGetCurrentId();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_From_long(static_cast< long >(result
));
4682 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= 0;
4688 PyObject
* obj0
= 0 ;
4689 char * kwnames
[] = {
4693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4695 if (!SWIG_IsOK(ecode1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4698 arg1
= static_cast< int >(val1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (bool)wxIsStockID(arg1
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4714 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
= 0;
4717 wxString
*arg2
= 0 ;
4721 bool temp2
= false ;
4722 PyObject
* obj0
= 0 ;
4723 PyObject
* obj1
= 0 ;
4724 char * kwnames
[] = {
4725 (char *) "id",(char *) "label", NULL
4728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4730 if (!SWIG_IsOK(ecode1
)) {
4731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4733 arg1
= static_cast< int >(val1
);
4735 arg2
= wxString_in_helper(obj1
);
4736 if (arg2
== NULL
) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4762 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
= 0;
4765 bool arg2
= (bool) true ;
4766 wxString arg3
= (wxString
) wxPyEmptyString
;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4774 PyObject
* obj2
= 0 ;
4775 char * kwnames
[] = {
4776 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4780 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4781 if (!SWIG_IsOK(ecode1
)) {
4782 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4784 arg1
= static_cast< int >(val1
);
4786 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4787 if (!SWIG_IsOK(ecode2
)) {
4788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4790 arg2
= static_cast< bool >(val2
);
4794 wxString
* sptr
= wxString_in_helper(obj2
);
4795 if (sptr
== NULL
) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4819 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4820 PyObject
*resultobj
= 0;
4822 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4824 if (!wxPyCheckForApp()) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_Py_Void();
4837 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4840 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4842 if (!wxPyCheckForApp()) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_Py_Void();
4855 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
= 0;
4857 bool arg1
= (bool) true ;
4861 PyObject
* obj0
= 0 ;
4862 char * kwnames
[] = {
4863 (char *) "resetTimer", NULL
4866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4868 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4869 if (!SWIG_IsOK(ecode1
)) {
4870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4872 arg1
= static_cast< bool >(val1
);
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (long)wxGetElapsedTime(arg1
);
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= SWIG_From_long(static_cast< long >(result
));
4887 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4888 PyObject
*resultobj
= 0;
4891 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (bool)wxIsBusy();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4907 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4908 PyObject
*resultobj
= 0;
4911 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4931 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4934 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4936 bool temp1
= false ;
4937 PyObject
* obj0
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "command", NULL
4942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4945 arg1
= wxString_in_helper(obj0
);
4946 if (arg1
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)wxShell((wxString
const &)*arg1
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4973 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4974 PyObject
*resultobj
= 0;
4976 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= SWIG_Py_Void();
4990 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4991 PyObject
*resultobj
= 0;
4992 int *arg1
= (int *) 0 ;
4993 int *arg2
= (int *) 0 ;
4996 int res1
= SWIG_TMPOBJ
;
4998 int res2
= SWIG_TMPOBJ
;
5002 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (int)wxGetOsVersion(arg1
,arg2
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_From_int(static_cast< int >(result
));
5010 if (SWIG_IsTmpObj(res1
)) {
5011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5013 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5016 if (SWIG_IsTmpObj(res2
)) {
5017 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5019 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5028 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5029 PyObject
*resultobj
= 0;
5032 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= wxGetOsDescription();
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5052 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 PyObject
*resultobj
= 0;
5054 wxMemorySize result
;
5056 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 result
= wxGetFreeMemory();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5070 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
= 0;
5072 wxShutdownFlags arg1
;
5076 PyObject
* obj0
= 0 ;
5077 char * kwnames
[] = {
5078 (char *) "wFlags", NULL
5081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5083 if (!SWIG_IsOK(ecode1
)) {
5084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5086 arg1
= static_cast< wxShutdownFlags
>(val1
);
5088 if (!wxPyCheckForApp()) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (bool)wxShutdown(arg1
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5103 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
= 0;
5108 PyObject
* obj0
= 0 ;
5109 char * kwnames
[] = {
5110 (char *) "secs", NULL
5113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5115 if (!SWIG_IsOK(ecode1
)) {
5116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5118 arg1
= static_cast< int >(val1
);
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= SWIG_Py_Void();
5132 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 unsigned long arg1
;
5135 unsigned long val1
;
5137 PyObject
* obj0
= 0 ;
5138 char * kwnames
[] = {
5139 (char *) "milliseconds", NULL
5142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5143 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5144 if (!SWIG_IsOK(ecode1
)) {
5145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5147 arg1
= static_cast< unsigned long >(val1
);
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_Py_Void();
5161 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
= 0;
5163 unsigned long arg1
;
5164 unsigned long val1
;
5166 PyObject
* obj0
= 0 ;
5167 char * kwnames
[] = {
5168 (char *) "microseconds", NULL
5171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5172 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5173 if (!SWIG_IsOK(ecode1
)) {
5174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5176 arg1
= static_cast< unsigned long >(val1
);
5178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_Py_Void();
5190 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
= 0;
5195 PyObject
* obj0
= 0 ;
5196 char * kwnames
[] = {
5197 (char *) "enable", NULL
5200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5201 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5202 if (!SWIG_IsOK(ecode1
)) {
5203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5205 arg1
= static_cast< bool >(val1
);
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 wxEnableTopLevelWindows(arg1
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= SWIG_Py_Void();
5219 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
= 0;
5221 wxString
*arg1
= 0 ;
5223 bool temp1
= false ;
5224 PyObject
* obj0
= 0 ;
5225 char * kwnames
[] = {
5226 (char *) "_in", NULL
5229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5231 arg1
= wxString_in_helper(obj0
);
5232 if (arg1
== NULL
) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5245 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5262 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5263 PyObject
*resultobj
= 0;
5266 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 result
= wxGetEmailAddress();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5286 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5287 PyObject
*resultobj
= 0;
5290 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= wxGetHostName();
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5310 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5311 PyObject
*resultobj
= 0;
5314 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= wxGetFullHostName();
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5325 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5334 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 PyObject
*resultobj
= 0;
5338 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= wxGetUserId();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5358 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5359 PyObject
*resultobj
= 0;
5362 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 result
= wxGetUserName();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5382 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5383 PyObject
*resultobj
= 0;
5386 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 result
= wxGetHomeDir();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5406 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
= 0;
5408 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5409 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5411 bool temp1
= false ;
5412 PyObject
* obj0
= 0 ;
5413 char * kwnames
[] = {
5414 (char *) "user", NULL
5417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5420 arg1
= wxString_in_helper(obj0
);
5421 if (arg1
== NULL
) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= wxGetUserHome((wxString
const &)*arg1
);
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5435 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5452 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5453 PyObject
*resultobj
= 0;
5454 unsigned long result
;
5456 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (unsigned long)wxGetProcessId();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5470 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5471 PyObject
*resultobj
= 0;
5473 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_Py_Void();
5487 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
= 0;
5489 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5490 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5491 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5493 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5494 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5495 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5496 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5497 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5498 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5499 int arg6
= (int) 0 ;
5500 wxWindow
*arg7
= (wxWindow
*) NULL
;
5501 int arg8
= (int) -1 ;
5502 int arg9
= (int) -1 ;
5504 bool temp1
= false ;
5505 bool temp2
= false ;
5506 bool temp3
= false ;
5507 bool temp4
= false ;
5508 bool temp5
= false ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5520 PyObject
* obj3
= 0 ;
5521 PyObject
* obj4
= 0 ;
5522 PyObject
* obj5
= 0 ;
5523 PyObject
* obj6
= 0 ;
5524 PyObject
* obj7
= 0 ;
5525 PyObject
* obj8
= 0 ;
5526 char * kwnames
[] = {
5527 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5533 arg1
= wxString_in_helper(obj0
);
5534 if (arg1
== NULL
) SWIG_fail
;
5540 arg2
= wxString_in_helper(obj1
);
5541 if (arg2
== NULL
) SWIG_fail
;
5547 arg3
= wxString_in_helper(obj2
);
5548 if (arg3
== NULL
) SWIG_fail
;
5554 arg4
= wxString_in_helper(obj3
);
5555 if (arg4
== NULL
) SWIG_fail
;
5561 arg5
= wxString_in_helper(obj4
);
5562 if (arg5
== NULL
) SWIG_fail
;
5567 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5568 if (!SWIG_IsOK(ecode6
)) {
5569 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5571 arg6
= static_cast< int >(val6
);
5574 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5575 if (!SWIG_IsOK(res7
)) {
5576 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5578 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5581 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5582 if (!SWIG_IsOK(ecode8
)) {
5583 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5585 arg8
= static_cast< int >(val8
);
5588 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5589 if (!SWIG_IsOK(ecode9
)) {
5590 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5592 arg9
= static_cast< int >(val9
);
5595 if (!wxPyCheckForApp()) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5598 wxPyEndAllowThreads(__tstate
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5654 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
= 0;
5656 wxString
*arg1
= 0 ;
5657 wxString
*arg2
= 0 ;
5658 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5659 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5660 wxWindow
*arg4
= (wxWindow
*) NULL
;
5662 bool temp1
= false ;
5663 bool temp2
= false ;
5664 bool temp3
= false ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5669 PyObject
* obj2
= 0 ;
5670 PyObject
* obj3
= 0 ;
5671 char * kwnames
[] = {
5672 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5677 arg1
= wxString_in_helper(obj0
);
5678 if (arg1
== NULL
) SWIG_fail
;
5682 arg2
= wxString_in_helper(obj1
);
5683 if (arg2
== NULL
) SWIG_fail
;
5688 arg3
= wxString_in_helper(obj2
);
5689 if (arg3
== NULL
) SWIG_fail
;
5694 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5695 if (!SWIG_IsOK(res4
)) {
5696 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5698 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5701 if (!wxPyCheckForApp()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5744 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
= 0;
5746 wxString
*arg1
= 0 ;
5747 wxString
*arg2
= 0 ;
5748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5750 wxWindow
*arg4
= (wxWindow
*) NULL
;
5752 bool temp1
= false ;
5753 bool temp2
= false ;
5754 bool temp3
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 PyObject
* obj2
= 0 ;
5760 PyObject
* obj3
= 0 ;
5761 char * kwnames
[] = {
5762 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5767 arg1
= wxString_in_helper(obj0
);
5768 if (arg1
== NULL
) SWIG_fail
;
5772 arg2
= wxString_in_helper(obj1
);
5773 if (arg2
== NULL
) SWIG_fail
;
5778 arg3
= wxString_in_helper(obj2
);
5779 if (arg3
== NULL
) SWIG_fail
;
5784 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5785 if (!SWIG_IsOK(res4
)) {
5786 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5788 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5791 if (!wxPyCheckForApp()) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5834 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
= 0;
5836 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5837 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5838 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5839 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5840 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5843 wxWindow
*arg5
= (wxWindow
*) NULL
;
5845 bool temp1
= false ;
5846 bool temp2
= false ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 PyObject
* obj2
= 0 ;
5855 PyObject
* obj3
= 0 ;
5856 PyObject
* obj4
= 0 ;
5857 char * kwnames
[] = {
5858 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5864 arg1
= wxString_in_helper(obj0
);
5865 if (arg1
== NULL
) SWIG_fail
;
5871 arg2
= wxString_in_helper(obj1
);
5872 if (arg2
== NULL
) SWIG_fail
;
5877 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5878 if (!SWIG_IsOK(ecode3
)) {
5879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5881 arg3
= static_cast< long >(val3
);
5886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5890 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5891 if (!SWIG_IsOK(res5
)) {
5892 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5894 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5897 if (!wxPyCheckForApp()) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5899 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5932 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 wxString
*arg1
= 0 ;
5935 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5936 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5937 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5938 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5939 wxWindow
*arg4
= (wxWindow
*) NULL
;
5940 int arg5
= (int) -1 ;
5941 int arg6
= (int) -1 ;
5942 bool arg7
= (bool) true ;
5944 bool temp1
= false ;
5945 bool temp2
= false ;
5946 bool temp3
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 PyObject
* obj3
= 0 ;
5959 PyObject
* obj4
= 0 ;
5960 PyObject
* obj5
= 0 ;
5961 PyObject
* obj6
= 0 ;
5962 char * kwnames
[] = {
5963 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5968 arg1
= wxString_in_helper(obj0
);
5969 if (arg1
== NULL
) SWIG_fail
;
5974 arg2
= wxString_in_helper(obj1
);
5975 if (arg2
== NULL
) SWIG_fail
;
5981 arg3
= wxString_in_helper(obj2
);
5982 if (arg3
== NULL
) SWIG_fail
;
5987 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5988 if (!SWIG_IsOK(res4
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
5991 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5994 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
5995 if (!SWIG_IsOK(ecode5
)) {
5996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
5998 arg5
= static_cast< int >(val5
);
6001 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6002 if (!SWIG_IsOK(ecode6
)) {
6003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6005 arg6
= static_cast< int >(val6
);
6008 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6009 if (!SWIG_IsOK(ecode7
)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6012 arg7
= static_cast< bool >(val7
);
6015 if (!wxPyCheckForApp()) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6018 wxPyEndAllowThreads(__tstate
);
6019 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6058 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
= 0;
6060 wxString
*arg1
= 0 ;
6061 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6062 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6065 wxWindow
*arg4
= (wxWindow
*) NULL
;
6067 bool temp1
= false ;
6068 bool temp2
= false ;
6069 bool temp3
= false ;
6072 PyObject
* obj0
= 0 ;
6073 PyObject
* obj1
= 0 ;
6074 PyObject
* obj2
= 0 ;
6075 PyObject
* obj3
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6082 arg1
= wxString_in_helper(obj0
);
6083 if (arg1
== NULL
) SWIG_fail
;
6088 arg2
= wxString_in_helper(obj1
);
6089 if (arg2
== NULL
) SWIG_fail
;
6095 arg3
= wxString_in_helper(obj2
);
6096 if (arg3
== NULL
) SWIG_fail
;
6101 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6102 if (!SWIG_IsOK(res4
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6105 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6108 if (!wxPyCheckForApp()) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6151 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
= 0;
6153 wxString
*arg1
= 0 ;
6154 wxString
*arg2
= 0 ;
6156 wxString
*arg4
= (wxString
*) 0 ;
6157 wxWindow
*arg5
= (wxWindow
*) NULL
;
6158 int arg6
= (int) -1 ;
6159 int arg7
= (int) -1 ;
6160 bool arg8
= (bool) true ;
6161 int arg9
= (int) 150 ;
6162 int arg10
= (int) 200 ;
6164 bool temp1
= false ;
6165 bool temp2
= false ;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 PyObject
* obj2
= 0 ;
6181 PyObject
* obj3
= 0 ;
6182 PyObject
* obj4
= 0 ;
6183 PyObject
* obj5
= 0 ;
6184 PyObject
* obj6
= 0 ;
6185 PyObject
* obj7
= 0 ;
6186 PyObject
* obj8
= 0 ;
6187 char * kwnames
[] = {
6188 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6193 arg1
= wxString_in_helper(obj0
);
6194 if (arg1
== NULL
) SWIG_fail
;
6198 arg2
= wxString_in_helper(obj1
);
6199 if (arg2
== NULL
) SWIG_fail
;
6203 arg3
= PyList_Size(obj2
);
6204 arg4
= wxString_LIST_helper(obj2
);
6205 if (arg4
== NULL
) SWIG_fail
;
6208 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6209 if (!SWIG_IsOK(res5
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6212 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6215 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6216 if (!SWIG_IsOK(ecode6
)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6219 arg6
= static_cast< int >(val6
);
6222 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6223 if (!SWIG_IsOK(ecode7
)) {
6224 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6226 arg7
= static_cast< int >(val7
);
6229 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6230 if (!SWIG_IsOK(ecode8
)) {
6231 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6233 arg8
= static_cast< bool >(val8
);
6236 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6237 if (!SWIG_IsOK(ecode9
)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6240 arg9
= static_cast< int >(val9
);
6243 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6244 if (!SWIG_IsOK(ecode10
)) {
6245 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6247 arg10
= static_cast< int >(val10
);
6250 if (!wxPyCheckForApp()) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6272 if (arg4
) delete [] arg4
;
6285 if (arg4
) delete [] arg4
;
6291 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
= 0;
6293 wxString
*arg1
= 0 ;
6294 wxString
*arg2
= 0 ;
6296 wxString
*arg4
= (wxString
*) 0 ;
6297 wxWindow
*arg5
= (wxWindow
*) NULL
;
6298 int arg6
= (int) -1 ;
6299 int arg7
= (int) -1 ;
6300 bool arg8
= (bool) true ;
6301 int arg9
= (int) 150 ;
6302 int arg10
= (int) 200 ;
6304 bool temp1
= false ;
6305 bool temp2
= false ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 PyObject
* obj2
= 0 ;
6321 PyObject
* obj3
= 0 ;
6322 PyObject
* obj4
= 0 ;
6323 PyObject
* obj5
= 0 ;
6324 PyObject
* obj6
= 0 ;
6325 PyObject
* obj7
= 0 ;
6326 PyObject
* obj8
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6333 arg1
= wxString_in_helper(obj0
);
6334 if (arg1
== NULL
) SWIG_fail
;
6338 arg2
= wxString_in_helper(obj1
);
6339 if (arg2
== NULL
) SWIG_fail
;
6343 arg3
= PyList_Size(obj2
);
6344 arg4
= wxString_LIST_helper(obj2
);
6345 if (arg4
== NULL
) SWIG_fail
;
6348 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6349 if (!SWIG_IsOK(res5
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6352 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6355 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6356 if (!SWIG_IsOK(ecode6
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6359 arg6
= static_cast< int >(val6
);
6362 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6363 if (!SWIG_IsOK(ecode7
)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6366 arg7
= static_cast< int >(val7
);
6369 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6370 if (!SWIG_IsOK(ecode8
)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6373 arg8
= static_cast< bool >(val8
);
6376 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6377 if (!SWIG_IsOK(ecode9
)) {
6378 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6380 arg9
= static_cast< int >(val9
);
6383 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6384 if (!SWIG_IsOK(ecode10
)) {
6385 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6387 arg10
= static_cast< int >(val10
);
6390 if (!wxPyCheckForApp()) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_From_int(static_cast< int >(result
));
6406 if (arg4
) delete [] arg4
;
6419 if (arg4
) delete [] arg4
;
6425 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
= 0;
6427 wxString
*arg1
= 0 ;
6428 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6429 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6430 int arg3
= (int) wxOK
|wxCENTRE
;
6431 wxWindow
*arg4
= (wxWindow
*) NULL
;
6432 int arg5
= (int) -1 ;
6433 int arg6
= (int) -1 ;
6435 bool temp1
= false ;
6436 bool temp2
= false ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6447 PyObject
* obj2
= 0 ;
6448 PyObject
* obj3
= 0 ;
6449 PyObject
* obj4
= 0 ;
6450 PyObject
* obj5
= 0 ;
6451 char * kwnames
[] = {
6452 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6457 arg1
= wxString_in_helper(obj0
);
6458 if (arg1
== NULL
) SWIG_fail
;
6463 arg2
= wxString_in_helper(obj1
);
6464 if (arg2
== NULL
) SWIG_fail
;
6469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6470 if (!SWIG_IsOK(ecode3
)) {
6471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6473 arg3
= static_cast< int >(val3
);
6476 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6477 if (!SWIG_IsOK(res4
)) {
6478 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6480 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6483 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6484 if (!SWIG_IsOK(ecode5
)) {
6485 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6487 arg5
= static_cast< int >(val5
);
6490 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6491 if (!SWIG_IsOK(ecode6
)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6494 arg6
= static_cast< int >(val6
);
6497 if (!wxPyCheckForApp()) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6500 wxPyEndAllowThreads(__tstate
);
6501 if (PyErr_Occurred()) SWIG_fail
;
6503 resultobj
= SWIG_From_int(static_cast< int >(result
));
6526 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6527 PyObject
*resultobj
= 0;
6530 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6532 if (!wxPyCheckForApp()) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (bool)wxColourDisplay();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6547 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6548 PyObject
*resultobj
= 0;
6551 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6553 if (!wxPyCheckForApp()) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (int)wxDisplayDepth();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_From_int(static_cast< int >(result
));
6566 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6567 PyObject
*resultobj
= 0;
6570 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6572 if (!wxPyCheckForApp()) SWIG_fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (int)wxGetDisplayDepth();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_From_int(static_cast< int >(result
));
6585 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6586 PyObject
*resultobj
= 0;
6587 int *arg1
= (int *) 0 ;
6588 int *arg2
= (int *) 0 ;
6590 int res1
= SWIG_TMPOBJ
;
6592 int res2
= SWIG_TMPOBJ
;
6596 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6598 if (!wxPyCheckForApp()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 wxDisplaySize(arg1
,arg2
);
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_Py_Void();
6605 if (SWIG_IsTmpObj(res1
)) {
6606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6608 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6609 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6611 if (SWIG_IsTmpObj(res2
)) {
6612 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6614 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6615 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6623 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6624 PyObject
*resultobj
= 0;
6627 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6629 if (!wxPyCheckForApp()) SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 result
= wxGetDisplaySize();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6642 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6643 PyObject
*resultobj
= 0;
6644 int *arg1
= (int *) 0 ;
6645 int *arg2
= (int *) 0 ;
6647 int res1
= SWIG_TMPOBJ
;
6649 int res2
= SWIG_TMPOBJ
;
6653 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6655 if (!wxPyCheckForApp()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxDisplaySizeMM(arg1
,arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 resultobj
= SWIG_Py_Void();
6662 if (SWIG_IsTmpObj(res1
)) {
6663 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6665 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6666 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6668 if (SWIG_IsTmpObj(res2
)) {
6669 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6671 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6672 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6680 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6681 PyObject
*resultobj
= 0;
6684 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6686 if (!wxPyCheckForApp()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= wxGetDisplaySizeMM();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6699 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6700 PyObject
*resultobj
= 0;
6701 int *arg1
= (int *) 0 ;
6702 int *arg2
= (int *) 0 ;
6703 int *arg3
= (int *) 0 ;
6704 int *arg4
= (int *) 0 ;
6706 int res1
= SWIG_TMPOBJ
;
6708 int res2
= SWIG_TMPOBJ
;
6710 int res3
= SWIG_TMPOBJ
;
6712 int res4
= SWIG_TMPOBJ
;
6718 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6720 if (!wxPyCheckForApp()) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_Py_Void();
6727 if (SWIG_IsTmpObj(res1
)) {
6728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6730 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6733 if (SWIG_IsTmpObj(res2
)) {
6734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6736 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6739 if (SWIG_IsTmpObj(res3
)) {
6740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6742 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6745 if (SWIG_IsTmpObj(res4
)) {
6746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6748 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6757 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6758 PyObject
*resultobj
= 0;
6761 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6763 if (!wxPyCheckForApp()) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= wxGetClientDisplayRect();
6766 wxPyEndAllowThreads(__tstate
);
6767 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6776 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6777 PyObject
*resultobj
= 0;
6778 wxCursor
*arg1
= 0 ;
6781 PyObject
* obj0
= 0 ;
6782 char * kwnames
[] = {
6783 (char *) "cursor", NULL
6786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6787 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6788 if (!SWIG_IsOK(res1
)) {
6789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6794 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6796 if (!wxPyCheckForApp()) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_Py_Void();
6809 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6810 PyObject
*resultobj
= 0;
6813 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6815 if (!wxPyCheckForApp()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (void *)wxGetXDisplay();
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6828 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
= 0;
6830 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6833 PyObject
* obj0
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "cursor", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6844 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 wxBeginBusyCursor(arg1
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_Py_Void();
6860 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6861 PyObject
*resultobj
= 0;
6864 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
6866 if (!wxPyCheckForApp()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= wxGetMousePosition();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6879 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6880 PyObject
*resultobj
= 0;
6881 wxWindow
*result
= 0 ;
6883 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
6885 if (!wxPyCheckForApp()) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 result
= (wxWindow
*)FindWindowAtPointer();
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6892 resultobj
= wxPyMake_wxObject(result
, 0);
6900 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6901 PyObject
*resultobj
= 0;
6902 wxWindow
*result
= 0 ;
6904 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
6906 if (!wxPyCheckForApp()) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (wxWindow
*)wxGetActiveWindow();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= wxPyMake_wxObject(result
, 0);
6921 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6924 wxWindow
*result
= 0 ;
6926 PyObject
* obj0
= 0 ;
6927 char * kwnames
[] = {
6931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6934 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6937 if (!wxPyCheckForApp()) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
6940 wxPyEndAllowThreads(__tstate
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= wxPyMake_wxObject(result
, 0);
6952 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6953 PyObject
*resultobj
= 0;
6955 wxWindow
*result
= 0 ;
6957 PyObject
* obj0
= 0 ;
6958 char * kwnames
[] = {
6962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
6965 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6968 if (!wxPyCheckForApp()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= wxPyMake_wxObject(result
, 0);
6983 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
= 0;
6985 wxWindow
*arg1
= (wxWindow
*) 0 ;
6986 wxWindow
*result
= 0 ;
6989 PyObject
* obj0
= 0 ;
6990 char * kwnames
[] = {
6991 (char *) "win", NULL
6994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
6995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6996 if (!SWIG_IsOK(res1
)) {
6997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
6999 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7001 if (!wxPyCheckForApp()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= wxPyMake_wxObject(result
, 0);
7016 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
= 0;
7018 wxString
*arg1
= 0 ;
7020 bool temp1
= false ;
7021 PyObject
* obj0
= 0 ;
7022 char * kwnames
[] = {
7023 (char *) "url", NULL
7026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7028 arg1
= wxString_in_helper(obj0
);
7029 if (arg1
== NULL
) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7055 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
= 0;
7061 PyObject
* obj0
= 0 ;
7062 char * kwnames
[] = {
7063 (char *) "key", NULL
7066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7068 if (!SWIG_IsOK(ecode1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7071 arg1
= static_cast< wxKeyCode
>(val1
);
7073 if (!wxPyCheckForApp()) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (bool)wxGetKeyState(arg1
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7088 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7089 PyObject
*resultobj
= 0;
7090 wxMouseState
*result
= 0 ;
7092 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (wxMouseState
*)new wxMouseState();
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7106 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7107 PyObject
*resultobj
= 0;
7108 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7119 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= SWIG_Py_Void();
7134 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7135 PyObject
*resultobj
= 0;
7136 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7140 PyObject
*swig_obj
[1] ;
7142 if (!args
) SWIG_fail
;
7144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7145 if (!SWIG_IsOK(res1
)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7148 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (int)(arg1
)->GetX();
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 resultobj
= SWIG_From_int(static_cast< int >(result
));
7162 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7163 PyObject
*resultobj
= 0;
7164 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7168 PyObject
*swig_obj
[1] ;
7170 if (!args
) SWIG_fail
;
7172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7173 if (!SWIG_IsOK(res1
)) {
7174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7176 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (int)(arg1
)->GetY();
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_From_int(static_cast< int >(result
));
7190 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7191 PyObject
*resultobj
= 0;
7192 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7196 PyObject
*swig_obj
[1] ;
7198 if (!args
) SWIG_fail
;
7200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7201 if (!SWIG_IsOK(res1
)) {
7202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7204 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (bool)(arg1
)->LeftDown();
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7220 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7221 PyObject
*resultobj
= 0;
7222 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7226 PyObject
*swig_obj
[1] ;
7228 if (!args
) SWIG_fail
;
7230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7231 if (!SWIG_IsOK(res1
)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7234 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (bool)(arg1
)->MiddleDown();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7250 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7251 PyObject
*resultobj
= 0;
7252 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7256 PyObject
*swig_obj
[1] ;
7258 if (!args
) SWIG_fail
;
7260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7261 if (!SWIG_IsOK(res1
)) {
7262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7264 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 result
= (bool)(arg1
)->RightDown();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7280 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7281 PyObject
*resultobj
= 0;
7282 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7286 PyObject
*swig_obj
[1] ;
7288 if (!args
) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7294 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (bool)(arg1
)->ControlDown();
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7310 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7324 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (bool)(arg1
)->ShiftDown();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7340 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7341 PyObject
*resultobj
= 0;
7342 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7346 PyObject
*swig_obj
[1] ;
7348 if (!args
) SWIG_fail
;
7350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7351 if (!SWIG_IsOK(res1
)) {
7352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7354 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= (bool)(arg1
)->AltDown();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7370 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 PyObject
*resultobj
= 0;
7372 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7376 PyObject
*swig_obj
[1] ;
7378 if (!args
) SWIG_fail
;
7380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7381 if (!SWIG_IsOK(res1
)) {
7382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7384 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (bool)(arg1
)->MetaDown();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7400 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7401 PyObject
*resultobj
= 0;
7402 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7406 PyObject
*swig_obj
[1] ;
7408 if (!args
) SWIG_fail
;
7410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7411 if (!SWIG_IsOK(res1
)) {
7412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7414 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 result
= (bool)(arg1
)->CmdDown();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7430 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
= 0;
7432 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7438 PyObject
* obj0
= 0 ;
7439 PyObject
* obj1
= 0 ;
7440 char * kwnames
[] = {
7441 (char *) "self",(char *) "x", NULL
7444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7446 if (!SWIG_IsOK(res1
)) {
7447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7449 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7451 if (!SWIG_IsOK(ecode2
)) {
7452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7454 arg2
= static_cast< int >(val2
);
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_Py_Void();
7468 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
= 0;
7470 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 char * kwnames
[] = {
7479 (char *) "self",(char *) "y", NULL
7482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7484 if (!SWIG_IsOK(res1
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7487 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7489 if (!SWIG_IsOK(ecode2
)) {
7490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7492 arg2
= static_cast< int >(val2
);
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= SWIG_Py_Void();
7506 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
= 0;
7508 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7516 char * kwnames
[] = {
7517 (char *) "self",(char *) "down", NULL
7520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7522 if (!SWIG_IsOK(res1
)) {
7523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7525 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7527 if (!SWIG_IsOK(ecode2
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7530 arg2
= static_cast< bool >(val2
);
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 (arg1
)->SetLeftDown(arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 resultobj
= SWIG_Py_Void();
7544 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7545 PyObject
*resultobj
= 0;
7546 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7553 PyObject
* obj1
= 0 ;
7554 char * kwnames
[] = {
7555 (char *) "self",(char *) "down", NULL
7558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7560 if (!SWIG_IsOK(res1
)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7563 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7564 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7565 if (!SWIG_IsOK(ecode2
)) {
7566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7568 arg2
= static_cast< bool >(val2
);
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 (arg1
)->SetMiddleDown(arg2
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_Py_Void();
7582 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= 0;
7584 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "down", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7601 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7603 if (!SWIG_IsOK(ecode2
)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7606 arg2
= static_cast< bool >(val2
);
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 (arg1
)->SetRightDown(arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_Py_Void();
7620 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
= 0;
7622 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7630 char * kwnames
[] = {
7631 (char *) "self",(char *) "down", NULL
7634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7636 if (!SWIG_IsOK(res1
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7639 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7640 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7641 if (!SWIG_IsOK(ecode2
)) {
7642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7644 arg2
= static_cast< bool >(val2
);
7646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 (arg1
)->SetControlDown(arg2
);
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_Py_Void();
7658 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
= 0;
7660 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7668 char * kwnames
[] = {
7669 (char *) "self",(char *) "down", NULL
7672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7674 if (!SWIG_IsOK(res1
)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7677 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7678 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7679 if (!SWIG_IsOK(ecode2
)) {
7680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7682 arg2
= static_cast< bool >(val2
);
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 (arg1
)->SetShiftDown(arg2
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_Py_Void();
7696 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 char * kwnames
[] = {
7707 (char *) "self",(char *) "down", NULL
7710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7712 if (!SWIG_IsOK(res1
)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7715 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7716 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7717 if (!SWIG_IsOK(ecode2
)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7720 arg2
= static_cast< bool >(val2
);
7722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 (arg1
)->SetAltDown(arg2
);
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_Py_Void();
7734 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7744 char * kwnames
[] = {
7745 (char *) "self",(char *) "down", NULL
7748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7750 if (!SWIG_IsOK(res1
)) {
7751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7753 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7754 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7755 if (!SWIG_IsOK(ecode2
)) {
7756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7758 arg2
= static_cast< bool >(val2
);
7760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7761 (arg1
)->SetMetaDown(arg2
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_Py_Void();
7772 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7775 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7776 return SWIG_Py_Void();
7779 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7780 return SWIG_Python_InitShadowInstance(args
);
7783 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7784 PyObject
*resultobj
= 0;
7785 wxMouseState result
;
7787 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7790 result
= wxGetMouseState();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7801 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7804 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7806 if (!wxPyCheckForApp()) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxWakeUpMainThread();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_Py_Void();
7819 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7820 PyObject
*resultobj
= 0;
7822 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7824 if (!wxPyCheckForApp()) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_Py_Void();
7837 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7838 PyObject
*resultobj
= 0;
7840 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7842 if (!wxPyCheckForApp()) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= SWIG_Py_Void();
7855 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 PyObject
*resultobj
= 0;
7857 wxMutexGuiLocker
*result
= 0 ;
7859 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
7861 if (!wxPyCheckForApp()) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
7874 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7875 PyObject
*resultobj
= 0;
7876 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
7879 PyObject
*swig_obj
[1] ;
7881 if (!args
) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
7887 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_Py_Void();
7902 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7905 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
7906 return SWIG_Py_Void();
7909 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7910 return SWIG_Python_InitShadowInstance(args
);
7913 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7914 PyObject
*resultobj
= 0;
7917 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)wxThread_IsMain();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7933 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
= 0;
7935 wxString
*arg1
= 0 ;
7936 wxToolTip
*result
= 0 ;
7937 bool temp1
= false ;
7938 PyObject
* obj0
= 0 ;
7939 char * kwnames
[] = {
7940 (char *) "tip", NULL
7943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
7945 arg1
= wxString_in_helper(obj0
);
7946 if (arg1
== NULL
) SWIG_fail
;
7950 if (!wxPyCheckForApp()) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
7971 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
7984 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_Py_Void();
7999 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
= 0;
8001 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8002 wxString
*arg2
= 0 ;
8005 bool temp2
= false ;
8006 PyObject
* obj0
= 0 ;
8007 PyObject
* obj1
= 0 ;
8008 char * kwnames
[] = {
8009 (char *) "self",(char *) "tip", NULL
8012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8017 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8019 arg2
= wxString_in_helper(obj1
);
8020 if (arg2
== NULL
) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 (arg1
)->SetTip((wxString
const &)*arg2
);
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8044 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8045 PyObject
*resultobj
= 0;
8046 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8050 PyObject
*swig_obj
[1] ;
8052 if (!args
) SWIG_fail
;
8054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8055 if (!SWIG_IsOK(res1
)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8058 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (arg1
)->GetTip();
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8078 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8079 PyObject
*resultobj
= 0;
8080 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8081 wxWindow
*result
= 0 ;
8084 PyObject
*swig_obj
[1] ;
8086 if (!args
) SWIG_fail
;
8088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8089 if (!SWIG_IsOK(res1
)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8092 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (wxWindow
*)(arg1
)->GetWindow();
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= wxPyMake_wxObject(result
, 0);
8108 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
= 0;
8113 PyObject
* obj0
= 0 ;
8114 char * kwnames
[] = {
8115 (char *) "flag", NULL
8118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8119 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8120 if (!SWIG_IsOK(ecode1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8123 arg1
= static_cast< bool >(val1
);
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxToolTip::Enable(arg1
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= SWIG_Py_Void();
8137 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
= 0;
8142 PyObject
* obj0
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "milliseconds", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8148 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8149 if (!SWIG_IsOK(ecode1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8152 arg1
= static_cast< long >(val1
);
8154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8155 wxToolTip::SetDelay(arg1
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= SWIG_Py_Void();
8166 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8169 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8170 return SWIG_Py_Void();
8173 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 return SWIG_Python_InitShadowInstance(args
);
8177 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
= 0;
8179 wxWindow
*arg1
= (wxWindow
*) 0 ;
8181 wxCaret
*result
= 0 ;
8185 PyObject
* obj0
= 0 ;
8186 PyObject
* obj1
= 0 ;
8187 char * kwnames
[] = {
8188 (char *) "window",(char *) "size", NULL
8191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8193 if (!SWIG_IsOK(res1
)) {
8194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8202 if (!wxPyCheckForApp()) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8215 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 PyObject
*resultobj
= 0;
8217 wxCaret
*arg1
= (wxCaret
*) 0 ;
8220 PyObject
*swig_obj
[1] ;
8222 if (!args
) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8228 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_Py_Void();
8243 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8244 PyObject
*resultobj
= 0;
8245 wxCaret
*arg1
= (wxCaret
*) 0 ;
8248 PyObject
*swig_obj
[1] ;
8250 if (!args
) SWIG_fail
;
8252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8253 if (!SWIG_IsOK(res1
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8256 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 wxCaret_Destroy(arg1
);
8260 wxPyEndAllowThreads(__tstate
);
8261 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= SWIG_Py_Void();
8270 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8271 PyObject
*resultobj
= 0;
8272 wxCaret
*arg1
= (wxCaret
*) 0 ;
8276 PyObject
*swig_obj
[1] ;
8278 if (!args
) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8284 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)(arg1
)->IsOk();
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8300 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8301 PyObject
*resultobj
= 0;
8302 wxCaret
*arg1
= (wxCaret
*) 0 ;
8306 PyObject
*swig_obj
[1] ;
8308 if (!args
) SWIG_fail
;
8310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8311 if (!SWIG_IsOK(res1
)) {
8312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8314 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->IsVisible();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8330 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8331 PyObject
*resultobj
= 0;
8332 wxCaret
*arg1
= (wxCaret
*) 0 ;
8336 PyObject
*swig_obj
[1] ;
8338 if (!args
) SWIG_fail
;
8340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8341 if (!SWIG_IsOK(res1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8344 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 result
= (arg1
)->GetPosition();
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8358 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 PyObject
*resultobj
= 0;
8360 wxCaret
*arg1
= (wxCaret
*) 0 ;
8361 int *arg2
= (int *) 0 ;
8362 int *arg3
= (int *) 0 ;
8366 int res2
= SWIG_TMPOBJ
;
8368 int res3
= SWIG_TMPOBJ
;
8369 PyObject
*swig_obj
[1] ;
8373 if (!args
) SWIG_fail
;
8375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8376 if (!SWIG_IsOK(res1
)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8379 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 (arg1
)->GetPosition(arg2
,arg3
);
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= SWIG_Py_Void();
8387 if (SWIG_IsTmpObj(res2
)) {
8388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8390 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8393 if (SWIG_IsTmpObj(res3
)) {
8394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8396 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8405 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8406 PyObject
*resultobj
= 0;
8407 wxCaret
*arg1
= (wxCaret
*) 0 ;
8411 PyObject
*swig_obj
[1] ;
8413 if (!args
) SWIG_fail
;
8415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8416 if (!SWIG_IsOK(res1
)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8419 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (arg1
)->GetSize();
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8433 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8434 PyObject
*resultobj
= 0;
8435 wxCaret
*arg1
= (wxCaret
*) 0 ;
8436 int *arg2
= (int *) 0 ;
8437 int *arg3
= (int *) 0 ;
8441 int res2
= SWIG_TMPOBJ
;
8443 int res3
= SWIG_TMPOBJ
;
8444 PyObject
*swig_obj
[1] ;
8448 if (!args
) SWIG_fail
;
8450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8451 if (!SWIG_IsOK(res1
)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8454 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8457 (arg1
)->GetSize(arg2
,arg3
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 resultobj
= SWIG_Py_Void();
8462 if (SWIG_IsTmpObj(res2
)) {
8463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8465 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8468 if (SWIG_IsTmpObj(res3
)) {
8469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8471 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8480 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8481 PyObject
*resultobj
= 0;
8482 wxCaret
*arg1
= (wxCaret
*) 0 ;
8483 wxWindow
*result
= 0 ;
8486 PyObject
*swig_obj
[1] ;
8488 if (!args
) SWIG_fail
;
8490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8491 if (!SWIG_IsOK(res1
)) {
8492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8494 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (wxWindow
*)(arg1
)->GetWindow();
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= wxPyMake_wxObject(result
, 0);
8510 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
*resultobj
= 0;
8512 wxCaret
*arg1
= (wxCaret
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8523 PyObject
* obj2
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "self",(char *) "x",(char *) "y", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8530 if (!SWIG_IsOK(res1
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8533 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8535 if (!SWIG_IsOK(ecode2
)) {
8536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8538 arg2
= static_cast< int >(val2
);
8539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8540 if (!SWIG_IsOK(ecode3
)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8543 arg3
= static_cast< int >(val3
);
8545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 (arg1
)->Move(arg2
,arg3
);
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_Py_Void();
8557 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
= 0;
8559 wxCaret
*arg1
= (wxCaret
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8565 PyObject
* obj1
= 0 ;
8566 char * kwnames
[] = {
8567 (char *) "self",(char *) "pt", NULL
8570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8575 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->Move((wxPoint
const &)*arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= SWIG_Py_Void();
8593 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
= 0;
8595 wxCaret
*arg1
= (wxCaret
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8605 PyObject
* obj1
= 0 ;
8606 PyObject
* obj2
= 0 ;
8607 char * kwnames
[] = {
8608 (char *) "self",(char *) "width",(char *) "height", NULL
8611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8613 if (!SWIG_IsOK(res1
)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8616 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8618 if (!SWIG_IsOK(ecode2
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8621 arg2
= static_cast< int >(val2
);
8622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8623 if (!SWIG_IsOK(ecode3
)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8626 arg3
= static_cast< int >(val3
);
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetSize(arg2
,arg3
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_Py_Void();
8640 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
= 0;
8642 wxCaret
*arg1
= (wxCaret
*) 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 char * kwnames
[] = {
8650 (char *) "self",(char *) "size", NULL
8653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8658 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8661 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 (arg1
)->SetSize((wxSize
const &)*arg2
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= 0;
8678 wxCaret
*arg1
= (wxCaret
*) 0 ;
8679 int arg2
= (int) true ;
8684 PyObject
* obj0
= 0 ;
8685 PyObject
* obj1
= 0 ;
8686 char * kwnames
[] = {
8687 (char *) "self",(char *) "show", NULL
8690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8692 if (!SWIG_IsOK(res1
)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8695 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8698 if (!SWIG_IsOK(ecode2
)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8701 arg2
= static_cast< int >(val2
);
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_Py_Void();
8716 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8717 PyObject
*resultobj
= 0;
8718 wxCaret
*arg1
= (wxCaret
*) 0 ;
8721 PyObject
*swig_obj
[1] ;
8723 if (!args
) SWIG_fail
;
8725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8726 if (!SWIG_IsOK(res1
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8729 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_Py_Void();
8743 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8744 PyObject
*resultobj
= 0;
8747 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (int)wxCaret::GetBlinkTime();
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_From_int(static_cast< int >(result
));
8761 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
= 0;
8766 PyObject
* obj0
= 0 ;
8767 char * kwnames
[] = {
8768 (char *) "milliseconds", NULL
8771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8773 if (!SWIG_IsOK(ecode1
)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8776 arg1
= static_cast< int >(val1
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxCaret::SetBlinkTime(arg1
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= SWIG_Py_Void();
8790 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8793 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8794 return SWIG_Py_Void();
8797 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8798 return SWIG_Python_InitShadowInstance(args
);
8801 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8804 wxBusyCursor
*result
= 0 ;
8807 PyObject
* obj0
= 0 ;
8808 char * kwnames
[] = {
8809 (char *) "cursor", NULL
8812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8818 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8821 if (!wxPyCheckForApp()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8834 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8835 PyObject
*resultobj
= 0;
8836 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8839 PyObject
*swig_obj
[1] ;
8841 if (!args
) SWIG_fail
;
8843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8844 if (!SWIG_IsOK(res1
)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8847 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8862 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8865 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
8866 return SWIG_Py_Void();
8869 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 return SWIG_Python_InitShadowInstance(args
);
8873 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxWindow
*arg1
= (wxWindow
*) NULL
;
8876 wxWindowDisabler
*result
= 0 ;
8879 PyObject
* obj0
= 0 ;
8880 char * kwnames
[] = {
8881 (char *) "winToSkip", NULL
8884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
8890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8893 if (!wxPyCheckForApp()) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
8906 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8907 PyObject
*resultobj
= 0;
8908 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
8911 PyObject
*swig_obj
[1] ;
8913 if (!args
) SWIG_fail
;
8915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
8916 if (!SWIG_IsOK(res1
)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
8919 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_Py_Void();
8934 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8937 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
8938 return SWIG_Py_Void();
8941 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8942 return SWIG_Python_InitShadowInstance(args
);
8945 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
= 0;
8947 wxString
*arg1
= 0 ;
8948 wxBusyInfo
*result
= 0 ;
8949 bool temp1
= false ;
8950 PyObject
* obj0
= 0 ;
8951 char * kwnames
[] = {
8952 (char *) "message", NULL
8955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
8957 arg1
= wxString_in_helper(obj0
);
8958 if (arg1
== NULL
) SWIG_fail
;
8962 if (!wxPyCheckForApp()) SWIG_fail
;
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
8983 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8985 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
8988 PyObject
*swig_obj
[1] ;
8990 if (!args
) SWIG_fail
;
8992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
8993 if (!SWIG_IsOK(res1
)) {
8994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
8996 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_Py_Void();
9011 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9013 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9014 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9015 return SWIG_Py_Void();
9018 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9019 return SWIG_Python_InitShadowInstance(args
);
9022 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9023 PyObject
*resultobj
= 0;
9024 wxStopWatch
*result
= 0 ;
9026 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (wxStopWatch
*)new wxStopWatch();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9040 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
= 0;
9042 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9043 long arg2
= (long) 0 ;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9050 char * kwnames
[] = {
9051 (char *) "self",(char *) "t0", NULL
9054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9056 if (!SWIG_IsOK(res1
)) {
9057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9059 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9061 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9062 if (!SWIG_IsOK(ecode2
)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9065 arg2
= static_cast< long >(val2
);
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 (arg1
)->Start(arg2
);
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= SWIG_Py_Void();
9080 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9081 PyObject
*resultobj
= 0;
9082 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9085 PyObject
*swig_obj
[1] ;
9087 if (!args
) SWIG_fail
;
9089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9090 if (!SWIG_IsOK(res1
)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9093 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_Py_Void();
9107 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9108 PyObject
*resultobj
= 0;
9109 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9112 PyObject
*swig_obj
[1] ;
9114 if (!args
) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9120 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= SWIG_Py_Void();
9134 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9135 PyObject
*resultobj
= 0;
9136 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9140 PyObject
*swig_obj
[1] ;
9142 if (!args
) SWIG_fail
;
9144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9145 if (!SWIG_IsOK(res1
)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9148 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_From_long(static_cast< long >(result
));
9162 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9165 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9166 return SWIG_Py_Void();
9169 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9170 return SWIG_Python_InitShadowInstance(args
);
9173 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= 0;
9175 int arg1
= (int) 9 ;
9176 int arg2
= (int) wxID_FILE1
;
9177 wxFileHistory
*result
= 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 char * kwnames
[] = {
9185 (char *) "maxFiles",(char *) "idBase", NULL
9188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9191 if (!SWIG_IsOK(ecode1
)) {
9192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9194 arg1
= static_cast< int >(val1
);
9197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9198 if (!SWIG_IsOK(ecode2
)) {
9199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9201 arg2
= static_cast< int >(val2
);
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9216 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9217 PyObject
*resultobj
= 0;
9218 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9221 PyObject
*swig_obj
[1] ;
9223 if (!args
) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9229 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_Py_Void();
9244 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
= 0;
9246 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9247 wxString
*arg2
= 0 ;
9250 bool temp2
= false ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 char * kwnames
[] = {
9254 (char *) "self",(char *) "file", NULL
9257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9259 if (!SWIG_IsOK(res1
)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9262 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9264 arg2
= wxString_in_helper(obj1
);
9265 if (arg2
== NULL
) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= SWIG_Py_Void();
9289 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
= 0;
9291 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9299 char * kwnames
[] = {
9300 (char *) "self",(char *) "i", NULL
9303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9308 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9310 if (!SWIG_IsOK(ecode2
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9313 arg2
= static_cast< int >(val2
);
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->RemoveFileFromHistory(arg2
);
9317 wxPyEndAllowThreads(__tstate
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9320 resultobj
= SWIG_Py_Void();
9327 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9328 PyObject
*resultobj
= 0;
9329 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9333 PyObject
*swig_obj
[1] ;
9335 if (!args
) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9341 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= SWIG_From_int(static_cast< int >(result
));
9355 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= 0;
9357 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9358 wxMenu
*arg2
= (wxMenu
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9365 char * kwnames
[] = {
9366 (char *) "self",(char *) "menu", NULL
9369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9371 if (!SWIG_IsOK(res1
)) {
9372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9374 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9376 if (!SWIG_IsOK(res2
)) {
9377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9379 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 (arg1
)->UseMenu(arg2
);
9383 wxPyEndAllowThreads(__tstate
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= SWIG_Py_Void();
9393 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
= 0;
9395 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9396 wxMenu
*arg2
= (wxMenu
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9403 char * kwnames
[] = {
9404 (char *) "self",(char *) "menu", NULL
9407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9412 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9413 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9414 if (!SWIG_IsOK(res2
)) {
9415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9417 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 (arg1
)->RemoveMenu(arg2
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_Py_Void();
9431 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
= 0;
9433 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9434 wxConfigBase
*arg2
= 0 ;
9439 PyObject
* obj0
= 0 ;
9440 PyObject
* obj1
= 0 ;
9441 char * kwnames
[] = {
9442 (char *) "self",(char *) "config", NULL
9445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9447 if (!SWIG_IsOK(res1
)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9450 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9451 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9452 if (!SWIG_IsOK(res2
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9458 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->Load(*arg2
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_Py_Void();
9472 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
= 0;
9474 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9475 wxConfigBase
*arg2
= 0 ;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9482 char * kwnames
[] = {
9483 (char *) "self",(char *) "config", NULL
9486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9488 if (!SWIG_IsOK(res1
)) {
9489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9491 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9493 if (!SWIG_IsOK(res2
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9499 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->Save(*arg2
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_Py_Void();
9513 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9514 PyObject
*resultobj
= 0;
9515 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9518 PyObject
*swig_obj
[1] ;
9520 if (!args
) SWIG_fail
;
9522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9523 if (!SWIG_IsOK(res1
)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9526 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9529 (arg1
)->AddFilesToMenu();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_Py_Void();
9540 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
= 0;
9542 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9543 wxMenu
*arg2
= (wxMenu
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9549 PyObject
* obj1
= 0 ;
9550 char * kwnames
[] = {
9551 (char *) "self",(char *) "menu", NULL
9554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9556 if (!SWIG_IsOK(res1
)) {
9557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9559 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9560 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9561 if (!SWIG_IsOK(res2
)) {
9562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9564 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 (arg1
)->AddFilesToMenu(arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_Py_Void();
9578 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
= 0;
9580 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 char * kwnames
[] = {
9590 (char *) "self",(char *) "i", NULL
9593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9598 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9600 if (!SWIG_IsOK(ecode2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9603 arg2
= static_cast< int >(val2
);
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9623 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9624 PyObject
*resultobj
= 0;
9625 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9629 PyObject
*swig_obj
[1] ;
9631 if (!args
) SWIG_fail
;
9633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9634 if (!SWIG_IsOK(res1
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9637 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_From_int(static_cast< int >(result
));
9651 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9654 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9655 return SWIG_Py_Void();
9658 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9659 return SWIG_Python_InitShadowInstance(args
);
9662 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
= 0;
9664 wxString
*arg1
= 0 ;
9665 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9666 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9667 wxSingleInstanceChecker
*result
= 0 ;
9668 bool temp1
= false ;
9669 bool temp2
= false ;
9670 PyObject
* obj0
= 0 ;
9671 PyObject
* obj1
= 0 ;
9672 char * kwnames
[] = {
9673 (char *) "name",(char *) "path", NULL
9676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9684 arg2
= wxString_in_helper(obj1
);
9685 if (arg2
== NULL
) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9718 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9719 PyObject
*resultobj
= 0;
9720 wxSingleInstanceChecker
*result
= 0 ;
9722 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9736 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9737 PyObject
*resultobj
= 0;
9738 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9741 PyObject
*swig_obj
[1] ;
9743 if (!args
) SWIG_fail
;
9745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9746 if (!SWIG_IsOK(res1
)) {
9747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9749 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= 0;
9766 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9767 wxString
*arg2
= 0 ;
9768 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9769 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9773 bool temp2
= false ;
9774 bool temp3
= false ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 PyObject
* obj2
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "name",(char *) "path", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9787 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9789 arg2
= wxString_in_helper(obj1
);
9790 if (arg2
== NULL
) SWIG_fail
;
9795 arg3
= wxString_in_helper(obj2
);
9796 if (arg3
== NULL
) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9831 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9832 PyObject
*resultobj
= 0;
9833 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9837 PyObject
*swig_obj
[1] ;
9839 if (!args
) SWIG_fail
;
9841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9842 if (!SWIG_IsOK(res1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9845 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9861 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9864 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
9865 return SWIG_Py_Void();
9868 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9869 return SWIG_Python_InitShadowInstance(args
);
9872 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
= 0;
9874 wxWindow
*arg1
= (wxWindow
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 char * kwnames
[] = {
9884 (char *) "window",(char *) "dc", NULL
9887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
9892 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
9894 if (!SWIG_IsOK(res2
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
9900 arg2
= reinterpret_cast< wxDC
* >(argp2
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9916 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9921 PyObject
*swig_obj
[1] ;
9923 if (!args
) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9929 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_Py_Void();
9944 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9945 PyObject
*resultobj
= 0;
9946 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9950 PyObject
*swig_obj
[1] ;
9952 if (!args
) SWIG_fail
;
9954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9955 if (!SWIG_IsOK(res1
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9958 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (arg1
)->GetTip();
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9978 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9979 PyObject
*resultobj
= 0;
9980 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
9984 PyObject
*swig_obj
[1] ;
9986 if (!args
) SWIG_fail
;
9988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
9989 if (!SWIG_IsOK(res1
)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
9992 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
9994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9995 result
= (size_t)(arg1
)->GetCurrentTip();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10006 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
= 0;
10008 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10009 wxString
*arg2
= 0 ;
10013 bool temp2
= false ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 char * kwnames
[] = {
10017 (char *) "self",(char *) "tip", NULL
10020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10022 if (!SWIG_IsOK(res1
)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10025 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10027 arg2
= wxString_in_helper(obj1
);
10028 if (arg2
== NULL
) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10034 wxPyEndAllowThreads(__tstate
);
10035 if (PyErr_Occurred()) SWIG_fail
;
10039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10058 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10061 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10062 return SWIG_Py_Void();
10065 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10066 PyObject
*resultobj
= 0;
10068 wxPyTipProvider
*result
= 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char * kwnames
[] = {
10073 (char *) "currentTip", NULL
10076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10077 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10078 if (!SWIG_IsOK(ecode1
)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10081 arg1
= static_cast< size_t >(val1
);
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10095 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= 0;
10097 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10098 PyObject
*arg2
= (PyObject
*) 0 ;
10099 PyObject
*arg3
= (PyObject
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 PyObject
* obj2
= 0 ;
10105 char * kwnames
[] = {
10106 (char *) "self",(char *) "self",(char *) "_class", NULL
10109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10111 if (!SWIG_IsOK(res1
)) {
10112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10114 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_Py_Void();
10130 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10133 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10134 return SWIG_Py_Void();
10137 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10138 return SWIG_Python_InitShadowInstance(args
);
10141 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= 0;
10143 wxWindow
*arg1
= (wxWindow
*) 0 ;
10144 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10145 bool arg3
= (bool) true ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 PyObject
* obj2
= 0 ;
10156 char * kwnames
[] = {
10157 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10162 if (!SWIG_IsOK(res1
)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10165 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10167 if (!SWIG_IsOK(res2
)) {
10168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10170 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10173 if (!SWIG_IsOK(ecode3
)) {
10174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10176 arg3
= static_cast< bool >(val3
);
10179 if (!wxPyCheckForApp()) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10194 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
= 0;
10196 wxString
*arg1
= 0 ;
10198 wxTipProvider
*result
= 0 ;
10199 bool temp1
= false ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char * kwnames
[] = {
10205 (char *) "filename",(char *) "currentTip", NULL
10208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10210 arg1
= wxString_in_helper(obj0
);
10211 if (arg1
== NULL
) SWIG_fail
;
10214 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10215 if (!SWIG_IsOK(ecode2
)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10218 arg2
= static_cast< size_t >(val2
);
10220 if (!wxPyCheckForApp()) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10241 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10244 int arg2
= (int) wxID_ANY
;
10245 wxPyTimer
*result
= 0 ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 char * kwnames
[] = {
10253 (char *) "owner",(char *) "id", NULL
10256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10259 if (!SWIG_IsOK(res1
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10262 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10266 if (!SWIG_IsOK(ecode2
)) {
10267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10269 arg2
= static_cast< int >(val2
);
10272 if (!wxPyCheckForApp()) SWIG_fail
;
10273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10274 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10285 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10286 PyObject
*resultobj
= 0;
10287 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10290 PyObject
*swig_obj
[1] ;
10292 if (!args
) SWIG_fail
;
10293 swig_obj
[0] = args
;
10294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10298 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_Py_Void();
10313 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
= 0;
10315 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10316 PyObject
*arg2
= (PyObject
*) 0 ;
10317 PyObject
*arg3
= (PyObject
*) 0 ;
10318 int arg4
= (int) 1 ;
10323 PyObject
* obj0
= 0 ;
10324 PyObject
* obj1
= 0 ;
10325 PyObject
* obj2
= 0 ;
10326 PyObject
* obj3
= 0 ;
10327 char * kwnames
[] = {
10328 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10333 if (!SWIG_IsOK(res1
)) {
10334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10336 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10341 if (!SWIG_IsOK(ecode4
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10344 arg4
= static_cast< int >(val4
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_Py_Void();
10359 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10362 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10363 int arg3
= (int) wxID_ANY
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 PyObject
* obj2
= 0 ;
10373 char * kwnames
[] = {
10374 (char *) "self",(char *) "owner",(char *) "id", NULL
10377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10379 if (!SWIG_IsOK(res1
)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10382 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10383 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10384 if (!SWIG_IsOK(res2
)) {
10385 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10387 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10390 if (!SWIG_IsOK(ecode3
)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10393 arg3
= static_cast< int >(val3
);
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 (arg1
)->SetOwner(arg2
,arg3
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_Py_Void();
10408 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10409 PyObject
*resultobj
= 0;
10410 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10411 wxEvtHandler
*result
= 0 ;
10414 PyObject
*swig_obj
[1] ;
10416 if (!args
) SWIG_fail
;
10417 swig_obj
[0] = args
;
10418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10419 if (!SWIG_IsOK(res1
)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10422 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= wxPyMake_wxObject(result
, 0);
10438 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
= 0;
10440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10441 int arg2
= (int) -1 ;
10442 bool arg3
= (bool) false ;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 PyObject
* obj2
= 0 ;
10453 char * kwnames
[] = {
10454 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10459 if (!SWIG_IsOK(res1
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10462 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10465 if (!SWIG_IsOK(ecode2
)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10468 arg2
= static_cast< int >(val2
);
10471 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10472 if (!SWIG_IsOK(ecode3
)) {
10473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10475 arg3
= static_cast< bool >(val3
);
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10492 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10493 PyObject
*resultobj
= 0;
10494 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10497 PyObject
*swig_obj
[1] ;
10499 if (!args
) SWIG_fail
;
10500 swig_obj
[0] = args
;
10501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10502 if (!SWIG_IsOK(res1
)) {
10503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10505 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10532 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10552 PyObject
*swig_obj
[1] ;
10554 if (!args
) SWIG_fail
;
10555 swig_obj
[0] = args
;
10556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10560 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10576 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10577 PyObject
*resultobj
= 0;
10578 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10582 PyObject
*swig_obj
[1] ;
10584 if (!args
) SWIG_fail
;
10585 swig_obj
[0] = args
;
10586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10587 if (!SWIG_IsOK(res1
)) {
10588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10590 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_From_int(static_cast< int >(result
));
10604 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10605 PyObject
*resultobj
= 0;
10606 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10610 PyObject
*swig_obj
[1] ;
10612 if (!args
) SWIG_fail
;
10613 swig_obj
[0] = args
;
10614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10618 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10621 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= SWIG_From_int(static_cast< int >(result
));
10632 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10633 PyObject
*resultobj
= 0;
10634 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10638 PyObject
*swig_obj
[1] ;
10640 if (!args
) SWIG_fail
;
10641 swig_obj
[0] = args
;
10642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10643 if (!SWIG_IsOK(res1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10646 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10662 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10665 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10666 return SWIG_Py_Void();
10669 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10670 return SWIG_Python_InitShadowInstance(args
);
10673 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
= 0;
10675 int arg1
= (int) 0 ;
10676 int arg2
= (int) 0 ;
10677 wxTimerEvent
*result
= 0 ;
10682 PyObject
* obj0
= 0 ;
10683 PyObject
* obj1
= 0 ;
10684 char * kwnames
[] = {
10685 (char *) "timerid",(char *) "interval", NULL
10688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10690 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10691 if (!SWIG_IsOK(ecode1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10694 arg1
= static_cast< int >(val1
);
10697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10698 if (!SWIG_IsOK(ecode2
)) {
10699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10701 arg2
= static_cast< int >(val2
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10716 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10717 PyObject
*resultobj
= 0;
10718 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10722 PyObject
*swig_obj
[1] ;
10724 if (!args
) SWIG_fail
;
10725 swig_obj
[0] = args
;
10726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10727 if (!SWIG_IsOK(res1
)) {
10728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10730 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_From_int(static_cast< int >(result
));
10744 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10747 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10748 return SWIG_Py_Void();
10751 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10752 return SWIG_Python_InitShadowInstance(args
);
10755 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10756 PyObject
*resultobj
= 0;
10757 wxTimer
*arg1
= 0 ;
10758 wxTimerRunner
*result
= 0 ;
10762 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10764 if (!SWIG_IsOK(res1
)) {
10765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10770 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10772 if (!wxPyCheckForApp()) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10785 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10786 PyObject
*resultobj
= 0;
10787 wxTimer
*arg1
= 0 ;
10789 bool arg3
= (bool) false ;
10790 wxTimerRunner
*result
= 0 ;
10798 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10806 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10807 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10808 if (!SWIG_IsOK(ecode2
)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10811 arg2
= static_cast< int >(val2
);
10813 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10814 if (!SWIG_IsOK(ecode3
)) {
10815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10817 arg3
= static_cast< bool >(val3
);
10820 if (!wxPyCheckForApp()) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10833 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10840 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10842 if ((argc
>= 2) && (argc
<= 3)) {
10843 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10847 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
10852 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10853 PyObject
*resultobj
= 0;
10854 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10857 PyObject
*swig_obj
[1] ;
10859 if (!args
) SWIG_fail
;
10860 swig_obj
[0] = args
;
10861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10865 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_Py_Void();
10880 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
= 0;
10882 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
10884 bool arg3
= (bool) false ;
10891 PyObject
* obj0
= 0 ;
10892 PyObject
* obj1
= 0 ;
10893 PyObject
* obj2
= 0 ;
10894 char * kwnames
[] = {
10895 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
10898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
10900 if (!SWIG_IsOK(res1
)) {
10901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
10903 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
10904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10905 if (!SWIG_IsOK(ecode2
)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
10908 arg2
= static_cast< int >(val2
);
10910 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10911 if (!SWIG_IsOK(ecode3
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
10914 arg3
= static_cast< bool >(val3
);
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->Start(arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_Py_Void();
10929 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10931 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10932 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
10933 return SWIG_Py_Void();
10936 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10937 return SWIG_Python_InitShadowInstance(args
);
10940 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 PyObject
*resultobj
= 0;
10942 wxLog
*result
= 0 ;
10944 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (wxLog
*)new wxLog();
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
10958 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10959 PyObject
*resultobj
= 0;
10960 wxLog
*arg1
= (wxLog
*) 0 ;
10963 PyObject
*swig_obj
[1] ;
10965 if (!args
) SWIG_fail
;
10966 swig_obj
[0] = args
;
10967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
10971 arg1
= reinterpret_cast< wxLog
* >(argp1
);
10973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_Py_Void();
10986 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10987 PyObject
*resultobj
= 0;
10990 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (bool)wxLog::IsEnabled();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11006 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
= 0;
11008 bool arg1
= (bool) true ;
11012 PyObject
* obj0
= 0 ;
11013 char * kwnames
[] = {
11014 (char *) "doIt", NULL
11017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11019 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11020 if (!SWIG_IsOK(ecode1
)) {
11021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11023 arg1
= static_cast< bool >(val1
);
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (bool)wxLog::EnableLogging(arg1
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
= 0;
11043 wxChar
*arg2
= (wxChar
*) 0 ;
11045 unsigned long val1
;
11049 unsigned int val3
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 PyObject
* obj2
= 0 ;
11054 char * kwnames
[] = {
11055 (char *) "level",(char *) "szString",(char *) "t", NULL
11058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11059 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11060 if (!SWIG_IsOK(ecode1
)) {
11061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11063 arg1
= static_cast< wxLogLevel
>(val1
);
11064 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11065 if (!SWIG_IsOK(res2
)) {
11066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11068 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11069 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11070 if (!SWIG_IsOK(ecode3
)) {
11071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11073 arg3
= static_cast< time_t >(val3
);
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= SWIG_Py_Void();
11087 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11088 PyObject
*resultobj
= 0;
11089 wxLog
*arg1
= (wxLog
*) 0 ;
11092 PyObject
*swig_obj
[1] ;
11094 if (!args
) SWIG_fail
;
11095 swig_obj
[0] = args
;
11096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11100 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_Py_Void();
11114 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11115 PyObject
*resultobj
= 0;
11117 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 wxLog::FlushActive();
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_Py_Void();
11131 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11132 PyObject
*resultobj
= 0;
11133 wxLog
*result
= 0 ;
11135 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11138 result
= (wxLog
*)wxLog::GetActiveTarget();
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11149 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
= 0;
11151 wxLog
*arg1
= (wxLog
*) 0 ;
11152 wxLog
*result
= 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char * kwnames
[] = {
11156 (char *) "pLogger", NULL
11159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11160 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11161 if (!SWIG_IsOK(res1
)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11167 wxPyEndAllowThreads(__tstate
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11177 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11178 PyObject
*resultobj
= 0;
11180 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_Py_Void();
11194 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11195 PyObject
*resultobj
= 0;
11197 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_Py_Void();
11211 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 bool arg1
= (bool) true ;
11216 PyObject
* obj0
= 0 ;
11217 char * kwnames
[] = {
11218 (char *) "bVerbose", NULL
11221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11223 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11224 if (!SWIG_IsOK(ecode1
)) {
11225 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11227 arg1
= static_cast< bool >(val1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 wxLog::SetVerbose(arg1
);
11232 wxPyEndAllowThreads(__tstate
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= SWIG_Py_Void();
11242 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
*resultobj
= 0;
11245 unsigned long val1
;
11247 PyObject
* obj0
= 0 ;
11248 char * kwnames
[] = {
11249 (char *) "logLevel", NULL
11252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11253 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11254 if (!SWIG_IsOK(ecode1
)) {
11255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11257 arg1
= static_cast< wxLogLevel
>(val1
);
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 wxLog::SetLogLevel(arg1
);
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= SWIG_Py_Void();
11271 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11272 PyObject
*resultobj
= 0;
11274 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 wxLog::DontCreateOnDemand();
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_Py_Void();
11288 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
= 0;
11291 unsigned long val1
;
11293 PyObject
* obj0
= 0 ;
11294 char * kwnames
[] = {
11295 (char *) "ulMask", NULL
11298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11299 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11300 if (!SWIG_IsOK(ecode1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11303 arg1
= static_cast< wxTraceMask
>(val1
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 wxLog::SetTraceMask(arg1
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_Py_Void();
11317 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
= 0;
11319 wxString
*arg1
= 0 ;
11320 bool temp1
= false ;
11321 PyObject
* obj0
= 0 ;
11322 char * kwnames
[] = {
11323 (char *) "str", NULL
11326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11328 arg1
= wxString_in_helper(obj0
);
11329 if (arg1
== NULL
) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 wxLog::AddTraceMask((wxString
const &)*arg1
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= SWIG_Py_Void();
11353 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
= 0;
11355 wxString
*arg1
= 0 ;
11356 bool temp1
= false ;
11357 PyObject
* obj0
= 0 ;
11358 char * kwnames
[] = {
11359 (char *) "str", NULL
11362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11364 arg1
= wxString_in_helper(obj0
);
11365 if (arg1
== NULL
) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_Py_Void();
11389 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11390 PyObject
*resultobj
= 0;
11392 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 wxLog::ClearTraceMasks();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_Py_Void();
11406 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxArrayString
*result
= 0 ;
11410 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11415 result
= (wxArrayString
*) &_result_ref
;
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= wxArrayString2PyList_helper(*result
);
11429 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11430 PyObject
*resultobj
= 0;
11431 wxChar
*arg1
= (wxChar
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char * kwnames
[] = {
11436 (char *) "ts", NULL
11439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11444 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 wxLog::SetTimestamp((wxChar
const *)arg1
);
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_Py_Void();
11458 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11459 PyObject
*resultobj
= 0;
11462 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (bool)wxLog::GetVerbose();
11466 wxPyEndAllowThreads(__tstate
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11478 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11479 PyObject
*resultobj
= 0;
11480 wxTraceMask result
;
11482 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (wxTraceMask
)wxLog::GetTraceMask();
11486 wxPyEndAllowThreads(__tstate
);
11487 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11496 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
= 0;
11498 wxChar
*arg1
= (wxChar
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "mask", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11512 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11528 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11529 PyObject
*resultobj
= 0;
11532 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxLogLevel
)wxLog::GetLogLevel();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11546 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11547 PyObject
*resultobj
= 0;
11548 wxChar
*result
= 0 ;
11550 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (wxChar
*)wxLog::GetTimestamp();
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11564 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11565 PyObject
*resultobj
= 0;
11568 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= wxLog_TimeStamp();
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11588 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11589 PyObject
*resultobj
= 0;
11590 wxLog
*arg1
= (wxLog
*) 0 ;
11593 PyObject
*swig_obj
[1] ;
11595 if (!args
) SWIG_fail
;
11596 swig_obj
[0] = args
;
11597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11598 if (!SWIG_IsOK(res1
)) {
11599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11601 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 wxLog_Destroy(arg1
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_Py_Void();
11615 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11617 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11618 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11619 return SWIG_Py_Void();
11622 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11623 return SWIG_Python_InitShadowInstance(args
);
11626 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 PyObject
*resultobj
= 0;
11628 wxLogStderr
*result
= 0 ;
11630 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (wxLogStderr
*)new wxLogStderr();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11644 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11646 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11647 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11648 return SWIG_Py_Void();
11651 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11652 return SWIG_Python_InitShadowInstance(args
);
11655 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
= 0;
11657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11658 wxLogTextCtrl
*result
= 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char * kwnames
[] = {
11663 (char *) "pTextCtrl", NULL
11666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11668 if (!SWIG_IsOK(res1
)) {
11669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11671 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11685 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11688 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11689 return SWIG_Py_Void();
11692 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 return SWIG_Python_InitShadowInstance(args
);
11696 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11697 PyObject
*resultobj
= 0;
11698 wxLogGui
*result
= 0 ;
11700 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (wxLogGui
*)new wxLogGui();
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11714 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11717 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11718 return SWIG_Py_Void();
11721 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 return SWIG_Python_InitShadowInstance(args
);
11725 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
= 0;
11727 wxFrame
*arg1
= (wxFrame
*) 0 ;
11728 wxString
*arg2
= 0 ;
11729 bool arg3
= (bool) true ;
11730 bool arg4
= (bool) true ;
11731 wxLogWindow
*result
= 0 ;
11734 bool temp2
= false ;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 PyObject
* obj3
= 0 ;
11743 char * kwnames
[] = {
11744 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11749 if (!SWIG_IsOK(res1
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11752 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11754 arg2
= wxString_in_helper(obj1
);
11755 if (arg2
== NULL
) SWIG_fail
;
11759 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11760 if (!SWIG_IsOK(ecode3
)) {
11761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11763 arg3
= static_cast< bool >(val3
);
11766 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11767 if (!SWIG_IsOK(ecode4
)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11770 arg4
= static_cast< bool >(val4
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11793 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
= 0;
11795 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11796 bool arg2
= (bool) true ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char * kwnames
[] = {
11804 (char *) "self",(char *) "bShow", NULL
11807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11809 if (!SWIG_IsOK(res1
)) {
11810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11812 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11814 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11815 if (!SWIG_IsOK(ecode2
)) {
11816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11818 arg2
= static_cast< bool >(val2
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 (arg1
)->Show(arg2
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_Py_Void();
11833 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11836 wxFrame
*result
= 0 ;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11847 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= wxPyMake_wxObject(result
, (bool)0);
11863 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 PyObject
*resultobj
= 0;
11865 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11866 wxLog
*result
= 0 ;
11869 PyObject
*swig_obj
[1] ;
11871 if (!args
) SWIG_fail
;
11872 swig_obj
[0] = args
;
11873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11874 if (!SWIG_IsOK(res1
)) {
11875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11877 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11891 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 PyObject
*resultobj
= 0;
11893 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11905 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11921 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= 0;
11923 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 PyObject
* obj1
= 0 ;
11931 char * kwnames
[] = {
11932 (char *) "self",(char *) "bDoPass", NULL
11935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11937 if (!SWIG_IsOK(res1
)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11940 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11941 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11942 if (!SWIG_IsOK(ecode2
)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
11945 arg2
= static_cast< bool >(val2
);
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11948 (arg1
)->PassMessages(arg2
);
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_Py_Void();
11959 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11962 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
11963 return SWIG_Py_Void();
11966 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11967 return SWIG_Python_InitShadowInstance(args
);
11970 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
= 0;
11972 wxLog
*arg1
= (wxLog
*) 0 ;
11973 wxLogChain
*result
= 0 ;
11976 PyObject
* obj0
= 0 ;
11977 char * kwnames
[] = {
11978 (char *) "logger", NULL
11981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
11982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
11986 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (wxLogChain
*)new wxLogChain(arg1
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12000 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
= 0;
12002 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12003 wxLog
*arg2
= (wxLog
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "self",(char *) "logger", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12019 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12021 if (!SWIG_IsOK(res2
)) {
12022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12024 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->SetLog(arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_Py_Void();
12038 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
= 0;
12040 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "bDoPass", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12057 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12058 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12062 arg2
= static_cast< bool >(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->PassMessages(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_Py_Void();
12076 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12077 PyObject
*resultobj
= 0;
12078 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12082 PyObject
*swig_obj
[1] ;
12084 if (!args
) SWIG_fail
;
12085 swig_obj
[0] = args
;
12086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12087 if (!SWIG_IsOK(res1
)) {
12088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12090 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (bool)(arg1
)->IsPassingMessages();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12106 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12107 PyObject
*resultobj
= 0;
12108 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12109 wxLog
*result
= 0 ;
12112 PyObject
*swig_obj
[1] ;
12114 if (!args
) SWIG_fail
;
12115 swig_obj
[0] = args
;
12116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12117 if (!SWIG_IsOK(res1
)) {
12118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12120 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (wxLog
*)(arg1
)->GetOldLog();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12134 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12137 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12138 return SWIG_Py_Void();
12141 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12142 return SWIG_Python_InitShadowInstance(args
);
12145 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxLogBuffer
*result
= 0 ;
12149 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 result
= (wxLogBuffer
*)new wxLogBuffer();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12163 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12164 PyObject
*resultobj
= 0;
12165 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12166 wxString
*result
= 0 ;
12169 PyObject
*swig_obj
[1] ;
12171 if (!args
) SWIG_fail
;
12172 swig_obj
[0] = args
;
12173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12177 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12181 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12182 result
= (wxString
*) &_result_ref
;
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12200 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12202 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12203 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12204 return SWIG_Py_Void();
12207 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12208 return SWIG_Python_InitShadowInstance(args
);
12211 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12212 PyObject
*resultobj
= 0;
12213 unsigned long result
;
12215 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (unsigned long)wxSysErrorCode();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12229 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
= 0;
12231 unsigned long arg1
= (unsigned long) 0 ;
12233 unsigned long val1
;
12235 PyObject
* obj0
= 0 ;
12236 char * kwnames
[] = {
12237 (char *) "nErrCode", NULL
12240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12242 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12243 if (!SWIG_IsOK(ecode1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12246 arg1
= static_cast< unsigned long >(val1
);
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= wxSysErrorMsg(arg1
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12267 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
= 0;
12269 wxString
*arg1
= 0 ;
12270 bool temp1
= false ;
12271 PyObject
* obj0
= 0 ;
12272 char * kwnames
[] = {
12273 (char *) "msg", NULL
12276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12278 arg1
= wxString_in_helper(obj0
);
12279 if (arg1
== NULL
) SWIG_fail
;
12283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12284 wxPyLogFatalError((wxString
const &)*arg1
);
12285 wxPyEndAllowThreads(__tstate
);
12286 if (PyErr_Occurred()) SWIG_fail
;
12288 resultobj
= SWIG_Py_Void();
12303 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
= 0;
12305 wxString
*arg1
= 0 ;
12306 bool temp1
= false ;
12307 PyObject
* obj0
= 0 ;
12308 char * kwnames
[] = {
12309 (char *) "msg", NULL
12312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12314 arg1
= wxString_in_helper(obj0
);
12315 if (arg1
== NULL
) SWIG_fail
;
12319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12320 wxPyLogError((wxString
const &)*arg1
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_Py_Void();
12339 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= 0;
12341 wxString
*arg1
= 0 ;
12342 bool temp1
= false ;
12343 PyObject
* obj0
= 0 ;
12344 char * kwnames
[] = {
12345 (char *) "msg", NULL
12348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12350 arg1
= wxString_in_helper(obj0
);
12351 if (arg1
== NULL
) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxPyLogWarning((wxString
const &)*arg1
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_Py_Void();
12375 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= 0;
12377 wxString
*arg1
= 0 ;
12378 bool temp1
= false ;
12379 PyObject
* obj0
= 0 ;
12380 char * kwnames
[] = {
12381 (char *) "msg", NULL
12384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12386 arg1
= wxString_in_helper(obj0
);
12387 if (arg1
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 wxPyLogMessage((wxString
const &)*arg1
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12396 resultobj
= SWIG_Py_Void();
12411 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
= 0;
12413 wxString
*arg1
= 0 ;
12414 bool temp1
= false ;
12415 PyObject
* obj0
= 0 ;
12416 char * kwnames
[] = {
12417 (char *) "msg", NULL
12420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12422 arg1
= wxString_in_helper(obj0
);
12423 if (arg1
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 wxPyLogInfo((wxString
const &)*arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_Py_Void();
12447 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
= 0;
12449 wxString
*arg1
= 0 ;
12450 bool temp1
= false ;
12451 PyObject
* obj0
= 0 ;
12452 char * kwnames
[] = {
12453 (char *) "msg", NULL
12456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12458 arg1
= wxString_in_helper(obj0
);
12459 if (arg1
== NULL
) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 wxPyLogDebug((wxString
const &)*arg1
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_Py_Void();
12483 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= 0;
12485 wxString
*arg1
= 0 ;
12486 bool temp1
= false ;
12487 PyObject
* obj0
= 0 ;
12488 char * kwnames
[] = {
12489 (char *) "msg", NULL
12492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12494 arg1
= wxString_in_helper(obj0
);
12495 if (arg1
== NULL
) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 wxPyLogVerbose((wxString
const &)*arg1
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= SWIG_Py_Void();
12519 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
= 0;
12521 wxString
*arg1
= 0 ;
12522 bool temp1
= false ;
12523 PyObject
* obj0
= 0 ;
12524 char * kwnames
[] = {
12525 (char *) "msg", NULL
12528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12530 arg1
= wxString_in_helper(obj0
);
12531 if (arg1
== NULL
) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 wxPyLogStatus((wxString
const &)*arg1
);
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12540 resultobj
= SWIG_Py_Void();
12555 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
= 0;
12557 wxFrame
*arg1
= (wxFrame
*) 0 ;
12558 wxString
*arg2
= 0 ;
12561 bool temp2
= false ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "pFrame",(char *) "msg", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12573 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12575 arg2
= wxString_in_helper(obj1
);
12576 if (arg2
== NULL
) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12600 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
= 0;
12602 wxString
*arg1
= 0 ;
12603 bool temp1
= false ;
12604 PyObject
* obj0
= 0 ;
12605 char * kwnames
[] = {
12606 (char *) "msg", NULL
12609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12611 arg1
= wxString_in_helper(obj0
);
12612 if (arg1
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 wxPyLogSysError((wxString
const &)*arg1
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12636 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 unsigned long arg1
;
12639 wxString
*arg2
= 0 ;
12640 unsigned long val1
;
12642 bool temp2
= false ;
12643 PyObject
* obj0
= 0 ;
12644 PyObject
* obj1
= 0 ;
12645 char * kwnames
[] = {
12646 (char *) "level",(char *) "msg", NULL
12649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12650 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12651 if (!SWIG_IsOK(ecode1
)) {
12652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12654 arg1
= static_cast< unsigned long >(val1
);
12656 arg2
= wxString_in_helper(obj1
);
12657 if (arg2
== NULL
) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12663 wxPyEndAllowThreads(__tstate
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 resultobj
= SWIG_Py_Void();
12681 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12682 PyObject
*resultobj
= 0;
12683 unsigned long arg1
;
12684 wxString
*arg2
= 0 ;
12685 unsigned long val1
;
12687 bool temp2
= false ;
12689 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12690 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12691 if (!SWIG_IsOK(ecode1
)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12694 arg1
= static_cast< unsigned long >(val1
);
12696 arg2
= wxString_in_helper(swig_obj
[1]);
12697 if (arg2
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12703 wxPyEndAllowThreads(__tstate
);
12704 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= SWIG_Py_Void();
12721 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12722 PyObject
*resultobj
= 0;
12723 wxString
*arg1
= 0 ;
12724 wxString
*arg2
= 0 ;
12725 bool temp1
= false ;
12726 bool temp2
= false ;
12728 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12730 arg1
= wxString_in_helper(swig_obj
[0]);
12731 if (arg1
== NULL
) SWIG_fail
;
12735 arg2
= wxString_in_helper(swig_obj
[1]);
12736 if (arg2
== NULL
) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_Py_Void();
12768 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12772 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12778 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12781 if (!_v
) goto check_1
;
12782 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12787 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12796 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
= 0;
12798 wxString
*arg1
= 0 ;
12799 wxString
*arg2
= 0 ;
12800 bool temp1
= false ;
12801 bool temp2
= false ;
12802 PyObject
* obj0
= 0 ;
12803 PyObject
* obj1
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "title",(char *) "text", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12810 arg1
= wxString_in_helper(obj0
);
12811 if (arg1
== NULL
) SWIG_fail
;
12815 arg2
= wxString_in_helper(obj1
);
12816 if (arg2
== NULL
) SWIG_fail
;
12820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12821 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= SWIG_Py_Void();
12848 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12849 PyObject
*resultobj
= 0;
12850 wxLogNull
*result
= 0 ;
12852 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 result
= (wxLogNull
*)new wxLogNull();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
12866 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12867 PyObject
*resultobj
= 0;
12868 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
12871 PyObject
*swig_obj
[1] ;
12873 if (!args
) SWIG_fail
;
12874 swig_obj
[0] = args
;
12875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
12876 if (!SWIG_IsOK(res1
)) {
12877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
12879 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_Py_Void();
12894 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
12898 return SWIG_Py_Void();
12901 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 return SWIG_Python_InitShadowInstance(args
);
12905 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 PyObject
*resultobj
= 0;
12907 wxPyLog
*result
= 0 ;
12909 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (wxPyLog
*)new wxPyLog();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
12923 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
12926 PyObject
*arg2
= (PyObject
*) 0 ;
12927 PyObject
*arg3
= (PyObject
*) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 PyObject
* obj2
= 0 ;
12933 char * kwnames
[] = {
12934 (char *) "self",(char *) "self",(char *) "_class", NULL
12937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
12939 if (!SWIG_IsOK(res1
)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
12942 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_Py_Void();
12958 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12961 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
12962 return SWIG_Py_Void();
12965 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12966 return SWIG_Python_InitShadowInstance(args
);
12969 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12972 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
12973 int arg3
= (int) wxKILL_NOCHILDREN
;
12974 wxKillError result
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 char * kwnames
[] = {
12985 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12989 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12990 if (!SWIG_IsOK(ecode1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
12993 arg1
= static_cast< int >(val1
);
12995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12996 if (!SWIG_IsOK(ecode2
)) {
12997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
12999 arg2
= static_cast< wxSignal
>(val2
);
13002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13003 if (!SWIG_IsOK(ecode3
)) {
13004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13006 arg3
= static_cast< int >(val3
);
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13011 wxPyEndAllowThreads(__tstate
);
13012 if (PyErr_Occurred()) SWIG_fail
;
13014 resultobj
= SWIG_From_int(static_cast< int >(result
));
13021 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13022 PyObject
*resultobj
= 0;
13027 PyObject
* obj0
= 0 ;
13028 char * kwnames
[] = {
13029 (char *) "pid", NULL
13032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13033 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13034 if (!SWIG_IsOK(ecode1
)) {
13035 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13037 arg1
= static_cast< int >(val1
);
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 result
= (bool)wxPyProcess::Exists(arg1
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13053 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
= 0;
13055 wxString
*arg1
= 0 ;
13056 int arg2
= (int) wxEXEC_ASYNC
;
13057 wxPyProcess
*result
= 0 ;
13058 bool temp1
= false ;
13061 PyObject
* obj0
= 0 ;
13062 PyObject
* obj1
= 0 ;
13063 char * kwnames
[] = {
13064 (char *) "cmd",(char *) "flags", NULL
13067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13069 arg1
= wxString_in_helper(obj0
);
13070 if (arg1
== NULL
) SWIG_fail
;
13074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13075 if (!SWIG_IsOK(ecode2
)) {
13076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13078 arg2
= static_cast< int >(val2
);
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13101 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
= 0;
13103 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13104 int arg2
= (int) -1 ;
13105 wxPyProcess
*result
= 0 ;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 char * kwnames
[] = {
13113 (char *) "parent",(char *) "id", NULL
13116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13119 if (!SWIG_IsOK(res1
)) {
13120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13122 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13126 if (!SWIG_IsOK(ecode2
)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13129 arg2
= static_cast< int >(val2
);
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13144 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
= 0;
13146 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13147 PyObject
*arg2
= (PyObject
*) 0 ;
13148 PyObject
*arg3
= (PyObject
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 PyObject
* obj2
= 0 ;
13154 char * kwnames
[] = {
13155 (char *) "self",(char *) "self",(char *) "_class", NULL
13158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13160 if (!SWIG_IsOK(res1
)) {
13161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13163 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 resultobj
= SWIG_Py_Void();
13179 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
= 0;
13181 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13190 PyObject
* obj0
= 0 ;
13191 PyObject
* obj1
= 0 ;
13192 PyObject
* obj2
= 0 ;
13193 char * kwnames
[] = {
13194 (char *) "self",(char *) "pid",(char *) "status", NULL
13197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13199 if (!SWIG_IsOK(res1
)) {
13200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13202 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13204 if (!SWIG_IsOK(ecode2
)) {
13205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13207 arg2
= static_cast< int >(val2
);
13208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13209 if (!SWIG_IsOK(ecode3
)) {
13210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13212 arg3
= static_cast< int >(val3
);
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->OnTerminate(arg2
,arg3
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= SWIG_Py_Void();
13226 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 PyObject
*resultobj
= 0;
13228 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13231 PyObject
*swig_obj
[1] ;
13233 if (!args
) SWIG_fail
;
13234 swig_obj
[0] = args
;
13235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13236 if (!SWIG_IsOK(res1
)) {
13237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13239 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->Redirect();
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= SWIG_Py_Void();
13253 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13254 PyObject
*resultobj
= 0;
13255 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13259 PyObject
*swig_obj
[1] ;
13261 if (!args
) SWIG_fail
;
13262 swig_obj
[0] = args
;
13263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13264 if (!SWIG_IsOK(res1
)) {
13265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13267 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (bool)(arg1
)->IsRedirected();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13283 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 PyObject
*resultobj
= 0;
13285 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13288 PyObject
*swig_obj
[1] ;
13290 if (!args
) SWIG_fail
;
13291 swig_obj
[0] = args
;
13292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13296 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_Py_Void();
13310 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13313 wxInputStream
*result
= 0 ;
13316 PyObject
*swig_obj
[1] ;
13318 if (!args
) SWIG_fail
;
13319 swig_obj
[0] = args
;
13320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13321 if (!SWIG_IsOK(res1
)) {
13322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13324 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 wxPyInputStream
* _ptr
= NULL
;
13335 _ptr
= new wxPyInputStream(result
);
13337 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13345 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13346 PyObject
*resultobj
= 0;
13347 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13348 wxInputStream
*result
= 0 ;
13351 PyObject
*swig_obj
[1] ;
13353 if (!args
) SWIG_fail
;
13354 swig_obj
[0] = args
;
13355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13356 if (!SWIG_IsOK(res1
)) {
13357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13359 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 wxPyInputStream
* _ptr
= NULL
;
13370 _ptr
= new wxPyInputStream(result
);
13372 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13380 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13381 PyObject
*resultobj
= 0;
13382 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13383 wxOutputStream
*result
= 0 ;
13386 PyObject
*swig_obj
[1] ;
13388 if (!args
) SWIG_fail
;
13389 swig_obj
[0] = args
;
13390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13391 if (!SWIG_IsOK(res1
)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13394 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13408 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13409 PyObject
*resultobj
= 0;
13410 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13413 PyObject
*swig_obj
[1] ;
13415 if (!args
) SWIG_fail
;
13416 swig_obj
[0] = args
;
13417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13418 if (!SWIG_IsOK(res1
)) {
13419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13421 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13424 (arg1
)->CloseOutput();
13425 wxPyEndAllowThreads(__tstate
);
13426 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= SWIG_Py_Void();
13435 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 PyObject
*resultobj
= 0;
13437 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13441 PyObject
*swig_obj
[1] ;
13443 if (!args
) SWIG_fail
;
13444 swig_obj
[0] = args
;
13445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13446 if (!SWIG_IsOK(res1
)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13449 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13465 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13466 PyObject
*resultobj
= 0;
13467 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13471 PyObject
*swig_obj
[1] ;
13473 if (!args
) SWIG_fail
;
13474 swig_obj
[0] = args
;
13475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13479 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 PyObject
*resultobj
= 0;
13497 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13501 PyObject
*swig_obj
[1] ;
13503 if (!args
) SWIG_fail
;
13504 swig_obj
[0] = args
;
13505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13506 if (!SWIG_IsOK(res1
)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13509 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13525 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13528 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13529 return SWIG_Py_Void();
13532 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13533 return SWIG_Python_InitShadowInstance(args
);
13536 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13537 PyObject
*resultobj
= 0;
13538 int arg1
= (int) 0 ;
13539 int arg2
= (int) 0 ;
13540 int arg3
= (int) 0 ;
13541 wxProcessEvent
*result
= 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 PyObject
* obj2
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13557 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13558 if (!SWIG_IsOK(ecode1
)) {
13559 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13561 arg1
= static_cast< int >(val1
);
13564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13565 if (!SWIG_IsOK(ecode2
)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13568 arg2
= static_cast< int >(val2
);
13571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13572 if (!SWIG_IsOK(ecode3
)) {
13573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13575 arg3
= static_cast< int >(val3
);
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13590 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13591 PyObject
*resultobj
= 0;
13592 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13596 PyObject
*swig_obj
[1] ;
13598 if (!args
) SWIG_fail
;
13599 swig_obj
[0] = args
;
13600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13601 if (!SWIG_IsOK(res1
)) {
13602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13604 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (int)(arg1
)->GetPid();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_From_int(static_cast< int >(result
));
13618 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13624 PyObject
*swig_obj
[1] ;
13626 if (!args
) SWIG_fail
;
13627 swig_obj
[0] = args
;
13628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13632 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (int)(arg1
)->GetExitCode();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_From_int(static_cast< int >(result
));
13646 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13647 PyObject
*resultobj
= 0;
13648 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13654 PyObject
*swig_obj
[2] ;
13656 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13661 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13662 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13663 if (!SWIG_IsOK(ecode2
)) {
13664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13666 arg2
= static_cast< int >(val2
);
13667 if (arg1
) (arg1
)->m_pid
= arg2
;
13669 resultobj
= SWIG_Py_Void();
13676 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13677 PyObject
*resultobj
= 0;
13678 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13682 PyObject
*swig_obj
[1] ;
13684 if (!args
) SWIG_fail
;
13685 swig_obj
[0] = args
;
13686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13690 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13691 result
= (int) ((arg1
)->m_pid
);
13692 resultobj
= SWIG_From_int(static_cast< int >(result
));
13699 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13700 PyObject
*resultobj
= 0;
13701 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13707 PyObject
*swig_obj
[2] ;
13709 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13711 if (!SWIG_IsOK(res1
)) {
13712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13714 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13715 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13716 if (!SWIG_IsOK(ecode2
)) {
13717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13719 arg2
= static_cast< int >(val2
);
13720 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13722 resultobj
= SWIG_Py_Void();
13729 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13730 PyObject
*resultobj
= 0;
13731 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13735 PyObject
*swig_obj
[1] ;
13737 if (!args
) SWIG_fail
;
13738 swig_obj
[0] = args
;
13739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13740 if (!SWIG_IsOK(res1
)) {
13741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13743 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13744 result
= (int) ((arg1
)->m_exitcode
);
13745 resultobj
= SWIG_From_int(static_cast< int >(result
));
13752 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13755 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13756 return SWIG_Py_Void();
13759 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13760 return SWIG_Python_InitShadowInstance(args
);
13763 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13764 PyObject
*resultobj
= 0;
13765 wxString
*arg1
= 0 ;
13766 int arg2
= (int) wxEXEC_ASYNC
;
13767 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13769 bool temp1
= false ;
13774 PyObject
* obj0
= 0 ;
13775 PyObject
* obj1
= 0 ;
13776 PyObject
* obj2
= 0 ;
13777 char * kwnames
[] = {
13778 (char *) "command",(char *) "flags",(char *) "process", NULL
13781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13783 arg1
= wxString_in_helper(obj0
);
13784 if (arg1
== NULL
) SWIG_fail
;
13788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13789 if (!SWIG_IsOK(ecode2
)) {
13790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13792 arg2
= static_cast< int >(val2
);
13795 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13796 if (!SWIG_IsOK(res3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13799 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13802 if (!wxPyCheckForApp()) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13805 wxPyEndAllowThreads(__tstate
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= SWIG_From_long(static_cast< long >(result
));
13823 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13824 PyObject
*resultobj
= 0;
13826 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13827 wxKillError
*arg3
= (wxKillError
*) 0 ;
13828 int arg4
= (int) wxKILL_NOCHILDREN
;
13834 wxKillError temp3
;
13837 PyObject
* obj0
= 0 ;
13838 PyObject
* obj1
= 0 ;
13839 PyObject
* obj2
= 0 ;
13840 char * kwnames
[] = {
13841 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13848 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13849 if (!SWIG_IsOK(ecode1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
13852 arg1
= static_cast< long >(val1
);
13854 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13855 if (!SWIG_IsOK(ecode2
)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13858 arg2
= static_cast< wxSignal
>(val2
);
13861 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
13862 if (!SWIG_IsOK(ecode4
)) {
13863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
13865 arg4
= static_cast< int >(val4
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_From_int(static_cast< int >(result
));
13876 o
= PyInt_FromLong((long) (*arg3
));
13880 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
13889 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13890 PyObject
*resultobj
= 0;
13891 int arg1
= (int) wxJOYSTICK1
;
13892 wxJoystick
*result
= 0 ;
13895 PyObject
* obj0
= 0 ;
13896 char * kwnames
[] = {
13897 (char *) "joystick", NULL
13900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
13902 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13903 if (!SWIG_IsOK(ecode1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
13906 arg1
= static_cast< int >(val1
);
13909 if (!wxPyCheckForApp()) SWIG_fail
;
13910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13911 result
= (wxJoystick
*)new wxJoystick(arg1
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
13922 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13923 PyObject
*resultobj
= 0;
13924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13927 PyObject
*swig_obj
[1] ;
13929 if (!args
) SWIG_fail
;
13930 swig_obj
[0] = args
;
13931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
13935 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_Py_Void();
13950 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13951 PyObject
*resultobj
= 0;
13952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13956 PyObject
*swig_obj
[1] ;
13958 if (!args
) SWIG_fail
;
13959 swig_obj
[0] = args
;
13960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13964 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13967 result
= (arg1
)->GetPosition();
13968 wxPyEndAllowThreads(__tstate
);
13969 if (PyErr_Occurred()) SWIG_fail
;
13971 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
13978 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13979 PyObject
*resultobj
= 0;
13980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
13984 PyObject
*swig_obj
[1] ;
13986 if (!args
) SWIG_fail
;
13987 swig_obj
[0] = args
;
13988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
13989 if (!SWIG_IsOK(res1
)) {
13990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
13992 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
13994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13995 result
= (int)(arg1
)->GetZPosition();
13996 wxPyEndAllowThreads(__tstate
);
13997 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= SWIG_From_int(static_cast< int >(result
));
14006 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14007 PyObject
*resultobj
= 0;
14008 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14012 PyObject
*swig_obj
[1] ;
14014 if (!args
) SWIG_fail
;
14015 swig_obj
[0] = args
;
14016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14017 if (!SWIG_IsOK(res1
)) {
14018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14020 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (int)(arg1
)->GetButtonState();
14024 wxPyEndAllowThreads(__tstate
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= SWIG_From_int(static_cast< int >(result
));
14034 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 PyObject
*resultobj
= 0;
14036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14040 PyObject
*swig_obj
[1] ;
14042 if (!args
) SWIG_fail
;
14043 swig_obj
[0] = args
;
14044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14045 if (!SWIG_IsOK(res1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14048 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (int)(arg1
)->GetPOVPosition();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_int(static_cast< int >(result
));
14062 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 PyObject
*resultobj
= 0;
14064 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14068 PyObject
*swig_obj
[1] ;
14070 if (!args
) SWIG_fail
;
14071 swig_obj
[0] = args
;
14072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14073 if (!SWIG_IsOK(res1
)) {
14074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14076 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (int)(arg1
)->GetPOVCTSPosition();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= SWIG_From_int(static_cast< int >(result
));
14090 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14091 PyObject
*resultobj
= 0;
14092 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14096 PyObject
*swig_obj
[1] ;
14098 if (!args
) SWIG_fail
;
14099 swig_obj
[0] = args
;
14100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14101 if (!SWIG_IsOK(res1
)) {
14102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14104 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (int)(arg1
)->GetRudderPosition();
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 resultobj
= SWIG_From_int(static_cast< int >(result
));
14118 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14119 PyObject
*resultobj
= 0;
14120 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14124 PyObject
*swig_obj
[1] ;
14126 if (!args
) SWIG_fail
;
14127 swig_obj
[0] = args
;
14128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14129 if (!SWIG_IsOK(res1
)) {
14130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14132 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 result
= (int)(arg1
)->GetUPosition();
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_From_int(static_cast< int >(result
));
14146 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14147 PyObject
*resultobj
= 0;
14148 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14152 PyObject
*swig_obj
[1] ;
14154 if (!args
) SWIG_fail
;
14155 swig_obj
[0] = args
;
14156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14157 if (!SWIG_IsOK(res1
)) {
14158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14160 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (int)(arg1
)->GetVPosition();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_From_int(static_cast< int >(result
));
14174 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14175 PyObject
*resultobj
= 0;
14176 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14180 PyObject
*swig_obj
[1] ;
14182 if (!args
) SWIG_fail
;
14183 swig_obj
[0] = args
;
14184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14185 if (!SWIG_IsOK(res1
)) {
14186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14188 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (int)(arg1
)->GetMovementThreshold();
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_From_int(static_cast< int >(result
));
14202 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
= 0;
14204 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14210 PyObject
* obj0
= 0 ;
14211 PyObject
* obj1
= 0 ;
14212 char * kwnames
[] = {
14213 (char *) "self",(char *) "threshold", NULL
14216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14221 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14223 if (!SWIG_IsOK(ecode2
)) {
14224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14226 arg2
= static_cast< int >(val2
);
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->SetMovementThreshold(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= SWIG_Py_Void();
14240 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14241 PyObject
*resultobj
= 0;
14242 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14246 PyObject
*swig_obj
[1] ;
14248 if (!args
) SWIG_fail
;
14249 swig_obj
[0] = args
;
14250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14251 if (!SWIG_IsOK(res1
)) {
14252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14254 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 result
= (bool)(arg1
)->IsOk();
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14270 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14271 PyObject
*resultobj
= 0;
14272 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14276 PyObject
*swig_obj
[1] ;
14278 if (!args
) SWIG_fail
;
14279 swig_obj
[0] = args
;
14280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14281 if (!SWIG_IsOK(res1
)) {
14282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14284 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= (int)(arg1
)->GetNumberJoysticks();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= SWIG_From_int(static_cast< int >(result
));
14298 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14299 PyObject
*resultobj
= 0;
14300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14304 PyObject
*swig_obj
[1] ;
14306 if (!args
) SWIG_fail
;
14307 swig_obj
[0] = args
;
14308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14309 if (!SWIG_IsOK(res1
)) {
14310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14312 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14315 result
= (int)(arg1
)->GetManufacturerId();
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= SWIG_From_int(static_cast< int >(result
));
14326 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14327 PyObject
*resultobj
= 0;
14328 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14332 PyObject
*swig_obj
[1] ;
14334 if (!args
) SWIG_fail
;
14335 swig_obj
[0] = args
;
14336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14337 if (!SWIG_IsOK(res1
)) {
14338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14340 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 result
= (int)(arg1
)->GetProductId();
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 resultobj
= SWIG_From_int(static_cast< int >(result
));
14354 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14355 PyObject
*resultobj
= 0;
14356 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14360 PyObject
*swig_obj
[1] ;
14362 if (!args
) SWIG_fail
;
14363 swig_obj
[0] = args
;
14364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14365 if (!SWIG_IsOK(res1
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14368 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (arg1
)->GetProductName();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14388 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14389 PyObject
*resultobj
= 0;
14390 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14394 PyObject
*swig_obj
[1] ;
14396 if (!args
) SWIG_fail
;
14397 swig_obj
[0] = args
;
14398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14402 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (int)(arg1
)->GetXMin();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 resultobj
= SWIG_From_int(static_cast< int >(result
));
14416 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14417 PyObject
*resultobj
= 0;
14418 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14422 PyObject
*swig_obj
[1] ;
14424 if (!args
) SWIG_fail
;
14425 swig_obj
[0] = args
;
14426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14430 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (int)(arg1
)->GetYMin();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_From_int(static_cast< int >(result
));
14444 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14445 PyObject
*resultobj
= 0;
14446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14450 PyObject
*swig_obj
[1] ;
14452 if (!args
) SWIG_fail
;
14453 swig_obj
[0] = args
;
14454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14455 if (!SWIG_IsOK(res1
)) {
14456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14458 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (int)(arg1
)->GetZMin();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= SWIG_From_int(static_cast< int >(result
));
14472 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14473 PyObject
*resultobj
= 0;
14474 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14478 PyObject
*swig_obj
[1] ;
14480 if (!args
) SWIG_fail
;
14481 swig_obj
[0] = args
;
14482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14483 if (!SWIG_IsOK(res1
)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14486 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)(arg1
)->GetXMax();
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_From_int(static_cast< int >(result
));
14500 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14501 PyObject
*resultobj
= 0;
14502 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14506 PyObject
*swig_obj
[1] ;
14508 if (!args
) SWIG_fail
;
14509 swig_obj
[0] = args
;
14510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14511 if (!SWIG_IsOK(res1
)) {
14512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14514 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (int)(arg1
)->GetYMax();
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= SWIG_From_int(static_cast< int >(result
));
14528 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14529 PyObject
*resultobj
= 0;
14530 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14534 PyObject
*swig_obj
[1] ;
14536 if (!args
) SWIG_fail
;
14537 swig_obj
[0] = args
;
14538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14542 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (int)(arg1
)->GetZMax();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14549 resultobj
= SWIG_From_int(static_cast< int >(result
));
14556 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14557 PyObject
*resultobj
= 0;
14558 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14562 PyObject
*swig_obj
[1] ;
14564 if (!args
) SWIG_fail
;
14565 swig_obj
[0] = args
;
14566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14567 if (!SWIG_IsOK(res1
)) {
14568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14570 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14573 result
= (int)(arg1
)->GetNumberButtons();
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= SWIG_From_int(static_cast< int >(result
));
14584 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14585 PyObject
*resultobj
= 0;
14586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14590 PyObject
*swig_obj
[1] ;
14592 if (!args
) SWIG_fail
;
14593 swig_obj
[0] = args
;
14594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14595 if (!SWIG_IsOK(res1
)) {
14596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14598 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 result
= (int)(arg1
)->GetNumberAxes();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_From_int(static_cast< int >(result
));
14612 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14613 PyObject
*resultobj
= 0;
14614 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14618 PyObject
*swig_obj
[1] ;
14620 if (!args
) SWIG_fail
;
14621 swig_obj
[0] = args
;
14622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14623 if (!SWIG_IsOK(res1
)) {
14624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14626 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (int)(arg1
)->GetMaxButtons();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_From_int(static_cast< int >(result
));
14640 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14641 PyObject
*resultobj
= 0;
14642 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14646 PyObject
*swig_obj
[1] ;
14648 if (!args
) SWIG_fail
;
14649 swig_obj
[0] = args
;
14650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14651 if (!SWIG_IsOK(res1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14654 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (int)(arg1
)->GetMaxAxes();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_From_int(static_cast< int >(result
));
14668 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14669 PyObject
*resultobj
= 0;
14670 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14674 PyObject
*swig_obj
[1] ;
14676 if (!args
) SWIG_fail
;
14677 swig_obj
[0] = args
;
14678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14679 if (!SWIG_IsOK(res1
)) {
14680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14682 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (int)(arg1
)->GetPollingMin();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_From_int(static_cast< int >(result
));
14696 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14697 PyObject
*resultobj
= 0;
14698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14702 PyObject
*swig_obj
[1] ;
14704 if (!args
) SWIG_fail
;
14705 swig_obj
[0] = args
;
14706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14707 if (!SWIG_IsOK(res1
)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14710 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (int)(arg1
)->GetPollingMax();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_From_int(static_cast< int >(result
));
14724 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14725 PyObject
*resultobj
= 0;
14726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14730 PyObject
*swig_obj
[1] ;
14732 if (!args
) SWIG_fail
;
14733 swig_obj
[0] = args
;
14734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14735 if (!SWIG_IsOK(res1
)) {
14736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14738 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (int)(arg1
)->GetRudderMin();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= SWIG_From_int(static_cast< int >(result
));
14752 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14753 PyObject
*resultobj
= 0;
14754 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14758 PyObject
*swig_obj
[1] ;
14760 if (!args
) SWIG_fail
;
14761 swig_obj
[0] = args
;
14762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14763 if (!SWIG_IsOK(res1
)) {
14764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14766 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 result
= (int)(arg1
)->GetRudderMax();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= SWIG_From_int(static_cast< int >(result
));
14780 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14781 PyObject
*resultobj
= 0;
14782 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14786 PyObject
*swig_obj
[1] ;
14788 if (!args
) SWIG_fail
;
14789 swig_obj
[0] = args
;
14790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14791 if (!SWIG_IsOK(res1
)) {
14792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14794 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 result
= (int)(arg1
)->GetUMin();
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_From_int(static_cast< int >(result
));
14808 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14809 PyObject
*resultobj
= 0;
14810 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14814 PyObject
*swig_obj
[1] ;
14816 if (!args
) SWIG_fail
;
14817 swig_obj
[0] = args
;
14818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14819 if (!SWIG_IsOK(res1
)) {
14820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14822 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14825 result
= (int)(arg1
)->GetUMax();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_From_int(static_cast< int >(result
));
14836 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14837 PyObject
*resultobj
= 0;
14838 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14842 PyObject
*swig_obj
[1] ;
14844 if (!args
) SWIG_fail
;
14845 swig_obj
[0] = args
;
14846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14847 if (!SWIG_IsOK(res1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14850 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (int)(arg1
)->GetVMin();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= SWIG_From_int(static_cast< int >(result
));
14864 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14865 PyObject
*resultobj
= 0;
14866 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14870 PyObject
*swig_obj
[1] ;
14872 if (!args
) SWIG_fail
;
14873 swig_obj
[0] = args
;
14874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14875 if (!SWIG_IsOK(res1
)) {
14876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14878 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (int)(arg1
)->GetVMax();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_From_int(static_cast< int >(result
));
14892 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14893 PyObject
*resultobj
= 0;
14894 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14898 PyObject
*swig_obj
[1] ;
14900 if (!args
) SWIG_fail
;
14901 swig_obj
[0] = args
;
14902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14903 if (!SWIG_IsOK(res1
)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
14906 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (bool)(arg1
)->HasRudder();
14910 wxPyEndAllowThreads(__tstate
);
14911 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14922 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14923 PyObject
*resultobj
= 0;
14924 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14928 PyObject
*swig_obj
[1] ;
14930 if (!args
) SWIG_fail
;
14931 swig_obj
[0] = args
;
14932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14933 if (!SWIG_IsOK(res1
)) {
14934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
14936 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 result
= (bool)(arg1
)->HasZ();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14952 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14953 PyObject
*resultobj
= 0;
14954 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14958 PyObject
*swig_obj
[1] ;
14960 if (!args
) SWIG_fail
;
14961 swig_obj
[0] = args
;
14962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14963 if (!SWIG_IsOK(res1
)) {
14964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
14966 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (bool)(arg1
)->HasU();
14970 wxPyEndAllowThreads(__tstate
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14982 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14983 PyObject
*resultobj
= 0;
14984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14988 PyObject
*swig_obj
[1] ;
14990 if (!args
) SWIG_fail
;
14991 swig_obj
[0] = args
;
14992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14993 if (!SWIG_IsOK(res1
)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
14996 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)(arg1
)->HasV();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15012 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15026 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)(arg1
)->HasPOV();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 PyObject
*resultobj
= 0;
15044 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15048 PyObject
*swig_obj
[1] ;
15050 if (!args
) SWIG_fail
;
15051 swig_obj
[0] = args
;
15052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15056 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (bool)(arg1
)->HasPOV4Dir();
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15072 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15073 PyObject
*resultobj
= 0;
15074 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15078 PyObject
*swig_obj
[1] ;
15080 if (!args
) SWIG_fail
;
15081 swig_obj
[0] = args
;
15082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15083 if (!SWIG_IsOK(res1
)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15086 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (bool)(arg1
)->HasPOVCTS();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
= 0;
15104 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15105 wxWindow
*arg2
= (wxWindow
*) 0 ;
15106 int arg3
= (int) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 char * kwnames
[] = {
15118 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15126 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15128 if (!SWIG_IsOK(res2
)) {
15129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15134 if (!SWIG_IsOK(ecode3
)) {
15135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15137 arg3
= static_cast< int >(val3
);
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15155 PyObject
*resultobj
= 0;
15156 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15160 PyObject
*swig_obj
[1] ;
15162 if (!args
) SWIG_fail
;
15163 swig_obj
[0] = args
;
15164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15168 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (bool)(arg1
)->ReleaseCapture();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15184 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15187 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15188 return SWIG_Py_Void();
15191 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15192 return SWIG_Python_InitShadowInstance(args
);
15195 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
= 0;
15197 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15198 int arg2
= (int) 0 ;
15199 int arg3
= (int) wxJOYSTICK1
;
15200 int arg4
= (int) 0 ;
15201 wxJoystickEvent
*result
= 0 ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 PyObject
* obj2
= 0 ;
15213 PyObject
* obj3
= 0 ;
15214 char * kwnames
[] = {
15215 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15221 if (!SWIG_IsOK(ecode1
)) {
15222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15224 arg1
= static_cast< wxEventType
>(val1
);
15227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15228 if (!SWIG_IsOK(ecode2
)) {
15229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15231 arg2
= static_cast< int >(val2
);
15234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15235 if (!SWIG_IsOK(ecode3
)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15238 arg3
= static_cast< int >(val3
);
15241 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15242 if (!SWIG_IsOK(ecode4
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15245 arg4
= static_cast< int >(val4
);
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15260 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15261 PyObject
*resultobj
= 0;
15262 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15266 PyObject
*swig_obj
[1] ;
15268 if (!args
) SWIG_fail
;
15269 swig_obj
[0] = args
;
15270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15274 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15288 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15289 PyObject
*resultobj
= 0;
15290 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15294 PyObject
*swig_obj
[1] ;
15296 if (!args
) SWIG_fail
;
15297 swig_obj
[0] = args
;
15298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15299 if (!SWIG_IsOK(res1
)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15302 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_From_int(static_cast< int >(result
));
15316 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15317 PyObject
*resultobj
= 0;
15318 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15322 PyObject
*swig_obj
[1] ;
15324 if (!args
) SWIG_fail
;
15325 swig_obj
[0] = args
;
15326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15327 if (!SWIG_IsOK(res1
)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15330 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_From_int(static_cast< int >(result
));
15344 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 PyObject
*resultobj
= 0;
15346 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15350 PyObject
*swig_obj
[1] ;
15352 if (!args
) SWIG_fail
;
15353 swig_obj
[0] = args
;
15354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15358 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_From_int(static_cast< int >(result
));
15372 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15373 PyObject
*resultobj
= 0;
15374 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15378 PyObject
*swig_obj
[1] ;
15380 if (!args
) SWIG_fail
;
15381 swig_obj
[0] = args
;
15382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15383 if (!SWIG_IsOK(res1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15386 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= SWIG_From_int(static_cast< int >(result
));
15400 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 char * kwnames
[] = {
15411 (char *) "self",(char *) "stick", NULL
15414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15416 if (!SWIG_IsOK(res1
)) {
15417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15419 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15421 if (!SWIG_IsOK(ecode2
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15424 arg2
= static_cast< int >(val2
);
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 (arg1
)->SetJoystick(arg2
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_Py_Void();
15438 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
= 0;
15440 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char * kwnames
[] = {
15449 (char *) "self",(char *) "state", NULL
15452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15454 if (!SWIG_IsOK(res1
)) {
15455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15457 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15459 if (!SWIG_IsOK(ecode2
)) {
15460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15462 arg2
= static_cast< int >(val2
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->SetButtonState(arg2
);
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 char * kwnames
[] = {
15487 (char *) "self",(char *) "change", NULL
15490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15492 if (!SWIG_IsOK(res1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15495 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15497 if (!SWIG_IsOK(ecode2
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15500 arg2
= static_cast< int >(val2
);
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->SetButtonChange(arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_Py_Void();
15514 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
= 0;
15516 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15517 wxPoint
*arg2
= 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "pos", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15529 if (!SWIG_IsOK(res1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15532 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15543 resultobj
= SWIG_Py_Void();
15550 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15551 PyObject
*resultobj
= 0;
15552 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char * kwnames
[] = {
15561 (char *) "self",(char *) "zPos", NULL
15564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15566 if (!SWIG_IsOK(res1
)) {
15567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15569 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15571 if (!SWIG_IsOK(ecode2
)) {
15572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15574 arg2
= static_cast< int >(val2
);
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->SetZPosition(arg2
);
15578 wxPyEndAllowThreads(__tstate
);
15579 if (PyErr_Occurred()) SWIG_fail
;
15581 resultobj
= SWIG_Py_Void();
15588 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15589 PyObject
*resultobj
= 0;
15590 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15594 PyObject
*swig_obj
[1] ;
15596 if (!args
) SWIG_fail
;
15597 swig_obj
[0] = args
;
15598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15599 if (!SWIG_IsOK(res1
)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15602 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15618 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15619 PyObject
*resultobj
= 0;
15620 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15624 PyObject
*swig_obj
[1] ;
15626 if (!args
) SWIG_fail
;
15627 swig_obj
[0] = args
;
15628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15629 if (!SWIG_IsOK(res1
)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15632 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15635 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15649 PyObject
*resultobj
= 0;
15650 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15654 PyObject
*swig_obj
[1] ;
15656 if (!args
) SWIG_fail
;
15657 swig_obj
[0] = args
;
15658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15659 if (!SWIG_IsOK(res1
)) {
15660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15662 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15678 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
= 0;
15680 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15681 int arg2
= (int) wxJOY_BUTTON_ANY
;
15687 PyObject
* obj0
= 0 ;
15688 PyObject
* obj1
= 0 ;
15689 char * kwnames
[] = {
15690 (char *) "self",(char *) "but", NULL
15693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15695 if (!SWIG_IsOK(res1
)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15698 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15701 if (!SWIG_IsOK(ecode2
)) {
15702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15704 arg2
= static_cast< int >(val2
);
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15721 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
= 0;
15723 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15724 int arg2
= (int) wxJOY_BUTTON_ANY
;
15730 PyObject
* obj0
= 0 ;
15731 PyObject
* obj1
= 0 ;
15732 char * kwnames
[] = {
15733 (char *) "self",(char *) "but", NULL
15736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15741 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15743 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15744 if (!SWIG_IsOK(ecode2
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15747 arg2
= static_cast< int >(val2
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
= 0;
15766 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15767 int arg2
= (int) wxJOY_BUTTON_ANY
;
15773 PyObject
* obj0
= 0 ;
15774 PyObject
* obj1
= 0 ;
15775 char * kwnames
[] = {
15776 (char *) "self",(char *) "but", NULL
15779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15781 if (!SWIG_IsOK(res1
)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15784 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15787 if (!SWIG_IsOK(ecode2
)) {
15788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15790 arg2
= static_cast< int >(val2
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15810 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15811 return SWIG_Py_Void();
15814 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15815 return SWIG_Python_InitShadowInstance(args
);
15818 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
= 0;
15820 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15821 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15822 wxSound
*result
= 0 ;
15823 bool temp1
= false ;
15824 PyObject
* obj0
= 0 ;
15825 char * kwnames
[] = {
15826 (char *) "fileName", NULL
15829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15832 arg1
= wxString_in_helper(obj0
);
15833 if (arg1
== NULL
) SWIG_fail
;
15838 if (!wxPyCheckForApp()) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
15859 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
= 0;
15861 PyObject
*arg1
= (PyObject
*) 0 ;
15862 wxSound
*result
= 0 ;
15863 PyObject
* obj0
= 0 ;
15864 char * kwnames
[] = {
15865 (char *) "data", NULL
15868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxSound
*)new_wxSound(arg1
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
15884 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 PyObject
*resultobj
= 0;
15886 wxSound
*arg1
= (wxSound
*) 0 ;
15889 PyObject
*swig_obj
[1] ;
15891 if (!args
) SWIG_fail
;
15892 swig_obj
[0] = args
;
15893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
15897 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_Py_Void();
15912 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15914 wxSound
*arg1
= (wxSound
*) 0 ;
15915 wxString
*arg2
= 0 ;
15919 bool temp2
= false ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 char * kwnames
[] = {
15923 (char *) "self",(char *) "fileName", NULL
15926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15928 if (!SWIG_IsOK(res1
)) {
15929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
15931 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15933 arg2
= wxString_in_helper(obj1
);
15934 if (arg2
== NULL
) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15960 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15961 PyObject
*resultobj
= 0;
15962 wxSound
*arg1
= (wxSound
*) 0 ;
15963 PyObject
*arg2
= (PyObject
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 PyObject
* obj1
= 0 ;
15969 char * kwnames
[] = {
15970 (char *) "self",(char *) "data", NULL
15973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
15975 if (!SWIG_IsOK(res1
)) {
15976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
15978 arg1
= reinterpret_cast< wxSound
* >(argp1
);
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15995 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15996 PyObject
*resultobj
= 0;
15997 wxSound
*arg1
= (wxSound
*) 0 ;
16001 PyObject
*swig_obj
[1] ;
16003 if (!args
) SWIG_fail
;
16004 swig_obj
[0] = args
;
16005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16006 if (!SWIG_IsOK(res1
)) {
16007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16009 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 result
= (bool)(arg1
)->IsOk();
16013 wxPyEndAllowThreads(__tstate
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16025 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16026 PyObject
*resultobj
= 0;
16027 wxSound
*arg1
= (wxSound
*) 0 ;
16028 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16032 unsigned int val2
;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "self",(char *) "flags", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16042 if (!SWIG_IsOK(res1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16045 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16047 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16048 if (!SWIG_IsOK(ecode2
)) {
16049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16051 arg2
= static_cast< unsigned int >(val2
);
16054 if (!wxPyCheckForApp()) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16057 wxPyEndAllowThreads(__tstate
);
16058 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16069 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
= 0;
16071 wxString
*arg1
= 0 ;
16072 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16074 bool temp1
= false ;
16075 unsigned int val2
;
16077 PyObject
* obj0
= 0 ;
16078 PyObject
* obj1
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "filename",(char *) "flags", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16085 arg1
= wxString_in_helper(obj0
);
16086 if (arg1
== NULL
) SWIG_fail
;
16090 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16091 if (!SWIG_IsOK(ecode2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16094 arg2
= static_cast< unsigned int >(val2
);
16097 if (!wxPyCheckForApp()) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16120 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16121 PyObject
*resultobj
= 0;
16123 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16125 if (!wxPyCheckForApp()) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_Py_Void();
16138 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16141 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16142 return SWIG_Py_Void();
16145 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16146 return SWIG_Python_InitShadowInstance(args
);
16149 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
= 0;
16151 wxString
*arg1
= 0 ;
16152 wxString
*arg2
= 0 ;
16153 wxString
*arg3
= 0 ;
16154 wxString
*arg4
= 0 ;
16155 wxFileTypeInfo
*result
= 0 ;
16156 bool temp1
= false ;
16157 bool temp2
= false ;
16158 bool temp3
= false ;
16159 bool temp4
= false ;
16160 PyObject
* obj0
= 0 ;
16161 PyObject
* obj1
= 0 ;
16162 PyObject
* obj2
= 0 ;
16163 PyObject
* obj3
= 0 ;
16164 char * kwnames
[] = {
16165 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16170 arg1
= wxString_in_helper(obj0
);
16171 if (arg1
== NULL
) SWIG_fail
;
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16180 arg3
= wxString_in_helper(obj2
);
16181 if (arg3
== NULL
) SWIG_fail
;
16185 arg4
= wxString_in_helper(obj3
);
16186 if (arg4
== NULL
) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16234 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
= 0;
16236 wxArrayString
*arg1
= 0 ;
16237 wxFileTypeInfo
*result
= 0 ;
16238 bool temp1
= false ;
16239 PyObject
* obj0
= 0 ;
16240 char * kwnames
[] = {
16241 (char *) "sArray", NULL
16244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16246 if (! PySequence_Check(obj0
)) {
16247 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16250 arg1
= new wxArrayString
;
16252 int i
, len
=PySequence_Length(obj0
);
16253 for (i
=0; i
<len
; i
++) {
16254 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16255 wxString
* s
= wxString_in_helper(item
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16270 if (temp1
) delete arg1
;
16275 if (temp1
) delete arg1
;
16281 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16282 PyObject
*resultobj
= 0;
16283 wxFileTypeInfo
*result
= 0 ;
16285 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16288 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16299 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16300 PyObject
*resultobj
= 0;
16301 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16305 PyObject
*swig_obj
[1] ;
16307 if (!args
) SWIG_fail
;
16308 swig_obj
[0] = args
;
16309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16310 if (!SWIG_IsOK(res1
)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16313 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16329 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
= 0;
16331 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16332 wxString
*arg2
= 0 ;
16333 int arg3
= (int) 0 ;
16336 bool temp2
= false ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 PyObject
* obj2
= 0 ;
16342 char * kwnames
[] = {
16343 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16348 if (!SWIG_IsOK(res1
)) {
16349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16351 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16353 arg2
= wxString_in_helper(obj1
);
16354 if (arg2
== NULL
) SWIG_fail
;
16358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16359 if (!SWIG_IsOK(ecode3
)) {
16360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16362 arg3
= static_cast< int >(val3
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_Py_Void();
16385 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= 0;
16387 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16388 wxString
*arg2
= 0 ;
16391 bool temp2
= false ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char * kwnames
[] = {
16395 (char *) "self",(char *) "shortDesc", NULL
16398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16400 if (!SWIG_IsOK(res1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16403 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16405 arg2
= wxString_in_helper(obj1
);
16406 if (arg2
== NULL
) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= SWIG_Py_Void();
16430 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16431 PyObject
*resultobj
= 0;
16432 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16433 wxString
*result
= 0 ;
16436 PyObject
*swig_obj
[1] ;
16438 if (!args
) SWIG_fail
;
16439 swig_obj
[0] = args
;
16440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16441 if (!SWIG_IsOK(res1
)) {
16442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16444 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16449 result
= (wxString
*) &_result_ref
;
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16458 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16467 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16468 PyObject
*resultobj
= 0;
16469 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16470 wxString
*result
= 0 ;
16473 PyObject
*swig_obj
[1] ;
16475 if (!args
) SWIG_fail
;
16476 swig_obj
[0] = args
;
16477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16478 if (!SWIG_IsOK(res1
)) {
16479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16481 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16486 result
= (wxString
*) &_result_ref
;
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16504 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16505 PyObject
*resultobj
= 0;
16506 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16507 wxString
*result
= 0 ;
16510 PyObject
*swig_obj
[1] ;
16512 if (!args
) SWIG_fail
;
16513 swig_obj
[0] = args
;
16514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16515 if (!SWIG_IsOK(res1
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16518 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16523 result
= (wxString
*) &_result_ref
;
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16532 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16541 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16542 PyObject
*resultobj
= 0;
16543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16544 wxString
*result
= 0 ;
16547 PyObject
*swig_obj
[1] ;
16549 if (!args
) SWIG_fail
;
16550 swig_obj
[0] = args
;
16551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16552 if (!SWIG_IsOK(res1
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16555 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16560 result
= (wxString
*) &_result_ref
;
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16578 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16579 PyObject
*resultobj
= 0;
16580 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16581 wxString
*result
= 0 ;
16584 PyObject
*swig_obj
[1] ;
16586 if (!args
) SWIG_fail
;
16587 swig_obj
[0] = args
;
16588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16592 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16597 result
= (wxString
*) &_result_ref
;
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16615 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16616 PyObject
*resultobj
= 0;
16617 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16618 wxArrayString
*result
= 0 ;
16621 PyObject
*swig_obj
[1] ;
16623 if (!args
) SWIG_fail
;
16624 swig_obj
[0] = args
;
16625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16629 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16634 result
= (wxArrayString
*) &_result_ref
;
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= wxArrayString2PyList_helper(*result
);
16648 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 PyObject
*resultobj
= 0;
16650 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16654 PyObject
*swig_obj
[1] ;
16656 if (!args
) SWIG_fail
;
16657 swig_obj
[0] = args
;
16658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16662 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16676 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16677 PyObject
*resultobj
= 0;
16678 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16679 wxString
*result
= 0 ;
16682 PyObject
*swig_obj
[1] ;
16684 if (!args
) SWIG_fail
;
16685 swig_obj
[0] = args
;
16686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16687 if (!SWIG_IsOK(res1
)) {
16688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16690 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16695 result
= (wxString
*) &_result_ref
;
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16704 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16713 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16714 PyObject
*resultobj
= 0;
16715 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16719 PyObject
*swig_obj
[1] ;
16721 if (!args
) SWIG_fail
;
16722 swig_obj
[0] = args
;
16723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16724 if (!SWIG_IsOK(res1
)) {
16725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16727 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 resultobj
= SWIG_From_int(static_cast< int >(result
));
16741 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16744 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16745 return SWIG_Py_Void();
16748 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16749 return SWIG_Python_InitShadowInstance(args
);
16752 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= 0;
16754 wxFileTypeInfo
*arg1
= 0 ;
16755 wxFileType
*result
= 0 ;
16758 PyObject
* obj0
= 0 ;
16759 char * kwnames
[] = {
16760 (char *) "ftInfo", NULL
16763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16764 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16771 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16785 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16786 PyObject
*resultobj
= 0;
16787 wxFileType
*arg1
= (wxFileType
*) 0 ;
16790 PyObject
*swig_obj
[1] ;
16792 if (!args
) SWIG_fail
;
16793 swig_obj
[0] = args
;
16794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16795 if (!SWIG_IsOK(res1
)) {
16796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16798 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_Py_Void();
16813 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16814 PyObject
*resultobj
= 0;
16815 wxFileType
*arg1
= (wxFileType
*) 0 ;
16816 PyObject
*result
= 0 ;
16819 PyObject
*swig_obj
[1] ;
16821 if (!args
) SWIG_fail
;
16822 swig_obj
[0] = args
;
16823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16824 if (!SWIG_IsOK(res1
)) {
16825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16827 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= result
;
16841 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16842 PyObject
*resultobj
= 0;
16843 wxFileType
*arg1
= (wxFileType
*) 0 ;
16844 PyObject
*result
= 0 ;
16847 PyObject
*swig_obj
[1] ;
16849 if (!args
) SWIG_fail
;
16850 swig_obj
[0] = args
;
16851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16852 if (!SWIG_IsOK(res1
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
16855 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
;
16869 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16870 PyObject
*resultobj
= 0;
16871 wxFileType
*arg1
= (wxFileType
*) 0 ;
16872 PyObject
*result
= 0 ;
16875 PyObject
*swig_obj
[1] ;
16877 if (!args
) SWIG_fail
;
16878 swig_obj
[0] = args
;
16879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16880 if (!SWIG_IsOK(res1
)) {
16881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
16883 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= result
;
16897 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16898 PyObject
*resultobj
= 0;
16899 wxFileType
*arg1
= (wxFileType
*) 0 ;
16900 wxIcon
*result
= 0 ;
16903 PyObject
*swig_obj
[1] ;
16905 if (!args
) SWIG_fail
;
16906 swig_obj
[0] = args
;
16907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
16911 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
16925 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 PyObject
*resultobj
= 0;
16927 wxFileType
*arg1
= (wxFileType
*) 0 ;
16928 PyObject
*result
= 0 ;
16931 PyObject
*swig_obj
[1] ;
16933 if (!args
) SWIG_fail
;
16934 swig_obj
[0] = args
;
16935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
16939 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= result
;
16953 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16954 PyObject
*resultobj
= 0;
16955 wxFileType
*arg1
= (wxFileType
*) 0 ;
16956 PyObject
*result
= 0 ;
16959 PyObject
*swig_obj
[1] ;
16961 if (!args
) SWIG_fail
;
16962 swig_obj
[0] = args
;
16963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
16967 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= result
;
16981 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
= 0;
16983 wxFileType
*arg1
= (wxFileType
*) 0 ;
16984 wxString
*arg2
= 0 ;
16985 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16986 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16987 PyObject
*result
= 0 ;
16990 bool temp2
= false ;
16991 bool temp3
= false ;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 PyObject
* obj2
= 0 ;
16995 char * kwnames
[] = {
16996 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
16999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17001 if (!SWIG_IsOK(res1
)) {
17002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17004 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17006 arg2
= wxString_in_helper(obj1
);
17007 if (arg2
== NULL
) SWIG_fail
;
17012 arg3
= wxString_in_helper(obj2
);
17013 if (arg3
== NULL
) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= result
;
17046 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
= 0;
17048 wxFileType
*arg1
= (wxFileType
*) 0 ;
17049 wxString
*arg2
= 0 ;
17050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17052 PyObject
*result
= 0 ;
17055 bool temp2
= false ;
17056 bool temp3
= false ;
17057 PyObject
* obj0
= 0 ;
17058 PyObject
* obj1
= 0 ;
17059 PyObject
* obj2
= 0 ;
17060 char * kwnames
[] = {
17061 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17066 if (!SWIG_IsOK(res1
)) {
17067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17069 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17071 arg2
= wxString_in_helper(obj1
);
17072 if (arg2
== NULL
) SWIG_fail
;
17077 arg3
= wxString_in_helper(obj2
);
17078 if (arg3
== NULL
) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= result
;
17111 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
= 0;
17113 wxFileType
*arg1
= (wxFileType
*) 0 ;
17114 wxString
*arg2
= 0 ;
17115 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17117 PyObject
*result
= 0 ;
17120 bool temp2
= false ;
17121 bool temp3
= false ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 PyObject
* obj2
= 0 ;
17125 char * kwnames
[] = {
17126 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17131 if (!SWIG_IsOK(res1
)) {
17132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17134 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17136 arg2
= wxString_in_helper(obj1
);
17137 if (arg2
== NULL
) SWIG_fail
;
17142 arg3
= wxString_in_helper(obj2
);
17143 if (arg3
== NULL
) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= result
;
17176 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
= 0;
17178 wxFileType
*arg1
= (wxFileType
*) 0 ;
17179 wxString
*arg2
= 0 ;
17180 wxString
*arg3
= 0 ;
17181 bool arg4
= (bool) true ;
17185 bool temp2
= false ;
17186 bool temp3
= false ;
17189 PyObject
* obj0
= 0 ;
17190 PyObject
* obj1
= 0 ;
17191 PyObject
* obj2
= 0 ;
17192 PyObject
* obj3
= 0 ;
17193 char * kwnames
[] = {
17194 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17199 if (!SWIG_IsOK(res1
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17202 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17204 arg2
= wxString_in_helper(obj1
);
17205 if (arg2
== NULL
) SWIG_fail
;
17209 arg3
= wxString_in_helper(obj2
);
17210 if (arg3
== NULL
) SWIG_fail
;
17214 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17215 if (!SWIG_IsOK(ecode4
)) {
17216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17218 arg4
= static_cast< bool >(val4
);
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= 0;
17253 wxFileType
*arg1
= (wxFileType
*) 0 ;
17254 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17255 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17256 int arg3
= (int) 0 ;
17260 bool temp2
= false ;
17263 PyObject
* obj0
= 0 ;
17264 PyObject
* obj1
= 0 ;
17265 PyObject
* obj2
= 0 ;
17266 char * kwnames
[] = {
17267 (char *) "self",(char *) "cmd",(char *) "index", NULL
17270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17272 if (!SWIG_IsOK(res1
)) {
17273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17275 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17278 arg2
= wxString_in_helper(obj1
);
17279 if (arg2
== NULL
) SWIG_fail
;
17284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17285 if (!SWIG_IsOK(ecode3
)) {
17286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17288 arg3
= static_cast< int >(val3
);
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17313 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17314 PyObject
*resultobj
= 0;
17315 wxFileType
*arg1
= (wxFileType
*) 0 ;
17319 PyObject
*swig_obj
[1] ;
17321 if (!args
) SWIG_fail
;
17322 swig_obj
[0] = args
;
17323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17324 if (!SWIG_IsOK(res1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17327 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (bool)(arg1
)->Unassociate();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17343 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
= 0;
17345 wxString
*arg1
= 0 ;
17346 wxString
*arg2
= 0 ;
17347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17350 bool temp1
= false ;
17351 bool temp2
= false ;
17352 bool temp3
= false ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 char * kwnames
[] = {
17357 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17362 arg1
= wxString_in_helper(obj0
);
17363 if (arg1
== NULL
) SWIG_fail
;
17367 arg2
= wxString_in_helper(obj1
);
17368 if (arg2
== NULL
) SWIG_fail
;
17373 arg3
= wxString_in_helper(obj2
);
17374 if (arg3
== NULL
) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17421 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17424 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17425 return SWIG_Py_Void();
17428 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17429 return SWIG_Python_InitShadowInstance(args
);
17432 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17433 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17438 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17439 PyObject
*pyobj
= 0;
17441 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17446 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
= 0;
17448 wxString
*arg1
= 0 ;
17449 wxString
*arg2
= 0 ;
17451 bool temp1
= false ;
17452 bool temp2
= false ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "mimeType",(char *) "wildcard", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17461 arg1
= wxString_in_helper(obj0
);
17462 if (arg1
== NULL
) SWIG_fail
;
17466 arg2
= wxString_in_helper(obj1
);
17467 if (arg2
== NULL
) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17502 PyObject
*resultobj
= 0;
17503 wxMimeTypesManager
*result
= 0 ;
17505 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17519 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
= 0;
17521 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17522 int arg2
= (int) wxMAILCAP_ALL
;
17523 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17529 bool temp3
= false ;
17530 PyObject
* obj0
= 0 ;
17531 PyObject
* obj1
= 0 ;
17532 PyObject
* obj2
= 0 ;
17533 char * kwnames
[] = {
17534 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17539 if (!SWIG_IsOK(res1
)) {
17540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17542 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17545 if (!SWIG_IsOK(ecode2
)) {
17546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17548 arg2
= static_cast< int >(val2
);
17552 arg3
= wxString_in_helper(obj2
);
17553 if (arg3
== NULL
) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= SWIG_Py_Void();
17578 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17579 PyObject
*resultobj
= 0;
17580 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17583 PyObject
*swig_obj
[1] ;
17585 if (!args
) SWIG_fail
;
17586 swig_obj
[0] = args
;
17587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17588 if (!SWIG_IsOK(res1
)) {
17589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17591 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->ClearData();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_Py_Void();
17605 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
= 0;
17607 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17608 wxString
*arg2
= 0 ;
17609 wxFileType
*result
= 0 ;
17612 bool temp2
= false ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char * kwnames
[] = {
17616 (char *) "self",(char *) "ext", NULL
17619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17624 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17626 arg2
= wxString_in_helper(obj1
);
17627 if (arg2
== NULL
) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17651 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
= 0;
17653 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17654 wxString
*arg2
= 0 ;
17655 wxFileType
*result
= 0 ;
17658 bool temp2
= false ;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 char * kwnames
[] = {
17662 (char *) "self",(char *) "mimeType", NULL
17665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17667 if (!SWIG_IsOK(res1
)) {
17668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17670 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17672 arg2
= wxString_in_helper(obj1
);
17673 if (arg2
== NULL
) SWIG_fail
;
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17697 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
= 0;
17699 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17700 wxString
*arg2
= 0 ;
17701 bool arg3
= (bool) false ;
17705 bool temp2
= false ;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 PyObject
* obj2
= 0 ;
17711 char * kwnames
[] = {
17712 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17717 if (!SWIG_IsOK(res1
)) {
17718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17720 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17722 arg2
= wxString_in_helper(obj1
);
17723 if (arg2
== NULL
) SWIG_fail
;
17727 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17728 if (!SWIG_IsOK(ecode3
)) {
17729 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17731 arg3
= static_cast< bool >(val3
);
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17756 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
= 0;
17758 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17759 wxString
*arg2
= 0 ;
17763 bool temp2
= false ;
17764 PyObject
* obj0
= 0 ;
17765 PyObject
* obj1
= 0 ;
17766 char * kwnames
[] = {
17767 (char *) "self",(char *) "filename", NULL
17770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17775 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17777 arg2
= wxString_in_helper(obj1
);
17778 if (arg2
== NULL
) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17804 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17805 PyObject
*resultobj
= 0;
17806 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17807 PyObject
*result
= 0 ;
17810 PyObject
*swig_obj
[1] ;
17812 if (!args
) SWIG_fail
;
17813 swig_obj
[0] = args
;
17814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17818 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= result
;
17832 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
= 0;
17834 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17835 wxFileTypeInfo
*arg2
= 0 ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 char * kwnames
[] = {
17843 (char *) "self",(char *) "ft", NULL
17846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17848 if (!SWIG_IsOK(res1
)) {
17849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17851 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17853 if (!SWIG_IsOK(res2
)) {
17854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17859 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_Py_Void();
17873 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
= 0;
17875 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17876 wxFileTypeInfo
*arg2
= 0 ;
17877 wxFileType
*result
= 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 char * kwnames
[] = {
17885 (char *) "self",(char *) "ftInfo", NULL
17888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17890 if (!SWIG_IsOK(res1
)) {
17891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17893 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
17895 if (!SWIG_IsOK(res2
)) {
17896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
17901 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17915 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
= 0;
17917 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17918 wxFileType
*arg2
= (wxFileType
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char * kwnames
[] = {
17927 (char *) "self",(char *) "ft", NULL
17930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17932 if (!SWIG_IsOK(res1
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17935 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17937 if (!SWIG_IsOK(res2
)) {
17938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
17940 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17943 result
= (bool)(arg1
)->Unassociate(arg2
);
17944 wxPyEndAllowThreads(__tstate
);
17945 if (PyErr_Occurred()) SWIG_fail
;
17948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17956 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17957 PyObject
*resultobj
= 0;
17958 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17961 PyObject
*swig_obj
[1] ;
17963 if (!args
) SWIG_fail
;
17964 swig_obj
[0] = args
;
17965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
17966 if (!SWIG_IsOK(res1
)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17969 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_Py_Void();
17984 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17987 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
17988 return SWIG_Py_Void();
17991 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17992 return SWIG_Python_InitShadowInstance(args
);
17995 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
17996 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18001 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18002 PyObject
*pyobj
= 0;
18006 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18008 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18015 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18016 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18021 SWIGINTERN PyObject
*ART_MENU_get(void) {
18022 PyObject
*pyobj
= 0;
18026 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18028 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18035 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18036 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18041 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18042 PyObject
*pyobj
= 0;
18046 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18048 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18055 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18056 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18061 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18062 PyObject
*pyobj
= 0;
18066 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18068 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18075 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18076 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18081 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18082 PyObject
*pyobj
= 0;
18086 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18088 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18095 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18096 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18101 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18102 PyObject
*pyobj
= 0;
18106 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18108 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18115 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18116 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18121 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18122 PyObject
*pyobj
= 0;
18126 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18128 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18135 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18136 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18141 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18142 PyObject
*pyobj
= 0;
18146 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18148 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18155 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18156 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18161 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18162 PyObject
*pyobj
= 0;
18166 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18168 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18175 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18176 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18181 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18182 PyObject
*pyobj
= 0;
18186 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18188 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18195 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18196 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18201 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18202 PyObject
*pyobj
= 0;
18206 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18208 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18215 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18216 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18221 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18222 PyObject
*pyobj
= 0;
18226 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18228 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18235 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18236 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18241 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18242 PyObject
*pyobj
= 0;
18246 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18248 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18255 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18256 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18261 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18262 PyObject
*pyobj
= 0;
18266 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18268 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18275 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18276 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18281 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18282 PyObject
*pyobj
= 0;
18286 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18288 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18295 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18296 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18301 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18302 PyObject
*pyobj
= 0;
18306 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18308 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18315 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18316 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18321 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18322 PyObject
*pyobj
= 0;
18326 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18328 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18335 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18336 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18341 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18342 PyObject
*pyobj
= 0;
18346 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18348 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18355 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18356 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18361 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18362 PyObject
*pyobj
= 0;
18366 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18368 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18375 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18376 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18381 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18382 PyObject
*pyobj
= 0;
18386 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18388 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18395 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18396 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18401 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18402 PyObject
*pyobj
= 0;
18406 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18408 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18415 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18416 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18421 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18422 PyObject
*pyobj
= 0;
18426 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18428 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18435 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18436 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18441 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18442 PyObject
*pyobj
= 0;
18446 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18448 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18455 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18456 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18461 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18462 PyObject
*pyobj
= 0;
18466 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18468 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18475 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18476 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18481 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18482 PyObject
*pyobj
= 0;
18486 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18488 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18495 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18496 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18501 SWIGINTERN PyObject
*ART_HELP_get(void) {
18502 PyObject
*pyobj
= 0;
18506 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18508 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18515 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18516 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18521 SWIGINTERN PyObject
*ART_TIP_get(void) {
18522 PyObject
*pyobj
= 0;
18526 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18528 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18535 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18536 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18541 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18542 PyObject
*pyobj
= 0;
18546 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18548 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18555 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18556 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18561 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18562 PyObject
*pyobj
= 0;
18566 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18568 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18575 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18576 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18581 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18582 PyObject
*pyobj
= 0;
18586 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18588 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18595 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18596 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18601 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18602 PyObject
*pyobj
= 0;
18606 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18608 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18615 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18616 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18621 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18622 PyObject
*pyobj
= 0;
18626 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18628 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18635 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18636 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18641 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18642 PyObject
*pyobj
= 0;
18646 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18648 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18655 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18656 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18661 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18662 PyObject
*pyobj
= 0;
18666 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18668 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18675 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18676 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18681 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18682 PyObject
*pyobj
= 0;
18686 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18688 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18695 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18696 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18701 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18702 PyObject
*pyobj
= 0;
18706 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18708 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18715 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18716 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18721 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18722 PyObject
*pyobj
= 0;
18726 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18728 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18735 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18736 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18741 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18742 PyObject
*pyobj
= 0;
18746 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18748 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18755 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18756 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18761 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18762 PyObject
*pyobj
= 0;
18766 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18768 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18775 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18776 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18781 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18782 PyObject
*pyobj
= 0;
18786 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18788 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18795 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18796 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18801 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18802 PyObject
*pyobj
= 0;
18806 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18808 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18815 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18816 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18821 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18822 PyObject
*pyobj
= 0;
18826 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18828 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18835 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18836 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18841 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18842 PyObject
*pyobj
= 0;
18846 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18848 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18855 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
18856 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
18861 SWIGINTERN PyObject
*ART_WARNING_get(void) {
18862 PyObject
*pyobj
= 0;
18866 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18868 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
18875 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
18876 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
18881 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
18882 PyObject
*pyobj
= 0;
18886 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18888 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
18895 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
18896 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
18901 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
18902 PyObject
*pyobj
= 0;
18906 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18908 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
18915 SWIGINTERN
int ART_COPY_set(PyObject
*) {
18916 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
18921 SWIGINTERN PyObject
*ART_COPY_get(void) {
18922 PyObject
*pyobj
= 0;
18926 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18928 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
18935 SWIGINTERN
int ART_CUT_set(PyObject
*) {
18936 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
18941 SWIGINTERN PyObject
*ART_CUT_get(void) {
18942 PyObject
*pyobj
= 0;
18946 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18948 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
18955 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
18956 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
18961 SWIGINTERN PyObject
*ART_PASTE_get(void) {
18962 PyObject
*pyobj
= 0;
18966 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18968 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
18975 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
18976 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
18981 SWIGINTERN PyObject
*ART_DELETE_get(void) {
18982 PyObject
*pyobj
= 0;
18986 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18988 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
18995 SWIGINTERN
int ART_NEW_set(PyObject
*) {
18996 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19001 SWIGINTERN PyObject
*ART_NEW_get(void) {
19002 PyObject
*pyobj
= 0;
19006 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19008 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19015 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19016 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19021 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19022 PyObject
*pyobj
= 0;
19026 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19028 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19035 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19036 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19041 SWIGINTERN PyObject
*ART_REDO_get(void) {
19042 PyObject
*pyobj
= 0;
19046 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19048 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19055 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19056 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19061 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19062 PyObject
*pyobj
= 0;
19066 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19068 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19075 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19076 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19081 SWIGINTERN PyObject
*ART_FIND_get(void) {
19082 PyObject
*pyobj
= 0;
19086 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19088 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19095 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19096 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19101 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19102 PyObject
*pyobj
= 0;
19106 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19108 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19115 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19116 PyObject
*resultobj
= 0;
19117 wxPyArtProvider
*result
= 0 ;
19119 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19121 if (!wxPyCheckForApp()) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19134 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19135 PyObject
*resultobj
= 0;
19136 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19139 PyObject
*swig_obj
[1] ;
19141 if (!args
) SWIG_fail
;
19142 swig_obj
[0] = args
;
19143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19144 if (!SWIG_IsOK(res1
)) {
19145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19147 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_Py_Void();
19162 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
= 0;
19164 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19165 PyObject
*arg2
= (PyObject
*) 0 ;
19166 PyObject
*arg3
= (PyObject
*) 0 ;
19169 PyObject
* obj0
= 0 ;
19170 PyObject
* obj1
= 0 ;
19171 PyObject
* obj2
= 0 ;
19172 char * kwnames
[] = {
19173 (char *) "self",(char *) "self",(char *) "_class", NULL
19176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19178 if (!SWIG_IsOK(res1
)) {
19179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19181 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19201 PyObject
* obj0
= 0 ;
19202 char * kwnames
[] = {
19203 (char *) "provider", NULL
19206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19207 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19208 if (!SWIG_IsOK(res1
)) {
19209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 wxPyArtProvider::PushProvider(arg1
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 resultobj
= SWIG_Py_Void();
19224 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19225 PyObject
*resultobj
= 0;
19228 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (bool)wxPyArtProvider::PopProvider();
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19244 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
= 0;
19246 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19250 PyObject
* obj0
= 0 ;
19251 char * kwnames
[] = {
19252 (char *) "provider", NULL
19255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19257 if (!SWIG_IsOK(res1
)) {
19258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19260 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19276 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
= 0;
19278 wxString
*arg1
= 0 ;
19279 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19280 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19281 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19282 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19284 bool temp1
= false ;
19285 bool temp2
= false ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char * kwnames
[] = {
19291 (char *) "id",(char *) "client",(char *) "size", NULL
19294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19296 arg1
= wxString_in_helper(obj0
);
19297 if (arg1
== NULL
) SWIG_fail
;
19302 arg2
= wxString_in_helper(obj1
);
19303 if (arg2
== NULL
) SWIG_fail
;
19310 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19314 if (!wxPyCheckForApp()) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19343 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
= 0;
19345 wxString
*arg1
= 0 ;
19346 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19347 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19348 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19349 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19351 bool temp1
= false ;
19352 bool temp2
= false ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 PyObject
* obj2
= 0 ;
19357 char * kwnames
[] = {
19358 (char *) "id",(char *) "client",(char *) "size", NULL
19361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19363 arg1
= wxString_in_helper(obj0
);
19364 if (arg1
== NULL
) SWIG_fail
;
19369 arg2
= wxString_in_helper(obj1
);
19370 if (arg2
== NULL
) SWIG_fail
;
19377 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19381 if (!wxPyCheckForApp()) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19410 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
= 0;
19412 wxString
*arg1
= 0 ;
19413 bool arg2
= (bool) false ;
19415 bool temp1
= false ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char * kwnames
[] = {
19421 (char *) "client",(char *) "platform_dependent", NULL
19424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19426 arg1
= wxString_in_helper(obj0
);
19427 if (arg1
== NULL
) SWIG_fail
;
19431 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19432 if (!SWIG_IsOK(ecode2
)) {
19433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19435 arg2
= static_cast< bool >(val2
);
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19458 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19459 PyObject
*resultobj
= 0;
19460 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19463 PyObject
*swig_obj
[1] ;
19465 if (!args
) SWIG_fail
;
19466 swig_obj
[0] = args
;
19467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19468 if (!SWIG_IsOK(res1
)) {
19469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19471 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 wxPyArtProvider_Destroy(arg1
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_Py_Void();
19485 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19489 return SWIG_Py_Void();
19492 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19493 return SWIG_Python_InitShadowInstance(args
);
19496 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19497 PyObject
*resultobj
= 0;
19498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19501 PyObject
*swig_obj
[1] ;
19503 if (!args
) SWIG_fail
;
19504 swig_obj
[0] = args
;
19505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19506 if (!SWIG_IsOK(res1
)) {
19507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19509 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_Py_Void();
19524 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
= 0;
19526 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19527 wxConfigBase
*result
= 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char * kwnames
[] = {
19531 (char *) "config", NULL
19534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19535 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19536 if (!SWIG_IsOK(res1
)) {
19537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19552 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
= 0;
19554 bool arg1
= (bool) true ;
19555 wxConfigBase
*result
= 0 ;
19558 PyObject
* obj0
= 0 ;
19559 char * kwnames
[] = {
19560 (char *) "createOnDemand", NULL
19563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19565 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19566 if (!SWIG_IsOK(ecode1
)) {
19567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19569 arg1
= static_cast< bool >(val1
);
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19584 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19585 PyObject
*resultobj
= 0;
19586 wxConfigBase
*result
= 0 ;
19588 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= (wxConfigBase
*)wxConfigBase::Create();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19602 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19603 PyObject
*resultobj
= 0;
19605 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 wxConfigBase::DontCreateOnDemand();
19609 wxPyEndAllowThreads(__tstate
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= SWIG_Py_Void();
19619 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
= 0;
19621 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19622 wxString
*arg2
= 0 ;
19625 bool temp2
= false ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 char * kwnames
[] = {
19629 (char *) "self",(char *) "path", NULL
19632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19634 if (!SWIG_IsOK(res1
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19637 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19639 arg2
= wxString_in_helper(obj1
);
19640 if (arg2
== NULL
) SWIG_fail
;
19644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19645 (arg1
)->SetPath((wxString
const &)*arg2
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_Py_Void();
19664 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19665 PyObject
*resultobj
= 0;
19666 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19667 wxString
*result
= 0 ;
19670 PyObject
*swig_obj
[1] ;
19672 if (!args
) SWIG_fail
;
19673 swig_obj
[0] = args
;
19674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19675 if (!SWIG_IsOK(res1
)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19678 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19683 result
= (wxString
*) &_result_ref
;
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19692 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19701 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19702 PyObject
*resultobj
= 0;
19703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19704 PyObject
*result
= 0 ;
19707 PyObject
*swig_obj
[1] ;
19709 if (!args
) SWIG_fail
;
19710 swig_obj
[0] = args
;
19711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19712 if (!SWIG_IsOK(res1
)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19715 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
;
19729 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
= 0;
19731 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19733 PyObject
*result
= 0 ;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 char * kwnames
[] = {
19741 (char *) "self",(char *) "index", NULL
19744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19746 if (!SWIG_IsOK(res1
)) {
19747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19749 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19750 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19751 if (!SWIG_IsOK(ecode2
)) {
19752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19754 arg2
= static_cast< long >(val2
);
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= result
;
19768 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19769 PyObject
*resultobj
= 0;
19770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19771 PyObject
*result
= 0 ;
19774 PyObject
*swig_obj
[1] ;
19776 if (!args
) SWIG_fail
;
19777 swig_obj
[0] = args
;
19778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19779 if (!SWIG_IsOK(res1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19782 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= result
;
19796 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
= 0;
19798 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19800 PyObject
*result
= 0 ;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char * kwnames
[] = {
19808 (char *) "self",(char *) "index", NULL
19811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19813 if (!SWIG_IsOK(res1
)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19816 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19817 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19818 if (!SWIG_IsOK(ecode2
)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19821 arg2
= static_cast< long >(val2
);
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
;
19835 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
= 0;
19837 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19838 bool arg2
= (bool) false ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 char * kwnames
[] = {
19847 (char *) "self",(char *) "recursive", NULL
19850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19852 if (!SWIG_IsOK(res1
)) {
19853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19855 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19857 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19858 if (!SWIG_IsOK(ecode2
)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
19861 arg2
= static_cast< bool >(val2
);
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19876 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19879 bool arg2
= (bool) false ;
19885 PyObject
* obj0
= 0 ;
19886 PyObject
* obj1
= 0 ;
19887 char * kwnames
[] = {
19888 (char *) "self",(char *) "recursive", NULL
19891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19896 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19899 if (!SWIG_IsOK(ecode2
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
19902 arg2
= static_cast< bool >(val2
);
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19917 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19920 wxString
*arg2
= 0 ;
19924 bool temp2
= false ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char * kwnames
[] = {
19928 (char *) "self",(char *) "name", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19936 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19938 arg2
= wxString_in_helper(obj1
);
19939 if (arg2
== NULL
) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19966 PyObject
*resultobj
= 0;
19967 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19968 wxString
*arg2
= 0 ;
19972 bool temp2
= false ;
19973 PyObject
* obj0
= 0 ;
19974 PyObject
* obj1
= 0 ;
19975 char * kwnames
[] = {
19976 (char *) "self",(char *) "name", NULL
19979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19981 if (!SWIG_IsOK(res1
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19984 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19986 arg2
= wxString_in_helper(obj1
);
19987 if (arg2
== NULL
) SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
= 0;
20015 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20016 wxString
*arg2
= 0 ;
20020 bool temp2
= false ;
20021 PyObject
* obj0
= 0 ;
20022 PyObject
* obj1
= 0 ;
20023 char * kwnames
[] = {
20024 (char *) "self",(char *) "name", NULL
20027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20029 if (!SWIG_IsOK(res1
)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20032 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20034 arg2
= wxString_in_helper(obj1
);
20035 if (arg2
== NULL
) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20061 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
= 0;
20063 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20064 wxString
*arg2
= 0 ;
20065 wxConfigBase::EntryType result
;
20068 bool temp2
= false ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char * kwnames
[] = {
20072 (char *) "self",(char *) "name", NULL
20075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20077 if (!SWIG_IsOK(res1
)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20080 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20082 arg2
= wxString_in_helper(obj1
);
20083 if (arg2
== NULL
) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= SWIG_From_int(static_cast< int >(result
));
20107 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= 0;
20109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20110 wxString
*arg2
= 0 ;
20111 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20112 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20116 bool temp2
= false ;
20117 bool temp3
= false ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 PyObject
* obj2
= 0 ;
20121 char * kwnames
[] = {
20122 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20130 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20132 arg2
= wxString_in_helper(obj1
);
20133 if (arg2
== NULL
) SWIG_fail
;
20138 arg3
= wxString_in_helper(obj2
);
20139 if (arg3
== NULL
) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20153 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20178 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20181 wxString
*arg2
= 0 ;
20182 long arg3
= (long) 0 ;
20186 bool temp2
= false ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 PyObject
* obj2
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20201 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20203 arg2
= wxString_in_helper(obj1
);
20204 if (arg2
== NULL
) SWIG_fail
;
20208 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20209 if (!SWIG_IsOK(ecode3
)) {
20210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20212 arg3
= static_cast< long >(val3
);
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= SWIG_From_long(static_cast< long >(result
));
20235 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
= 0;
20237 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20238 wxString
*arg2
= 0 ;
20239 double arg3
= (double) 0.0 ;
20243 bool temp2
= false ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 PyObject
* obj2
= 0 ;
20249 char * kwnames
[] = {
20250 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20258 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20260 arg2
= wxString_in_helper(obj1
);
20261 if (arg2
== NULL
) SWIG_fail
;
20265 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20266 if (!SWIG_IsOK(ecode3
)) {
20267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20269 arg3
= static_cast< double >(val3
);
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_From_double(static_cast< double >(result
));
20292 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
= 0;
20294 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20295 wxString
*arg2
= 0 ;
20296 bool arg3
= (bool) false ;
20300 bool temp2
= false ;
20303 PyObject
* obj0
= 0 ;
20304 PyObject
* obj1
= 0 ;
20305 PyObject
* obj2
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20315 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20317 arg2
= wxString_in_helper(obj1
);
20318 if (arg2
== NULL
) SWIG_fail
;
20322 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20323 if (!SWIG_IsOK(ecode3
)) {
20324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20326 arg3
= static_cast< bool >(val3
);
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20351 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20354 wxString
*arg2
= 0 ;
20355 wxString
*arg3
= 0 ;
20359 bool temp2
= false ;
20360 bool temp3
= false ;
20361 PyObject
* obj0
= 0 ;
20362 PyObject
* obj1
= 0 ;
20363 PyObject
* obj2
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "self",(char *) "key",(char *) "value", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20373 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20375 arg2
= wxString_in_helper(obj1
);
20376 if (arg2
== NULL
) SWIG_fail
;
20380 arg3
= wxString_in_helper(obj2
);
20381 if (arg3
== NULL
) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20415 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20418 wxString
*arg2
= 0 ;
20423 bool temp2
= false ;
20426 PyObject
* obj0
= 0 ;
20427 PyObject
* obj1
= 0 ;
20428 PyObject
* obj2
= 0 ;
20429 char * kwnames
[] = {
20430 (char *) "self",(char *) "key",(char *) "value", NULL
20433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20435 if (!SWIG_IsOK(res1
)) {
20436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20438 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20440 arg2
= wxString_in_helper(obj1
);
20441 if (arg2
== NULL
) SWIG_fail
;
20444 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20445 if (!SWIG_IsOK(ecode3
)) {
20446 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20448 arg3
= static_cast< long >(val3
);
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20472 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
= 0;
20474 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20475 wxString
*arg2
= 0 ;
20480 bool temp2
= false ;
20483 PyObject
* obj0
= 0 ;
20484 PyObject
* obj1
= 0 ;
20485 PyObject
* obj2
= 0 ;
20486 char * kwnames
[] = {
20487 (char *) "self",(char *) "key",(char *) "value", NULL
20490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20495 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20497 arg2
= wxString_in_helper(obj1
);
20498 if (arg2
== NULL
) SWIG_fail
;
20501 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20502 if (!SWIG_IsOK(ecode3
)) {
20503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20505 arg3
= static_cast< double >(val3
);
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20529 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
= 0;
20531 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20532 wxString
*arg2
= 0 ;
20537 bool temp2
= false ;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 PyObject
* obj2
= 0 ;
20543 char * kwnames
[] = {
20544 (char *) "self",(char *) "key",(char *) "value", NULL
20547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20552 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20554 arg2
= wxString_in_helper(obj1
);
20555 if (arg2
== NULL
) SWIG_fail
;
20558 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20559 if (!SWIG_IsOK(ecode3
)) {
20560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20562 arg3
= static_cast< bool >(val3
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20586 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
= 0;
20588 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20589 bool arg2
= (bool) false ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 char * kwnames
[] = {
20598 (char *) "self",(char *) "currentOnly", NULL
20601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20603 if (!SWIG_IsOK(res1
)) {
20604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20606 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20609 if (!SWIG_IsOK(ecode2
)) {
20610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20612 arg2
= static_cast< bool >(val2
);
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (bool)(arg1
)->Flush(arg2
);
20617 wxPyEndAllowThreads(__tstate
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20629 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
= 0;
20631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20632 wxString
*arg2
= 0 ;
20633 wxString
*arg3
= 0 ;
20637 bool temp2
= false ;
20638 bool temp3
= false ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 char * kwnames
[] = {
20643 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20648 if (!SWIG_IsOK(res1
)) {
20649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20651 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20653 arg2
= wxString_in_helper(obj1
);
20654 if (arg2
== NULL
) SWIG_fail
;
20658 arg3
= wxString_in_helper(obj2
);
20659 if (arg3
== NULL
) SWIG_fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20693 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
= 0;
20695 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20696 wxString
*arg2
= 0 ;
20697 wxString
*arg3
= 0 ;
20701 bool temp2
= false ;
20702 bool temp3
= false ;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 PyObject
* obj2
= 0 ;
20706 char * kwnames
[] = {
20707 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20712 if (!SWIG_IsOK(res1
)) {
20713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20715 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20717 arg2
= wxString_in_helper(obj1
);
20718 if (arg2
== NULL
) SWIG_fail
;
20722 arg3
= wxString_in_helper(obj2
);
20723 if (arg3
== NULL
) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20757 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
= 0;
20759 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20760 wxString
*arg2
= 0 ;
20761 bool arg3
= (bool) true ;
20765 bool temp2
= false ;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 PyObject
* obj2
= 0 ;
20771 char * kwnames
[] = {
20772 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20777 if (!SWIG_IsOK(res1
)) {
20778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20780 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20782 arg2
= wxString_in_helper(obj1
);
20783 if (arg2
== NULL
) SWIG_fail
;
20787 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20788 if (!SWIG_IsOK(ecode3
)) {
20789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20791 arg3
= static_cast< bool >(val3
);
20794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20795 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20796 wxPyEndAllowThreads(__tstate
);
20797 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20816 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
= 0;
20818 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20819 wxString
*arg2
= 0 ;
20823 bool temp2
= false ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char * kwnames
[] = {
20827 (char *) "self",(char *) "key", NULL
20830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20832 if (!SWIG_IsOK(res1
)) {
20833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20835 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20837 arg2
= wxString_in_helper(obj1
);
20838 if (arg2
== NULL
) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20864 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20865 PyObject
*resultobj
= 0;
20866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20870 PyObject
*swig_obj
[1] ;
20872 if (!args
) SWIG_fail
;
20873 swig_obj
[0] = args
;
20874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20878 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (bool)(arg1
)->DeleteAll();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20894 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
= 0;
20896 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20897 bool arg2
= (bool) true ;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char * kwnames
[] = {
20905 (char *) "self",(char *) "doIt", NULL
20908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20910 if (!SWIG_IsOK(res1
)) {
20911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20913 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20916 if (!SWIG_IsOK(ecode2
)) {
20917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
20919 arg2
= static_cast< bool >(val2
);
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 (arg1
)->SetExpandEnvVars(arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 resultobj
= SWIG_Py_Void();
20934 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20940 PyObject
*swig_obj
[1] ;
20942 if (!args
) SWIG_fail
;
20943 swig_obj
[0] = args
;
20944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20948 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20964 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20967 bool arg2
= (bool) true ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 char * kwnames
[] = {
20975 (char *) "self",(char *) "doIt", NULL
20978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20983 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20986 if (!SWIG_IsOK(ecode2
)) {
20987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
20989 arg2
= static_cast< bool >(val2
);
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 (arg1
)->SetRecordDefaults(arg2
);
20994 wxPyEndAllowThreads(__tstate
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20997 resultobj
= SWIG_Py_Void();
21004 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21005 PyObject
*resultobj
= 0;
21006 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21010 PyObject
*swig_obj
[1] ;
21012 if (!args
) SWIG_fail
;
21013 swig_obj
[0] = args
;
21014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21015 if (!SWIG_IsOK(res1
)) {
21016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21018 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21034 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
= 0;
21036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21037 wxString
*arg2
= 0 ;
21041 bool temp2
= false ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char * kwnames
[] = {
21045 (char *) "self",(char *) "str", NULL
21048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21050 if (!SWIG_IsOK(res1
)) {
21051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21053 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21055 arg2
= wxString_in_helper(obj1
);
21056 if (arg2
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21086 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21087 PyObject
*resultobj
= 0;
21088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21092 PyObject
*swig_obj
[1] ;
21094 if (!args
) SWIG_fail
;
21095 swig_obj
[0] = args
;
21096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21100 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21120 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21121 PyObject
*resultobj
= 0;
21122 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21126 PyObject
*swig_obj
[1] ;
21128 if (!args
) SWIG_fail
;
21129 swig_obj
[0] = args
;
21130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21131 if (!SWIG_IsOK(res1
)) {
21132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21134 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21138 wxPyEndAllowThreads(__tstate
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21154 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21157 wxString
*arg2
= 0 ;
21160 bool temp2
= false ;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 char * kwnames
[] = {
21164 (char *) "self",(char *) "appName", NULL
21167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21169 if (!SWIG_IsOK(res1
)) {
21170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21172 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21174 arg2
= wxString_in_helper(obj1
);
21175 if (arg2
== NULL
) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 (arg1
)->SetAppName((wxString
const &)*arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_Py_Void();
21199 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21200 PyObject
*resultobj
= 0;
21201 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21202 wxString
*arg2
= 0 ;
21205 bool temp2
= false ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 char * kwnames
[] = {
21209 (char *) "self",(char *) "vendorName", NULL
21212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21214 if (!SWIG_IsOK(res1
)) {
21215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21217 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21219 arg2
= wxString_in_helper(obj1
);
21220 if (arg2
== NULL
) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_Py_Void();
21244 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
= 0;
21246 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "self",(char *) "style", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21263 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21264 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21265 if (!SWIG_IsOK(ecode2
)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21268 arg2
= static_cast< long >(val2
);
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 (arg1
)->SetStyle(arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_Py_Void();
21282 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21283 PyObject
*resultobj
= 0;
21284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21288 PyObject
*swig_obj
[1] ;
21290 if (!args
) SWIG_fail
;
21291 swig_obj
[0] = args
;
21292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21296 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_From_long(static_cast< long >(result
));
21310 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21313 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21314 return SWIG_Py_Void();
21317 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
= 0;
21319 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21320 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21321 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21322 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21325 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21326 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21327 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21328 wxConfig
*result
= 0 ;
21329 bool temp1
= false ;
21330 bool temp2
= false ;
21331 bool temp3
= false ;
21332 bool temp4
= false ;
21335 PyObject
* obj0
= 0 ;
21336 PyObject
* obj1
= 0 ;
21337 PyObject
* obj2
= 0 ;
21338 PyObject
* obj3
= 0 ;
21339 PyObject
* obj4
= 0 ;
21340 char * kwnames
[] = {
21341 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21347 arg1
= wxString_in_helper(obj0
);
21348 if (arg1
== NULL
) SWIG_fail
;
21354 arg2
= wxString_in_helper(obj1
);
21355 if (arg2
== NULL
) SWIG_fail
;
21361 arg3
= wxString_in_helper(obj2
);
21362 if (arg3
== NULL
) SWIG_fail
;
21368 arg4
= wxString_in_helper(obj3
);
21369 if (arg4
== NULL
) SWIG_fail
;
21374 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21375 if (!SWIG_IsOK(ecode5
)) {
21376 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21378 arg5
= static_cast< long >(val5
);
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21425 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21426 PyObject
*resultobj
= 0;
21427 wxConfig
*arg1
= (wxConfig
*) 0 ;
21430 PyObject
*swig_obj
[1] ;
21432 if (!args
) SWIG_fail
;
21433 swig_obj
[0] = args
;
21434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21435 if (!SWIG_IsOK(res1
)) {
21436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21438 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_Py_Void();
21453 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21456 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21457 return SWIG_Py_Void();
21460 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21461 return SWIG_Python_InitShadowInstance(args
);
21464 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
= 0;
21466 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21467 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21468 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21470 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21471 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21472 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21473 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21474 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21475 wxFileConfig
*result
= 0 ;
21476 bool temp1
= false ;
21477 bool temp2
= false ;
21478 bool temp3
= false ;
21479 bool temp4
= false ;
21482 PyObject
* obj0
= 0 ;
21483 PyObject
* obj1
= 0 ;
21484 PyObject
* obj2
= 0 ;
21485 PyObject
* obj3
= 0 ;
21486 PyObject
* obj4
= 0 ;
21487 char * kwnames
[] = {
21488 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21494 arg1
= wxString_in_helper(obj0
);
21495 if (arg1
== NULL
) SWIG_fail
;
21501 arg2
= wxString_in_helper(obj1
);
21502 if (arg2
== NULL
) SWIG_fail
;
21508 arg3
= wxString_in_helper(obj2
);
21509 if (arg3
== NULL
) SWIG_fail
;
21515 arg4
= wxString_in_helper(obj3
);
21516 if (arg4
== NULL
) SWIG_fail
;
21521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21522 if (!SWIG_IsOK(ecode5
)) {
21523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21525 arg5
= static_cast< long >(val5
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21572 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21573 PyObject
*resultobj
= 0;
21574 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21577 PyObject
*swig_obj
[1] ;
21579 if (!args
) SWIG_fail
;
21580 swig_obj
[0] = args
;
21581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21582 if (!SWIG_IsOK(res1
)) {
21583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21585 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_Py_Void();
21600 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21603 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21604 return SWIG_Py_Void();
21607 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21608 return SWIG_Python_InitShadowInstance(args
);
21611 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
= 0;
21613 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21614 wxString
*arg2
= 0 ;
21615 wxConfigPathChanger
*result
= 0 ;
21618 bool temp2
= false ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char * kwnames
[] = {
21622 (char *) "config",(char *) "entry", NULL
21625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21627 if (!SWIG_IsOK(res1
)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21630 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21632 arg2
= wxString_in_helper(obj1
);
21633 if (arg2
== NULL
) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21657 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21658 PyObject
*resultobj
= 0;
21659 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21662 PyObject
*swig_obj
[1] ;
21664 if (!args
) SWIG_fail
;
21665 swig_obj
[0] = args
;
21666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21667 if (!SWIG_IsOK(res1
)) {
21668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21670 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_Py_Void();
21685 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21686 PyObject
*resultobj
= 0;
21687 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21688 wxString
*result
= 0 ;
21691 PyObject
*swig_obj
[1] ;
21693 if (!args
) SWIG_fail
;
21694 swig_obj
[0] = args
;
21695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21696 if (!SWIG_IsOK(res1
)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21699 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21704 result
= (wxString
*) &_result_ref
;
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21722 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21725 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21726 return SWIG_Py_Void();
21729 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21730 return SWIG_Python_InitShadowInstance(args
);
21733 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
= 0;
21735 wxString
*arg1
= 0 ;
21737 bool temp1
= false ;
21738 PyObject
* obj0
= 0 ;
21739 char * kwnames
[] = {
21740 (char *) "sz", NULL
21743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21745 arg1
= wxString_in_helper(obj0
);
21746 if (arg1
== NULL
) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21776 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21777 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21782 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21783 PyObject
*pyobj
= 0;
21787 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21789 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21796 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21797 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21802 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21803 PyObject
*pyobj
= 0;
21807 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21809 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21816 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxDateTime::Country arg1
;
21821 PyObject
* obj0
= 0 ;
21822 char * kwnames
[] = {
21823 (char *) "country", NULL
21826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21827 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21828 if (!SWIG_IsOK(ecode1
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21831 arg1
= static_cast< wxDateTime::Country
>(val1
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 wxDateTime::SetCountry(arg1
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21845 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 PyObject
*resultobj
= 0;
21847 wxDateTime::Country result
;
21849 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_From_int(static_cast< int >(result
));
21863 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= 0;
21865 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
21869 PyObject
* obj0
= 0 ;
21870 char * kwnames
[] = {
21871 (char *) "country", NULL
21874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
21876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21877 if (!SWIG_IsOK(ecode1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21880 arg1
= static_cast< wxDateTime::Country
>(val1
);
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21897 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
= 0;
21899 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21903 PyObject
* obj0
= 0 ;
21904 char * kwnames
[] = {
21905 (char *) "cal", NULL
21908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
21910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21911 if (!SWIG_IsOK(ecode1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21914 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (int)wxDateTime::GetCurrentYear(arg1
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_From_int(static_cast< int >(result
));
21929 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
= 0;
21935 PyObject
* obj0
= 0 ;
21936 char * kwnames
[] = {
21937 (char *) "year", NULL
21940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
21941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21942 if (!SWIG_IsOK(ecode1
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
21945 arg1
= static_cast< int >(val1
);
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_From_int(static_cast< int >(result
));
21959 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= 0;
21961 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
21962 wxDateTime::Month result
;
21965 PyObject
* obj0
= 0 ;
21966 char * kwnames
[] = {
21967 (char *) "cal", NULL
21970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
21972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21973 if (!SWIG_IsOK(ecode1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
21976 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 resultobj
= SWIG_From_int(static_cast< int >(result
));
21991 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
= 0;
21993 int arg1
= (int) wxDateTime::Inv_Year
;
21994 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22000 PyObject
* obj0
= 0 ;
22001 PyObject
* obj1
= 0 ;
22002 char * kwnames
[] = {
22003 (char *) "year",(char *) "cal", NULL
22006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22009 if (!SWIG_IsOK(ecode1
)) {
22010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22012 arg1
= static_cast< int >(val1
);
22015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22016 if (!SWIG_IsOK(ecode2
)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22019 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22036 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
= 0;
22038 int arg1
= (int) wxDateTime::Inv_Year
;
22042 PyObject
* obj0
= 0 ;
22043 char * kwnames
[] = {
22044 (char *) "year", NULL
22047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22049 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22050 if (!SWIG_IsOK(ecode1
)) {
22051 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22053 arg1
= static_cast< int >(val1
);
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (int)wxDateTime::GetCentury(arg1
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_From_int(static_cast< int >(result
));
22068 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
= 0;
22071 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22077 PyObject
* obj0
= 0 ;
22078 PyObject
* obj1
= 0 ;
22079 char * kwnames
[] = {
22080 (char *) "year",(char *) "cal", NULL
22083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22085 if (!SWIG_IsOK(ecode1
)) {
22086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22088 arg1
= static_cast< int >(val1
);
22090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22091 if (!SWIG_IsOK(ecode2
)) {
22092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22094 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22099 wxPyEndAllowThreads(__tstate
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 resultobj
= SWIG_From_int(static_cast< int >(result
));
22109 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxDateTime::Month arg1
;
22112 int arg2
= (int) wxDateTime::Inv_Year
;
22113 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 PyObject
* obj2
= 0 ;
22124 char * kwnames
[] = {
22125 (char *) "month",(char *) "year",(char *) "cal", NULL
22128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22129 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22130 if (!SWIG_IsOK(ecode1
)) {
22131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22133 arg1
= static_cast< wxDateTime::Month
>(val1
);
22135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22136 if (!SWIG_IsOK(ecode2
)) {
22137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22139 arg2
= static_cast< int >(val2
);
22142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22143 if (!SWIG_IsOK(ecode3
)) {
22144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22146 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_From_int(static_cast< int >(result
));
22161 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxDateTime::Month arg1
;
22164 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 char * kwnames
[] = {
22173 (char *) "month",(char *) "flags", NULL
22176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22177 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22178 if (!SWIG_IsOK(ecode1
)) {
22179 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22181 arg1
= static_cast< wxDateTime::Month
>(val1
);
22183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22184 if (!SWIG_IsOK(ecode2
)) {
22185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22187 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22208 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
= 0;
22210 wxDateTime::WeekDay arg1
;
22211 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22217 PyObject
* obj0
= 0 ;
22218 PyObject
* obj1
= 0 ;
22219 char * kwnames
[] = {
22220 (char *) "weekday",(char *) "flags", NULL
22223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22224 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22225 if (!SWIG_IsOK(ecode1
)) {
22226 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22228 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22231 if (!SWIG_IsOK(ecode2
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22234 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22255 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22256 PyObject
*resultobj
= 0;
22257 PyObject
*result
= 0 ;
22259 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
;
22273 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
= 0;
22275 int arg1
= (int) wxDateTime::Inv_Year
;
22276 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 char * kwnames
[] = {
22285 (char *) "year",(char *) "country", NULL
22288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22290 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22291 if (!SWIG_IsOK(ecode1
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22294 arg1
= static_cast< int >(val1
);
22297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22298 if (!SWIG_IsOK(ecode2
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22301 arg2
= static_cast< wxDateTime::Country
>(val2
);
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22318 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22319 PyObject
*resultobj
= 0;
22320 int arg1
= (int) wxDateTime::Inv_Year
;
22321 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char * kwnames
[] = {
22330 (char *) "year",(char *) "country", NULL
22333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22335 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22336 if (!SWIG_IsOK(ecode1
)) {
22337 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22339 arg1
= static_cast< int >(val1
);
22342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22343 if (!SWIG_IsOK(ecode2
)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22346 arg2
= static_cast< wxDateTime::Country
>(val2
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22361 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
= 0;
22363 int arg1
= (int) wxDateTime::Inv_Year
;
22364 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char * kwnames
[] = {
22373 (char *) "year",(char *) "country", NULL
22376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22378 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22379 if (!SWIG_IsOK(ecode1
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22382 arg1
= static_cast< int >(val1
);
22385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22386 if (!SWIG_IsOK(ecode2
)) {
22387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22389 arg2
= static_cast< wxDateTime::Country
>(val2
);
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22404 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22405 PyObject
*resultobj
= 0;
22408 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= wxDateTime::Now();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22422 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22423 PyObject
*resultobj
= 0;
22426 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= wxDateTime::UNow();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22440 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22441 PyObject
*resultobj
= 0;
22444 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= wxDateTime::Today();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22458 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 PyObject
*resultobj
= 0;
22460 wxDateTime
*result
= 0 ;
22462 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 result
= (wxDateTime
*)new wxDateTime();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22476 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
= 0;
22479 wxDateTime
*result
= 0 ;
22480 unsigned int val1
;
22482 PyObject
* obj0
= 0 ;
22483 char * kwnames
[] = {
22484 (char *) "timet", NULL
22487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22488 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22489 if (!SWIG_IsOK(ecode1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22492 arg1
= static_cast< time_t >(val1
);
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (wxDateTime
*)new wxDateTime(arg1
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22506 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
= 0;
22509 wxDateTime
*result
= 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char * kwnames
[] = {
22514 (char *) "jdn", NULL
22517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22518 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22519 if (!SWIG_IsOK(ecode1
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22522 arg1
= static_cast< double >(val1
);
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 result
= (wxDateTime
*)new wxDateTime(arg1
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22536 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
= 0;
22539 int arg2
= (int) 0 ;
22540 int arg3
= (int) 0 ;
22541 int arg4
= (int) 0 ;
22542 wxDateTime
*result
= 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 PyObject
* obj2
= 0 ;
22554 PyObject
* obj3
= 0 ;
22555 char * kwnames
[] = {
22556 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22561 if (!SWIG_IsOK(ecode1
)) {
22562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22564 arg1
= static_cast< int >(val1
);
22566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22567 if (!SWIG_IsOK(ecode2
)) {
22568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22570 arg2
= static_cast< int >(val2
);
22573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22574 if (!SWIG_IsOK(ecode3
)) {
22575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22577 arg3
= static_cast< int >(val3
);
22580 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22581 if (!SWIG_IsOK(ecode4
)) {
22582 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22584 arg4
= static_cast< int >(val4
);
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22599 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
= 0;
22602 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22603 int arg3
= (int) wxDateTime::Inv_Year
;
22604 int arg4
= (int) 0 ;
22605 int arg5
= (int) 0 ;
22606 int arg6
= (int) 0 ;
22607 int arg7
= (int) 0 ;
22608 wxDateTime
*result
= 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 PyObject
* obj2
= 0 ;
22626 PyObject
* obj3
= 0 ;
22627 PyObject
* obj4
= 0 ;
22628 PyObject
* obj5
= 0 ;
22629 PyObject
* obj6
= 0 ;
22630 char * kwnames
[] = {
22631 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22636 if (!SWIG_IsOK(ecode1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22639 arg1
= static_cast< int >(val1
);
22641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22642 if (!SWIG_IsOK(ecode2
)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22645 arg2
= static_cast< wxDateTime::Month
>(val2
);
22648 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22649 if (!SWIG_IsOK(ecode3
)) {
22650 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22652 arg3
= static_cast< int >(val3
);
22655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22656 if (!SWIG_IsOK(ecode4
)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22659 arg4
= static_cast< int >(val4
);
22662 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22663 if (!SWIG_IsOK(ecode5
)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22666 arg5
= static_cast< int >(val5
);
22669 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22670 if (!SWIG_IsOK(ecode6
)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22673 arg6
= static_cast< int >(val6
);
22676 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22677 if (!SWIG_IsOK(ecode7
)) {
22678 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22680 arg7
= static_cast< int >(val7
);
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22695 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
= 0;
22697 wxDateTime
*arg1
= 0 ;
22698 wxDateTime
*result
= 0 ;
22701 PyObject
* obj0
= 0 ;
22702 char * kwnames
[] = {
22703 (char *) "date", NULL
22706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22707 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22708 if (!SWIG_IsOK(res1
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22714 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22718 wxPyEndAllowThreads(__tstate
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22728 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22729 PyObject
*resultobj
= 0;
22730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22733 PyObject
*swig_obj
[1] ;
22735 if (!args
) SWIG_fail
;
22736 swig_obj
[0] = args
;
22737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22738 if (!SWIG_IsOK(res1
)) {
22739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22741 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= SWIG_Py_Void();
22756 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 PyObject
*resultobj
= 0;
22758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22759 wxDateTime
*result
= 0 ;
22762 PyObject
*swig_obj
[1] ;
22764 if (!args
) SWIG_fail
;
22765 swig_obj
[0] = args
;
22766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22767 if (!SWIG_IsOK(res1
)) {
22768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22770 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22775 result
= (wxDateTime
*) &_result_ref
;
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22787 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
= 0;
22789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22791 wxDateTime
*result
= 0 ;
22794 unsigned int val2
;
22796 PyObject
* obj0
= 0 ;
22797 PyObject
* obj1
= 0 ;
22798 char * kwnames
[] = {
22799 (char *) "self",(char *) "timet", NULL
22802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22804 if (!SWIG_IsOK(res1
)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22807 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22808 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22809 if (!SWIG_IsOK(ecode2
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22812 arg2
= static_cast< time_t >(val2
);
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22817 result
= (wxDateTime
*) &_result_ref
;
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22829 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= 0;
22831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22833 wxDateTime
*result
= 0 ;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char * kwnames
[] = {
22841 (char *) "self",(char *) "jdn", NULL
22844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22846 if (!SWIG_IsOK(res1
)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22849 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22850 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22851 if (!SWIG_IsOK(ecode2
)) {
22852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
22854 arg2
= static_cast< double >(val2
);
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22859 result
= (wxDateTime
*) &_result_ref
;
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22871 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
= 0;
22873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22875 int arg3
= (int) 0 ;
22876 int arg4
= (int) 0 ;
22877 int arg5
= (int) 0 ;
22878 wxDateTime
*result
= 0 ;
22889 PyObject
* obj0
= 0 ;
22890 PyObject
* obj1
= 0 ;
22891 PyObject
* obj2
= 0 ;
22892 PyObject
* obj3
= 0 ;
22893 PyObject
* obj4
= 0 ;
22894 char * kwnames
[] = {
22895 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
22903 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22905 if (!SWIG_IsOK(ecode2
)) {
22906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
22908 arg2
= static_cast< int >(val2
);
22910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22911 if (!SWIG_IsOK(ecode3
)) {
22912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
22914 arg3
= static_cast< int >(val3
);
22917 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22918 if (!SWIG_IsOK(ecode4
)) {
22919 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
22921 arg4
= static_cast< int >(val4
);
22924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22925 if (!SWIG_IsOK(ecode5
)) {
22926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
22928 arg5
= static_cast< int >(val5
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
22934 result
= (wxDateTime
*) &_result_ref
;
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22946 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
= 0;
22948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22950 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22951 int arg4
= (int) wxDateTime::Inv_Year
;
22952 int arg5
= (int) 0 ;
22953 int arg6
= (int) 0 ;
22954 int arg7
= (int) 0 ;
22955 int arg8
= (int) 0 ;
22956 wxDateTime
*result
= 0 ;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 PyObject
* obj2
= 0 ;
22976 PyObject
* obj3
= 0 ;
22977 PyObject
* obj4
= 0 ;
22978 PyObject
* obj5
= 0 ;
22979 PyObject
* obj6
= 0 ;
22980 PyObject
* obj7
= 0 ;
22981 char * kwnames
[] = {
22982 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
22986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
22990 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22992 if (!SWIG_IsOK(ecode2
)) {
22993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
22995 arg2
= static_cast< int >(val2
);
22997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22998 if (!SWIG_IsOK(ecode3
)) {
22999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23001 arg3
= static_cast< wxDateTime::Month
>(val3
);
23004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23005 if (!SWIG_IsOK(ecode4
)) {
23006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23008 arg4
= static_cast< int >(val4
);
23011 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23012 if (!SWIG_IsOK(ecode5
)) {
23013 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23015 arg5
= static_cast< int >(val5
);
23018 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23019 if (!SWIG_IsOK(ecode6
)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23022 arg6
= static_cast< int >(val6
);
23025 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23026 if (!SWIG_IsOK(ecode7
)) {
23027 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23029 arg7
= static_cast< int >(val7
);
23032 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23033 if (!SWIG_IsOK(ecode8
)) {
23034 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23036 arg8
= static_cast< int >(val8
);
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23042 result
= (wxDateTime
*) &_result_ref
;
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23054 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23055 PyObject
*resultobj
= 0;
23056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23057 wxDateTime
*result
= 0 ;
23060 PyObject
*swig_obj
[1] ;
23062 if (!args
) SWIG_fail
;
23063 swig_obj
[0] = args
;
23064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23065 if (!SWIG_IsOK(res1
)) {
23066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23068 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23073 result
= (wxDateTime
*) &_result_ref
;
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23085 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
= 0;
23087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23089 wxDateTime
*result
= 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char * kwnames
[] = {
23097 (char *) "self",(char *) "year", NULL
23100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23105 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23107 if (!SWIG_IsOK(ecode2
)) {
23108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23110 arg2
= static_cast< int >(val2
);
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23115 result
= (wxDateTime
*) &_result_ref
;
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23127 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
= 0;
23129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23130 wxDateTime::Month arg2
;
23131 wxDateTime
*result
= 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "self",(char *) "month", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23144 if (!SWIG_IsOK(res1
)) {
23145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23147 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23149 if (!SWIG_IsOK(ecode2
)) {
23150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23152 arg2
= static_cast< wxDateTime::Month
>(val2
);
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23157 result
= (wxDateTime
*) &_result_ref
;
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23169 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
= 0;
23171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23173 wxDateTime
*result
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char * kwnames
[] = {
23181 (char *) "self",(char *) "day", NULL
23184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23189 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23191 if (!SWIG_IsOK(ecode2
)) {
23192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23194 arg2
= static_cast< int >(val2
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23199 result
= (wxDateTime
*) &_result_ref
;
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23211 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
= 0;
23213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23215 wxDateTime
*result
= 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 char * kwnames
[] = {
23223 (char *) "self",(char *) "hour", NULL
23226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23228 if (!SWIG_IsOK(res1
)) {
23229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23231 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23233 if (!SWIG_IsOK(ecode2
)) {
23234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23236 arg2
= static_cast< int >(val2
);
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23240 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23241 result
= (wxDateTime
*) &_result_ref
;
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23253 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= 0;
23255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23257 wxDateTime
*result
= 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 char * kwnames
[] = {
23265 (char *) "self",(char *) "minute", NULL
23268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23270 if (!SWIG_IsOK(res1
)) {
23271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23273 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23275 if (!SWIG_IsOK(ecode2
)) {
23276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23278 arg2
= static_cast< int >(val2
);
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23283 result
= (wxDateTime
*) &_result_ref
;
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23295 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
= 0;
23297 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23299 wxDateTime
*result
= 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char * kwnames
[] = {
23307 (char *) "self",(char *) "second", NULL
23310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23312 if (!SWIG_IsOK(res1
)) {
23313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23315 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23317 if (!SWIG_IsOK(ecode2
)) {
23318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23320 arg2
= static_cast< int >(val2
);
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23325 result
= (wxDateTime
*) &_result_ref
;
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23337 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= 0;
23339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23341 wxDateTime
*result
= 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char * kwnames
[] = {
23349 (char *) "self",(char *) "millisecond", NULL
23352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23357 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23359 if (!SWIG_IsOK(ecode2
)) {
23360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23362 arg2
= static_cast< int >(val2
);
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23367 result
= (wxDateTime
*) &_result_ref
;
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23379 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
= 0;
23381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23382 wxDateTime::WeekDay arg2
;
23383 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23384 wxDateTime
*result
= 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 PyObject
* obj2
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23403 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23405 if (!SWIG_IsOK(ecode2
)) {
23406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23408 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23411 if (!SWIG_IsOK(ecode3
)) {
23412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23414 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23420 result
= (wxDateTime
*) &_result_ref
;
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23432 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
= 0;
23434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23435 wxDateTime::WeekDay arg2
;
23436 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23444 PyObject
* obj0
= 0 ;
23445 PyObject
* obj1
= 0 ;
23446 PyObject
* obj2
= 0 ;
23447 char * kwnames
[] = {
23448 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23453 if (!SWIG_IsOK(res1
)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23456 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23458 if (!SWIG_IsOK(ecode2
)) {
23459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23461 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23464 if (!SWIG_IsOK(ecode3
)) {
23465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23467 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23475 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23482 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
= 0;
23484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23485 wxDateTime::WeekDay arg2
;
23486 wxDateTime
*result
= 0 ;
23491 PyObject
* obj0
= 0 ;
23492 PyObject
* obj1
= 0 ;
23493 char * kwnames
[] = {
23494 (char *) "self",(char *) "weekday", NULL
23497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23499 if (!SWIG_IsOK(res1
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23502 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23504 if (!SWIG_IsOK(ecode2
)) {
23505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23507 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23512 result
= (wxDateTime
*) &_result_ref
;
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23524 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= 0;
23526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23527 wxDateTime::WeekDay arg2
;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char * kwnames
[] = {
23536 (char *) "self",(char *) "weekday", NULL
23539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23541 if (!SWIG_IsOK(res1
)) {
23542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23544 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23546 if (!SWIG_IsOK(ecode2
)) {
23547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23549 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (arg1
)->GetNextWeekDay(arg2
);
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23563 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
= 0;
23565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23566 wxDateTime::WeekDay arg2
;
23567 wxDateTime
*result
= 0 ;
23572 PyObject
* obj0
= 0 ;
23573 PyObject
* obj1
= 0 ;
23574 char * kwnames
[] = {
23575 (char *) "self",(char *) "weekday", NULL
23578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23580 if (!SWIG_IsOK(res1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23583 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23585 if (!SWIG_IsOK(ecode2
)) {
23586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23588 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23593 result
= (wxDateTime
*) &_result_ref
;
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23605 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
= 0;
23607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23608 wxDateTime::WeekDay arg2
;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 char * kwnames
[] = {
23617 (char *) "self",(char *) "weekday", NULL
23620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23625 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23627 if (!SWIG_IsOK(ecode2
)) {
23628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23630 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 result
= (arg1
)->GetPrevWeekDay(arg2
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23644 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23647 wxDateTime::WeekDay arg2
;
23648 int arg3
= (int) 1 ;
23649 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23650 int arg5
= (int) wxDateTime::Inv_Year
;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 PyObject
* obj2
= 0 ;
23665 PyObject
* obj3
= 0 ;
23666 PyObject
* obj4
= 0 ;
23667 char * kwnames
[] = {
23668 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23673 if (!SWIG_IsOK(res1
)) {
23674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23676 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23678 if (!SWIG_IsOK(ecode2
)) {
23679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23681 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23684 if (!SWIG_IsOK(ecode3
)) {
23685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23687 arg3
= static_cast< int >(val3
);
23690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23691 if (!SWIG_IsOK(ecode4
)) {
23692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23694 arg4
= static_cast< wxDateTime::Month
>(val4
);
23697 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23698 if (!SWIG_IsOK(ecode5
)) {
23699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23701 arg5
= static_cast< int >(val5
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23718 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23719 PyObject
*resultobj
= 0;
23720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23721 wxDateTime::WeekDay arg2
;
23722 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23723 int arg4
= (int) wxDateTime::Inv_Year
;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 PyObject
* obj2
= 0 ;
23736 PyObject
* obj3
= 0 ;
23737 char * kwnames
[] = {
23738 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23746 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23748 if (!SWIG_IsOK(ecode2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23751 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23754 if (!SWIG_IsOK(ecode3
)) {
23755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23757 arg3
= static_cast< wxDateTime::Month
>(val3
);
23760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23761 if (!SWIG_IsOK(ecode4
)) {
23762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23764 arg4
= static_cast< int >(val4
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23781 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
= 0;
23783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23784 wxDateTime::WeekDay arg2
;
23785 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23786 int arg4
= (int) wxDateTime::Inv_Year
;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 PyObject
* obj2
= 0 ;
23799 PyObject
* obj3
= 0 ;
23800 char * kwnames
[] = {
23801 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23806 if (!SWIG_IsOK(res1
)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23809 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23811 if (!SWIG_IsOK(ecode2
)) {
23812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23814 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23817 if (!SWIG_IsOK(ecode3
)) {
23818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23820 arg3
= static_cast< wxDateTime::Month
>(val3
);
23823 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23824 if (!SWIG_IsOK(ecode4
)) {
23825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23827 arg4
= static_cast< int >(val4
);
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23842 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
= 0;
23844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23846 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23847 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23857 PyObject
* obj0
= 0 ;
23858 PyObject
* obj1
= 0 ;
23859 PyObject
* obj2
= 0 ;
23860 PyObject
* obj3
= 0 ;
23861 char * kwnames
[] = {
23862 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23867 if (!SWIG_IsOK(res1
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23870 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23872 if (!SWIG_IsOK(ecode2
)) {
23873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
23875 arg2
= static_cast< int >(val2
);
23877 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23878 if (!SWIG_IsOK(ecode3
)) {
23879 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23881 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23884 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23885 if (!SWIG_IsOK(ecode4
)) {
23886 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23888 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23905 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
= 0;
23907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23909 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23910 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 PyObject
* obj2
= 0 ;
23923 PyObject
* obj3
= 0 ;
23924 char * kwnames
[] = {
23925 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
23928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23930 if (!SWIG_IsOK(res1
)) {
23931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23933 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23935 if (!SWIG_IsOK(ecode2
)) {
23936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
23938 arg2
= static_cast< int >(val2
);
23940 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23941 if (!SWIG_IsOK(ecode3
)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
23944 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
23947 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23948 if (!SWIG_IsOK(ecode4
)) {
23949 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
23951 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23966 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
= 0;
23970 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 PyObject
* obj2
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23987 if (!SWIG_IsOK(ecode1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
23990 arg1
= static_cast< int >(val1
);
23991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23992 if (!SWIG_IsOK(ecode2
)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
23995 arg2
= static_cast< int >(val2
);
23997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23998 if (!SWIG_IsOK(ecode3
)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24001 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24016 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
= 0;
24018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24019 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24020 int arg3
= (int) wxDateTime::Inv_Year
;
24021 wxDateTime
*result
= 0 ;
24028 PyObject
* obj0
= 0 ;
24029 PyObject
* obj1
= 0 ;
24030 PyObject
* obj2
= 0 ;
24031 char * kwnames
[] = {
24032 (char *) "self",(char *) "month",(char *) "year", NULL
24035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24037 if (!SWIG_IsOK(res1
)) {
24038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24040 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24043 if (!SWIG_IsOK(ecode2
)) {
24044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24046 arg2
= static_cast< wxDateTime::Month
>(val2
);
24049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24050 if (!SWIG_IsOK(ecode3
)) {
24051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24053 arg3
= static_cast< int >(val3
);
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24059 result
= (wxDateTime
*) &_result_ref
;
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24071 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
= 0;
24073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24074 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24075 int arg3
= (int) wxDateTime::Inv_Year
;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 PyObject
* obj2
= 0 ;
24086 char * kwnames
[] = {
24087 (char *) "self",(char *) "month",(char *) "year", NULL
24090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24092 if (!SWIG_IsOK(res1
)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24095 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24098 if (!SWIG_IsOK(ecode2
)) {
24099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24101 arg2
= static_cast< wxDateTime::Month
>(val2
);
24104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24105 if (!SWIG_IsOK(ecode3
)) {
24106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24108 arg3
= static_cast< int >(val3
);
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24123 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
= 0;
24125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24127 wxDateTime
*result
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "self",(char *) "yday", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24140 if (!SWIG_IsOK(res1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24143 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24145 if (!SWIG_IsOK(ecode2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24148 arg2
= static_cast< int >(val2
);
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24153 result
= (wxDateTime
*) &_result_ref
;
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24165 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24166 PyObject
*resultobj
= 0;
24167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 char * kwnames
[] = {
24177 (char *) "self",(char *) "yday", NULL
24180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24182 if (!SWIG_IsOK(res1
)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24185 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24187 if (!SWIG_IsOK(ecode2
)) {
24188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24190 arg2
= static_cast< int >(val2
);
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (arg1
)->GetYearDay(arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24204 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24205 PyObject
*resultobj
= 0;
24206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24210 PyObject
*swig_obj
[1] ;
24212 if (!args
) SWIG_fail
;
24213 swig_obj
[0] = args
;
24214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24218 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (double)(arg1
)->GetJulianDayNumber();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= SWIG_From_double(static_cast< double >(result
));
24232 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 PyObject
*resultobj
= 0;
24234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24238 PyObject
*swig_obj
[1] ;
24240 if (!args
) SWIG_fail
;
24241 swig_obj
[0] = args
;
24242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24243 if (!SWIG_IsOK(res1
)) {
24244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24246 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (double)(arg1
)->GetJDN();
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_From_double(static_cast< double >(result
));
24260 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24261 PyObject
*resultobj
= 0;
24262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24266 PyObject
*swig_obj
[1] ;
24268 if (!args
) SWIG_fail
;
24269 swig_obj
[0] = args
;
24270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24271 if (!SWIG_IsOK(res1
)) {
24272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24274 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= SWIG_From_double(static_cast< double >(result
));
24288 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24289 PyObject
*resultobj
= 0;
24290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24294 PyObject
*swig_obj
[1] ;
24296 if (!args
) SWIG_fail
;
24297 swig_obj
[0] = args
;
24298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24299 if (!SWIG_IsOK(res1
)) {
24300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24302 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (double)(arg1
)->GetMJD();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_From_double(static_cast< double >(result
));
24316 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24317 PyObject
*resultobj
= 0;
24318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24322 PyObject
*swig_obj
[1] ;
24324 if (!args
) SWIG_fail
;
24325 swig_obj
[0] = args
;
24326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24330 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= (double)(arg1
)->GetRataDie();
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_From_double(static_cast< double >(result
));
24344 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
= 0;
24346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24347 wxDateTime::TimeZone
*arg2
= 0 ;
24348 bool arg3
= (bool) false ;
24352 bool temp2
= false ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 PyObject
* obj2
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24369 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24373 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24374 if (!SWIG_IsOK(ecode3
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24377 arg3
= static_cast< bool >(val3
);
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24387 if (temp2
) delete arg2
;
24392 if (temp2
) delete arg2
;
24398 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
= 0;
24400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24401 wxDateTime::TimeZone
*arg2
= 0 ;
24402 bool arg3
= (bool) false ;
24403 wxDateTime
*result
= 0 ;
24406 bool temp2
= false ;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 PyObject
* obj2
= 0 ;
24412 char * kwnames
[] = {
24413 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24418 if (!SWIG_IsOK(res1
)) {
24419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24421 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24423 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24427 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24428 if (!SWIG_IsOK(ecode3
)) {
24429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24431 arg3
= static_cast< bool >(val3
);
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24437 result
= (wxDateTime
*) &_result_ref
;
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24444 if (temp2
) delete arg2
;
24449 if (temp2
) delete arg2
;
24455 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
= 0;
24457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24458 wxDateTime::TimeZone
*arg2
= 0 ;
24459 bool arg3
= (bool) false ;
24463 bool temp2
= false ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 PyObject
* obj2
= 0 ;
24469 char * kwnames
[] = {
24470 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24480 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24484 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24485 if (!SWIG_IsOK(ecode3
)) {
24486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24488 arg3
= static_cast< bool >(val3
);
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24498 if (temp2
) delete arg2
;
24503 if (temp2
) delete arg2
;
24509 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24512 wxDateTime::TimeZone
*arg2
= 0 ;
24513 bool arg3
= (bool) false ;
24514 wxDateTime
*result
= 0 ;
24517 bool temp2
= false ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 PyObject
* obj2
= 0 ;
24523 char * kwnames
[] = {
24524 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24529 if (!SWIG_IsOK(res1
)) {
24530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24532 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24534 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24538 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24539 if (!SWIG_IsOK(ecode3
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24542 arg3
= static_cast< bool >(val3
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24547 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24548 result
= (wxDateTime
*) &_result_ref
;
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24555 if (temp2
) delete arg2
;
24560 if (temp2
) delete arg2
;
24566 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24569 bool arg2
= (bool) false ;
24575 PyObject
* obj0
= 0 ;
24576 PyObject
* obj1
= 0 ;
24577 char * kwnames
[] = {
24578 (char *) "self",(char *) "noDST", NULL
24581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24583 if (!SWIG_IsOK(res1
)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24586 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24589 if (!SWIG_IsOK(ecode2
)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24592 arg2
= static_cast< bool >(val2
);
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24607 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
= 0;
24609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24610 bool arg2
= (bool) false ;
24611 wxDateTime
*result
= 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char * kwnames
[] = {
24619 (char *) "self",(char *) "noDST", NULL
24622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24624 if (!SWIG_IsOK(res1
)) {
24625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24627 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24629 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24630 if (!SWIG_IsOK(ecode2
)) {
24631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24633 arg2
= static_cast< bool >(val2
);
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24639 result
= (wxDateTime
*) &_result_ref
;
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24651 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
= 0;
24653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24654 bool arg2
= (bool) false ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "noDST", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24671 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24673 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24674 if (!SWIG_IsOK(ecode2
)) {
24675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24677 arg2
= static_cast< bool >(val2
);
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24682 wxPyEndAllowThreads(__tstate
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24692 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
= 0;
24694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24695 bool arg2
= (bool) false ;
24696 wxDateTime
*result
= 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 char * kwnames
[] = {
24704 (char *) "self",(char *) "noDST", NULL
24707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24709 if (!SWIG_IsOK(res1
)) {
24710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24712 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24714 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24715 if (!SWIG_IsOK(ecode2
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24718 arg2
= static_cast< bool >(val2
);
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24724 result
= (wxDateTime
*) &_result_ref
;
24726 wxPyEndAllowThreads(__tstate
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24736 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
= 0;
24738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24739 bool arg2
= (bool) false ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 char * kwnames
[] = {
24748 (char *) "self",(char *) "noDST", NULL
24751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24756 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24758 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24759 if (!SWIG_IsOK(ecode2
)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24762 arg2
= static_cast< bool >(val2
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24777 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
= 0;
24779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24780 bool arg2
= (bool) false ;
24781 wxDateTime
*result
= 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char * kwnames
[] = {
24789 (char *) "self",(char *) "noDST", NULL
24792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24794 if (!SWIG_IsOK(res1
)) {
24795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24797 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24799 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24800 if (!SWIG_IsOK(ecode2
)) {
24801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24803 arg2
= static_cast< bool >(val2
);
24806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24809 result
= (wxDateTime
*) &_result_ref
;
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24821 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
= 0;
24823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24824 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 char * kwnames
[] = {
24833 (char *) "self",(char *) "country", NULL
24836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24838 if (!SWIG_IsOK(res1
)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24841 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24844 if (!SWIG_IsOK(ecode2
)) {
24845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24847 arg2
= static_cast< wxDateTime::Country
>(val2
);
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (int)(arg1
)->IsDST(arg2
);
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_From_int(static_cast< int >(result
));
24862 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24863 PyObject
*resultobj
= 0;
24864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24868 PyObject
*swig_obj
[1] ;
24870 if (!args
) SWIG_fail
;
24871 swig_obj
[0] = args
;
24872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24873 if (!SWIG_IsOK(res1
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24876 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24892 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24893 PyObject
*resultobj
= 0;
24894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24898 PyObject
*swig_obj
[1] ;
24900 if (!args
) SWIG_fail
;
24901 swig_obj
[0] = args
;
24902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24906 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
24920 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
= 0;
24922 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24923 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24924 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24928 bool temp2
= false ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char * kwnames
[] = {
24932 (char *) "self",(char *) "tz", NULL
24935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24937 if (!SWIG_IsOK(res1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24940 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24943 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 resultobj
= SWIG_From_int(static_cast< int >(result
));
24955 if (temp2
) delete arg2
;
24960 if (temp2
) delete arg2
;
24966 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24967 PyObject
*resultobj
= 0;
24968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24969 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
24970 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
24971 wxDateTime::Month result
;
24974 bool temp2
= false ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 char * kwnames
[] = {
24978 (char *) "self",(char *) "tz", NULL
24981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24983 if (!SWIG_IsOK(res1
)) {
24984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24986 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24989 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_From_int(static_cast< int >(result
));
25001 if (temp2
) delete arg2
;
25006 if (temp2
) delete arg2
;
25012 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25015 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25016 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25020 bool temp2
= false ;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 char * kwnames
[] = {
25024 (char *) "self",(char *) "tz", NULL
25027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25029 if (!SWIG_IsOK(res1
)) {
25030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25032 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25035 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25042 wxPyEndAllowThreads(__tstate
);
25043 if (PyErr_Occurred()) SWIG_fail
;
25045 resultobj
= SWIG_From_int(static_cast< int >(result
));
25047 if (temp2
) delete arg2
;
25052 if (temp2
) delete arg2
;
25058 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
= 0;
25060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25061 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25062 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25063 wxDateTime::WeekDay result
;
25066 bool temp2
= false ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 char * kwnames
[] = {
25070 (char *) "self",(char *) "tz", NULL
25073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25078 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25081 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25088 wxPyEndAllowThreads(__tstate
);
25089 if (PyErr_Occurred()) SWIG_fail
;
25091 resultobj
= SWIG_From_int(static_cast< int >(result
));
25093 if (temp2
) delete arg2
;
25098 if (temp2
) delete arg2
;
25104 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25105 PyObject
*resultobj
= 0;
25106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25107 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25108 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25112 bool temp2
= false ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 char * kwnames
[] = {
25116 (char *) "self",(char *) "tz", NULL
25119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25124 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25127 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= SWIG_From_int(static_cast< int >(result
));
25139 if (temp2
) delete arg2
;
25144 if (temp2
) delete arg2
;
25150 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
= 0;
25152 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25153 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25154 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25158 bool temp2
= false ;
25159 PyObject
* obj0
= 0 ;
25160 PyObject
* obj1
= 0 ;
25161 char * kwnames
[] = {
25162 (char *) "self",(char *) "tz", NULL
25165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25170 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25173 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_From_int(static_cast< int >(result
));
25185 if (temp2
) delete arg2
;
25190 if (temp2
) delete arg2
;
25196 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25199 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25200 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25204 bool temp2
= false ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char * kwnames
[] = {
25208 (char *) "self",(char *) "tz", NULL
25211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25213 if (!SWIG_IsOK(res1
)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25216 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25219 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= SWIG_From_int(static_cast< int >(result
));
25231 if (temp2
) delete arg2
;
25236 if (temp2
) delete arg2
;
25242 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25243 PyObject
*resultobj
= 0;
25244 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25245 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25246 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25250 bool temp2
= false ;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 char * kwnames
[] = {
25254 (char *) "self",(char *) "tz", NULL
25257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25262 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25265 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_From_int(static_cast< int >(result
));
25277 if (temp2
) delete arg2
;
25282 if (temp2
) delete arg2
;
25288 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
= 0;
25290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25291 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25292 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25296 bool temp2
= false ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 char * kwnames
[] = {
25300 (char *) "self",(char *) "tz", NULL
25303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25305 if (!SWIG_IsOK(res1
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25308 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25311 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_From_int(static_cast< int >(result
));
25323 if (temp2
) delete arg2
;
25328 if (temp2
) delete arg2
;
25334 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25335 PyObject
*resultobj
= 0;
25336 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25337 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25338 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25339 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25345 bool temp3
= false ;
25346 PyObject
* obj0
= 0 ;
25347 PyObject
* obj1
= 0 ;
25348 PyObject
* obj2
= 0 ;
25349 char * kwnames
[] = {
25350 (char *) "self",(char *) "flags",(char *) "tz", NULL
25353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25355 if (!SWIG_IsOK(res1
)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25358 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25361 if (!SWIG_IsOK(ecode2
)) {
25362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25364 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25368 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= SWIG_From_int(static_cast< int >(result
));
25380 if (temp3
) delete arg3
;
25385 if (temp3
) delete arg3
;
25391 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25392 PyObject
*resultobj
= 0;
25393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25394 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25395 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25396 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25402 bool temp3
= false ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 PyObject
* obj2
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "flags",(char *) "tz", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25412 if (!SWIG_IsOK(res1
)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25415 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25418 if (!SWIG_IsOK(ecode2
)) {
25419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25421 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25425 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25431 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_From_int(static_cast< int >(result
));
25437 if (temp3
) delete arg3
;
25442 if (temp3
) delete arg3
;
25448 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
= 0;
25450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25451 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25457 PyObject
* obj0
= 0 ;
25458 PyObject
* obj1
= 0 ;
25459 char * kwnames
[] = {
25460 (char *) "self",(char *) "country", NULL
25463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25468 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25471 if (!SWIG_IsOK(ecode2
)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25474 arg2
= static_cast< wxDateTime::Country
>(val2
);
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25491 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
= 0;
25493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25494 wxDateTime
*arg2
= 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 char * kwnames
[] = {
25503 (char *) "self",(char *) "datetime", NULL
25506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25508 if (!SWIG_IsOK(res1
)) {
25509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25511 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25512 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25513 if (!SWIG_IsOK(res2
)) {
25514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25517 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25519 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25535 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
= 0;
25537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25538 wxDateTime
*arg2
= 0 ;
25544 PyObject
* obj0
= 0 ;
25545 PyObject
* obj1
= 0 ;
25546 char * kwnames
[] = {
25547 (char *) "self",(char *) "datetime", NULL
25550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25552 if (!SWIG_IsOK(res1
)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25555 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25557 if (!SWIG_IsOK(res2
)) {
25558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25563 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25566 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25579 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
= 0;
25581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25582 wxDateTime
*arg2
= 0 ;
25588 PyObject
* obj0
= 0 ;
25589 PyObject
* obj1
= 0 ;
25590 char * kwnames
[] = {
25591 (char *) "self",(char *) "datetime", NULL
25594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25596 if (!SWIG_IsOK(res1
)) {
25597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25599 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25601 if (!SWIG_IsOK(res2
)) {
25602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25607 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25623 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25626 wxDateTime
*arg2
= 0 ;
25627 wxDateTime
*arg3
= 0 ;
25635 PyObject
* obj0
= 0 ;
25636 PyObject
* obj1
= 0 ;
25637 PyObject
* obj2
= 0 ;
25638 char * kwnames
[] = {
25639 (char *) "self",(char *) "t1",(char *) "t2", NULL
25642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25644 if (!SWIG_IsOK(res1
)) {
25645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25647 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25648 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25649 if (!SWIG_IsOK(res2
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25653 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25655 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25656 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25657 if (!SWIG_IsOK(res3
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25663 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25666 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25679 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
= 0;
25681 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25682 wxDateTime
*arg2
= 0 ;
25683 wxDateTime
*arg3
= 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 PyObject
* obj2
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "t1",(char *) "t2", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25703 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25705 if (!SWIG_IsOK(res2
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25711 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25712 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25713 if (!SWIG_IsOK(res3
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25719 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25735 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= 0;
25737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25738 wxDateTime
*arg2
= 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char * kwnames
[] = {
25747 (char *) "self",(char *) "dt", NULL
25750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25752 if (!SWIG_IsOK(res1
)) {
25753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25755 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25757 if (!SWIG_IsOK(res2
)) {
25758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25763 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25779 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
= 0;
25781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25782 wxDateTime
*arg2
= 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 char * kwnames
[] = {
25791 (char *) "self",(char *) "dt", NULL
25794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25796 if (!SWIG_IsOK(res1
)) {
25797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25799 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25800 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25801 if (!SWIG_IsOK(res2
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25807 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25811 wxPyEndAllowThreads(__tstate
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25823 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
= 0;
25825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25826 wxDateTime
*arg2
= 0 ;
25827 wxTimeSpan
*arg3
= 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 PyObject
* obj2
= 0 ;
25838 char * kwnames
[] = {
25839 (char *) "self",(char *) "dt",(char *) "ts", NULL
25842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25847 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25849 if (!SWIG_IsOK(res2
)) {
25850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25855 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25856 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25857 if (!SWIG_IsOK(res3
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
25863 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25866 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25879 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
= 0;
25881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25882 wxTimeSpan
*arg2
= 0 ;
25883 wxDateTime
*result
= 0 ;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char * kwnames
[] = {
25891 (char *) "self",(char *) "diff", NULL
25894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25899 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25900 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25901 if (!SWIG_IsOK(res2
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25907 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
25912 result
= (wxDateTime
*) &_result_ref
;
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25924 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
= 0;
25926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25927 wxDateSpan
*arg2
= 0 ;
25928 wxDateTime
*result
= 0 ;
25933 PyObject
* obj0
= 0 ;
25934 PyObject
* obj1
= 0 ;
25935 char * kwnames
[] = {
25936 (char *) "self",(char *) "diff", NULL
25939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25941 if (!SWIG_IsOK(res1
)) {
25942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25944 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25945 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
25946 if (!SWIG_IsOK(res2
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
25952 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
25954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
25957 result
= (wxDateTime
*) &_result_ref
;
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25969 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
= 0;
25971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25972 wxTimeSpan
*arg2
= 0 ;
25973 wxDateTime
*result
= 0 ;
25978 PyObject
* obj0
= 0 ;
25979 PyObject
* obj1
= 0 ;
25980 char * kwnames
[] = {
25981 (char *) "self",(char *) "diff", NULL
25984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25986 if (!SWIG_IsOK(res1
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
25989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
25991 if (!SWIG_IsOK(res2
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
25997 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26002 result
= (wxDateTime
*) &_result_ref
;
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26014 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26015 PyObject
*resultobj
= 0;
26016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26017 wxDateSpan
*arg2
= 0 ;
26018 wxDateTime
*result
= 0 ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 char * kwnames
[] = {
26026 (char *) "self",(char *) "diff", NULL
26029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26031 if (!SWIG_IsOK(res1
)) {
26032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26034 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26035 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26036 if (!SWIG_IsOK(res2
)) {
26037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26042 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26046 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26047 result
= (wxDateTime
*) &_result_ref
;
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26059 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
= 0;
26061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26062 wxDateTime
*arg2
= 0 ;
26068 PyObject
* obj0
= 0 ;
26069 PyObject
* obj1
= 0 ;
26070 char * kwnames
[] = {
26071 (char *) "self",(char *) "dt", NULL
26074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26076 if (!SWIG_IsOK(res1
)) {
26077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26079 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26081 if (!SWIG_IsOK(res2
)) {
26082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26087 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26101 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26102 PyObject
*resultobj
= 0;
26103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26104 wxTimeSpan
*arg2
= 0 ;
26105 wxDateTime
*result
= 0 ;
26111 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26113 if (!SWIG_IsOK(res1
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26116 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26117 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26118 if (!SWIG_IsOK(res2
)) {
26119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26124 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26129 result
= (wxDateTime
*) &_result_ref
;
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26141 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26142 PyObject
*resultobj
= 0;
26143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26144 wxDateSpan
*arg2
= 0 ;
26145 wxDateTime
*result
= 0 ;
26151 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26156 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26157 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26158 if (!SWIG_IsOK(res2
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26164 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26169 result
= (wxDateTime
*) &_result_ref
;
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26181 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26185 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26190 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26191 _v
= SWIG_CheckState(res
);
26193 if (!_v
) goto check_1
;
26194 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26199 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26203 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26208 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26209 PyObject
*resultobj
= 0;
26210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26211 wxTimeSpan
*arg2
= 0 ;
26212 wxDateTime
*result
= 0 ;
26218 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26223 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26224 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26225 if (!SWIG_IsOK(res2
)) {
26226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26231 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26236 result
= (wxDateTime
*) &_result_ref
;
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26248 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26249 PyObject
*resultobj
= 0;
26250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26251 wxDateSpan
*arg2
= 0 ;
26252 wxDateTime
*result
= 0 ;
26258 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26263 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26264 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26265 if (!SWIG_IsOK(res2
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26271 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26276 result
= (wxDateTime
*) &_result_ref
;
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26288 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26292 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26297 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26298 _v
= SWIG_CheckState(res
);
26300 if (!_v
) goto check_1
;
26301 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26306 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26315 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26316 PyObject
*resultobj
= 0;
26317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26318 wxTimeSpan
*arg2
= 0 ;
26325 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26327 if (!SWIG_IsOK(res1
)) {
26328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26330 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26331 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26332 if (!SWIG_IsOK(res2
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26338 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26352 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26353 PyObject
*resultobj
= 0;
26354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26355 wxDateSpan
*arg2
= 0 ;
26362 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26367 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26368 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26369 if (!SWIG_IsOK(res2
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26373 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26375 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26389 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26393 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26398 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26399 _v
= SWIG_CheckState(res
);
26401 if (!_v
) goto check_1
;
26402 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26407 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26411 Py_INCREF(Py_NotImplemented
);
26412 return Py_NotImplemented
;
26416 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26417 PyObject
*resultobj
= 0;
26418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26419 wxDateTime
*arg2
= 0 ;
26426 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26431 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26432 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26433 if (!SWIG_IsOK(res2
)) {
26434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26439 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26453 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26454 PyObject
*resultobj
= 0;
26455 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26456 wxTimeSpan
*arg2
= 0 ;
26463 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26465 if (!SWIG_IsOK(res1
)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26468 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26469 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26470 if (!SWIG_IsOK(res2
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26476 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26490 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26491 PyObject
*resultobj
= 0;
26492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26493 wxDateSpan
*arg2
= 0 ;
26500 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26505 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26506 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26507 if (!SWIG_IsOK(res2
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26513 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26527 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26531 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26536 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26537 _v
= SWIG_CheckState(res
);
26539 if (!_v
) goto check_1
;
26540 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26547 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26548 _v
= SWIG_CheckState(res
);
26550 if (!_v
) goto check_2
;
26551 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26556 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26560 Py_INCREF(Py_NotImplemented
);
26561 return Py_NotImplemented
;
26565 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
= 0;
26567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26568 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char * kwnames
[] = {
26577 (char *) "self",(char *) "other", NULL
26580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26582 if (!SWIG_IsOK(res1
)) {
26583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26585 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26587 if (!SWIG_IsOK(res2
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26590 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26606 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
= 0;
26608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26609 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char * kwnames
[] = {
26618 (char *) "self",(char *) "other", NULL
26621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26623 if (!SWIG_IsOK(res1
)) {
26624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26626 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26628 if (!SWIG_IsOK(res2
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26631 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26647 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
= 0;
26649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26650 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 char * kwnames
[] = {
26659 (char *) "self",(char *) "other", NULL
26662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26667 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26668 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26669 if (!SWIG_IsOK(res2
)) {
26670 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26672 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
= 0;
26690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26691 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 PyObject
* obj1
= 0 ;
26699 char * kwnames
[] = {
26700 (char *) "self",(char *) "other", NULL
26703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26708 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26710 if (!SWIG_IsOK(res2
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26713 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26729 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
= 0;
26731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26732 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26738 PyObject
* obj0
= 0 ;
26739 PyObject
* obj1
= 0 ;
26740 char * kwnames
[] = {
26741 (char *) "self",(char *) "other", NULL
26744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26749 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26751 if (!SWIG_IsOK(res2
)) {
26752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26754 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26758 wxPyEndAllowThreads(__tstate
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26770 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26771 PyObject
*resultobj
= 0;
26772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26773 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char * kwnames
[] = {
26782 (char *) "self",(char *) "other", NULL
26785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26790 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26792 if (!SWIG_IsOK(res2
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26795 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26811 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
= 0;
26813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26814 wxString
*arg2
= 0 ;
26818 bool temp2
= false ;
26819 PyObject
* obj0
= 0 ;
26820 PyObject
* obj1
= 0 ;
26821 char * kwnames
[] = {
26822 (char *) "self",(char *) "date", NULL
26825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26827 if (!SWIG_IsOK(res1
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26830 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26832 arg2
= wxString_in_helper(obj1
);
26833 if (arg2
== NULL
) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= SWIG_From_int(static_cast< int >(result
));
26857 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
= 0;
26859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26860 wxString
*arg2
= 0 ;
26861 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
26862 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26863 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
26864 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
26868 bool temp2
= false ;
26869 bool temp3
= false ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 PyObject
* obj2
= 0 ;
26875 PyObject
* obj3
= 0 ;
26876 char * kwnames
[] = {
26877 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
26880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26882 if (!SWIG_IsOK(res1
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
26885 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26887 arg2
= wxString_in_helper(obj1
);
26888 if (arg2
== NULL
) SWIG_fail
;
26893 arg3
= wxString_in_helper(obj2
);
26894 if (arg3
== NULL
) SWIG_fail
;
26899 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26900 if (!SWIG_IsOK(res4
)) {
26901 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
26906 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26914 resultobj
= SWIG_From_int(static_cast< int >(result
));
26937 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
= 0;
26939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26940 wxString
*arg2
= 0 ;
26944 bool temp2
= false ;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 char * kwnames
[] = {
26948 (char *) "self",(char *) "datetime", NULL
26951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26953 if (!SWIG_IsOK(res1
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
26956 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26958 arg2
= wxString_in_helper(obj1
);
26959 if (arg2
== NULL
) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_From_int(static_cast< int >(result
));
26983 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= 0;
26985 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26986 wxString
*arg2
= 0 ;
26990 bool temp2
= false ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "self",(char *) "date", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27002 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27004 arg2
= wxString_in_helper(obj1
);
27005 if (arg2
== NULL
) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= SWIG_From_int(static_cast< int >(result
));
27029 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
= 0;
27031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27032 wxString
*arg2
= 0 ;
27036 bool temp2
= false ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char * kwnames
[] = {
27040 (char *) "self",(char *) "time", NULL
27043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27048 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27050 arg2
= wxString_in_helper(obj1
);
27051 if (arg2
== NULL
) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= SWIG_From_int(static_cast< int >(result
));
27075 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
= 0;
27077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27078 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27079 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27080 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27081 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27085 bool temp2
= false ;
27086 bool temp3
= false ;
27087 PyObject
* obj0
= 0 ;
27088 PyObject
* obj1
= 0 ;
27089 PyObject
* obj2
= 0 ;
27090 char * kwnames
[] = {
27091 (char *) "self",(char *) "format",(char *) "tz", NULL
27094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27096 if (!SWIG_IsOK(res1
)) {
27097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27099 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27102 arg2
= wxString_in_helper(obj1
);
27103 if (arg2
== NULL
) SWIG_fail
;
27109 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27115 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27131 if (temp3
) delete arg3
;
27140 if (temp3
) delete arg3
;
27146 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27147 PyObject
*resultobj
= 0;
27148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27152 PyObject
*swig_obj
[1] ;
27154 if (!args
) SWIG_fail
;
27155 swig_obj
[0] = args
;
27156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27157 if (!SWIG_IsOK(res1
)) {
27158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27160 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27180 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27181 PyObject
*resultobj
= 0;
27182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27186 PyObject
*swig_obj
[1] ;
27188 if (!args
) SWIG_fail
;
27189 swig_obj
[0] = args
;
27190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27191 if (!SWIG_IsOK(res1
)) {
27192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27194 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27214 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27215 PyObject
*resultobj
= 0;
27216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27220 PyObject
*swig_obj
[1] ;
27222 if (!args
) SWIG_fail
;
27223 swig_obj
[0] = args
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27228 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27248 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27249 PyObject
*resultobj
= 0;
27250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27254 PyObject
*swig_obj
[1] ;
27256 if (!args
) SWIG_fail
;
27257 swig_obj
[0] = args
;
27258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27262 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27282 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27285 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27286 return SWIG_Py_Void();
27289 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27290 return SWIG_Python_InitShadowInstance(args
);
27293 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27294 PyObject
*resultobj
= 0;
27299 PyObject
* obj0
= 0 ;
27300 char * kwnames
[] = {
27301 (char *) "sec", NULL
27304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27305 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27306 if (!SWIG_IsOK(ecode1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27309 arg1
= static_cast< long >(val1
);
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= wxTimeSpan::Seconds(arg1
);
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27316 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27323 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27324 PyObject
*resultobj
= 0;
27327 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= wxTimeSpan::Second();
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27341 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= 0;
27347 PyObject
* obj0
= 0 ;
27348 char * kwnames
[] = {
27349 (char *) "min", NULL
27352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27353 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27354 if (!SWIG_IsOK(ecode1
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27357 arg1
= static_cast< long >(val1
);
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= wxTimeSpan::Minutes(arg1
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27371 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27372 PyObject
*resultobj
= 0;
27375 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= wxTimeSpan::Minute();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27389 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
= 0;
27395 PyObject
* obj0
= 0 ;
27396 char * kwnames
[] = {
27397 (char *) "hours", NULL
27400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27401 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27402 if (!SWIG_IsOK(ecode1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27405 arg1
= static_cast< long >(val1
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27408 result
= wxTimeSpan::Hours(arg1
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27419 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27420 PyObject
*resultobj
= 0;
27423 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= wxTimeSpan::Hour();
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27437 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
= 0;
27443 PyObject
* obj0
= 0 ;
27444 char * kwnames
[] = {
27445 (char *) "days", NULL
27448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27449 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27450 if (!SWIG_IsOK(ecode1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27453 arg1
= static_cast< long >(val1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= wxTimeSpan::Days(arg1
);
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27467 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27471 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= wxTimeSpan::Day();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27485 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
= 0;
27491 PyObject
* obj0
= 0 ;
27492 char * kwnames
[] = {
27493 (char *) "days", NULL
27496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27497 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27498 if (!SWIG_IsOK(ecode1
)) {
27499 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27501 arg1
= static_cast< long >(val1
);
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 result
= wxTimeSpan::Weeks(arg1
);
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27508 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27515 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27516 PyObject
*resultobj
= 0;
27519 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= wxTimeSpan::Week();
27523 wxPyEndAllowThreads(__tstate
);
27524 if (PyErr_Occurred()) SWIG_fail
;
27526 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27533 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
= 0;
27535 long arg1
= (long) 0 ;
27536 long arg2
= (long) 0 ;
27537 long arg3
= (long) 0 ;
27538 long arg4
= (long) 0 ;
27539 wxTimeSpan
*result
= 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 PyObject
* obj2
= 0 ;
27551 PyObject
* obj3
= 0 ;
27552 char * kwnames
[] = {
27553 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27558 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27559 if (!SWIG_IsOK(ecode1
)) {
27560 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27562 arg1
= static_cast< long >(val1
);
27565 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27566 if (!SWIG_IsOK(ecode2
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27569 arg2
= static_cast< long >(val2
);
27572 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27573 if (!SWIG_IsOK(ecode3
)) {
27574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27576 arg3
= static_cast< long >(val3
);
27579 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27580 if (!SWIG_IsOK(ecode4
)) {
27581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27583 arg4
= static_cast< long >(val4
);
27586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27587 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27598 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27599 PyObject
*resultobj
= 0;
27600 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27603 PyObject
*swig_obj
[1] ;
27605 if (!args
) SWIG_fail
;
27606 swig_obj
[0] = args
;
27607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27608 if (!SWIG_IsOK(res1
)) {
27609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27611 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_Py_Void();
27626 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
= 0;
27628 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27629 wxTimeSpan
*arg2
= 0 ;
27630 wxTimeSpan
*result
= 0 ;
27635 PyObject
* obj0
= 0 ;
27636 PyObject
* obj1
= 0 ;
27637 char * kwnames
[] = {
27638 (char *) "self",(char *) "diff", NULL
27641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27646 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27648 if (!SWIG_IsOK(res2
)) {
27649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27654 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27659 result
= (wxTimeSpan
*) &_result_ref
;
27661 wxPyEndAllowThreads(__tstate
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27671 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27672 PyObject
*resultobj
= 0;
27673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27674 wxTimeSpan
*arg2
= 0 ;
27675 wxTimeSpan
*result
= 0 ;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 char * kwnames
[] = {
27683 (char *) "self",(char *) "diff", NULL
27686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27688 if (!SWIG_IsOK(res1
)) {
27689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27691 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27692 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27693 if (!SWIG_IsOK(res2
)) {
27694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27699 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27704 result
= (wxTimeSpan
*) &_result_ref
;
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27716 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
= 0;
27718 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27720 wxTimeSpan
*result
= 0 ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char * kwnames
[] = {
27728 (char *) "self",(char *) "n", NULL
27731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27733 if (!SWIG_IsOK(res1
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27736 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27738 if (!SWIG_IsOK(ecode2
)) {
27739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27741 arg2
= static_cast< int >(val2
);
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27745 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27746 result
= (wxTimeSpan
*) &_result_ref
;
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27758 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27759 PyObject
*resultobj
= 0;
27760 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27761 wxTimeSpan
*result
= 0 ;
27764 PyObject
*swig_obj
[1] ;
27766 if (!args
) SWIG_fail
;
27767 swig_obj
[0] = args
;
27768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27769 if (!SWIG_IsOK(res1
)) {
27770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27772 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27777 result
= (wxTimeSpan
*) &_result_ref
;
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27789 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27790 PyObject
*resultobj
= 0;
27791 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27795 PyObject
*swig_obj
[1] ;
27797 if (!args
) SWIG_fail
;
27798 swig_obj
[0] = args
;
27799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27800 if (!SWIG_IsOK(res1
)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27803 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= ((wxTimeSpan
const *)arg1
)->Abs();
27807 wxPyEndAllowThreads(__tstate
);
27808 if (PyErr_Occurred()) SWIG_fail
;
27810 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27817 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27820 wxTimeSpan
*arg2
= 0 ;
27821 wxTimeSpan
*result
= 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char * kwnames
[] = {
27829 (char *) "self",(char *) "diff", NULL
27832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27834 if (!SWIG_IsOK(res1
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27837 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27839 if (!SWIG_IsOK(res2
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27845 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
27850 result
= (wxTimeSpan
*) &_result_ref
;
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27862 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
= 0;
27864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27865 wxTimeSpan
*arg2
= 0 ;
27866 wxTimeSpan
*result
= 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 char * kwnames
[] = {
27874 (char *) "self",(char *) "diff", NULL
27877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27879 if (!SWIG_IsOK(res1
)) {
27880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27882 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27883 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27884 if (!SWIG_IsOK(res2
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27890 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
27895 result
= (wxTimeSpan
*) &_result_ref
;
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27907 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
= 0;
27909 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27911 wxTimeSpan
*result
= 0 ;
27916 PyObject
* obj0
= 0 ;
27917 PyObject
* obj1
= 0 ;
27918 char * kwnames
[] = {
27919 (char *) "self",(char *) "n", NULL
27922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27924 if (!SWIG_IsOK(res1
)) {
27925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27927 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27929 if (!SWIG_IsOK(ecode2
)) {
27930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
27932 arg2
= static_cast< int >(val2
);
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27936 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
27937 result
= (wxTimeSpan
*) &_result_ref
;
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27949 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27950 PyObject
*resultobj
= 0;
27951 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27952 wxTimeSpan
*result
= 0 ;
27955 PyObject
*swig_obj
[1] ;
27957 if (!args
) SWIG_fail
;
27958 swig_obj
[0] = args
;
27959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27960 if (!SWIG_IsOK(res1
)) {
27961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27963 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
27968 result
= (wxTimeSpan
*) &_result_ref
;
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27980 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
= 0;
27982 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27983 wxTimeSpan
*arg2
= 0 ;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 char * kwnames
[] = {
27992 (char *) "self",(char *) "other", NULL
27995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28000 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28002 if (!SWIG_IsOK(res2
)) {
28003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28008 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28022 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
= 0;
28024 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28025 wxTimeSpan
*arg2
= 0 ;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char * kwnames
[] = {
28034 (char *) "self",(char *) "other", NULL
28037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28042 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28044 if (!SWIG_IsOK(res2
)) {
28045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28050 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28064 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
= 0;
28066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char * kwnames
[] = {
28076 (char *) "self",(char *) "n", NULL
28079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28084 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28086 if (!SWIG_IsOK(ecode2
)) {
28087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28089 arg2
= static_cast< int >(val2
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= wxTimeSpan___mul__(arg1
,arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28103 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
= 0;
28105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "self",(char *) "n", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28123 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28125 if (!SWIG_IsOK(ecode2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28128 arg2
= static_cast< int >(val2
);
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28132 wxPyEndAllowThreads(__tstate
);
28133 if (PyErr_Occurred()) SWIG_fail
;
28135 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28142 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28143 PyObject
*resultobj
= 0;
28144 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28145 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 char * kwnames
[] = {
28154 (char *) "self",(char *) "other", NULL
28157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28162 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28164 if (!SWIG_IsOK(res2
)) {
28165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28167 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28170 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
= 0;
28185 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28186 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 PyObject
* obj1
= 0 ;
28194 char * kwnames
[] = {
28195 (char *) "self",(char *) "other", NULL
28198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28203 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28205 if (!SWIG_IsOK(res2
)) {
28206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28208 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28224 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
= 0;
28226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28227 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char * kwnames
[] = {
28236 (char *) "self",(char *) "other", NULL
28239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28241 if (!SWIG_IsOK(res1
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28244 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28246 if (!SWIG_IsOK(res2
)) {
28247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28249 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28265 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28268 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "other", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28285 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28287 if (!SWIG_IsOK(res2
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28290 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28306 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
= 0;
28308 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28309 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28315 PyObject
* obj0
= 0 ;
28316 PyObject
* obj1
= 0 ;
28317 char * kwnames
[] = {
28318 (char *) "self",(char *) "other", NULL
28321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28323 if (!SWIG_IsOK(res1
)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28326 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28328 if (!SWIG_IsOK(res2
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28331 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28347 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
= 0;
28349 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28350 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char * kwnames
[] = {
28359 (char *) "self",(char *) "other", NULL
28362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28367 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28369 if (!SWIG_IsOK(res2
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28372 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28388 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28389 PyObject
*resultobj
= 0;
28390 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28394 PyObject
*swig_obj
[1] ;
28396 if (!args
) SWIG_fail
;
28397 swig_obj
[0] = args
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28402 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28418 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28419 PyObject
*resultobj
= 0;
28420 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28424 PyObject
*swig_obj
[1] ;
28426 if (!args
) SWIG_fail
;
28427 swig_obj
[0] = args
;
28428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28429 if (!SWIG_IsOK(res1
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28432 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28448 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28449 PyObject
*resultobj
= 0;
28450 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28454 PyObject
*swig_obj
[1] ;
28456 if (!args
) SWIG_fail
;
28457 swig_obj
[0] = args
;
28458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28462 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28465 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28466 wxPyEndAllowThreads(__tstate
);
28467 if (PyErr_Occurred()) SWIG_fail
;
28470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28478 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
= 0;
28480 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28481 wxTimeSpan
*arg2
= 0 ;
28487 PyObject
* obj0
= 0 ;
28488 PyObject
* obj1
= 0 ;
28489 char * kwnames
[] = {
28490 (char *) "self",(char *) "ts", NULL
28493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28495 if (!SWIG_IsOK(res1
)) {
28496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28498 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28499 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28500 if (!SWIG_IsOK(res2
)) {
28501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28506 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28522 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28523 PyObject
*resultobj
= 0;
28524 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28525 wxTimeSpan
*arg2
= 0 ;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 char * kwnames
[] = {
28534 (char *) "self",(char *) "ts", NULL
28537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28539 if (!SWIG_IsOK(res1
)) {
28540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28542 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28544 if (!SWIG_IsOK(res2
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28550 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28566 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
= 0;
28568 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28569 wxTimeSpan
*arg2
= 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char * kwnames
[] = {
28578 (char *) "self",(char *) "t", NULL
28581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28586 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28588 if (!SWIG_IsOK(res2
)) {
28589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28594 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28610 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 PyObject
*resultobj
= 0;
28612 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28616 PyObject
*swig_obj
[1] ;
28618 if (!args
) SWIG_fail
;
28619 swig_obj
[0] = args
;
28620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28624 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_From_int(static_cast< int >(result
));
28638 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28652 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= SWIG_From_int(static_cast< int >(result
));
28666 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28667 PyObject
*resultobj
= 0;
28668 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28672 PyObject
*swig_obj
[1] ;
28674 if (!args
) SWIG_fail
;
28675 swig_obj
[0] = args
;
28676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28677 if (!SWIG_IsOK(res1
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28680 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_From_int(static_cast< int >(result
));
28694 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 PyObject
*resultobj
= 0;
28696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28700 PyObject
*swig_obj
[1] ;
28702 if (!args
) SWIG_fail
;
28703 swig_obj
[0] = args
;
28704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28708 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_From_int(static_cast< int >(result
));
28722 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28723 PyObject
*resultobj
= 0;
28724 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28728 PyObject
*swig_obj
[1] ;
28730 if (!args
) SWIG_fail
;
28731 swig_obj
[0] = args
;
28732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28733 if (!SWIG_IsOK(res1
)) {
28734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28736 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28744 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28745 hi
= PyLong_FromLong( (&result
)->GetHi() );
28746 lo
= PyLong_FromLong( (&result
)->GetLo() );
28747 shifter
= PyLong_FromLong(32);
28748 shifted
= PyNumber_Lshift(hi
, shifter
);
28749 resultobj
= PyNumber_Or(shifted
, lo
);
28752 Py_DECREF(shifter
);
28753 Py_DECREF(shifted
);
28761 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28762 PyObject
*resultobj
= 0;
28763 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28767 PyObject
*swig_obj
[1] ;
28769 if (!args
) SWIG_fail
;
28770 swig_obj
[0] = args
;
28771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28772 if (!SWIG_IsOK(res1
)) {
28773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28775 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28784 hi
= PyLong_FromLong( (&result
)->GetHi() );
28785 lo
= PyLong_FromLong( (&result
)->GetLo() );
28786 shifter
= PyLong_FromLong(32);
28787 shifted
= PyNumber_Lshift(hi
, shifter
);
28788 resultobj
= PyNumber_Or(shifted
, lo
);
28791 Py_DECREF(shifter
);
28792 Py_DECREF(shifted
);
28800 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
= 0;
28802 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28803 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
28804 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
28808 bool temp2
= false ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "format", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28820 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28823 arg2
= wxString_in_helper(obj1
);
28824 if (arg2
== NULL
) SWIG_fail
;
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28855 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28857 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28858 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
28859 return SWIG_Py_Void();
28862 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 return SWIG_Python_InitShadowInstance(args
);
28866 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
= 0;
28868 int arg1
= (int) 0 ;
28869 int arg2
= (int) 0 ;
28870 int arg3
= (int) 0 ;
28871 int arg4
= (int) 0 ;
28872 wxDateSpan
*result
= 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 PyObject
* obj2
= 0 ;
28884 PyObject
* obj3
= 0 ;
28885 char * kwnames
[] = {
28886 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
28889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28891 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28892 if (!SWIG_IsOK(ecode1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
28895 arg1
= static_cast< int >(val1
);
28898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28899 if (!SWIG_IsOK(ecode2
)) {
28900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
28902 arg2
= static_cast< int >(val2
);
28905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28906 if (!SWIG_IsOK(ecode3
)) {
28907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
28909 arg3
= static_cast< int >(val3
);
28912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28913 if (!SWIG_IsOK(ecode4
)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
28916 arg4
= static_cast< int >(val4
);
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
28931 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28932 PyObject
*resultobj
= 0;
28933 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
28936 PyObject
*swig_obj
[1] ;
28938 if (!args
) SWIG_fail
;
28939 swig_obj
[0] = args
;
28940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
28944 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= SWIG_Py_Void();
28959 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
= 0;
28965 PyObject
* obj0
= 0 ;
28966 char * kwnames
[] = {
28967 (char *) "days", NULL
28970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
28971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28972 if (!SWIG_IsOK(ecode1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
28975 arg1
= static_cast< int >(val1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= wxDateSpan::Days(arg1
);
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
28989 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28990 PyObject
*resultobj
= 0;
28993 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 result
= wxDateSpan::Day();
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29007 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29008 PyObject
*resultobj
= 0;
29013 PyObject
* obj0
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "weeks", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29019 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29020 if (!SWIG_IsOK(ecode1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29023 arg1
= static_cast< int >(val1
);
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= wxDateSpan::Weeks(arg1
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29037 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29038 PyObject
*resultobj
= 0;
29041 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29044 result
= wxDateSpan::Week();
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29055 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
= 0;
29061 PyObject
* obj0
= 0 ;
29062 char * kwnames
[] = {
29063 (char *) "mon", NULL
29066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29068 if (!SWIG_IsOK(ecode1
)) {
29069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29071 arg1
= static_cast< int >(val1
);
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= wxDateSpan::Months(arg1
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29085 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29086 PyObject
*resultobj
= 0;
29089 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= wxDateSpan::Month();
29093 wxPyEndAllowThreads(__tstate
);
29094 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29103 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
= 0;
29109 PyObject
* obj0
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "years", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29115 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29116 if (!SWIG_IsOK(ecode1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29119 arg1
= static_cast< int >(val1
);
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29122 result
= wxDateSpan::Years(arg1
);
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29126 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29133 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29134 PyObject
*resultobj
= 0;
29137 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= wxDateSpan::Year();
29141 wxPyEndAllowThreads(__tstate
);
29142 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29151 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29152 PyObject
*resultobj
= 0;
29153 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29155 wxDateSpan
*result
= 0 ;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 char * kwnames
[] = {
29163 (char *) "self",(char *) "n", NULL
29166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29171 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29173 if (!SWIG_IsOK(ecode2
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29176 arg2
= static_cast< int >(val2
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29181 result
= (wxDateSpan
*) &_result_ref
;
29183 wxPyEndAllowThreads(__tstate
);
29184 if (PyErr_Occurred()) SWIG_fail
;
29186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29193 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29197 wxDateSpan
*result
= 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "n", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29213 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29218 arg2
= static_cast< int >(val2
);
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29223 result
= (wxDateSpan
*) &_result_ref
;
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29235 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29239 wxDateSpan
*result
= 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 char * kwnames
[] = {
29247 (char *) "self",(char *) "n", NULL
29250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29252 if (!SWIG_IsOK(res1
)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29255 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29257 if (!SWIG_IsOK(ecode2
)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29260 arg2
= static_cast< int >(val2
);
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29265 result
= (wxDateSpan
*) &_result_ref
;
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29277 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29281 wxDateSpan
*result
= 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char * kwnames
[] = {
29289 (char *) "self",(char *) "n", NULL
29292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29294 if (!SWIG_IsOK(res1
)) {
29295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29297 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29299 if (!SWIG_IsOK(ecode2
)) {
29300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29302 arg2
= static_cast< int >(val2
);
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29307 result
= (wxDateSpan
*) &_result_ref
;
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29319 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29320 PyObject
*resultobj
= 0;
29321 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29325 PyObject
*swig_obj
[1] ;
29327 if (!args
) SWIG_fail
;
29328 swig_obj
[0] = args
;
29329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29333 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_From_int(static_cast< int >(result
));
29347 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29348 PyObject
*resultobj
= 0;
29349 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29353 PyObject
*swig_obj
[1] ;
29355 if (!args
) SWIG_fail
;
29356 swig_obj
[0] = args
;
29357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29361 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29365 wxPyEndAllowThreads(__tstate
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= SWIG_From_int(static_cast< int >(result
));
29375 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29376 PyObject
*resultobj
= 0;
29377 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29381 PyObject
*swig_obj
[1] ;
29383 if (!args
) SWIG_fail
;
29384 swig_obj
[0] = args
;
29385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29386 if (!SWIG_IsOK(res1
)) {
29387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29389 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29393 wxPyEndAllowThreads(__tstate
);
29394 if (PyErr_Occurred()) SWIG_fail
;
29396 resultobj
= SWIG_From_int(static_cast< int >(result
));
29403 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29404 PyObject
*resultobj
= 0;
29405 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29409 PyObject
*swig_obj
[1] ;
29411 if (!args
) SWIG_fail
;
29412 swig_obj
[0] = args
;
29413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29417 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_From_int(static_cast< int >(result
));
29431 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29432 PyObject
*resultobj
= 0;
29433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29437 PyObject
*swig_obj
[1] ;
29439 if (!args
) SWIG_fail
;
29440 swig_obj
[0] = args
;
29441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29442 if (!SWIG_IsOK(res1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29445 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29449 wxPyEndAllowThreads(__tstate
);
29450 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_From_int(static_cast< int >(result
));
29459 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
= 0;
29461 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29462 wxDateSpan
*arg2
= 0 ;
29463 wxDateSpan
*result
= 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char * kwnames
[] = {
29471 (char *) "self",(char *) "other", NULL
29474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29476 if (!SWIG_IsOK(res1
)) {
29477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29479 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29481 if (!SWIG_IsOK(res2
)) {
29482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29487 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29492 result
= (wxDateSpan
*) &_result_ref
;
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29504 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
= 0;
29506 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29507 wxDateSpan
*arg2
= 0 ;
29508 wxDateSpan
*result
= 0 ;
29513 PyObject
* obj0
= 0 ;
29514 PyObject
* obj1
= 0 ;
29515 char * kwnames
[] = {
29516 (char *) "self",(char *) "other", NULL
29519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29521 if (!SWIG_IsOK(res1
)) {
29522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29524 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29525 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29526 if (!SWIG_IsOK(res2
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29532 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29536 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29537 result
= (wxDateSpan
*) &_result_ref
;
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29549 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29550 PyObject
*resultobj
= 0;
29551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29552 wxDateSpan
*result
= 0 ;
29555 PyObject
*swig_obj
[1] ;
29557 if (!args
) SWIG_fail
;
29558 swig_obj
[0] = args
;
29559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29560 if (!SWIG_IsOK(res1
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29563 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29568 result
= (wxDateSpan
*) &_result_ref
;
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29580 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
= 0;
29582 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29584 wxDateSpan
*result
= 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 char * kwnames
[] = {
29592 (char *) "self",(char *) "factor", NULL
29595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29597 if (!SWIG_IsOK(res1
)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29600 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29602 if (!SWIG_IsOK(ecode2
)) {
29603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29605 arg2
= static_cast< int >(val2
);
29607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29610 result
= (wxDateSpan
*) &_result_ref
;
29612 wxPyEndAllowThreads(__tstate
);
29613 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29622 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
= 0;
29624 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29625 wxDateSpan
*arg2
= 0 ;
29626 wxDateSpan
*result
= 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 char * kwnames
[] = {
29634 (char *) "self",(char *) "other", NULL
29637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29642 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29644 if (!SWIG_IsOK(res2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29650 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29655 result
= (wxDateSpan
*) &_result_ref
;
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29667 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29670 wxDateSpan
*arg2
= 0 ;
29671 wxDateSpan
*result
= 0 ;
29676 PyObject
* obj0
= 0 ;
29677 PyObject
* obj1
= 0 ;
29678 char * kwnames
[] = {
29679 (char *) "self",(char *) "other", NULL
29682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29684 if (!SWIG_IsOK(res1
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29687 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29689 if (!SWIG_IsOK(res2
)) {
29690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29695 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29699 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29700 result
= (wxDateSpan
*) &_result_ref
;
29702 wxPyEndAllowThreads(__tstate
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29712 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29713 PyObject
*resultobj
= 0;
29714 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29715 wxDateSpan
*result
= 0 ;
29718 PyObject
*swig_obj
[1] ;
29720 if (!args
) SWIG_fail
;
29721 swig_obj
[0] = args
;
29722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29723 if (!SWIG_IsOK(res1
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29726 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29731 result
= (wxDateSpan
*) &_result_ref
;
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29743 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29744 PyObject
*resultobj
= 0;
29745 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29747 wxDateSpan
*result
= 0 ;
29752 PyObject
* obj0
= 0 ;
29753 PyObject
* obj1
= 0 ;
29754 char * kwnames
[] = {
29755 (char *) "self",(char *) "factor", NULL
29758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29760 if (!SWIG_IsOK(res1
)) {
29761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29763 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29764 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29765 if (!SWIG_IsOK(ecode2
)) {
29766 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29768 arg2
= static_cast< int >(val2
);
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29773 result
= (wxDateSpan
*) &_result_ref
;
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29785 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29786 PyObject
*resultobj
= 0;
29787 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29788 wxDateSpan
*arg2
= 0 ;
29794 PyObject
* obj0
= 0 ;
29795 PyObject
* obj1
= 0 ;
29796 char * kwnames
[] = {
29797 (char *) "self",(char *) "other", NULL
29800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29805 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29806 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29807 if (!SWIG_IsOK(res2
)) {
29808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29813 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29827 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
= 0;
29829 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29830 wxDateSpan
*arg2
= 0 ;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 char * kwnames
[] = {
29839 (char *) "self",(char *) "other", NULL
29842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29844 if (!SWIG_IsOK(res1
)) {
29845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29847 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29849 if (!SWIG_IsOK(res2
)) {
29850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29855 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29869 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
= 0;
29871 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 char * kwnames
[] = {
29881 (char *) "self",(char *) "n", NULL
29884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29886 if (!SWIG_IsOK(res1
)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29889 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29891 if (!SWIG_IsOK(ecode2
)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
29894 arg2
= static_cast< int >(val2
);
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= wxDateSpan___mul__(arg1
,arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29908 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
= 0;
29910 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 PyObject
* obj1
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "n", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29928 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
29933 arg2
= static_cast< int >(val2
);
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= wxDateSpan___rmul__(arg1
,arg2
);
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29947 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29948 PyObject
*resultobj
= 0;
29949 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29950 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 char * kwnames
[] = {
29959 (char *) "self",(char *) "other", NULL
29962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29964 if (!SWIG_IsOK(res1
)) {
29965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29967 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29969 if (!SWIG_IsOK(res2
)) {
29970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
29972 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29975 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29988 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
= 0;
29990 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29991 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
29997 PyObject
* obj0
= 0 ;
29998 PyObject
* obj1
= 0 ;
29999 char * kwnames
[] = {
30000 (char *) "self",(char *) "other", NULL
30003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30005 if (!SWIG_IsOK(res1
)) {
30006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30008 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30009 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30010 if (!SWIG_IsOK(res2
)) {
30011 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30013 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30029 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30032 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30033 return SWIG_Py_Void();
30036 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30037 return SWIG_Python_InitShadowInstance(args
);
30040 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30041 PyObject
*resultobj
= 0;
30044 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= (long)wxGetLocalTime();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= SWIG_From_long(static_cast< long >(result
));
30058 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30059 PyObject
*resultobj
= 0;
30062 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30065 result
= (long)wxGetUTCTime();
30066 wxPyEndAllowThreads(__tstate
);
30067 if (PyErr_Occurred()) SWIG_fail
;
30069 resultobj
= SWIG_From_long(static_cast< long >(result
));
30076 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30077 PyObject
*resultobj
= 0;
30080 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= (long)wxGetCurrentTime();
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= SWIG_From_long(static_cast< long >(result
));
30094 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30095 PyObject
*resultobj
= 0;
30098 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= wxGetLocalTimeMillis();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30107 hi
= PyLong_FromLong( (&result
)->GetHi() );
30108 lo
= PyLong_FromLong( (&result
)->GetLo() );
30109 shifter
= PyLong_FromLong(32);
30110 shifted
= PyNumber_Lshift(hi
, shifter
);
30111 resultobj
= PyNumber_Or(shifted
, lo
);
30114 Py_DECREF(shifter
);
30115 Py_DECREF(shifted
);
30123 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30124 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30129 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30130 PyObject
*pyobj
= 0;
30132 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30137 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
= 0;
30139 wxDataFormatId arg1
;
30140 wxDataFormat
*result
= 0 ;
30143 PyObject
* obj0
= 0 ;
30144 char * kwnames
[] = {
30145 (char *) "type", NULL
30148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30150 if (!SWIG_IsOK(ecode1
)) {
30151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30153 arg1
= static_cast< wxDataFormatId
>(val1
);
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30167 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
= 0;
30169 wxString
*arg1
= 0 ;
30170 wxDataFormat
*result
= 0 ;
30171 bool temp1
= false ;
30172 PyObject
* obj0
= 0 ;
30173 char * kwnames
[] = {
30174 (char *) "format", NULL
30177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30179 arg1
= wxString_in_helper(obj0
);
30180 if (arg1
== NULL
) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30186 wxPyEndAllowThreads(__tstate
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30204 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30205 PyObject
*resultobj
= 0;
30206 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30209 PyObject
*swig_obj
[1] ;
30211 if (!args
) SWIG_fail
;
30212 swig_obj
[0] = args
;
30213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30214 if (!SWIG_IsOK(res1
)) {
30215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30217 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 resultobj
= SWIG_Py_Void();
30232 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30233 PyObject
*resultobj
= 0;
30234 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30235 wxDataFormatId arg2
;
30242 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30247 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30248 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30249 if (!SWIG_IsOK(ecode2
)) {
30250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30252 arg2
= static_cast< wxDataFormatId
>(val2
);
30254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30255 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30256 wxPyEndAllowThreads(__tstate
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30268 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30269 PyObject
*resultobj
= 0;
30270 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30271 wxDataFormatId arg2
;
30278 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30280 if (!SWIG_IsOK(res1
)) {
30281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30283 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30284 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30285 if (!SWIG_IsOK(ecode2
)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30288 arg2
= static_cast< wxDataFormatId
>(val2
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30304 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30305 PyObject
*resultobj
= 0;
30306 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30307 wxDataFormat
*arg2
= 0 ;
30314 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30316 if (!SWIG_IsOK(res1
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30319 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30320 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30321 if (!SWIG_IsOK(res2
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30327 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30343 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30347 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30352 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30353 _v
= SWIG_CheckState(res
);
30355 if (!_v
) goto check_1
;
30356 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30361 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30365 Py_INCREF(Py_NotImplemented
);
30366 return Py_NotImplemented
;
30370 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30371 PyObject
*resultobj
= 0;
30372 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30373 wxDataFormat
*arg2
= 0 ;
30380 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30382 if (!SWIG_IsOK(res1
)) {
30383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30385 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30386 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30387 if (!SWIG_IsOK(res2
)) {
30388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30393 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30397 wxPyEndAllowThreads(__tstate
);
30398 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30409 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30413 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30418 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30419 _v
= SWIG_CheckState(res
);
30421 if (!_v
) goto check_1
;
30422 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30427 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30431 Py_INCREF(Py_NotImplemented
);
30432 return Py_NotImplemented
;
30436 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
= 0;
30438 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30439 wxDataFormatId arg2
;
30444 PyObject
* obj0
= 0 ;
30445 PyObject
* obj1
= 0 ;
30446 char * kwnames
[] = {
30447 (char *) "self",(char *) "format", NULL
30450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30452 if (!SWIG_IsOK(res1
)) {
30453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30455 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30457 if (!SWIG_IsOK(ecode2
)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30460 arg2
= static_cast< wxDataFormatId
>(val2
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 (arg1
)->SetType(arg2
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_Py_Void();
30474 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30475 PyObject
*resultobj
= 0;
30476 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30477 wxDataFormatId result
;
30480 PyObject
*swig_obj
[1] ;
30482 if (!args
) SWIG_fail
;
30483 swig_obj
[0] = args
;
30484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30485 if (!SWIG_IsOK(res1
)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30488 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30491 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30492 wxPyEndAllowThreads(__tstate
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30495 resultobj
= SWIG_From_int(static_cast< int >(result
));
30502 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30503 PyObject
*resultobj
= 0;
30504 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30508 PyObject
*swig_obj
[1] ;
30510 if (!args
) SWIG_fail
;
30511 swig_obj
[0] = args
;
30512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30513 if (!SWIG_IsOK(res1
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30516 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= ((wxDataFormat
const *)arg1
)->GetId();
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30536 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30537 PyObject
*resultobj
= 0;
30538 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30539 wxString
*arg2
= 0 ;
30542 bool temp2
= false ;
30543 PyObject
* obj0
= 0 ;
30544 PyObject
* obj1
= 0 ;
30545 char * kwnames
[] = {
30546 (char *) "self",(char *) "format", NULL
30549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30551 if (!SWIG_IsOK(res1
)) {
30552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30554 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30556 arg2
= wxString_in_helper(obj1
);
30557 if (arg2
== NULL
) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 (arg1
)->SetId((wxString
const &)*arg2
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= SWIG_Py_Void();
30581 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30584 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30585 return SWIG_Py_Void();
30588 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30589 return SWIG_Python_InitShadowInstance(args
);
30592 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30593 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30598 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30599 PyObject
*pyobj
= 0;
30601 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30606 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30607 PyObject
*resultobj
= 0;
30608 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30611 PyObject
*swig_obj
[1] ;
30613 if (!args
) SWIG_fail
;
30614 swig_obj
[0] = args
;
30615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30616 if (!SWIG_IsOK(res1
)) {
30617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30619 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= SWIG_Py_Void();
30634 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
= 0;
30636 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30637 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30638 SwigValueWrapper
<wxDataFormat
> result
;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char * kwnames
[] = {
30646 (char *) "self",(char *) "dir", NULL
30649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30651 if (!SWIG_IsOK(res1
)) {
30652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30654 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30657 if (!SWIG_IsOK(ecode2
)) {
30658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30660 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30675 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30676 PyObject
*resultobj
= 0;
30677 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30678 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "dir", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30695 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30698 if (!SWIG_IsOK(ecode2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30701 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30716 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
= 0;
30718 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30719 wxDataFormat
*arg2
= 0 ;
30720 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30728 PyObject
* obj0
= 0 ;
30729 PyObject
* obj1
= 0 ;
30730 PyObject
* obj2
= 0 ;
30731 char * kwnames
[] = {
30732 (char *) "self",(char *) "format",(char *) "dir", NULL
30735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30737 if (!SWIG_IsOK(res1
)) {
30738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30740 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30741 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30742 if (!SWIG_IsOK(res2
)) {
30743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30748 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30750 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30751 if (!SWIG_IsOK(ecode3
)) {
30752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30754 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30771 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
= 0;
30773 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30774 wxDataFormat
*arg2
= 0 ;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 char * kwnames
[] = {
30783 (char *) "self",(char *) "format", NULL
30786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) 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_GetDataSize" "', 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_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30799 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30813 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
= 0;
30815 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30816 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30817 PyObject
*result
= 0 ;
30822 PyObject
* obj0
= 0 ;
30823 PyObject
* obj1
= 0 ;
30824 char * kwnames
[] = {
30825 (char *) "self",(char *) "dir", NULL
30828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30830 if (!SWIG_IsOK(res1
)) {
30831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
30833 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30836 if (!SWIG_IsOK(ecode2
)) {
30837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30839 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
30844 wxPyEndAllowThreads(__tstate
);
30845 if (PyErr_Occurred()) SWIG_fail
;
30847 resultobj
= result
;
30854 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30855 PyObject
*resultobj
= 0;
30856 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30857 wxDataFormat
*arg2
= 0 ;
30858 PyObject
*result
= 0 ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 char * kwnames
[] = {
30866 (char *) "self",(char *) "format", NULL
30869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
30874 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30876 if (!SWIG_IsOK(res2
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30882 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30885 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
30886 wxPyEndAllowThreads(__tstate
);
30887 if (PyErr_Occurred()) SWIG_fail
;
30889 resultobj
= result
;
30896 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30897 PyObject
*resultobj
= 0;
30898 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30899 wxDataFormat
*arg2
= 0 ;
30900 PyObject
*arg3
= (PyObject
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 PyObject
* obj2
= 0 ;
30909 char * kwnames
[] = {
30910 (char *) "self",(char *) "format",(char *) "data", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
30918 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30920 if (!SWIG_IsOK(res2
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30926 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
30931 wxPyEndAllowThreads(__tstate
);
30932 if (PyErr_Occurred()) SWIG_fail
;
30935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30943 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30946 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
30947 return SWIG_Py_Void();
30950 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
= 0;
30952 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
30953 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
30954 wxDataObjectSimple
*result
= 0 ;
30957 PyObject
* obj0
= 0 ;
30958 char * kwnames
[] = {
30959 (char *) "format", NULL
30962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
30964 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30965 if (!SWIG_IsOK(res1
)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
30969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
30971 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
30976 wxPyEndAllowThreads(__tstate
);
30977 if (PyErr_Occurred()) SWIG_fail
;
30979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
30986 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30987 PyObject
*resultobj
= 0;
30988 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
30989 wxDataFormat
*result
= 0 ;
30992 PyObject
*swig_obj
[1] ;
30994 if (!args
) SWIG_fail
;
30995 swig_obj
[0] = args
;
30996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31000 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31004 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31005 result
= (wxDataFormat
*) &_result_ref
;
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31017 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
= 0;
31019 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31020 wxDataFormat
*arg2
= 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "format", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31036 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31038 if (!SWIG_IsOK(res2
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31044 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31047 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31048 wxPyEndAllowThreads(__tstate
);
31049 if (PyErr_Occurred()) SWIG_fail
;
31051 resultobj
= SWIG_Py_Void();
31058 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31059 PyObject
*resultobj
= 0;
31060 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31064 PyObject
*swig_obj
[1] ;
31066 if (!args
) SWIG_fail
;
31067 swig_obj
[0] = args
;
31068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31069 if (!SWIG_IsOK(res1
)) {
31070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31072 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31075 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31086 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31087 PyObject
*resultobj
= 0;
31088 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31089 PyObject
*result
= 0 ;
31092 PyObject
*swig_obj
[1] ;
31094 if (!args
) SWIG_fail
;
31095 swig_obj
[0] = args
;
31096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31100 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= result
;
31114 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
= 0;
31116 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31117 PyObject
*arg2
= (PyObject
*) 0 ;
31121 PyObject
* obj0
= 0 ;
31122 PyObject
* obj1
= 0 ;
31123 char * kwnames
[] = {
31124 (char *) "self",(char *) "data", NULL
31127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31129 if (!SWIG_IsOK(res1
)) {
31130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31132 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31137 wxPyEndAllowThreads(__tstate
);
31138 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31149 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31152 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31153 return SWIG_Py_Void();
31156 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31157 return SWIG_Python_InitShadowInstance(args
);
31160 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
= 0;
31162 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31163 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31164 wxPyDataObjectSimple
*result
= 0 ;
31167 PyObject
* obj0
= 0 ;
31168 char * kwnames
[] = {
31169 (char *) "format", NULL
31172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31181 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31196 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
= 0;
31198 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31199 PyObject
*arg2
= (PyObject
*) 0 ;
31200 PyObject
*arg3
= (PyObject
*) 0 ;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 PyObject
* obj2
= 0 ;
31206 char * kwnames
[] = {
31207 (char *) "self",(char *) "self",(char *) "_class", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31215 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_Py_Void();
31231 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31235 return SWIG_Py_Void();
31238 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31239 return SWIG_Python_InitShadowInstance(args
);
31242 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31243 PyObject
*resultobj
= 0;
31244 wxDataObjectComposite
*result
= 0 ;
31246 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31250 wxPyEndAllowThreads(__tstate
);
31251 if (PyErr_Occurred()) SWIG_fail
;
31253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31260 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
= 0;
31262 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31263 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31264 bool arg3
= (bool) false ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 PyObject
* obj2
= 0 ;
31273 char * kwnames
[] = {
31274 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31279 if (!SWIG_IsOK(res1
)) {
31280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31282 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31283 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31284 if (!SWIG_IsOK(res2
)) {
31285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31288 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31289 if (!SWIG_IsOK(ecode3
)) {
31290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31292 arg3
= static_cast< bool >(val3
);
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->Add(arg2
,arg3
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31300 resultobj
= SWIG_Py_Void();
31307 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31309 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31310 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31311 return SWIG_Py_Void();
31314 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31315 return SWIG_Python_InitShadowInstance(args
);
31318 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
= 0;
31320 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31321 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31322 wxTextDataObject
*result
= 0 ;
31323 bool temp1
= false ;
31324 PyObject
* obj0
= 0 ;
31325 char * kwnames
[] = {
31326 (char *) "text", NULL
31329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31332 arg1
= wxString_in_helper(obj0
);
31333 if (arg1
== NULL
) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31358 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31359 PyObject
*resultobj
= 0;
31360 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
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_wxTextDataObject
, 0 | 0 );
31369 if (!SWIG_IsOK(res1
)) {
31370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31372 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31375 result
= (size_t)(arg1
)->GetTextLength();
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31386 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31387 PyObject
*resultobj
= 0;
31388 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31392 PyObject
*swig_obj
[1] ;
31394 if (!args
) SWIG_fail
;
31395 swig_obj
[0] = args
;
31396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31397 if (!SWIG_IsOK(res1
)) {
31398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31400 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (arg1
)->GetText();
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31420 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31423 wxString
*arg2
= 0 ;
31426 bool temp2
= false ;
31427 PyObject
* obj0
= 0 ;
31428 PyObject
* obj1
= 0 ;
31429 char * kwnames
[] = {
31430 (char *) "self",(char *) "text", NULL
31433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31438 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31440 arg2
= wxString_in_helper(obj1
);
31441 if (arg2
== NULL
) SWIG_fail
;
31445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31446 (arg1
)->SetText((wxString
const &)*arg2
);
31447 wxPyEndAllowThreads(__tstate
);
31448 if (PyErr_Occurred()) SWIG_fail
;
31450 resultobj
= SWIG_Py_Void();
31465 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31468 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31469 return SWIG_Py_Void();
31472 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31473 return SWIG_Python_InitShadowInstance(args
);
31476 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
= 0;
31478 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31479 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31480 wxPyTextDataObject
*result
= 0 ;
31481 bool temp1
= false ;
31482 PyObject
* obj0
= 0 ;
31483 char * kwnames
[] = {
31484 (char *) "text", NULL
31487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31490 arg1
= wxString_in_helper(obj0
);
31491 if (arg1
== NULL
) SWIG_fail
;
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31516 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
= 0;
31518 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31519 PyObject
*arg2
= (PyObject
*) 0 ;
31520 PyObject
*arg3
= (PyObject
*) 0 ;
31523 PyObject
* obj0
= 0 ;
31524 PyObject
* obj1
= 0 ;
31525 PyObject
* obj2
= 0 ;
31526 char * kwnames
[] = {
31527 (char *) "self",(char *) "self",(char *) "_class", NULL
31530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31532 if (!SWIG_IsOK(res1
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31535 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31544 resultobj
= SWIG_Py_Void();
31551 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31554 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31555 return SWIG_Py_Void();
31558 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31559 return SWIG_Python_InitShadowInstance(args
);
31562 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
= 0;
31564 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31565 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31566 wxBitmapDataObject
*result
= 0 ;
31569 PyObject
* obj0
= 0 ;
31570 char * kwnames
[] = {
31571 (char *) "bitmap", NULL
31574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31577 if (!SWIG_IsOK(res1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31583 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31587 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31598 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31599 PyObject
*resultobj
= 0;
31600 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31604 PyObject
*swig_obj
[1] ;
31606 if (!args
) SWIG_fail
;
31607 swig_obj
[0] = args
;
31608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31609 if (!SWIG_IsOK(res1
)) {
31610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31612 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31615 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31626 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
= 0;
31628 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31629 wxBitmap
*arg2
= 0 ;
31634 PyObject
* obj0
= 0 ;
31635 PyObject
* obj1
= 0 ;
31636 char * kwnames
[] = {
31637 (char *) "self",(char *) "bitmap", NULL
31640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31642 if (!SWIG_IsOK(res1
)) {
31643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31645 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31646 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31647 if (!SWIG_IsOK(res2
)) {
31648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31653 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31656 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 resultobj
= SWIG_Py_Void();
31667 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31669 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31670 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31671 return SWIG_Py_Void();
31674 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31675 return SWIG_Python_InitShadowInstance(args
);
31678 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
= 0;
31680 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31681 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31682 wxPyBitmapDataObject
*result
= 0 ;
31685 PyObject
* obj0
= 0 ;
31686 char * kwnames
[] = {
31687 (char *) "bitmap", NULL
31690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31692 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31693 if (!SWIG_IsOK(res1
)) {
31694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31697 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31699 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31703 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31714 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
= 0;
31716 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31717 PyObject
*arg2
= (PyObject
*) 0 ;
31718 PyObject
*arg3
= (PyObject
*) 0 ;
31721 PyObject
* obj0
= 0 ;
31722 PyObject
* obj1
= 0 ;
31723 PyObject
* obj2
= 0 ;
31724 char * kwnames
[] = {
31725 (char *) "self",(char *) "self",(char *) "_class", NULL
31728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31730 if (!SWIG_IsOK(res1
)) {
31731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31733 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31738 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= SWIG_Py_Void();
31749 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31752 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31753 return SWIG_Py_Void();
31756 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31757 return SWIG_Python_InitShadowInstance(args
);
31760 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 PyObject
*resultobj
= 0;
31762 wxFileDataObject
*result
= 0 ;
31764 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (wxFileDataObject
*)new wxFileDataObject();
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
31778 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31779 PyObject
*resultobj
= 0;
31780 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31781 wxArrayString
*result
= 0 ;
31784 PyObject
*swig_obj
[1] ;
31786 if (!args
) SWIG_fail
;
31787 swig_obj
[0] = args
;
31788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31789 if (!SWIG_IsOK(res1
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31792 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
31797 result
= (wxArrayString
*) &_result_ref
;
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31803 resultobj
= wxArrayString2PyList_helper(*result
);
31811 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31812 PyObject
*resultobj
= 0;
31813 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
31814 wxString
*arg2
= 0 ;
31817 bool temp2
= false ;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 char * kwnames
[] = {
31821 (char *) "self",(char *) "filename", NULL
31824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
31826 if (!SWIG_IsOK(res1
)) {
31827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
31829 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
31831 arg2
= wxString_in_helper(obj1
);
31832 if (arg2
== NULL
) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 (arg1
)->AddFile((wxString
const &)*arg2
);
31838 wxPyEndAllowThreads(__tstate
);
31839 if (PyErr_Occurred()) SWIG_fail
;
31841 resultobj
= SWIG_Py_Void();
31856 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31859 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
31860 return SWIG_Py_Void();
31863 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31864 return SWIG_Python_InitShadowInstance(args
);
31867 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31868 PyObject
*resultobj
= 0;
31869 wxDataFormat
*arg1
= 0 ;
31870 wxCustomDataObject
*result
= 0 ;
31874 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31876 if (!SWIG_IsOK(res1
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31882 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31896 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
31897 PyObject
*resultobj
= 0;
31898 wxString
*arg1
= 0 ;
31899 wxCustomDataObject
*result
= 0 ;
31900 bool temp1
= false ;
31902 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
31904 arg1
= wxString_in_helper(swig_obj
[0]);
31905 if (arg1
== NULL
) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31929 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
31930 PyObject
*resultobj
= 0;
31931 wxCustomDataObject
*result
= 0 ;
31933 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 result
= (wxCustomDataObject
*)new wxCustomDataObject();
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
31947 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
31951 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
31954 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
31960 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
31963 if (!_v
) goto check_2
;
31964 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
31969 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
31973 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
31978 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
= 0;
31980 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
31981 PyObject
*arg2
= (PyObject
*) 0 ;
31985 PyObject
* obj0
= 0 ;
31986 PyObject
* obj1
= 0 ;
31987 char * kwnames
[] = {
31988 (char *) "self",(char *) "data", NULL
31991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
31993 if (!SWIG_IsOK(res1
)) {
31994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
31996 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
31999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32000 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32013 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32014 PyObject
*resultobj
= 0;
32015 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32019 PyObject
*swig_obj
[1] ;
32021 if (!args
) SWIG_fail
;
32022 swig_obj
[0] = args
;
32023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32024 if (!SWIG_IsOK(res1
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32027 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= (size_t)(arg1
)->GetSize();
32031 wxPyEndAllowThreads(__tstate
);
32032 if (PyErr_Occurred()) SWIG_fail
;
32034 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32041 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32042 PyObject
*resultobj
= 0;
32043 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32044 PyObject
*result
= 0 ;
32047 PyObject
*swig_obj
[1] ;
32049 if (!args
) SWIG_fail
;
32050 swig_obj
[0] = args
;
32051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32055 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32058 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= result
;
32069 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32071 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32072 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32073 return SWIG_Py_Void();
32076 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32077 return SWIG_Python_InitShadowInstance(args
);
32080 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32081 PyObject
*resultobj
= 0;
32082 wxURLDataObject
*result
= 0 ;
32084 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32087 result
= (wxURLDataObject
*)new wxURLDataObject();
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32098 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32099 PyObject
*resultobj
= 0;
32100 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32104 PyObject
*swig_obj
[1] ;
32106 if (!args
) SWIG_fail
;
32107 swig_obj
[0] = args
;
32108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32109 if (!SWIG_IsOK(res1
)) {
32110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32112 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= (arg1
)->GetURL();
32116 wxPyEndAllowThreads(__tstate
);
32117 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32132 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
= 0;
32134 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32135 wxString
*arg2
= 0 ;
32138 bool temp2
= false ;
32139 PyObject
* obj0
= 0 ;
32140 PyObject
* obj1
= 0 ;
32141 char * kwnames
[] = {
32142 (char *) "self",(char *) "url", NULL
32145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32147 if (!SWIG_IsOK(res1
)) {
32148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32150 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32152 arg2
= wxString_in_helper(obj1
);
32153 if (arg2
== NULL
) SWIG_fail
;
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->SetURL((wxString
const &)*arg2
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_Py_Void();
32177 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32180 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32181 return SWIG_Py_Void();
32184 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32185 return SWIG_Python_InitShadowInstance(args
);
32188 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32189 PyObject
*resultobj
= 0;
32190 wxMetafileDataObject
*result
= 0 ;
32192 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32206 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
= 0;
32208 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32209 wxMetafile
*arg2
= 0 ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char * kwnames
[] = {
32217 (char *) "self",(char *) "metafile", NULL
32220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32225 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32226 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32227 if (!SWIG_IsOK(res2
)) {
32228 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32231 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32233 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32237 wxPyEndAllowThreads(__tstate
);
32238 if (PyErr_Occurred()) SWIG_fail
;
32240 resultobj
= SWIG_Py_Void();
32247 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32248 PyObject
*resultobj
= 0;
32249 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32253 PyObject
*swig_obj
[1] ;
32255 if (!args
) SWIG_fail
;
32256 swig_obj
[0] = args
;
32257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32258 if (!SWIG_IsOK(res1
)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32261 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32264 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32265 wxPyEndAllowThreads(__tstate
);
32266 if (PyErr_Occurred()) SWIG_fail
;
32268 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32275 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32278 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32279 return SWIG_Py_Void();
32282 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32283 return SWIG_Python_InitShadowInstance(args
);
32286 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
= 0;
32288 wxDragResult arg1
;
32292 PyObject
* obj0
= 0 ;
32293 char * kwnames
[] = {
32294 (char *) "res", NULL
32297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32298 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32299 if (!SWIG_IsOK(ecode1
)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32302 arg1
= static_cast< wxDragResult
>(val1
);
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 result
= (bool)wxIsDragResultOk(arg1
);
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32318 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
= 0;
32320 wxWindow
*arg1
= (wxWindow
*) 0 ;
32321 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32322 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32323 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32324 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32325 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32326 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32327 wxPyDropSource
*result
= 0 ;
32336 PyObject
* obj0
= 0 ;
32337 PyObject
* obj1
= 0 ;
32338 PyObject
* obj2
= 0 ;
32339 PyObject
* obj3
= 0 ;
32340 char * kwnames
[] = {
32341 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32346 if (!SWIG_IsOK(res1
)) {
32347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32351 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32352 if (!SWIG_IsOK(res2
)) {
32353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32358 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32361 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32362 if (!SWIG_IsOK(res3
)) {
32363 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32368 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32371 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32372 if (!SWIG_IsOK(res4
)) {
32373 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32376 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32378 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32393 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32394 PyObject
*resultobj
= 0;
32395 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32396 PyObject
*arg2
= (PyObject
*) 0 ;
32397 PyObject
*arg3
= (PyObject
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 PyObject
* obj1
= 0 ;
32405 PyObject
* obj2
= 0 ;
32406 PyObject
* obj3
= 0 ;
32407 char * kwnames
[] = {
32408 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32413 if (!SWIG_IsOK(res1
)) {
32414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32416 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32419 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32420 if (!SWIG_IsOK(ecode4
)) {
32421 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32423 arg4
= static_cast< int >(val4
);
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32427 wxPyEndAllowThreads(__tstate
);
32428 if (PyErr_Occurred()) SWIG_fail
;
32430 resultobj
= SWIG_Py_Void();
32437 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32438 PyObject
*resultobj
= 0;
32439 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32442 PyObject
*swig_obj
[1] ;
32444 if (!args
) SWIG_fail
;
32445 swig_obj
[0] = args
;
32446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32447 if (!SWIG_IsOK(res1
)) {
32448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32450 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= SWIG_Py_Void();
32465 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
= 0;
32467 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32468 wxDataObject
*arg2
= 0 ;
32473 PyObject
* obj0
= 0 ;
32474 PyObject
* obj1
= 0 ;
32475 char * kwnames
[] = {
32476 (char *) "self",(char *) "data", NULL
32479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32484 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32486 if (!SWIG_IsOK(res2
)) {
32487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32492 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 (arg1
)->SetData(*arg2
);
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 resultobj
= SWIG_Py_Void();
32506 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 PyObject
*resultobj
= 0;
32508 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32509 wxDataObject
*result
= 0 ;
32512 PyObject
*swig_obj
[1] ;
32514 if (!args
) SWIG_fail
;
32515 swig_obj
[0] = args
;
32516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32517 if (!SWIG_IsOK(res1
)) {
32518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32520 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32524 wxPyEndAllowThreads(__tstate
);
32525 if (PyErr_Occurred()) SWIG_fail
;
32527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32534 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32535 PyObject
*resultobj
= 0;
32536 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32537 wxDragResult arg2
;
32538 wxCursor
*arg3
= 0 ;
32545 PyObject
* obj0
= 0 ;
32546 PyObject
* obj1
= 0 ;
32547 PyObject
* obj2
= 0 ;
32548 char * kwnames
[] = {
32549 (char *) "self",(char *) "res",(char *) "cursor", NULL
32552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32554 if (!SWIG_IsOK(res1
)) {
32555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32557 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32559 if (!SWIG_IsOK(ecode2
)) {
32560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32562 arg2
= static_cast< wxDragResult
>(val2
);
32563 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32564 if (!SWIG_IsOK(res3
)) {
32565 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32570 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32573 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32574 wxPyEndAllowThreads(__tstate
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32577 resultobj
= SWIG_Py_Void();
32584 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
= 0;
32586 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32587 int arg2
= (int) wxDrag_CopyOnly
;
32588 wxDragResult result
;
32593 PyObject
* obj0
= 0 ;
32594 PyObject
* obj1
= 0 ;
32595 char * kwnames
[] = {
32596 (char *) "self",(char *) "flags", NULL
32599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32601 if (!SWIG_IsOK(res1
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32604 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32607 if (!SWIG_IsOK(ecode2
)) {
32608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32610 arg2
= static_cast< int >(val2
);
32613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32614 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32615 wxPyEndAllowThreads(__tstate
);
32616 if (PyErr_Occurred()) SWIG_fail
;
32618 resultobj
= SWIG_From_int(static_cast< int >(result
));
32625 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32626 PyObject
*resultobj
= 0;
32627 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32628 wxDragResult arg2
;
32634 PyObject
* obj0
= 0 ;
32635 PyObject
* obj1
= 0 ;
32636 char * kwnames
[] = {
32637 (char *) "self",(char *) "effect", NULL
32640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32642 if (!SWIG_IsOK(res1
)) {
32643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32645 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32647 if (!SWIG_IsOK(ecode2
)) {
32648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32650 arg2
= static_cast< wxDragResult
>(val2
);
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32654 wxPyEndAllowThreads(__tstate
);
32655 if (PyErr_Occurred()) SWIG_fail
;
32658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32666 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32670 return SWIG_Py_Void();
32673 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32674 return SWIG_Python_InitShadowInstance(args
);
32677 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32678 PyObject
*resultobj
= 0;
32679 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32680 wxPyDropTarget
*result
= 0 ;
32682 PyObject
* obj0
= 0 ;
32683 char * kwnames
[] = {
32684 (char *) "dataObject", NULL
32687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32689 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32690 if (!SWIG_IsOK(res1
)) {
32691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32696 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32707 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
= 0;
32709 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32710 PyObject
*arg2
= (PyObject
*) 0 ;
32711 PyObject
*arg3
= (PyObject
*) 0 ;
32714 PyObject
* obj0
= 0 ;
32715 PyObject
* obj1
= 0 ;
32716 PyObject
* obj2
= 0 ;
32717 char * kwnames
[] = {
32718 (char *) "self",(char *) "self",(char *) "_class", NULL
32721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32723 if (!SWIG_IsOK(res1
)) {
32724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32726 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32731 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32732 wxPyEndAllowThreads(__tstate
);
32733 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= SWIG_Py_Void();
32742 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32743 PyObject
*resultobj
= 0;
32744 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32747 PyObject
*swig_obj
[1] ;
32749 if (!args
) SWIG_fail
;
32750 swig_obj
[0] = args
;
32751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32755 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 wxPyEndAllowThreads(__tstate
);
32761 if (PyErr_Occurred()) SWIG_fail
;
32763 resultobj
= SWIG_Py_Void();
32770 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32771 PyObject
*resultobj
= 0;
32772 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32773 wxDataObject
*result
= 0 ;
32776 PyObject
*swig_obj
[1] ;
32778 if (!args
) SWIG_fail
;
32779 swig_obj
[0] = args
;
32780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32781 if (!SWIG_IsOK(res1
)) {
32782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32784 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32798 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32799 PyObject
*resultobj
= 0;
32800 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32801 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
32805 PyObject
* obj0
= 0 ;
32806 PyObject
* obj1
= 0 ;
32807 char * kwnames
[] = {
32808 (char *) "self",(char *) "dataObject", NULL
32811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32816 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32817 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32818 if (!SWIG_IsOK(res2
)) {
32819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 (arg1
)->SetDataObject(arg2
);
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32827 resultobj
= SWIG_Py_Void();
32834 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32835 PyObject
*resultobj
= 0;
32836 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32839 wxDragResult arg4
;
32840 wxDragResult result
;
32849 PyObject
* obj0
= 0 ;
32850 PyObject
* obj1
= 0 ;
32851 PyObject
* obj2
= 0 ;
32852 PyObject
* obj3
= 0 ;
32853 char * kwnames
[] = {
32854 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32859 if (!SWIG_IsOK(res1
)) {
32860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32862 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32864 if (!SWIG_IsOK(ecode2
)) {
32865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
32867 arg2
= static_cast< int >(val2
);
32868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32869 if (!SWIG_IsOK(ecode3
)) {
32870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
32872 arg3
= static_cast< int >(val3
);
32873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32874 if (!SWIG_IsOK(ecode4
)) {
32875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
32877 arg4
= static_cast< wxDragResult
>(val4
);
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
32881 wxPyEndAllowThreads(__tstate
);
32882 if (PyErr_Occurred()) SWIG_fail
;
32884 resultobj
= SWIG_From_int(static_cast< int >(result
));
32891 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32892 PyObject
*resultobj
= 0;
32893 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32896 wxDragResult arg4
;
32897 wxDragResult result
;
32906 PyObject
* obj0
= 0 ;
32907 PyObject
* obj1
= 0 ;
32908 PyObject
* obj2
= 0 ;
32909 PyObject
* obj3
= 0 ;
32910 char * kwnames
[] = {
32911 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
32914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32916 if (!SWIG_IsOK(res1
)) {
32917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32919 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32921 if (!SWIG_IsOK(ecode2
)) {
32922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
32924 arg2
= static_cast< int >(val2
);
32925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32926 if (!SWIG_IsOK(ecode3
)) {
32927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
32929 arg3
= static_cast< int >(val3
);
32930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32931 if (!SWIG_IsOK(ecode4
)) {
32932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
32934 arg4
= static_cast< wxDragResult
>(val4
);
32936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32937 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
32938 wxPyEndAllowThreads(__tstate
);
32939 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= SWIG_From_int(static_cast< int >(result
));
32948 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32949 PyObject
*resultobj
= 0;
32950 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32953 PyObject
*swig_obj
[1] ;
32955 if (!args
) SWIG_fail
;
32956 swig_obj
[0] = args
;
32957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32958 if (!SWIG_IsOK(res1
)) {
32959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32961 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 wxPyEndAllowThreads(__tstate
);
32966 if (PyErr_Occurred()) SWIG_fail
;
32968 resultobj
= SWIG_Py_Void();
32975 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32976 PyObject
*resultobj
= 0;
32977 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32987 PyObject
* obj0
= 0 ;
32988 PyObject
* obj1
= 0 ;
32989 PyObject
* obj2
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "x",(char *) "y", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32999 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33001 if (!SWIG_IsOK(ecode2
)) {
33002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33004 arg2
= static_cast< int >(val2
);
33005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33006 if (!SWIG_IsOK(ecode3
)) {
33007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33009 arg3
= static_cast< int >(val3
);
33011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33012 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33025 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33026 PyObject
*resultobj
= 0;
33027 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33031 PyObject
*swig_obj
[1] ;
33033 if (!args
) SWIG_fail
;
33034 swig_obj
[0] = args
;
33035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33036 if (!SWIG_IsOK(res1
)) {
33037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33039 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 result
= (bool)(arg1
)->GetData();
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33055 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33058 wxDragResult arg2
;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "action", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33074 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33076 if (!SWIG_IsOK(ecode2
)) {
33077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33079 arg2
= static_cast< wxDragResult
>(val2
);
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 (arg1
)->SetDefaultAction(arg2
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_Py_Void();
33093 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33094 PyObject
*resultobj
= 0;
33095 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33096 wxDragResult result
;
33099 PyObject
*swig_obj
[1] ;
33101 if (!args
) SWIG_fail
;
33102 swig_obj
[0] = args
;
33103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33104 if (!SWIG_IsOK(res1
)) {
33105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33107 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_From_int(static_cast< int >(result
));
33121 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33124 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33125 return SWIG_Py_Void();
33128 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33129 return SWIG_Python_InitShadowInstance(args
);
33132 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33133 PyObject
*resultobj
= 0;
33134 wxPyTextDropTarget
*result
= 0 ;
33136 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33150 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
= 0;
33152 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33153 PyObject
*arg2
= (PyObject
*) 0 ;
33154 PyObject
*arg3
= (PyObject
*) 0 ;
33157 PyObject
* obj0
= 0 ;
33158 PyObject
* obj1
= 0 ;
33159 PyObject
* obj2
= 0 ;
33160 char * kwnames
[] = {
33161 (char *) "self",(char *) "self",(char *) "_class", NULL
33164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33166 if (!SWIG_IsOK(res1
)) {
33167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33169 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= SWIG_Py_Void();
33185 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
= 0;
33187 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33190 wxString
*arg4
= 0 ;
33198 bool temp4
= false ;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33201 PyObject
* obj2
= 0 ;
33202 PyObject
* obj3
= 0 ;
33203 char * kwnames
[] = {
33204 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33209 if (!SWIG_IsOK(res1
)) {
33210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33212 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33214 if (!SWIG_IsOK(ecode2
)) {
33215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33217 arg2
= static_cast< int >(val2
);
33218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33219 if (!SWIG_IsOK(ecode3
)) {
33220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33222 arg3
= static_cast< int >(val3
);
33224 arg4
= wxString_in_helper(obj3
);
33225 if (arg4
== NULL
) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33251 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33252 PyObject
*resultobj
= 0;
33253 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33256 wxDragResult arg4
;
33257 wxDragResult result
;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 PyObject
* obj2
= 0 ;
33269 PyObject
* obj3
= 0 ;
33270 char * kwnames
[] = {
33271 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33276 if (!SWIG_IsOK(res1
)) {
33277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33279 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33281 if (!SWIG_IsOK(ecode2
)) {
33282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33284 arg2
= static_cast< int >(val2
);
33285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33286 if (!SWIG_IsOK(ecode3
)) {
33287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33289 arg3
= static_cast< int >(val3
);
33290 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33291 if (!SWIG_IsOK(ecode4
)) {
33292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33294 arg4
= static_cast< wxDragResult
>(val4
);
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33298 wxPyEndAllowThreads(__tstate
);
33299 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= SWIG_From_int(static_cast< int >(result
));
33308 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33309 PyObject
*resultobj
= 0;
33310 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33313 wxDragResult arg4
;
33314 wxDragResult result
;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 PyObject
* obj2
= 0 ;
33326 PyObject
* obj3
= 0 ;
33327 char * kwnames
[] = {
33328 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33333 if (!SWIG_IsOK(res1
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33336 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33338 if (!SWIG_IsOK(ecode2
)) {
33339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33341 arg2
= static_cast< int >(val2
);
33342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33343 if (!SWIG_IsOK(ecode3
)) {
33344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33346 arg3
= static_cast< int >(val3
);
33347 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33348 if (!SWIG_IsOK(ecode4
)) {
33349 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33351 arg4
= static_cast< wxDragResult
>(val4
);
33353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33354 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33355 wxPyEndAllowThreads(__tstate
);
33356 if (PyErr_Occurred()) SWIG_fail
;
33358 resultobj
= SWIG_From_int(static_cast< int >(result
));
33365 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33366 PyObject
*resultobj
= 0;
33367 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33370 PyObject
*swig_obj
[1] ;
33372 if (!args
) SWIG_fail
;
33373 swig_obj
[0] = args
;
33374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33375 if (!SWIG_IsOK(res1
)) {
33376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33378 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 wxPyEndAllowThreads(__tstate
);
33383 if (PyErr_Occurred()) SWIG_fail
;
33385 resultobj
= SWIG_Py_Void();
33392 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33393 PyObject
*resultobj
= 0;
33394 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33404 PyObject
* obj0
= 0 ;
33405 PyObject
* obj1
= 0 ;
33406 PyObject
* obj2
= 0 ;
33407 char * kwnames
[] = {
33408 (char *) "self",(char *) "x",(char *) "y", NULL
33411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33413 if (!SWIG_IsOK(res1
)) {
33414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33416 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33418 if (!SWIG_IsOK(ecode2
)) {
33419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33421 arg2
= static_cast< int >(val2
);
33422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33423 if (!SWIG_IsOK(ecode3
)) {
33424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33426 arg3
= static_cast< int >(val3
);
33428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33429 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33430 wxPyEndAllowThreads(__tstate
);
33431 if (PyErr_Occurred()) SWIG_fail
;
33434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33442 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
= 0;
33444 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33447 wxDragResult arg4
;
33448 wxDragResult result
;
33457 PyObject
* obj0
= 0 ;
33458 PyObject
* obj1
= 0 ;
33459 PyObject
* obj2
= 0 ;
33460 PyObject
* obj3
= 0 ;
33461 char * kwnames
[] = {
33462 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33467 if (!SWIG_IsOK(res1
)) {
33468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33470 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33471 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33472 if (!SWIG_IsOK(ecode2
)) {
33473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33475 arg2
= static_cast< int >(val2
);
33476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33477 if (!SWIG_IsOK(ecode3
)) {
33478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33480 arg3
= static_cast< int >(val3
);
33481 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33482 if (!SWIG_IsOK(ecode4
)) {
33483 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33485 arg4
= static_cast< wxDragResult
>(val4
);
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33489 wxPyEndAllowThreads(__tstate
);
33490 if (PyErr_Occurred()) SWIG_fail
;
33492 resultobj
= SWIG_From_int(static_cast< int >(result
));
33499 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33502 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33503 return SWIG_Py_Void();
33506 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33507 return SWIG_Python_InitShadowInstance(args
);
33510 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33511 PyObject
*resultobj
= 0;
33512 wxPyFileDropTarget
*result
= 0 ;
33514 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33517 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33518 wxPyEndAllowThreads(__tstate
);
33519 if (PyErr_Occurred()) SWIG_fail
;
33521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33528 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
= 0;
33530 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33531 PyObject
*arg2
= (PyObject
*) 0 ;
33532 PyObject
*arg3
= (PyObject
*) 0 ;
33535 PyObject
* obj0
= 0 ;
33536 PyObject
* obj1
= 0 ;
33537 PyObject
* obj2
= 0 ;
33538 char * kwnames
[] = {
33539 (char *) "self",(char *) "self",(char *) "_class", NULL
33542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33544 if (!SWIG_IsOK(res1
)) {
33545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33547 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= SWIG_Py_Void();
33563 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
= 0;
33565 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33568 wxArrayString
*arg4
= 0 ;
33576 bool temp4
= false ;
33577 PyObject
* obj0
= 0 ;
33578 PyObject
* obj1
= 0 ;
33579 PyObject
* obj2
= 0 ;
33580 PyObject
* obj3
= 0 ;
33581 char * kwnames
[] = {
33582 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33587 if (!SWIG_IsOK(res1
)) {
33588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33590 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33592 if (!SWIG_IsOK(ecode2
)) {
33593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33595 arg2
= static_cast< int >(val2
);
33596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33597 if (!SWIG_IsOK(ecode3
)) {
33598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33600 arg3
= static_cast< int >(val3
);
33602 if (! PySequence_Check(obj3
)) {
33603 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33606 arg4
= new wxArrayString
;
33608 int i
, len
=PySequence_Length(obj3
);
33609 for (i
=0; i
<len
; i
++) {
33610 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33611 wxString
* s
= wxString_in_helper(item
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33628 if (temp4
) delete arg4
;
33633 if (temp4
) delete arg4
;
33639 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
= 0;
33641 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33644 wxDragResult arg4
;
33645 wxDragResult result
;
33654 PyObject
* obj0
= 0 ;
33655 PyObject
* obj1
= 0 ;
33656 PyObject
* obj2
= 0 ;
33657 PyObject
* obj3
= 0 ;
33658 char * kwnames
[] = {
33659 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33664 if (!SWIG_IsOK(res1
)) {
33665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33667 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33669 if (!SWIG_IsOK(ecode2
)) {
33670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33672 arg2
= static_cast< int >(val2
);
33673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33674 if (!SWIG_IsOK(ecode3
)) {
33675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33677 arg3
= static_cast< int >(val3
);
33678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33679 if (!SWIG_IsOK(ecode4
)) {
33680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33682 arg4
= static_cast< wxDragResult
>(val4
);
33684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33685 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33686 wxPyEndAllowThreads(__tstate
);
33687 if (PyErr_Occurred()) SWIG_fail
;
33689 resultobj
= SWIG_From_int(static_cast< int >(result
));
33696 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33697 PyObject
*resultobj
= 0;
33698 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33701 wxDragResult arg4
;
33702 wxDragResult result
;
33711 PyObject
* obj0
= 0 ;
33712 PyObject
* obj1
= 0 ;
33713 PyObject
* obj2
= 0 ;
33714 PyObject
* obj3
= 0 ;
33715 char * kwnames
[] = {
33716 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33721 if (!SWIG_IsOK(res1
)) {
33722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33724 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33726 if (!SWIG_IsOK(ecode2
)) {
33727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33729 arg2
= static_cast< int >(val2
);
33730 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33731 if (!SWIG_IsOK(ecode3
)) {
33732 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33734 arg3
= static_cast< int >(val3
);
33735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33736 if (!SWIG_IsOK(ecode4
)) {
33737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33739 arg4
= static_cast< wxDragResult
>(val4
);
33741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33742 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33743 wxPyEndAllowThreads(__tstate
);
33744 if (PyErr_Occurred()) SWIG_fail
;
33746 resultobj
= SWIG_From_int(static_cast< int >(result
));
33753 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33754 PyObject
*resultobj
= 0;
33755 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33758 PyObject
*swig_obj
[1] ;
33760 if (!args
) SWIG_fail
;
33761 swig_obj
[0] = args
;
33762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33766 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 wxPyEndAllowThreads(__tstate
);
33771 if (PyErr_Occurred()) SWIG_fail
;
33773 resultobj
= SWIG_Py_Void();
33780 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33781 PyObject
*resultobj
= 0;
33782 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33792 PyObject
* obj0
= 0 ;
33793 PyObject
* obj1
= 0 ;
33794 PyObject
* obj2
= 0 ;
33795 char * kwnames
[] = {
33796 (char *) "self",(char *) "x",(char *) "y", NULL
33799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33801 if (!SWIG_IsOK(res1
)) {
33802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33804 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33806 if (!SWIG_IsOK(ecode2
)) {
33807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33809 arg2
= static_cast< int >(val2
);
33810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33811 if (!SWIG_IsOK(ecode3
)) {
33812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33814 arg3
= static_cast< int >(val3
);
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33830 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33831 PyObject
*resultobj
= 0;
33832 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33835 wxDragResult arg4
;
33836 wxDragResult result
;
33845 PyObject
* obj0
= 0 ;
33846 PyObject
* obj1
= 0 ;
33847 PyObject
* obj2
= 0 ;
33848 PyObject
* obj3
= 0 ;
33849 char * kwnames
[] = {
33850 (char *) "self",(char *) "x",(char *) "y",(char *) "_def", NULL
33853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33855 if (!SWIG_IsOK(res1
)) {
33856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33858 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33860 if (!SWIG_IsOK(ecode2
)) {
33861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33863 arg2
= static_cast< int >(val2
);
33864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33865 if (!SWIG_IsOK(ecode3
)) {
33866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33868 arg3
= static_cast< int >(val3
);
33869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33870 if (!SWIG_IsOK(ecode4
)) {
33871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33873 arg4
= static_cast< wxDragResult
>(val4
);
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33877 wxPyEndAllowThreads(__tstate
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33880 resultobj
= SWIG_From_int(static_cast< int >(result
));
33887 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33889 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
33891 return SWIG_Py_Void();
33894 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33895 return SWIG_Python_InitShadowInstance(args
);
33898 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33899 PyObject
*resultobj
= 0;
33900 wxClipboard
*result
= 0 ;
33902 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= (wxClipboard
*)new wxClipboard();
33906 wxPyEndAllowThreads(__tstate
);
33907 if (PyErr_Occurred()) SWIG_fail
;
33909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
33916 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33917 PyObject
*resultobj
= 0;
33918 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33921 PyObject
*swig_obj
[1] ;
33923 if (!args
) SWIG_fail
;
33924 swig_obj
[0] = args
;
33925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
33929 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 wxPyEndAllowThreads(__tstate
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33937 resultobj
= SWIG_Py_Void();
33944 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33945 PyObject
*resultobj
= 0;
33946 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33950 PyObject
*swig_obj
[1] ;
33952 if (!args
) SWIG_fail
;
33953 swig_obj
[0] = args
;
33954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
33958 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 result
= (bool)(arg1
)->Open();
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33974 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33975 PyObject
*resultobj
= 0;
33976 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
33979 PyObject
*swig_obj
[1] ;
33981 if (!args
) SWIG_fail
;
33982 swig_obj
[0] = args
;
33983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
33984 if (!SWIG_IsOK(res1
)) {
33985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
33987 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_Py_Void();
34001 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34002 PyObject
*resultobj
= 0;
34003 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34007 PyObject
*swig_obj
[1] ;
34009 if (!args
) SWIG_fail
;
34010 swig_obj
[0] = args
;
34011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34012 if (!SWIG_IsOK(res1
)) {
34013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34015 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34018 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34019 wxPyEndAllowThreads(__tstate
);
34020 if (PyErr_Occurred()) SWIG_fail
;
34023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34031 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34032 PyObject
*resultobj
= 0;
34033 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34034 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34039 PyObject
* obj0
= 0 ;
34040 PyObject
* obj1
= 0 ;
34041 char * kwnames
[] = {
34042 (char *) "self",(char *) "data", NULL
34045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34047 if (!SWIG_IsOK(res1
)) {
34048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34050 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34051 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34052 if (!SWIG_IsOK(res2
)) {
34053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (bool)(arg1
)->AddData(arg2
);
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34070 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
= 0;
34072 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34073 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34078 PyObject
* obj0
= 0 ;
34079 PyObject
* obj1
= 0 ;
34080 char * kwnames
[] = {
34081 (char *) "self",(char *) "data", NULL
34084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34086 if (!SWIG_IsOK(res1
)) {
34087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34089 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34090 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34091 if (!SWIG_IsOK(res2
)) {
34092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 result
= (bool)(arg1
)->SetData(arg2
);
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34109 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34110 PyObject
*resultobj
= 0;
34111 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34112 wxDataFormat
*arg2
= 0 ;
34118 PyObject
* obj0
= 0 ;
34119 PyObject
* obj1
= 0 ;
34120 char * kwnames
[] = {
34121 (char *) "self",(char *) "format", NULL
34124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",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_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34129 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34130 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34131 if (!SWIG_IsOK(res2
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34135 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34137 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34141 wxPyEndAllowThreads(__tstate
);
34142 if (PyErr_Occurred()) SWIG_fail
;
34145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34153 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34154 PyObject
*resultobj
= 0;
34155 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34156 wxDataObject
*arg2
= 0 ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 char * kwnames
[] = {
34165 (char *) "self",(char *) "data", NULL
34168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34170 if (!SWIG_IsOK(res1
)) {
34171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34173 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34175 if (!SWIG_IsOK(res2
)) {
34176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34181 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (bool)(arg1
)->GetData(*arg2
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34197 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34198 PyObject
*resultobj
= 0;
34199 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34202 PyObject
*swig_obj
[1] ;
34204 if (!args
) SWIG_fail
;
34205 swig_obj
[0] = args
;
34206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34207 if (!SWIG_IsOK(res1
)) {
34208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34210 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 wxPyEndAllowThreads(__tstate
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= SWIG_Py_Void();
34224 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34225 PyObject
*resultobj
= 0;
34226 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34230 PyObject
*swig_obj
[1] ;
34232 if (!args
) SWIG_fail
;
34233 swig_obj
[0] = args
;
34234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34235 if (!SWIG_IsOK(res1
)) {
34236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34238 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34241 result
= (bool)(arg1
)->Flush();
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34254 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
= 0;
34256 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34257 bool arg2
= (bool) true ;
34262 PyObject
* obj0
= 0 ;
34263 PyObject
* obj1
= 0 ;
34264 char * kwnames
[] = {
34265 (char *) "self",(char *) "primary", NULL
34268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34270 if (!SWIG_IsOK(res1
)) {
34271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34273 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34275 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34276 if (!SWIG_IsOK(ecode2
)) {
34277 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34279 arg2
= static_cast< bool >(val2
);
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 (arg1
)->UsePrimarySelection(arg2
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= SWIG_Py_Void();
34294 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34295 PyObject
*resultobj
= 0;
34296 wxClipboard
*result
= 0 ;
34298 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (wxClipboard
*)wxClipboard::Get();
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34312 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34315 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34316 return SWIG_Py_Void();
34319 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34320 return SWIG_Python_InitShadowInstance(args
);
34323 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34324 PyObject
*resultobj
= 0;
34325 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34326 wxClipboardLocker
*result
= 0 ;
34329 PyObject
* obj0
= 0 ;
34330 char * kwnames
[] = {
34331 (char *) "clipboard", NULL
34334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34340 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34345 wxPyEndAllowThreads(__tstate
);
34346 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34355 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34356 PyObject
*resultobj
= 0;
34357 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34360 PyObject
*swig_obj
[1] ;
34362 if (!args
) SWIG_fail
;
34363 swig_obj
[0] = args
;
34364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34368 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 wxPyEndAllowThreads(__tstate
);
34374 if (PyErr_Occurred()) SWIG_fail
;
34376 resultobj
= SWIG_Py_Void();
34383 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34384 PyObject
*resultobj
= 0;
34385 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34389 PyObject
*swig_obj
[1] ;
34391 if (!args
) SWIG_fail
;
34392 swig_obj
[0] = args
;
34393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34394 if (!SWIG_IsOK(res1
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34397 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34401 wxPyEndAllowThreads(__tstate
);
34402 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34413 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34415 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34416 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34417 return SWIG_Py_Void();
34420 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34421 return SWIG_Python_InitShadowInstance(args
);
34424 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
= 0;
34426 int arg1
= (int) 0 ;
34427 int arg2
= (int) 0 ;
34428 int arg3
= (int) 0 ;
34429 int arg4
= (int) 0 ;
34430 wxVideoMode
*result
= 0 ;
34439 PyObject
* obj0
= 0 ;
34440 PyObject
* obj1
= 0 ;
34441 PyObject
* obj2
= 0 ;
34442 PyObject
* obj3
= 0 ;
34443 char * kwnames
[] = {
34444 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34449 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34450 if (!SWIG_IsOK(ecode1
)) {
34451 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34453 arg1
= static_cast< int >(val1
);
34456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34457 if (!SWIG_IsOK(ecode2
)) {
34458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34460 arg2
= static_cast< int >(val2
);
34463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34464 if (!SWIG_IsOK(ecode3
)) {
34465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34467 arg3
= static_cast< int >(val3
);
34470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34471 if (!SWIG_IsOK(ecode4
)) {
34472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34474 arg4
= static_cast< int >(val4
);
34477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34478 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34489 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34490 PyObject
*resultobj
= 0;
34491 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34494 PyObject
*swig_obj
[1] ;
34496 if (!args
) SWIG_fail
;
34497 swig_obj
[0] = args
;
34498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34499 if (!SWIG_IsOK(res1
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34502 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 wxPyEndAllowThreads(__tstate
);
34508 if (PyErr_Occurred()) SWIG_fail
;
34510 resultobj
= SWIG_Py_Void();
34517 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
= 0;
34519 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34520 wxVideoMode
*arg2
= 0 ;
34526 PyObject
* obj0
= 0 ;
34527 PyObject
* obj1
= 0 ;
34528 char * kwnames
[] = {
34529 (char *) "self",(char *) "other", NULL
34532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34534 if (!SWIG_IsOK(res1
)) {
34535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34537 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34538 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34539 if (!SWIG_IsOK(res2
)) {
34540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34545 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34561 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34562 PyObject
*resultobj
= 0;
34563 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34567 PyObject
*swig_obj
[1] ;
34569 if (!args
) SWIG_fail
;
34570 swig_obj
[0] = args
;
34571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34572 if (!SWIG_IsOK(res1
)) {
34573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34575 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34578 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= SWIG_From_int(static_cast< int >(result
));
34589 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34590 PyObject
*resultobj
= 0;
34591 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34595 PyObject
*swig_obj
[1] ;
34597 if (!args
) SWIG_fail
;
34598 swig_obj
[0] = args
;
34599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34600 if (!SWIG_IsOK(res1
)) {
34601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34603 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34607 wxPyEndAllowThreads(__tstate
);
34608 if (PyErr_Occurred()) SWIG_fail
;
34610 resultobj
= SWIG_From_int(static_cast< int >(result
));
34617 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34618 PyObject
*resultobj
= 0;
34619 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34623 PyObject
*swig_obj
[1] ;
34625 if (!args
) SWIG_fail
;
34626 swig_obj
[0] = args
;
34627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34628 if (!SWIG_IsOK(res1
)) {
34629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34631 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34635 wxPyEndAllowThreads(__tstate
);
34636 if (PyErr_Occurred()) SWIG_fail
;
34638 resultobj
= SWIG_From_int(static_cast< int >(result
));
34645 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34646 PyObject
*resultobj
= 0;
34647 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34651 PyObject
*swig_obj
[1] ;
34653 if (!args
) SWIG_fail
;
34654 swig_obj
[0] = args
;
34655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34656 if (!SWIG_IsOK(res1
)) {
34657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34659 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34662 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34663 wxPyEndAllowThreads(__tstate
);
34664 if (PyErr_Occurred()) SWIG_fail
;
34667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34675 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34676 PyObject
*resultobj
= 0;
34677 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34678 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34684 PyObject
* obj0
= 0 ;
34685 PyObject
* obj1
= 0 ;
34686 char * kwnames
[] = {
34687 (char *) "self",(char *) "other", NULL
34690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34692 if (!SWIG_IsOK(res1
)) {
34693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34695 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34697 if (!SWIG_IsOK(res2
)) {
34698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34700 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34704 wxPyEndAllowThreads(__tstate
);
34705 if (PyErr_Occurred()) SWIG_fail
;
34708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34716 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
= 0;
34718 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34719 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "other", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34736 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34738 if (!SWIG_IsOK(res2
)) {
34739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34741 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34744 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34745 wxPyEndAllowThreads(__tstate
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34757 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34758 PyObject
*resultobj
= 0;
34759 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34765 PyObject
*swig_obj
[2] ;
34767 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34769 if (!SWIG_IsOK(res1
)) {
34770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34772 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34773 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34774 if (!SWIG_IsOK(ecode2
)) {
34775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34777 arg2
= static_cast< int >(val2
);
34778 if (arg1
) (arg1
)->w
= arg2
;
34780 resultobj
= SWIG_Py_Void();
34787 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34788 PyObject
*resultobj
= 0;
34789 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34793 PyObject
*swig_obj
[1] ;
34795 if (!args
) SWIG_fail
;
34796 swig_obj
[0] = args
;
34797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34798 if (!SWIG_IsOK(res1
)) {
34799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34801 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34802 result
= (int) ((arg1
)->w
);
34803 resultobj
= SWIG_From_int(static_cast< int >(result
));
34810 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34811 PyObject
*resultobj
= 0;
34812 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34818 PyObject
*swig_obj
[2] ;
34820 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
34821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34822 if (!SWIG_IsOK(res1
)) {
34823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34825 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34826 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34827 if (!SWIG_IsOK(ecode2
)) {
34828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
34830 arg2
= static_cast< int >(val2
);
34831 if (arg1
) (arg1
)->h
= arg2
;
34833 resultobj
= SWIG_Py_Void();
34840 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34841 PyObject
*resultobj
= 0;
34842 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34846 PyObject
*swig_obj
[1] ;
34848 if (!args
) SWIG_fail
;
34849 swig_obj
[0] = args
;
34850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34854 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34855 result
= (int) ((arg1
)->h
);
34856 resultobj
= SWIG_From_int(static_cast< int >(result
));
34863 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34864 PyObject
*resultobj
= 0;
34865 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34871 PyObject
*swig_obj
[2] ;
34873 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
34874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34875 if (!SWIG_IsOK(res1
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34878 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34879 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34880 if (!SWIG_IsOK(ecode2
)) {
34881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
34883 arg2
= static_cast< int >(val2
);
34884 if (arg1
) (arg1
)->bpp
= arg2
;
34886 resultobj
= SWIG_Py_Void();
34893 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34894 PyObject
*resultobj
= 0;
34895 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34899 PyObject
*swig_obj
[1] ;
34901 if (!args
) SWIG_fail
;
34902 swig_obj
[0] = args
;
34903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34904 if (!SWIG_IsOK(res1
)) {
34905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34907 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34908 result
= (int) ((arg1
)->bpp
);
34909 resultobj
= SWIG_From_int(static_cast< int >(result
));
34916 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34917 PyObject
*resultobj
= 0;
34918 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34924 PyObject
*swig_obj
[2] ;
34926 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
34927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34928 if (!SWIG_IsOK(res1
)) {
34929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34931 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34932 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34933 if (!SWIG_IsOK(ecode2
)) {
34934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
34936 arg2
= static_cast< int >(val2
);
34937 if (arg1
) (arg1
)->refresh
= arg2
;
34939 resultobj
= SWIG_Py_Void();
34946 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34947 PyObject
*resultobj
= 0;
34948 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34952 PyObject
*swig_obj
[1] ;
34954 if (!args
) SWIG_fail
;
34955 swig_obj
[0] = args
;
34956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34957 if (!SWIG_IsOK(res1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34960 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34961 result
= (int) ((arg1
)->refresh
);
34962 resultobj
= SWIG_From_int(static_cast< int >(result
));
34969 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34972 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
34973 return SWIG_Py_Void();
34976 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34977 return SWIG_Python_InitShadowInstance(args
);
34980 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
34981 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
34986 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
34987 PyObject
*pyobj
= 0;
34989 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
34994 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34995 PyObject
*resultobj
= 0;
34996 size_t arg1
= (size_t) 0 ;
34997 wxDisplay
*result
= 0 ;
35000 PyObject
* obj0
= 0 ;
35001 char * kwnames
[] = {
35002 (char *) "index", NULL
35005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35007 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35008 if (!SWIG_IsOK(ecode1
)) {
35009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35011 arg1
= static_cast< size_t >(val1
);
35014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35015 result
= (wxDisplay
*)new wxDisplay(arg1
);
35016 wxPyEndAllowThreads(__tstate
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35026 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35027 PyObject
*resultobj
= 0;
35028 wxDisplay
*arg1
= (wxDisplay
*) 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_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35036 if (!SWIG_IsOK(res1
)) {
35037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35039 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 resultobj
= SWIG_Py_Void();
35054 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35055 PyObject
*resultobj
= 0;
35058 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35061 result
= (size_t)wxDisplay::GetCount();
35062 wxPyEndAllowThreads(__tstate
);
35063 if (PyErr_Occurred()) SWIG_fail
;
35065 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35072 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35073 PyObject
*resultobj
= 0;
35074 wxPoint
*arg1
= 0 ;
35077 PyObject
* obj0
= 0 ;
35078 char * kwnames
[] = {
35079 (char *) "pt", NULL
35082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35085 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35090 wxPyEndAllowThreads(__tstate
);
35091 if (PyErr_Occurred()) SWIG_fail
;
35093 resultobj
= SWIG_From_int(static_cast< int >(result
));
35100 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35101 PyObject
*resultobj
= 0;
35102 wxWindow
*arg1
= (wxWindow
*) 0 ;
35106 PyObject
* obj0
= 0 ;
35107 char * kwnames
[] = {
35108 (char *) "window", NULL
35111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35113 if (!SWIG_IsOK(res1
)) {
35114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35116 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= (int)wxDisplay::GetFromWindow(arg1
);
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35123 resultobj
= SWIG_From_int(static_cast< int >(result
));
35130 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35131 PyObject
*resultobj
= 0;
35132 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35136 PyObject
*swig_obj
[1] ;
35138 if (!args
) SWIG_fail
;
35139 swig_obj
[0] = args
;
35140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35141 if (!SWIG_IsOK(res1
)) {
35142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35144 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35147 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35160 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35161 PyObject
*resultobj
= 0;
35162 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35166 PyObject
*swig_obj
[1] ;
35168 if (!args
) SWIG_fail
;
35169 swig_obj
[0] = args
;
35170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35171 if (!SWIG_IsOK(res1
)) {
35172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35174 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35177 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35178 wxPyEndAllowThreads(__tstate
);
35179 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35188 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35189 PyObject
*resultobj
= 0;
35190 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35194 PyObject
*swig_obj
[1] ;
35196 if (!args
) SWIG_fail
;
35197 swig_obj
[0] = args
;
35198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35199 if (!SWIG_IsOK(res1
)) {
35200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35202 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35205 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35206 wxPyEndAllowThreads(__tstate
);
35207 if (PyErr_Occurred()) SWIG_fail
;
35209 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35216 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35217 PyObject
*resultobj
= 0;
35218 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35222 PyObject
*swig_obj
[1] ;
35224 if (!args
) SWIG_fail
;
35225 swig_obj
[0] = args
;
35226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35227 if (!SWIG_IsOK(res1
)) {
35228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35230 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 result
= ((wxDisplay
const *)arg1
)->GetName();
35234 wxPyEndAllowThreads(__tstate
);
35235 if (PyErr_Occurred()) SWIG_fail
;
35239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35250 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35251 PyObject
*resultobj
= 0;
35252 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35256 PyObject
*swig_obj
[1] ;
35258 if (!args
) SWIG_fail
;
35259 swig_obj
[0] = args
;
35260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35261 if (!SWIG_IsOK(res1
)) {
35262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35264 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35267 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35280 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
= 0;
35282 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35283 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35284 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35285 PyObject
*result
= 0 ;
35290 PyObject
* obj0
= 0 ;
35291 PyObject
* obj1
= 0 ;
35292 char * kwnames
[] = {
35293 (char *) "self",(char *) "mode", NULL
35296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35298 if (!SWIG_IsOK(res1
)) {
35299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35301 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35304 if (!SWIG_IsOK(res2
)) {
35305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35310 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35315 wxPyEndAllowThreads(__tstate
);
35316 if (PyErr_Occurred()) SWIG_fail
;
35318 resultobj
= result
;
35325 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35326 PyObject
*resultobj
= 0;
35327 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35328 wxVideoMode result
;
35331 PyObject
*swig_obj
[1] ;
35333 if (!args
) SWIG_fail
;
35334 swig_obj
[0] = args
;
35335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35336 if (!SWIG_IsOK(res1
)) {
35337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35339 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35342 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35343 wxPyEndAllowThreads(__tstate
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35346 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35353 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35354 PyObject
*resultobj
= 0;
35355 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35356 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35357 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35363 PyObject
* obj0
= 0 ;
35364 PyObject
* obj1
= 0 ;
35365 char * kwnames
[] = {
35366 (char *) "self",(char *) "mode", NULL
35369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35371 if (!SWIG_IsOK(res1
)) {
35372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35374 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35377 if (!SWIG_IsOK(res2
)) {
35378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35383 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35387 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35388 wxPyEndAllowThreads(__tstate
);
35389 if (PyErr_Occurred()) SWIG_fail
;
35392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35400 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35401 PyObject
*resultobj
= 0;
35402 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35405 PyObject
*swig_obj
[1] ;
35407 if (!args
) SWIG_fail
;
35408 swig_obj
[0] = args
;
35409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35410 if (!SWIG_IsOK(res1
)) {
35411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35413 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35416 wxDisplay_ResetMode(arg1
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_Py_Void();
35427 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35430 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35431 return SWIG_Py_Void();
35434 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35435 return SWIG_Python_InitShadowInstance(args
);
35438 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35439 PyObject
*resultobj
= 0;
35440 wxStandardPaths
*result
= 0 ;
35442 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35445 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35456 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35457 PyObject
*resultobj
= 0;
35458 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35462 PyObject
*swig_obj
[1] ;
35464 if (!args
) SWIG_fail
;
35465 swig_obj
[0] = args
;
35466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35467 if (!SWIG_IsOK(res1
)) {
35468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35470 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35474 wxPyEndAllowThreads(__tstate
);
35475 if (PyErr_Occurred()) SWIG_fail
;
35479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35490 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35491 PyObject
*resultobj
= 0;
35492 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35496 PyObject
*swig_obj
[1] ;
35498 if (!args
) SWIG_fail
;
35499 swig_obj
[0] = args
;
35500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35501 if (!SWIG_IsOK(res1
)) {
35502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35504 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35524 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35525 PyObject
*resultobj
= 0;
35526 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35530 PyObject
*swig_obj
[1] ;
35532 if (!args
) SWIG_fail
;
35533 swig_obj
[0] = args
;
35534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35535 if (!SWIG_IsOK(res1
)) {
35536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35538 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35541 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35542 wxPyEndAllowThreads(__tstate
);
35543 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35558 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35559 PyObject
*resultobj
= 0;
35560 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35564 PyObject
*swig_obj
[1] ;
35566 if (!args
) SWIG_fail
;
35567 swig_obj
[0] = args
;
35568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35569 if (!SWIG_IsOK(res1
)) {
35570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35572 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35576 wxPyEndAllowThreads(__tstate
);
35577 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35592 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35593 PyObject
*resultobj
= 0;
35594 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35598 PyObject
*swig_obj
[1] ;
35600 if (!args
) SWIG_fail
;
35601 swig_obj
[0] = args
;
35602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35603 if (!SWIG_IsOK(res1
)) {
35604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35606 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35609 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35626 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35627 PyObject
*resultobj
= 0;
35628 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35632 PyObject
*swig_obj
[1] ;
35634 if (!args
) SWIG_fail
;
35635 swig_obj
[0] = args
;
35636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35637 if (!SWIG_IsOK(res1
)) {
35638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35640 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35643 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35660 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35661 PyObject
*resultobj
= 0;
35662 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35666 PyObject
*swig_obj
[1] ;
35668 if (!args
) SWIG_fail
;
35669 swig_obj
[0] = args
;
35670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35671 if (!SWIG_IsOK(res1
)) {
35672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35674 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35677 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35694 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35695 PyObject
*resultobj
= 0;
35696 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35697 wxString
*arg2
= 0 ;
35700 bool temp2
= false ;
35701 PyObject
* obj0
= 0 ;
35702 PyObject
* obj1
= 0 ;
35703 char * kwnames
[] = {
35704 (char *) "self",(char *) "prefix", NULL
35707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35709 if (!SWIG_IsOK(res1
)) {
35710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35712 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35714 arg2
= wxString_in_helper(obj1
);
35715 if (arg2
== NULL
) SWIG_fail
;
35719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35720 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
35721 wxPyEndAllowThreads(__tstate
);
35722 if (PyErr_Occurred()) SWIG_fail
;
35724 resultobj
= SWIG_Py_Void();
35739 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(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_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
35753 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35756 result
= wxStandardPaths_GetInstallPrefix(arg1
);
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
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35776 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
35777 return SWIG_Py_Void();
35780 static PyMethodDef SwigMethods
[] = {
35781 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35782 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35783 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35784 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35785 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
35786 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35787 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
35788 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
35789 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35790 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35791 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35792 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35793 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35794 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35795 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
35796 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
35797 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
35798 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35799 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
35800 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35801 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35802 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35803 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
35804 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
35805 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35806 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
35807 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
35808 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35809 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
35810 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
35811 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
35812 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
35813 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35814 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35815 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35816 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35817 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35818 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35819 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
35820 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
35821 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
35822 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
35823 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
35824 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
35825 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35826 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
35827 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
35828 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35829 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35830 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35831 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35832 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35833 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35834 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35835 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35836 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35837 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
35838 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
35839 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
35840 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
35841 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
35842 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
35843 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
35844 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
35845 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
35846 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35847 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
35848 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35849 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
35850 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
35851 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
35852 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35853 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35854 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35855 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35856 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35857 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
35858 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
35859 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
35860 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
35861 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
35862 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
35863 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
35864 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
35865 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
35866 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
35867 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
35868 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
35869 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35870 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35871 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35872 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35873 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35874 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35875 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35876 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35877 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35878 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
35879 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
35880 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
35881 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
35882 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
35883 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
35884 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
35885 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
35886 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
35887 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
35888 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
35889 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35890 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
35891 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35892 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
35893 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
35894 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35895 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35896 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
35897 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
35898 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35899 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
35900 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
35901 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
35902 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
35903 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
35904 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
35905 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
35906 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
35907 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
35908 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35909 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35910 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35911 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35912 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35913 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
35914 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
35915 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35916 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
35917 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
35918 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35919 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
35920 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
35921 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
35922 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35923 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
35924 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
35925 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
35926 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35927 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
35928 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
35929 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
35930 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
35931 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35932 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
35933 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
35934 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
35935 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
35936 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
35937 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35938 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
35939 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35940 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35941 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
35942 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35943 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35944 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35945 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35946 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
35947 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35948 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35949 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
35950 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
35951 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
35952 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35953 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
35954 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
35955 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35956 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
35957 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
35958 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
35959 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35960 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
35961 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
35962 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
35963 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35964 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
35965 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35966 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35967 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
35968 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
35969 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35970 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35971 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35972 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
35973 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35974 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35975 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
35976 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35977 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
35978 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
35979 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
35980 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
35981 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
35982 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
35983 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
35984 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
35985 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35986 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
35987 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
35988 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
35989 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
35990 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
35991 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35992 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
35993 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
35994 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
35995 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
35996 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
35997 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35998 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35999 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36000 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36001 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36002 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36003 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36004 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36005 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36006 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36007 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36008 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36009 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36010 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36011 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36012 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36013 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36014 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36015 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36016 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36017 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36018 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36019 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36020 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36021 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36022 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36023 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36024 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36025 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36026 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36027 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36028 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36029 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36030 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36031 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36032 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36033 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36034 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36035 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36036 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36037 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36038 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36039 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36040 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36041 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36042 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36043 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36044 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36045 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36046 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36047 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36048 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36049 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36050 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36051 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36052 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36053 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36054 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36055 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36056 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36057 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36058 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36059 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36060 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36061 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36062 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36063 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36064 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36065 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36066 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36067 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36068 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36069 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36070 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36071 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36072 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36073 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36074 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36075 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36076 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36077 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36078 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36079 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36080 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36081 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36082 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36083 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36084 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36085 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36086 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36087 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36088 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36089 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36090 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36091 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36092 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36093 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36094 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36095 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36096 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36097 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36098 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36099 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36100 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36101 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36102 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36103 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36104 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36105 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36106 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36107 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36108 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36109 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36110 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36111 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36112 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36113 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36114 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36115 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36116 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36117 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36118 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36119 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36120 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36121 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36122 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36123 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36124 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36125 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36126 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36127 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36128 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36129 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36130 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36131 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36132 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36133 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36134 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36135 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36136 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36137 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36138 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36139 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36140 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36141 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36142 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36143 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36144 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36145 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36146 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36147 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36148 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36149 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36150 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36151 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36152 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36153 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36154 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36155 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36156 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36157 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36158 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36159 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36160 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36161 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36162 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36163 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36164 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36165 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36166 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36167 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36168 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36169 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36170 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36171 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36172 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36173 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36174 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36175 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36176 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36177 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36178 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36179 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36180 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36181 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36182 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36183 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36184 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36185 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36186 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36187 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36188 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36189 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36190 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36191 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36192 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36193 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36194 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36195 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36196 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36197 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36198 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36199 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36200 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36201 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36202 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36203 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36204 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36205 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36206 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36207 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36208 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36209 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36210 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36211 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36212 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36213 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36214 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36215 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36216 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36217 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36218 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36219 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36220 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36221 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36222 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36223 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36224 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36225 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36226 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36227 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36228 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36229 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36230 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36231 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36232 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36233 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36234 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36235 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36236 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36237 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36238 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36239 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36240 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36241 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36242 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36243 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36244 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36245 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36246 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36247 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36248 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36249 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36250 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36251 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36252 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36253 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36254 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36255 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36256 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36257 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36258 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36259 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36260 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36261 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36262 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36263 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36264 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36265 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36270 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36271 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36273 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36275 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36277 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36278 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36282 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36283 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36285 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36286 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36287 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36289 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36290 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36291 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36292 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36293 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36294 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36295 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36296 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36299 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36310 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36314 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36315 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36316 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36317 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36323 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36324 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36329 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36333 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36335 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36336 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36343 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36353 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36354 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36355 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36356 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36357 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36369 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36370 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36374 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36376 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36378 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36379 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36383 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36387 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36388 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36392 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36393 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36396 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36397 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36398 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36399 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36410 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36412 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36413 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36414 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36415 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36416 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36417 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36419 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36420 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36421 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36423 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36424 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36425 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36427 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36429 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36432 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36433 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36434 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36437 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36438 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36442 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36447 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36449 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36450 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36451 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36453 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36455 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36456 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36457 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36458 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36459 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36460 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36462 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36463 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36465 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36467 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36468 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36469 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36471 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36473 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36474 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36475 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36478 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36479 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36480 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36481 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36482 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36485 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36486 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36489 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36490 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36495 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36497 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36498 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36499 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36500 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36501 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36502 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36503 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36505 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36506 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36507 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36508 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36509 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36510 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36511 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
36512 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
36513 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
36514 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36515 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36516 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36518 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36519 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
36522 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
36524 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
36526 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
36527 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36529 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36530 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
36533 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
36534 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
36535 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
36537 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
36538 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36539 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
36540 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
36541 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
36543 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
36544 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
36547 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
36548 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
36550 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36552 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36553 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
36556 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
36557 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
36558 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
36559 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36560 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
36561 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
36562 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
36563 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
36565 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
36566 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
36567 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
36568 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
36569 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
36570 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
36572 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
36573 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
36574 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
36576 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
36577 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
36578 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36579 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36581 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
36582 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
36584 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36585 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36586 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36587 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
36588 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
36589 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
36592 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
36593 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36595 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36596 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
36597 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
36599 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36600 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
36601 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
36602 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
36603 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
36604 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36606 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36607 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36608 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
36609 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36611 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
36612 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
36613 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
36614 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36615 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36616 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36617 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36618 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
36619 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36620 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36621 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
36622 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
36623 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
36624 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
36625 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
36626 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
36627 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
36628 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36629 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36630 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36631 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36632 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
36633 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
36634 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36635 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
36636 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
36637 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
36638 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36639 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
36640 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
36641 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
36642 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
36643 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
36645 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
36647 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
36648 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
36649 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
36650 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
36653 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
36654 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
36655 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
36656 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
36657 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
36658 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
36659 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
36660 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
36661 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
36662 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
36664 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
36665 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
36668 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
36669 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
36670 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
36671 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
36672 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36673 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
36674 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
36676 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
36677 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
36678 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
36679 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
36680 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
36681 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
36682 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
36683 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
36684 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
36685 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
36686 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
36688 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
36689 { NULL
, NULL
, 0, NULL
}
36693 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36695 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36698 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36699 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36701 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36702 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36704 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36705 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36707 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36708 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36710 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36711 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36713 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
36714 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
36716 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36717 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36719 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36722 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36723 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36725 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36726 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36728 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
36729 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
36731 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36732 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36734 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36735 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36737 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36738 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36740 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36741 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36743 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36744 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36746 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36747 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36749 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36750 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36752 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36753 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36755 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
36756 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
36758 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36759 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36761 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36762 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36764 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36765 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36767 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36768 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36770 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36771 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36773 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36774 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36776 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36777 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36779 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36780 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36782 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36783 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36785 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36786 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36788 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
36789 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
36791 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36792 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36794 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36795 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36797 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36798 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36800 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36801 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36803 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36804 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36806 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36807 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36809 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36810 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36812 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
36813 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
36815 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
36816 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
36818 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
36819 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36821 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
36822 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36824 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
36825 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
36827 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
36828 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36830 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
36831 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
36833 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
36834 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36836 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
36837 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36839 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
36840 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36842 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
36843 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36845 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
36846 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
36848 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
36849 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
36851 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
36852 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
36854 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
36855 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
36857 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
36858 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
36860 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
36861 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
36863 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
36864 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
36866 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
36867 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
36869 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
36870 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
36872 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
36873 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
36875 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
36876 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
36878 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
36879 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
36881 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36882 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36884 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36885 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36887 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36890 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36891 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36893 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
36894 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
36896 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36897 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36899 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36900 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36902 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36903 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36905 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36906 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36908 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
36909 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
36911 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
36912 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
36914 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36915 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36917 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36918 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36920 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36921 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36923 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36924 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36926 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36927 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36929 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36930 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36932 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36933 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36935 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36936 return (void *)((wxObject
*) ((wxSizer
*) x
));
36938 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36939 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36941 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
36942 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
36944 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36947 static void *_p_wxEventTo_p_wxObject(void *x
) {
36948 return (void *)((wxObject
*) ((wxEvent
*) x
));
36950 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36951 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36953 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36954 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36956 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36957 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36959 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36960 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36962 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36963 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36965 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36966 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36968 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36969 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36971 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36972 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36974 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36975 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36977 static void *_p_wxControlTo_p_wxObject(void *x
) {
36978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36980 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36981 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36983 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
36984 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
36986 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36987 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36989 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
36990 return (void *)((wxObject
*) ((wxClipboard
*) x
));
36992 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36993 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36995 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36996 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36998 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37001 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37002 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37004 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37005 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37007 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37008 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37010 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37011 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37013 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37014 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37016 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37019 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37020 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37022 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37023 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37025 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37026 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37028 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37029 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37031 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37032 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37034 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37035 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37037 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37038 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37040 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37041 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37043 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37044 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37046 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37047 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37049 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37050 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37052 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37053 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37055 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37056 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37058 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37059 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37061 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37062 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37064 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37065 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37067 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37068 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37070 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37071 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37073 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37074 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37076 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37077 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37079 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37080 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37082 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37083 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37085 static void *_p_wxImageTo_p_wxObject(void *x
) {
37086 return (void *)((wxObject
*) ((wxImage
*) x
));
37088 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37089 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37091 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37092 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37094 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37095 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37097 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37100 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37101 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37103 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37104 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37106 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37107 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37109 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37110 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37112 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37115 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37116 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37118 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37119 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37121 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37124 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37125 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37127 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37128 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37130 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37131 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37133 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37134 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37136 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37137 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37139 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37140 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37142 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37143 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37145 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37146 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37148 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37149 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37151 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37152 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37154 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37157 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37158 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37160 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37163 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37164 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37166 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37167 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37169 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37170 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37172 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37173 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37175 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37176 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37178 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37179 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37181 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37182 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37184 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37185 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37187 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37188 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37190 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37191 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37193 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37194 return (void *)((wxWindow
*) ((wxControl
*) x
));
37196 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37197 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37199 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37200 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37202 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37203 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37205 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37206 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37208 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37209 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};
37210 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37211 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37212 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37213 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37214 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37215 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37216 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37217 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37218 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37219 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37220 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37221 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37222 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37223 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37224 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37225 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37226 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37227 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37228 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37229 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37230 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37231 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37232 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37233 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37234 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37235 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37236 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37237 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37238 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37239 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37240 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37241 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37242 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37243 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37244 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37245 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37246 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37247 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37248 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37249 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37250 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37251 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37252 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37253 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37254 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37255 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37256 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37257 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37258 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37259 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37260 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37261 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37262 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37263 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37264 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37265 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37266 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37267 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37268 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37269 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37270 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37271 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37272 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37273 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37274 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37275 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37276 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37277 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37278 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37279 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37280 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37281 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37282 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37283 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37284 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37285 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37286 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37287 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37288 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37289 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37290 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37291 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37292 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37293 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37294 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37295 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37296 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37297 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37298 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37299 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37300 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37301 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37302 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37303 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37304 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37305 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37306 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37307 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37308 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37309 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37310 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37311 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37312 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37313 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37314 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37315 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37316 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37317 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37318 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37319 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37320 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37321 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37322 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37323 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37324 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37325 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37326 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37327 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37328 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37329 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37330 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37331 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37332 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37333 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37334 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37335 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37336 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37337 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37338 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37339 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37340 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37341 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37342 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37343 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37344 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37345 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37346 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37347 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37348 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37349 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37350 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37351 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37352 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37353 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37354 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37355 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37356 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37357 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37358 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37359 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37360 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37361 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37362 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37363 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37364 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37365 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37366 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37367 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37368 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37369 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37370 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37371 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37372 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37373 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37374 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37375 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37376 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37377 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37379 static swig_type_info
*swig_type_initial
[] = {
37381 &_swigt__p_form_ops_t
,
37383 &_swigt__p_unsigned_char
,
37384 &_swigt__p_unsigned_int
,
37385 &_swigt__p_unsigned_long
,
37387 &_swigt__p_wxANIHandler
,
37388 &_swigt__p_wxAcceleratorTable
,
37389 &_swigt__p_wxActivateEvent
,
37390 &_swigt__p_wxArrayString
,
37391 &_swigt__p_wxBMPHandler
,
37392 &_swigt__p_wxBitmap
,
37393 &_swigt__p_wxBitmapDataObject
,
37394 &_swigt__p_wxBoxSizer
,
37395 &_swigt__p_wxBusyCursor
,
37396 &_swigt__p_wxBusyInfo
,
37397 &_swigt__p_wxCURHandler
,
37398 &_swigt__p_wxCaret
,
37400 &_swigt__p_wxChildFocusEvent
,
37401 &_swigt__p_wxClipboard
,
37402 &_swigt__p_wxClipboardLocker
,
37403 &_swigt__p_wxCloseEvent
,
37404 &_swigt__p_wxColour
,
37405 &_swigt__p_wxCommandEvent
,
37406 &_swigt__p_wxConfig
,
37407 &_swigt__p_wxConfigBase
,
37408 &_swigt__p_wxConfigPathChanger
,
37409 &_swigt__p_wxContextMenuEvent
,
37410 &_swigt__p_wxControl
,
37411 &_swigt__p_wxControlWithItems
,
37412 &_swigt__p_wxCursor
,
37413 &_swigt__p_wxCustomDataObject
,
37415 &_swigt__p_wxDataFormat
,
37416 &_swigt__p_wxDataObject
,
37417 &_swigt__p_wxDataObjectComposite
,
37418 &_swigt__p_wxDataObjectSimple
,
37419 &_swigt__p_wxDateEvent
,
37420 &_swigt__p_wxDateSpan
,
37421 &_swigt__p_wxDateTime
,
37422 &_swigt__p_wxDateTime__TimeZone
,
37423 &_swigt__p_wxDisplay
,
37424 &_swigt__p_wxDisplayChangedEvent
,
37425 &_swigt__p_wxDropFilesEvent
,
37426 &_swigt__p_wxDuplexMode
,
37427 &_swigt__p_wxEraseEvent
,
37428 &_swigt__p_wxEvent
,
37429 &_swigt__p_wxEvtHandler
,
37430 &_swigt__p_wxFSFile
,
37431 &_swigt__p_wxFileConfig
,
37432 &_swigt__p_wxFileDataObject
,
37433 &_swigt__p_wxFileHistory
,
37434 &_swigt__p_wxFileSystem
,
37435 &_swigt__p_wxFileType
,
37436 &_swigt__p_wxFileTypeInfo
,
37437 &_swigt__p_wxFlexGridSizer
,
37438 &_swigt__p_wxFocusEvent
,
37440 &_swigt__p_wxFrame
,
37441 &_swigt__p_wxGBSizerItem
,
37442 &_swigt__p_wxGIFHandler
,
37443 &_swigt__p_wxGridBagSizer
,
37444 &_swigt__p_wxGridSizer
,
37445 &_swigt__p_wxICOHandler
,
37447 &_swigt__p_wxIconizeEvent
,
37448 &_swigt__p_wxIdleEvent
,
37449 &_swigt__p_wxImage
,
37450 &_swigt__p_wxImageHandler
,
37451 &_swigt__p_wxIndividualLayoutConstraint
,
37452 &_swigt__p_wxInitDialogEvent
,
37453 &_swigt__p_wxJPEGHandler
,
37454 &_swigt__p_wxJoystick
,
37455 &_swigt__p_wxJoystickEvent
,
37456 &_swigt__p_wxKeyEvent
,
37457 &_swigt__p_wxKillError
,
37458 &_swigt__p_wxLayoutConstraints
,
37460 &_swigt__p_wxLogBuffer
,
37461 &_swigt__p_wxLogChain
,
37462 &_swigt__p_wxLogGui
,
37463 &_swigt__p_wxLogNull
,
37464 &_swigt__p_wxLogStderr
,
37465 &_swigt__p_wxLogTextCtrl
,
37466 &_swigt__p_wxLogWindow
,
37467 &_swigt__p_wxMaximizeEvent
,
37468 &_swigt__p_wxMemorySize
,
37470 &_swigt__p_wxMenuBar
,
37471 &_swigt__p_wxMenuEvent
,
37472 &_swigt__p_wxMenuItem
,
37473 &_swigt__p_wxMetafile
,
37474 &_swigt__p_wxMetafileDataObject
,
37475 &_swigt__p_wxMimeTypesManager
,
37476 &_swigt__p_wxMouseCaptureChangedEvent
,
37477 &_swigt__p_wxMouseEvent
,
37478 &_swigt__p_wxMouseState
,
37479 &_swigt__p_wxMoveEvent
,
37480 &_swigt__p_wxMutexGuiLocker
,
37481 &_swigt__p_wxNavigationKeyEvent
,
37482 &_swigt__p_wxNcPaintEvent
,
37483 &_swigt__p_wxNotifyEvent
,
37484 &_swigt__p_wxObject
,
37485 &_swigt__p_wxOutputStream
,
37486 &_swigt__p_wxPCXHandler
,
37487 &_swigt__p_wxPNGHandler
,
37488 &_swigt__p_wxPNMHandler
,
37489 &_swigt__p_wxPaintEvent
,
37490 &_swigt__p_wxPaletteChangedEvent
,
37491 &_swigt__p_wxPaperSize
,
37492 &_swigt__p_wxPoint
,
37493 &_swigt__p_wxProcessEvent
,
37494 &_swigt__p_wxPyApp
,
37495 &_swigt__p_wxPyArtProvider
,
37496 &_swigt__p_wxPyBitmapDataObject
,
37497 &_swigt__p_wxPyCommandEvent
,
37498 &_swigt__p_wxPyDataObjectSimple
,
37499 &_swigt__p_wxPyDropSource
,
37500 &_swigt__p_wxPyDropTarget
,
37501 &_swigt__p_wxPyEvent
,
37502 &_swigt__p_wxPyFileDropTarget
,
37503 &_swigt__p_wxPyImageHandler
,
37504 &_swigt__p_wxPyLog
,
37505 &_swigt__p_wxPyProcess
,
37506 &_swigt__p_wxPySizer
,
37507 &_swigt__p_wxPyTextDataObject
,
37508 &_swigt__p_wxPyTextDropTarget
,
37509 &_swigt__p_wxPyTimer
,
37510 &_swigt__p_wxPyTipProvider
,
37511 &_swigt__p_wxPyValidator
,
37512 &_swigt__p_wxQueryNewPaletteEvent
,
37514 &_swigt__p_wxScrollEvent
,
37515 &_swigt__p_wxScrollWinEvent
,
37516 &_swigt__p_wxSetCursorEvent
,
37517 &_swigt__p_wxShowEvent
,
37518 &_swigt__p_wxSingleInstanceChecker
,
37520 &_swigt__p_wxSizeEvent
,
37521 &_swigt__p_wxSizer
,
37522 &_swigt__p_wxSizerItem
,
37523 &_swigt__p_wxSound
,
37524 &_swigt__p_wxStandardPaths
,
37525 &_swigt__p_wxStaticBoxSizer
,
37526 &_swigt__p_wxStdDialogButtonSizer
,
37527 &_swigt__p_wxStopWatch
,
37528 &_swigt__p_wxString
,
37529 &_swigt__p_wxSysColourChangedEvent
,
37530 &_swigt__p_wxSystemOptions
,
37531 &_swigt__p_wxSystemSettings
,
37532 &_swigt__p_wxTIFFHandler
,
37533 &_swigt__p_wxTextCtrl
,
37534 &_swigt__p_wxTextDataObject
,
37535 &_swigt__p_wxTimeSpan
,
37536 &_swigt__p_wxTimer
,
37537 &_swigt__p_wxTimerEvent
,
37538 &_swigt__p_wxTimerRunner
,
37539 &_swigt__p_wxTipProvider
,
37540 &_swigt__p_wxToolTip
,
37541 &_swigt__p_wxURLDataObject
,
37542 &_swigt__p_wxUpdateUIEvent
,
37543 &_swigt__p_wxValidator
,
37544 &_swigt__p_wxVideoMode
,
37545 &_swigt__p_wxWindow
,
37546 &_swigt__p_wxWindowCreateEvent
,
37547 &_swigt__p_wxWindowDestroyEvent
,
37548 &_swigt__p_wxWindowDisabler
,
37549 &_swigt__p_wxXPMHandler
,
37552 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
37553 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
37554 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
37555 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
37556 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
37557 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
37558 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
37559 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
37560 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
37561 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}};
37562 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
37563 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
37564 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
37565 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
37566 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
37567 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
37568 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
37569 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
37570 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}};
37571 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
37572 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
37573 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37574 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
37575 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
37576 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}};
37577 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
37578 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}};
37579 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
37580 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
37581 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
37582 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
37583 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
37584 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37585 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
37586 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37587 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37588 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
37589 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
37590 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
37591 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
37592 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37593 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37594 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
37595 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37596 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
37597 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37598 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37599 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37600 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
37601 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
37602 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
37603 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37604 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
37605 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
37606 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37607 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37608 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37609 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
37610 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
37611 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37612 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
37613 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
37614 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37615 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
37616 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37617 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37618 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
37619 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
37620 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
37621 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
37622 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
37623 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
37624 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
37625 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
37626 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
37627 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}};
37628 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
37629 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37630 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
37631 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
37632 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
37633 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
37634 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
37635 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
37636 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
37637 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
37638 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
37639 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}};
37640 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
37641 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
37642 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
37643 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
37644 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
37645 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37646 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
37647 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
37648 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
37649 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
37650 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37651 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
37652 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
37653 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
37654 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
37655 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37656 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
37657 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
37658 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37659 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37660 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
37661 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
37662 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37663 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
37664 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
37665 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
37666 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
37667 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
37668 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
37669 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37670 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
37671 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37672 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37673 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
37674 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
37675 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37676 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
37677 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
37678 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
37679 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
37680 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
37681 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
37682 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
37683 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
37684 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTimer
, _p_wxPyTimerTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
37685 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
37686 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
37687 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
37688 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
37689 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
37690 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37691 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
37692 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
37693 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}};
37694 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37695 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
37696 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
37697 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37698 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
37699 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
37700 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
37701 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
37702 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
37703 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
37704 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
37705 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
37706 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
37707 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
37708 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
37709 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
37710 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
37711 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}};
37712 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
37713 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
37714 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
37715 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
37716 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}};
37717 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
37718 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
37719 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
37720 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}};
37721 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
37723 static swig_cast_info
*swig_cast_initial
[] = {
37725 _swigc__p_form_ops_t
,
37727 _swigc__p_unsigned_char
,
37728 _swigc__p_unsigned_int
,
37729 _swigc__p_unsigned_long
,
37731 _swigc__p_wxANIHandler
,
37732 _swigc__p_wxAcceleratorTable
,
37733 _swigc__p_wxActivateEvent
,
37734 _swigc__p_wxArrayString
,
37735 _swigc__p_wxBMPHandler
,
37736 _swigc__p_wxBitmap
,
37737 _swigc__p_wxBitmapDataObject
,
37738 _swigc__p_wxBoxSizer
,
37739 _swigc__p_wxBusyCursor
,
37740 _swigc__p_wxBusyInfo
,
37741 _swigc__p_wxCURHandler
,
37744 _swigc__p_wxChildFocusEvent
,
37745 _swigc__p_wxClipboard
,
37746 _swigc__p_wxClipboardLocker
,
37747 _swigc__p_wxCloseEvent
,
37748 _swigc__p_wxColour
,
37749 _swigc__p_wxCommandEvent
,
37750 _swigc__p_wxConfig
,
37751 _swigc__p_wxConfigBase
,
37752 _swigc__p_wxConfigPathChanger
,
37753 _swigc__p_wxContextMenuEvent
,
37754 _swigc__p_wxControl
,
37755 _swigc__p_wxControlWithItems
,
37756 _swigc__p_wxCursor
,
37757 _swigc__p_wxCustomDataObject
,
37759 _swigc__p_wxDataFormat
,
37760 _swigc__p_wxDataObject
,
37761 _swigc__p_wxDataObjectComposite
,
37762 _swigc__p_wxDataObjectSimple
,
37763 _swigc__p_wxDateEvent
,
37764 _swigc__p_wxDateSpan
,
37765 _swigc__p_wxDateTime
,
37766 _swigc__p_wxDateTime__TimeZone
,
37767 _swigc__p_wxDisplay
,
37768 _swigc__p_wxDisplayChangedEvent
,
37769 _swigc__p_wxDropFilesEvent
,
37770 _swigc__p_wxDuplexMode
,
37771 _swigc__p_wxEraseEvent
,
37773 _swigc__p_wxEvtHandler
,
37774 _swigc__p_wxFSFile
,
37775 _swigc__p_wxFileConfig
,
37776 _swigc__p_wxFileDataObject
,
37777 _swigc__p_wxFileHistory
,
37778 _swigc__p_wxFileSystem
,
37779 _swigc__p_wxFileType
,
37780 _swigc__p_wxFileTypeInfo
,
37781 _swigc__p_wxFlexGridSizer
,
37782 _swigc__p_wxFocusEvent
,
37785 _swigc__p_wxGBSizerItem
,
37786 _swigc__p_wxGIFHandler
,
37787 _swigc__p_wxGridBagSizer
,
37788 _swigc__p_wxGridSizer
,
37789 _swigc__p_wxICOHandler
,
37791 _swigc__p_wxIconizeEvent
,
37792 _swigc__p_wxIdleEvent
,
37794 _swigc__p_wxImageHandler
,
37795 _swigc__p_wxIndividualLayoutConstraint
,
37796 _swigc__p_wxInitDialogEvent
,
37797 _swigc__p_wxJPEGHandler
,
37798 _swigc__p_wxJoystick
,
37799 _swigc__p_wxJoystickEvent
,
37800 _swigc__p_wxKeyEvent
,
37801 _swigc__p_wxKillError
,
37802 _swigc__p_wxLayoutConstraints
,
37804 _swigc__p_wxLogBuffer
,
37805 _swigc__p_wxLogChain
,
37806 _swigc__p_wxLogGui
,
37807 _swigc__p_wxLogNull
,
37808 _swigc__p_wxLogStderr
,
37809 _swigc__p_wxLogTextCtrl
,
37810 _swigc__p_wxLogWindow
,
37811 _swigc__p_wxMaximizeEvent
,
37812 _swigc__p_wxMemorySize
,
37814 _swigc__p_wxMenuBar
,
37815 _swigc__p_wxMenuEvent
,
37816 _swigc__p_wxMenuItem
,
37817 _swigc__p_wxMetafile
,
37818 _swigc__p_wxMetafileDataObject
,
37819 _swigc__p_wxMimeTypesManager
,
37820 _swigc__p_wxMouseCaptureChangedEvent
,
37821 _swigc__p_wxMouseEvent
,
37822 _swigc__p_wxMouseState
,
37823 _swigc__p_wxMoveEvent
,
37824 _swigc__p_wxMutexGuiLocker
,
37825 _swigc__p_wxNavigationKeyEvent
,
37826 _swigc__p_wxNcPaintEvent
,
37827 _swigc__p_wxNotifyEvent
,
37828 _swigc__p_wxObject
,
37829 _swigc__p_wxOutputStream
,
37830 _swigc__p_wxPCXHandler
,
37831 _swigc__p_wxPNGHandler
,
37832 _swigc__p_wxPNMHandler
,
37833 _swigc__p_wxPaintEvent
,
37834 _swigc__p_wxPaletteChangedEvent
,
37835 _swigc__p_wxPaperSize
,
37837 _swigc__p_wxProcessEvent
,
37839 _swigc__p_wxPyArtProvider
,
37840 _swigc__p_wxPyBitmapDataObject
,
37841 _swigc__p_wxPyCommandEvent
,
37842 _swigc__p_wxPyDataObjectSimple
,
37843 _swigc__p_wxPyDropSource
,
37844 _swigc__p_wxPyDropTarget
,
37845 _swigc__p_wxPyEvent
,
37846 _swigc__p_wxPyFileDropTarget
,
37847 _swigc__p_wxPyImageHandler
,
37849 _swigc__p_wxPyProcess
,
37850 _swigc__p_wxPySizer
,
37851 _swigc__p_wxPyTextDataObject
,
37852 _swigc__p_wxPyTextDropTarget
,
37853 _swigc__p_wxPyTimer
,
37854 _swigc__p_wxPyTipProvider
,
37855 _swigc__p_wxPyValidator
,
37856 _swigc__p_wxQueryNewPaletteEvent
,
37858 _swigc__p_wxScrollEvent
,
37859 _swigc__p_wxScrollWinEvent
,
37860 _swigc__p_wxSetCursorEvent
,
37861 _swigc__p_wxShowEvent
,
37862 _swigc__p_wxSingleInstanceChecker
,
37864 _swigc__p_wxSizeEvent
,
37866 _swigc__p_wxSizerItem
,
37868 _swigc__p_wxStandardPaths
,
37869 _swigc__p_wxStaticBoxSizer
,
37870 _swigc__p_wxStdDialogButtonSizer
,
37871 _swigc__p_wxStopWatch
,
37872 _swigc__p_wxString
,
37873 _swigc__p_wxSysColourChangedEvent
,
37874 _swigc__p_wxSystemOptions
,
37875 _swigc__p_wxSystemSettings
,
37876 _swigc__p_wxTIFFHandler
,
37877 _swigc__p_wxTextCtrl
,
37878 _swigc__p_wxTextDataObject
,
37879 _swigc__p_wxTimeSpan
,
37881 _swigc__p_wxTimerEvent
,
37882 _swigc__p_wxTimerRunner
,
37883 _swigc__p_wxTipProvider
,
37884 _swigc__p_wxToolTip
,
37885 _swigc__p_wxURLDataObject
,
37886 _swigc__p_wxUpdateUIEvent
,
37887 _swigc__p_wxValidator
,
37888 _swigc__p_wxVideoMode
,
37889 _swigc__p_wxWindow
,
37890 _swigc__p_wxWindowCreateEvent
,
37891 _swigc__p_wxWindowDestroyEvent
,
37892 _swigc__p_wxWindowDisabler
,
37893 _swigc__p_wxXPMHandler
,
37897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37899 static swig_const_info swig_const_table
[] = {
37900 {0, 0, 0, 0.0, 0, 0}};
37905 /* -----------------------------------------------------------------------------
37906 * Type initialization:
37907 * This problem is tough by the requirement that no dynamic
37908 * memory is used. Also, since swig_type_info structures store pointers to
37909 * swig_cast_info structures and swig_cast_info structures store pointers back
37910 * to swig_type_info structures, we need some lookup code at initialization.
37911 * The idea is that swig generates all the structures that are needed.
37912 * The runtime then collects these partially filled structures.
37913 * The SWIG_InitializeModule function takes these initial arrays out of
37914 * swig_module, and does all the lookup, filling in the swig_module.types
37915 * array with the correct data and linking the correct swig_cast_info
37916 * structures together.
37918 * The generated swig_type_info structures are assigned staticly to an initial
37919 * array. We just loop though that array, and handle each type individually.
37920 * First we lookup if this type has been already loaded, and if so, use the
37921 * loaded structure instead of the generated one. Then we have to fill in the
37922 * cast linked list. The cast data is initially stored in something like a
37923 * two-dimensional array. Each row corresponds to a type (there are the same
37924 * number of rows as there are in the swig_type_initial array). Each entry in
37925 * a column is one of the swig_cast_info structures for that type.
37926 * The cast_initial array is actually an array of arrays, because each row has
37927 * a variable number of columns. So to actually build the cast linked list,
37928 * we find the array of casts associated with the type, and loop through it
37929 * adding the casts to the list. The one last trick we need to do is making
37930 * sure the type pointer in the swig_cast_info struct is correct.
37932 * First off, we lookup the cast->type name to see if it is already loaded.
37933 * There are three cases to handle:
37934 * 1) If the cast->type has already been loaded AND the type we are adding
37935 * casting info to has not been loaded (it is in this module), THEN we
37936 * replace the cast->type pointer with the type pointer that has already
37938 * 2) If BOTH types (the one we are adding casting info to, and the
37939 * cast->type) are loaded, THEN the cast info has already been loaded by
37940 * the previous module so we just ignore it.
37941 * 3) Finally, if cast->type has not already been loaded, then we add that
37942 * swig_cast_info to the linked list (because the cast->type) pointer will
37944 * ----------------------------------------------------------------------------- */
37954 #define SWIGRUNTIME_DEBUG
37958 SWIG_InitializeModule(void *clientdata
) {
37960 swig_module_info
*module_head
;
37961 static int init_run
= 0;
37963 clientdata
= clientdata
;
37965 if (init_run
) return;
37968 /* Initialize the swig_module */
37969 swig_module
.type_initial
= swig_type_initial
;
37970 swig_module
.cast_initial
= swig_cast_initial
;
37972 /* Try and load any already created modules */
37973 module_head
= SWIG_GetModule(clientdata
);
37975 swig_module
.next
= module_head
->next
;
37976 module_head
->next
= &swig_module
;
37978 /* This is the first module loaded */
37979 swig_module
.next
= &swig_module
;
37980 SWIG_SetModule(clientdata
, &swig_module
);
37983 /* Now work on filling in swig_module.types */
37984 #ifdef SWIGRUNTIME_DEBUG
37985 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
37987 for (i
= 0; i
< swig_module
.size
; ++i
) {
37988 swig_type_info
*type
= 0;
37989 swig_type_info
*ret
;
37990 swig_cast_info
*cast
;
37992 #ifdef SWIGRUNTIME_DEBUG
37993 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
37996 /* if there is another module already loaded */
37997 if (swig_module
.next
!= &swig_module
) {
37998 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38001 /* Overwrite clientdata field */
38002 #ifdef SWIGRUNTIME_DEBUG
38003 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38005 if (swig_module
.type_initial
[i
]->clientdata
) {
38006 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38007 #ifdef SWIGRUNTIME_DEBUG
38008 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38012 type
= swig_module
.type_initial
[i
];
38015 /* Insert casting types */
38016 cast
= swig_module
.cast_initial
[i
];
38017 while (cast
->type
) {
38018 /* Don't need to add information already in the list */
38020 #ifdef SWIGRUNTIME_DEBUG
38021 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38023 if (swig_module
.next
!= &swig_module
) {
38024 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38025 #ifdef SWIGRUNTIME_DEBUG
38026 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38030 if (type
== swig_module
.type_initial
[i
]) {
38031 #ifdef SWIGRUNTIME_DEBUG
38032 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38037 /* Check for casting already in the list */
38038 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38039 #ifdef SWIGRUNTIME_DEBUG
38040 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38042 if (!ocast
) ret
= 0;
38047 #ifdef SWIGRUNTIME_DEBUG
38048 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38051 type
->cast
->prev
= cast
;
38052 cast
->next
= type
->cast
;
38058 /* Set entry in modules->types array equal to the type */
38059 swig_module
.types
[i
] = type
;
38061 swig_module
.types
[i
] = 0;
38063 #ifdef SWIGRUNTIME_DEBUG
38064 printf("**** SWIG_InitializeModule: Cast List ******\n");
38065 for (i
= 0; i
< swig_module
.size
; ++i
) {
38067 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38068 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38069 while (cast
->type
) {
38070 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38074 printf("---- Total casts: %d\n",j
);
38076 printf("**** SWIG_InitializeModule: Cast List ******\n");
38080 /* This function will propagate the clientdata field of type to
38081 * any new swig_type_info structures that have been added into the list
38082 * of equivalent types. It is like calling
38083 * SWIG_TypeClientData(type, clientdata) a second time.
38086 SWIG_PropagateClientData(void) {
38088 swig_cast_info
*equiv
;
38089 static int init_run
= 0;
38091 if (init_run
) return;
38094 for (i
= 0; i
< swig_module
.size
; i
++) {
38095 if (swig_module
.types
[i
]->clientdata
) {
38096 equiv
= swig_module
.types
[i
]->cast
;
38098 if (!equiv
->converter
) {
38099 if (equiv
->type
&& !equiv
->type
->clientdata
)
38100 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38102 equiv
= equiv
->next
;
38122 /* Python-specific SWIG API */
38123 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38124 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38125 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38127 /* -----------------------------------------------------------------------------
38128 * global variable support code.
38129 * ----------------------------------------------------------------------------- */
38131 typedef struct swig_globalvar
{
38132 char *name
; /* Name of global variable */
38133 PyObject
*(*get_attr
)(void); /* Return the current value */
38134 int (*set_attr
)(PyObject
*); /* Set the value */
38135 struct swig_globalvar
*next
;
38138 typedef struct swig_varlinkobject
{
38140 swig_globalvar
*vars
;
38141 } swig_varlinkobject
;
38143 SWIGINTERN PyObject
*
38144 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38145 return PyString_FromString("<Swig global variables>");
38148 SWIGINTERN PyObject
*
38149 swig_varlink_str(swig_varlinkobject
*v
) {
38150 PyObject
*str
= PyString_FromString("(");
38151 swig_globalvar
*var
;
38152 for (var
= v
->vars
; var
; var
=var
->next
) {
38153 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38154 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38156 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38161 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38162 PyObject
*str
= swig_varlink_str(v
);
38163 fprintf(fp
,"Swig global variables ");
38164 fprintf(fp
,"%s\n", PyString_AsString(str
));
38170 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38171 swig_globalvar
*var
= v
->vars
;
38173 swig_globalvar
*n
= var
->next
;
38180 SWIGINTERN PyObject
*
38181 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38182 PyObject
*res
= NULL
;
38183 swig_globalvar
*var
= v
->vars
;
38185 if (strcmp(var
->name
,n
) == 0) {
38186 res
= (*var
->get_attr
)();
38191 if (res
== NULL
&& !PyErr_Occurred()) {
38192 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38198 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38200 swig_globalvar
*var
= v
->vars
;
38202 if (strcmp(var
->name
,n
) == 0) {
38203 res
= (*var
->set_attr
)(p
);
38208 if (res
== 1 && !PyErr_Occurred()) {
38209 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38214 SWIGINTERN PyTypeObject
*
38215 swig_varlink_type(void) {
38216 static char varlink__doc__
[] = "Swig var link object";
38217 static PyTypeObject varlink_type
;
38218 static int type_init
= 0;
38220 const PyTypeObject tmp
38222 PyObject_HEAD_INIT(NULL
)
38223 0, /* Number of items in variable part (ob_size) */
38224 (char *)"swigvarlink", /* Type name (tp_name) */
38225 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38226 0, /* Itemsize (tp_itemsize) */
38227 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38228 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38229 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38230 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38231 0, /* tp_compare */
38232 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38233 0, /* tp_as_number */
38234 0, /* tp_as_sequence */
38235 0, /* tp_as_mapping */
38238 (reprfunc
)swig_varlink_str
, /* tp_str */
38239 0, /* tp_getattro */
38240 0, /* tp_setattro */
38241 0, /* tp_as_buffer */
38243 varlink__doc__
, /* tp_doc */
38244 0, /* tp_traverse */
38246 0, /* tp_richcompare */
38247 0, /* tp_weaklistoffset */
38248 #if PY_VERSION_HEX >= 0x02020000
38249 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38251 #if PY_VERSION_HEX >= 0x02030000
38254 #ifdef COUNT_ALLOCS
38255 0,0,0,0 /* tp_alloc -> tp_next */
38258 varlink_type
= tmp
;
38259 varlink_type
.ob_type
= &PyType_Type
;
38262 return &varlink_type
;
38265 /* Create a variable linking object for use later */
38266 SWIGINTERN PyObject
*
38267 SWIG_Python_newvarlink(void) {
38268 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38272 return ((PyObject
*) result
);
38276 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38277 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38278 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38280 size_t size
= strlen(name
)+1;
38281 gv
->name
= (char *)malloc(size
);
38283 strncpy(gv
->name
,name
,size
);
38284 gv
->get_attr
= get_attr
;
38285 gv
->set_attr
= set_attr
;
38286 gv
->next
= v
->vars
;
38292 SWIGINTERN PyObject
*
38294 static PyObject
*_SWIG_globals
= 0;
38295 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38296 return _SWIG_globals
;
38299 /* -----------------------------------------------------------------------------
38300 * constants/methods manipulation
38301 * ----------------------------------------------------------------------------- */
38303 /* Install Constants */
38305 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38308 for (i
= 0; constants
[i
].type
; ++i
) {
38309 switch(constants
[i
].type
) {
38310 case SWIG_PY_POINTER
:
38311 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38313 case SWIG_PY_BINARY
:
38314 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38321 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38327 /* -----------------------------------------------------------------------------*/
38328 /* Fix SwigMethods to carry the callback ptrs when needed */
38329 /* -----------------------------------------------------------------------------*/
38332 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38333 swig_const_info
*const_table
,
38334 swig_type_info
**types
,
38335 swig_type_info
**types_initial
) {
38337 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38338 char *c
= methods
[i
].ml_doc
;
38339 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38341 swig_const_info
*ci
= 0;
38342 char *name
= c
+ 10;
38343 for (j
= 0; const_table
[j
].type
; ++j
) {
38344 if (strncmp(const_table
[j
].name
, name
,
38345 strlen(const_table
[j
].name
)) == 0) {
38346 ci
= &(const_table
[j
]);
38351 size_t shift
= (ci
->ptype
) - types
;
38352 swig_type_info
*ty
= types_initial
[shift
];
38353 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38354 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38355 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38358 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38360 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38362 strncpy(buff
, "swig_ptr: ", 10);
38364 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38365 methods
[i
].ml_doc
= ndoc
;
38377 /* -----------------------------------------------------------------------------*
38378 * Partial Init method
38379 * -----------------------------------------------------------------------------*/
38384 SWIGEXPORT
void SWIG_init(void) {
38387 /* Fix SwigMethods to carry the callback ptrs when needed */
38388 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38390 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38391 d
= PyModule_GetDict(m
);
38393 SWIG_InitializeModule(0);
38394 SWIG_InstallConstants(d
,swig_const_table
);
38397 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38398 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38399 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38400 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38401 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38402 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38403 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38404 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38405 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38406 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38407 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38408 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38409 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38410 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38411 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38412 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38413 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38414 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38415 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38416 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38417 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38418 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38419 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38420 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38421 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38422 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38423 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38424 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38425 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38426 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38427 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38428 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38429 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38430 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38431 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38432 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38433 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38434 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38435 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38436 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38437 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38438 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38439 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38440 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38441 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38442 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38443 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38444 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38445 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38446 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38447 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38448 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38449 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38450 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38451 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38452 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38453 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38454 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38455 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38456 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38457 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38458 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38459 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38460 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38461 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38462 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38463 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38464 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38465 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38466 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38467 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38468 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38469 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38470 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38471 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38472 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38473 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38474 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38475 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38476 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38477 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38478 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38479 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38480 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38481 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38482 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38483 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38484 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38485 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38486 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38487 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38488 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38489 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
38490 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
38491 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
38492 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
38493 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
38494 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
38495 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
38496 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
38497 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
38498 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
38500 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
38502 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
38503 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
38504 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
38505 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
38506 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
38507 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
38508 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
38509 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
38510 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
38511 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
38512 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
38513 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
38514 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
38515 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
38516 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
38517 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
38518 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
38519 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
38520 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
38521 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
38522 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
38523 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
38524 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
38525 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
38526 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
38527 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
38528 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
38529 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
38530 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
38531 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
38532 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
38533 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
38534 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
38535 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
38536 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
38537 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
38538 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
38539 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
38540 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
38541 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
38542 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
38543 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
38544 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
38545 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
38546 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
38547 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
38548 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
38549 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
38550 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
38551 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
38552 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
38553 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
38554 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
38556 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
38558 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
38559 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
38560 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
38561 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
38562 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
38563 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
38564 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
38565 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
38566 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
38567 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
38568 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
38569 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
38570 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
38571 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
38572 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
38573 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
38574 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
38575 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
38576 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
38577 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
38578 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
38579 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
38580 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
38581 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
38582 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
38583 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
38584 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
38585 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
38586 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
38587 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
38588 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
38589 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
38590 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
38591 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
38592 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
38593 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
38594 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
38595 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
38596 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
38597 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
38598 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
38599 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
38600 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
38601 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
38602 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
38603 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
38604 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
38605 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
38606 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
38607 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
38608 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
38609 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
38610 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
38611 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
38612 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
38613 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
38614 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
38615 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
38616 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
38617 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
38618 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
38619 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
38620 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
38621 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
38622 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
38623 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
38624 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
38625 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
38626 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
38627 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
38628 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
38629 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
38630 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
38631 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
38632 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
38633 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
38635 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
38637 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
38638 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
38639 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
38640 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
38641 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
38642 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
38643 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
38644 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
38645 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
38646 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
38647 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
38648 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
38649 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
38650 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
38651 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
38652 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
38653 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
38654 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
38655 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
38656 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
38657 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
38658 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
38659 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
38660 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
38661 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
38662 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
38663 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
38664 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
38665 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
38666 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
38667 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
38668 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
38669 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
38670 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
38671 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
38672 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
38673 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
38674 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
38675 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
38676 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
38677 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
38678 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
38679 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
38680 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
38681 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
38682 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
38683 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
38684 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
38685 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
38686 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
38687 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
38688 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
38689 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
38690 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
38691 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
38692 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
38693 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
38694 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
38695 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
38696 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
38697 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
38698 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
38699 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
38700 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
38701 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
38702 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
38703 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
38704 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
38705 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
38706 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
38707 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
38708 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
38709 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
38710 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
38711 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
38712 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
38713 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
38714 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
38715 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
38716 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
38717 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
38718 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
38719 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
38720 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
38721 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
38722 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
38723 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
38724 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
38725 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
38726 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
38727 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
38728 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
38729 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
38730 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
38731 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
38732 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
38733 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
38734 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
38735 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
38736 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
38737 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
38738 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
38739 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
38740 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
38741 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
38742 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
38743 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
38744 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
38745 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
38746 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
38747 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
38748 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
38749 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
38750 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
38751 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
38752 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
38753 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
38754 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
38755 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
38756 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
38757 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
38758 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
38759 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
38760 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
38761 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
38762 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
38763 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
38764 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
38765 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
38766 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
38767 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
38768 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
38769 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
38770 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
38771 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
38772 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
38773 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
38774 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
38775 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
38776 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
38777 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
38778 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
38779 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
38780 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
38781 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
38782 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
38783 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
38784 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
38785 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
38786 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
38787 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
38788 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
38789 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
38790 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
38791 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
38792 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
38793 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
38794 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
38795 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
38796 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
38797 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
38798 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
38799 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
38800 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
38801 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
38802 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
38803 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
38804 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
38805 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
38806 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
38807 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
38808 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
38809 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
38810 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
38811 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
38812 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
38813 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
38814 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
38815 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
38816 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
38817 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
38818 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
38819 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
38820 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
38821 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
38822 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
38823 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
38824 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
38825 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
38826 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
38827 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
38828 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
38829 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
38830 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
38831 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
38832 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
38833 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
38834 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
38835 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
38836 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
38838 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
38839 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
38840 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
38841 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
38843 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);