1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMenu swig_types[89]
2556 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2559 #define SWIGTYPE_p_wxMetafile swig_types[93]
2560 #define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
2561 #define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
2562 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseState swig_types[98]
2565 #define SWIGTYPE_p_wxMoveEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
2567 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNotifyEvent swig_types[103]
2570 #define SWIGTYPE_p_wxObject swig_types[104]
2571 #define SWIGTYPE_p_wxOutputStream swig_types[105]
2572 #define SWIGTYPE_p_wxPCXHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNGHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNMHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPaintEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPowerEvent swig_types[113]
2580 #define SWIGTYPE_p_wxProcessEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyApp swig_types[115]
2582 #define SWIGTYPE_p_wxPyArtProvider swig_types[116]
2583 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[117]
2584 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
2585 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[119]
2586 #define SWIGTYPE_p_wxPyDropSource swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropTarget swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyLog swig_types[125]
2592 #define SWIGTYPE_p_wxPyProcess swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyTextDataObject swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[129]
2596 #define SWIGTYPE_p_wxPyTimer swig_types[130]
2597 #define SWIGTYPE_p_wxPyTipProvider swig_types[131]
2598 #define SWIGTYPE_p_wxPyValidator swig_types[132]
2599 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[133]
2600 #define SWIGTYPE_p_wxRect swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSound swig_types[144]
2611 #define SWIGTYPE_p_wxStandardPaths swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStopWatch swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxSystemOptions swig_types[151]
2618 #define SWIGTYPE_p_wxSystemSettings swig_types[152]
2619 #define SWIGTYPE_p_wxTIFFHandler swig_types[153]
2620 #define SWIGTYPE_p_wxTextCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxTextDataObject swig_types[155]
2622 #define SWIGTYPE_p_wxTimeSpan swig_types[156]
2623 #define SWIGTYPE_p_wxTimer swig_types[157]
2624 #define SWIGTYPE_p_wxTimerEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTimerRunner swig_types[159]
2626 #define SWIGTYPE_p_wxTipProvider swig_types[160]
2627 #define SWIGTYPE_p_wxToolTip swig_types[161]
2628 #define SWIGTYPE_p_wxURLDataObject swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVideoMode swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDisabler swig_types[169]
2636 #define SWIGTYPE_p_wxXPMHandler swig_types[170]
2637 static swig_type_info
*swig_types
[172];
2638 static swig_module_info swig_module
= {swig_types
, 171, 0, 0, 0, 0};
2639 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2642 /* -------- TYPES TABLE (END) -------- */
2644 #if (PY_VERSION_HEX <= 0x02000000)
2645 # if !defined(SWIG_PYTHON_CLASSIC)
2646 # error "This python version requires to use swig with the '-classic' option"
2649 #if (PY_VERSION_HEX <= 0x02020000)
2650 # error "This python version requires to use swig with the '-nomodern' option"
2652 #if (PY_VERSION_HEX <= 0x02020000)
2653 # error "This python version requires to use swig with the '-nomodernargs' option"
2656 # error "This python version requires to use swig with the '-nofastunpack' option"
2659 /*-----------------------------------------------
2660 @(target):= _misc_.so
2661 ------------------------------------------------*/
2662 #define SWIG_init init_misc_
2664 #define SWIG_name "_misc_"
2666 #define SWIGVERSION 0x010329
2669 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2673 #include <stdexcept>
2677 class PyObject_ptr
{
2682 PyObject_ptr() :_obj(0)
2686 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2691 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2693 if (initial_ref
) Py_XINCREF(_obj
);
2696 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2698 Py_XINCREF(item
._obj
);
2709 operator PyObject
*() const
2714 PyObject
*operator->() const
2723 struct PyObject_var
: PyObject_ptr
{
2724 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2726 PyObject_var
& operator = (PyObject
* obj
)
2736 #include "wx/wxPython/wxPython.h"
2737 #include "wx/wxPython/pyclasses.h"
2738 #include "wx/wxPython/pyistream.h"
2740 static const wxString
wxPyEmptyString(wxEmptyString
);
2744 #define SWIG_From_long PyInt_FromLong
2747 SWIGINTERNINLINE PyObject
*
2748 SWIG_From_int (int value
)
2750 return SWIG_From_long (value
);
2756 # define LLONG_MIN LONG_LONG_MIN
2759 # define LLONG_MAX LONG_LONG_MAX
2762 # define ULLONG_MAX ULONG_LONG_MAX
2767 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2769 if (PyNumber_Check(obj
)) {
2770 if (val
) *val
= PyInt_AsLong(obj
);
2773 return SWIG_TypeError
;
2778 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2781 int res
= SWIG_AsVal_long (obj
, &v
);
2782 if (SWIG_IsOK(res
)) {
2783 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2784 return SWIG_OverflowError
;
2786 if (val
) *val
= static_cast< int >(v
);
2792 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2794 #include <wx/stockitem.h>
2796 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2797 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2798 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2801 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2803 if (obj
== Py_True
) {
2804 if (val
) *val
= true;
2806 } else if (obj
== Py_False
) {
2807 if (val
) *val
= false;
2811 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2812 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2819 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2822 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2823 return SWIG_TypeError
;
2826 *val
= (unsigned long)v
;
2831 SWIGINTERNINLINE PyObject
*
2832 SWIG_From_unsigned_SS_long (unsigned long value
)
2834 return (value
> LONG_MAX
) ?
2835 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2839 void* wxGetXDisplay()
2842 return wxGetDisplay();
2849 wxWindow
* FindWindowAtPointer() {
2851 return wxFindWindowAtPointer(unused
);
2855 bool wxThread_IsMain() {
2856 #ifdef WXP_WITH_THREAD
2857 return wxThread::IsMain();
2863 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2867 #include <wx/snglinst.h>
2871 #include <wx/msw/private.h>
2872 #include <wx/dynload.h>
2877 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2888 // This one only partially works. Appears to be an undocumented
2889 // "standard" convention that not all widgets adhear to. For
2890 // example, for some widgets backgrounds or non-client areas may
2892 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2897 // This one works much better, nearly all widgets and their
2898 // children are captured correctly[**]. Prior to the big
2899 // background erase changes that Vadim did in 2004-2005 this
2900 // method failed badly on XP with Themes activated, most native
2901 // widgets draw only partially, if at all. Without themes it
2902 // worked just like on Win2k. After those changes this method
2905 // ** For example the radio buttons in a wxRadioBox are not its
2906 // children by default, but you can capture it via the panel
2907 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2908 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2909 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2910 PRF_ERASEBKGND
| PRF_OWNED
);
2916 // This one is only defined in the latest SDK and is only
2917 // available on XP. MSDN says it is similar to sending WM_PRINT
2918 // so I expect that it will work similar to the above. Since it
2919 // is avaialble only on XP, it can't be compiled like this and
2920 // will have to be loaded dynamically.
2921 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2926 // Use PrintWindow if available, or fallback to WM_PRINT
2927 // otherwise. Unfortunately using PrintWindow is even worse than
2928 // WM_PRINT. For most native widgets nothing is drawn to the dc
2929 // at all, with or without Themes.
2930 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2931 static bool s_triedToLoad
= false;
2932 static PrintWindow_t pfnPrintWindow
= NULL
;
2933 if ( !s_triedToLoad
)
2936 s_triedToLoad
= true;
2937 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2938 if ( dllUser32
.IsLoaded() )
2940 wxLogNull nolog
; // Don't report errors here
2941 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2946 //printf("Using PrintWindow\n");
2947 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2951 //printf("Using WM_PRINT\n");
2952 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2953 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2954 PRF_ERASEBKGND
| PRF_OWNED
);
2965 #include <wx/tipdlg.h>
2968 SWIGINTERNINLINE PyObject
*
2969 SWIG_From_size_t (size_t value
)
2971 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2975 class wxPyTipProvider
: public wxTipProvider
{
2977 wxPyTipProvider(size_t currentTip
)
2978 : wxTipProvider(currentTip
) {}
2980 DEC_PYCALLBACK_STRING__pure(GetTip
);
2981 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2985 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2986 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2989 SWIGINTERNINLINE
int
2990 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2993 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2994 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2999 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3001 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3003 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3004 : wxTimer(owner
, id
)
3011 SWIGINTERN swig_type_info
*
3012 SWIG_pchar_descriptor()
3014 static int init
= 0;
3015 static swig_type_info
* info
= 0;
3017 info
= SWIG_TypeQuery("_p_char");
3024 SWIGINTERNINLINE PyObject
*
3025 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3028 if (size
> INT_MAX
) {
3029 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3030 return pchar_descriptor
?
3031 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3033 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3036 return SWIG_Py_Void();
3041 SWIGINTERNINLINE PyObject
*
3042 SWIG_FromCharPtr(const char *cptr
)
3044 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3049 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3052 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3053 if (SWIG_IsOK(res
)) {
3054 if ((v
> UINT_MAX
)) {
3055 return SWIG_OverflowError
;
3057 if (val
) *val
= static_cast< unsigned int >(v
);
3063 SWIGINTERN wxString
wxLog_TimeStamp(){
3065 wxLog::TimeStamp(&msg
);
3068 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3069 // Make some wrappers that double any % signs so they are 'escaped'
3070 void wxPyLogFatalError(const wxString
& msg
)
3073 m
.Replace(wxT("%"), wxT("%%"));
3077 void wxPyLogError(const wxString
& msg
)
3080 m
.Replace(wxT("%"), wxT("%%"));
3084 void wxPyLogWarning(const wxString
& msg
)
3087 m
.Replace(wxT("%"), wxT("%%"));
3091 void wxPyLogMessage(const wxString
& msg
)
3094 m
.Replace(wxT("%"), wxT("%%"));
3098 void wxPyLogInfo(const wxString
& msg
)
3101 m
.Replace(wxT("%"), wxT("%%"));
3105 void wxPyLogDebug(const wxString
& msg
)
3108 m
.Replace(wxT("%"), wxT("%%"));
3112 void wxPyLogVerbose(const wxString
& msg
)
3115 m
.Replace(wxT("%"), wxT("%%"));
3119 void wxPyLogStatus(const wxString
& msg
)
3122 m
.Replace(wxT("%"), wxT("%%"));
3126 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3129 m
.Replace(wxT("%"), wxT("%%"));
3130 wxLogStatus(pFrame
, m
);
3133 void wxPyLogSysError(const wxString
& msg
)
3136 m
.Replace(wxT("%"), wxT("%%"));
3140 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3143 m
.Replace(wxT("%"), wxT("%%"));
3144 wxLogGeneric(level
, m
);
3147 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3150 m
.Replace(wxT("%"), wxT("%%"));
3151 wxLogTrace(mask
, m
);
3154 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3157 m
.Replace(wxT("%"), wxT("%%"));
3158 wxLogTrace(mask
, m
);
3163 // A wxLog class that can be derived from in wxPython
3164 class wxPyLog
: public wxLog
{
3166 wxPyLog() : wxLog() {}
3168 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3170 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3171 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3172 PyObject
* s
= wx2PyString(szString
);
3173 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3176 wxPyEndBlockThreads(blocked
);
3178 wxLog::DoLog(level
, szString
, t
);
3181 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3183 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3184 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3185 PyObject
* s
= wx2PyString(szString
);
3186 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3189 wxPyEndBlockThreads(blocked
);
3191 wxLog::DoLogString(szString
, t
);
3194 DEC_PYCALLBACK_VOID_(Flush
);
3197 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3202 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3205 #include <wx/joystick.h>
3208 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3209 // A C++ stub class for wxJoystick for platforms that don't have it.
3210 class wxJoystick
: public wxObject
{
3212 wxJoystick(int joystick
= wxJOYSTICK1
) {
3213 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3214 PyErr_SetString(PyExc_NotImplementedError
,
3215 "wxJoystick is not available on this platform.");
3216 wxPyEndBlockThreads(blocked
);
3218 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3219 int GetZPosition() { return -1; }
3220 int GetButtonState() { return -1; }
3221 int GetPOVPosition() { return -1; }
3222 int GetPOVCTSPosition() { return -1; }
3223 int GetRudderPosition() { return -1; }
3224 int GetUPosition() { return -1; }
3225 int GetVPosition() { return -1; }
3226 int GetMovementThreshold() { return -1; }
3227 void SetMovementThreshold(int threshold
) {}
3229 bool IsOk(void) { return false; }
3230 int GetNumberJoysticks() { return -1; }
3231 int GetManufacturerId() { return -1; }
3232 int GetProductId() { return -1; }
3233 wxString
GetProductName() { return wxEmptyString
; }
3234 int GetXMin() { return -1; }
3235 int GetYMin() { return -1; }
3236 int GetZMin() { return -1; }
3237 int GetXMax() { return -1; }
3238 int GetYMax() { return -1; }
3239 int GetZMax() { return -1; }
3240 int GetNumberButtons() { return -1; }
3241 int GetNumberAxes() { return -1; }
3242 int GetMaxButtons() { return -1; }
3243 int GetMaxAxes() { return -1; }
3244 int GetPollingMin() { return -1; }
3245 int GetPollingMax() { return -1; }
3246 int GetRudderMin() { return -1; }
3247 int GetRudderMax() { return -1; }
3248 int GetUMin() { return -1; }
3249 int GetUMax() { return -1; }
3250 int GetVMin() { return -1; }
3251 int GetVMax() { return -1; }
3253 bool HasRudder() { return false; }
3254 bool HasZ() { return false; }
3255 bool HasU() { return false; }
3256 bool HasV() { return false; }
3257 bool HasPOV() { return false; }
3258 bool HasPOV4Dir() { return false; }
3259 bool HasPOVCTS() { return false; }
3261 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3262 bool ReleaseCapture() { return false; }
3267 #include <wx/sound.h>
3271 // A C++ stub class for wxWave for platforms that don't have it.
3272 class wxSound
: public wxObject
3276 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3277 PyErr_SetString(PyExc_NotImplementedError
,
3278 "wxSound is not available on this platform.");
3279 wxPyEndBlockThreads(blocked
);
3281 wxSound(const wxString
&/*, bool*/) {
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 PyErr_SetString(PyExc_NotImplementedError
,
3284 "wxSound is not available on this platform.");
3285 wxPyEndBlockThreads(blocked
);
3287 wxSound(int, const wxByte
*) {
3288 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3289 PyErr_SetString(PyExc_NotImplementedError
,
3290 "wxSound is not available on this platform.");
3291 wxPyEndBlockThreads(blocked
);
3296 bool Create(const wxString
&/*, bool*/) { return false; }
3297 bool Create(int, const wxByte
*) { return false; };
3298 bool IsOk() { return false; };
3299 bool Play(unsigned) const { return false; }
3300 static bool Play(const wxString
&, unsigned) { return false; }
3301 static void Stop() {}
3306 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3307 if (fileName
.Length() == 0)
3310 return new wxSound(fileName
);
3312 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3313 unsigned char* buffer
; int size
;
3314 wxSound
*sound
= NULL
;
3316 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3317 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3319 sound
= new wxSound(size
, buffer
);
3321 wxPyEndBlockThreads(blocked
);
3324 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3326 unsigned char* buffer
;
3330 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3331 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3333 rv
= self
->Create(size
, buffer
);
3335 wxPyEndBlockThreads(blocked
);
3338 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3339 PyErr_SetString(PyExc_NotImplementedError
,
3340 "Create from data is not available on this platform.");
3341 wxPyEndBlockThreads(blocked
);
3346 #include <wx/mimetype.h>
3348 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3350 if (self
->GetMimeType(&str
))
3351 return wx2PyString(str
);
3355 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3357 if (self
->GetMimeTypes(arr
))
3358 return wxArrayString2PyList_helper(arr
);
3362 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3364 if (self
->GetExtensions(arr
))
3365 return wxArrayString2PyList_helper(arr
);
3369 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3371 if (self
->GetIcon(&loc
))
3372 return new wxIcon(loc
);
3376 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3378 if (self
->GetIcon(&loc
)) {
3379 wxString iconFile
= loc
.GetFileName();
3382 iconIndex
= loc
.GetIndex();
3384 // Make a tuple and put the values in it
3385 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3386 PyObject
* tuple
= PyTuple_New(3);
3387 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3388 wxT("wxIcon"), true));
3389 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3390 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3391 wxPyEndBlockThreads(blocked
);
3397 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3399 if (self
->GetDescription(&str
))
3400 return wx2PyString(str
);
3404 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3406 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3407 return wx2PyString(str
);
3411 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3413 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3414 return wx2PyString(str
);
3418 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3419 wxArrayString verbs
;
3420 wxArrayString commands
;
3421 if (self
->GetAllCommands(&verbs
, &commands
,
3422 wxFileType::MessageParameters(filename
, mimetype
))) {
3423 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3424 PyObject
* tuple
= PyTuple_New(2);
3425 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3426 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3427 wxPyEndBlockThreads(blocked
);
3433 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3434 return wxFileType::ExpandCommand(command
,
3435 wxFileType::MessageParameters(filename
, mimetype
));
3437 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3439 self
->EnumAllFileTypes(arr
);
3440 return wxArrayString2PyList_helper(arr
);
3443 #include <wx/artprov.h>
3445 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3446 static const wxString
wxPyART_MENU(wxART_MENU
);
3447 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3448 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3449 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3450 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3451 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3452 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3453 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3454 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3455 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3456 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3457 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3458 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3459 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3460 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3461 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3462 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3463 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3464 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3465 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3466 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3467 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3468 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3469 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3470 static const wxString
wxPyART_HELP(wxART_HELP
);
3471 static const wxString
wxPyART_TIP(wxART_TIP
);
3472 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3473 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3474 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3475 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3476 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3477 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3478 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3479 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3480 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3481 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3482 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3483 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3484 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3485 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3486 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3487 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3488 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3489 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3490 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3491 static const wxString
wxPyART_COPY(wxART_COPY
);
3492 static const wxString
wxPyART_CUT(wxART_CUT
);
3493 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3494 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3495 static const wxString
wxPyART_NEW(wxART_NEW
);
3496 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3497 static const wxString
wxPyART_REDO(wxART_REDO
);
3498 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3499 static const wxString
wxPyART_FIND(wxART_FIND
);
3500 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3501 // Python aware wxArtProvider
3502 class wxPyArtProvider
: public wxArtProvider
{
3505 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3506 const wxArtClient
& client
,
3507 const wxSize
& size
) {
3508 wxBitmap rval
= wxNullBitmap
;
3509 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3510 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3511 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3515 s1
= wx2PyString(id
);
3516 s2
= wx2PyString(client
);
3517 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3522 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3527 wxPyEndBlockThreads(blocked
);
3534 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3538 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3539 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3540 PyObject
* ret
= PyTuple_New(3);
3542 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3543 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3544 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3546 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3555 cont
= self
->GetFirstGroup(value
, index
);
3556 return __EnumerationHelper(cont
, value
, index
);
3558 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3562 cont
= self
->GetNextGroup(value
, index
);
3563 return __EnumerationHelper(cont
, value
, index
);
3565 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3570 cont
= self
->GetFirstEntry(value
, index
);
3571 return __EnumerationHelper(cont
, value
, index
);
3573 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3577 cont
= self
->GetNextEntry(value
, index
);
3578 return __EnumerationHelper(cont
, value
, index
);
3580 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3582 self
->Read(key
, &rv
, defaultVal
);
3587 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3589 if (PyNumber_Check(obj
)) {
3590 if (val
) *val
= PyFloat_AsDouble(obj
);
3593 return SWIG_TypeError
;
3596 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3598 self
->Read(key
, &rv
, defaultVal
);
3602 #define SWIG_From_double PyFloat_FromDouble
3604 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3606 self
->Read(key
, &rv
, defaultVal
);
3610 #include <wx/datetime.h>
3612 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3613 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3615 #define LOCAL_TZ wxDateTime::Local
3617 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3620 wxDateTime::GetAmPmStrings(&am
, &pm
);
3621 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3622 PyObject
* tup
= PyTuple_New(2);
3623 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3624 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3625 wxPyEndBlockThreads(blocked
);
3629 SWIGINTERNINLINE PyObject
*
3630 SWIG_From_unsigned_SS_int (unsigned int value
)
3632 return SWIG_From_unsigned_SS_long (value
);
3635 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3636 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3637 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3638 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3639 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3640 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3641 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3642 return (*self
< *other
);
3644 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3645 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3646 return (*self
<= *other
);
3648 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3649 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3650 return (*self
> *other
);
3652 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3653 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3654 return (*self
>= *other
);
3656 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3657 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3658 return (*self
== *other
);
3660 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3661 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3662 return (*self
!= *other
);
3664 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3666 const wxChar
* _date
= date
;
3667 rv
= self
->ParseRfc822Date(_date
);
3668 if (rv
== NULL
) return -1;
3671 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3673 const wxChar
* _date
= date
;
3674 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3675 if (rv
== NULL
) return -1;
3678 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3680 const wxChar
* _datetime
= datetime
;
3681 rv
= self
->ParseDateTime(_datetime
);
3682 if (rv
== NULL
) return -1;
3683 return rv
- _datetime
;
3685 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3687 const wxChar
* _date
= date
;
3688 rv
= self
->ParseDate(_date
);
3689 if (rv
== NULL
) return -1;
3692 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3694 const wxChar
* _time
= time
;
3695 rv
= self
->ParseTime(_time
);
3696 if (rv
== NULL
) return -1;
3699 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3700 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3703 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3704 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3706 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3707 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3708 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3709 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3710 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3713 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3714 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3716 #include <wx/dataobj.h>
3718 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3719 size_t count
= self
->GetFormatCount(dir
);
3720 wxDataFormat
* formats
= new wxDataFormat
[count
];
3721 self
->GetAllFormats(formats
, dir
);
3723 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3724 PyObject
* list
= PyList_New(count
);
3725 for (size_t i
=0; i
<count
; i
++) {
3726 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3727 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3728 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3730 wxPyEndBlockThreads(blocked
);
3734 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3735 PyObject
* rval
= NULL
;
3736 size_t size
= self
->GetDataSize(format
);
3737 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3739 char* buf
= new char[size
];
3740 if (self
->GetDataHere(format
, buf
))
3741 rval
= PyString_FromStringAndSize(buf
, size
);
3748 wxPyEndBlockThreads(blocked
);
3751 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3753 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3754 if (PyString_Check(data
)) {
3755 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3758 // raise a TypeError if not a string
3759 PyErr_SetString(PyExc_TypeError
, "String expected.");
3762 wxPyEndBlockThreads(blocked
);
3765 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3766 PyObject
* rval
= NULL
;
3767 size_t size
= self
->GetDataSize();
3768 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3770 char* buf
= new char[size
];
3771 if (self
->GetDataHere(buf
))
3772 rval
= PyString_FromStringAndSize(buf
, size
);
3779 wxPyEndBlockThreads(blocked
);
3782 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3784 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3785 if (PyString_Check(data
)) {
3786 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3789 // raise a TypeError if not a string
3790 PyErr_SetString(PyExc_TypeError
, "String expected.");
3793 wxPyEndBlockThreads(blocked
);
3796 // Create a new class for wxPython to use
3797 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3799 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3800 : wxDataObjectSimple(format
) {}
3802 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3803 bool GetDataHere(void *buf
) const;
3804 bool SetData(size_t len
, const void *buf
);
3808 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3810 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3811 // We need to get the data for this object and write it to buf. I think
3812 // the best way to do this for wxPython is to have the Python method
3813 // return either a string or None and then act appropriately with the
3817 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3818 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3820 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3822 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3824 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3828 wxPyEndBlockThreads(blocked
);
3832 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3833 // For this one we simply need to make a string from buf and len
3834 // and send it to the Python method.
3836 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3837 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3838 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3839 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3842 wxPyEndBlockThreads(blocked
);
3846 // Create a new class for wxPython to use
3847 class wxPyTextDataObject
: public wxTextDataObject
{
3849 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3850 : wxTextDataObject(text
) {}
3852 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3853 DEC_PYCALLBACK_STRING__const(GetText
);
3854 DEC_PYCALLBACK__STRING(SetText
);
3858 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3859 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3860 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3863 // Create a new class for wxPython to use
3864 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3866 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3867 : wxBitmapDataObject(bitmap
) {}
3869 wxBitmap
GetBitmap() const;
3870 void SetBitmap(const wxBitmap
& bitmap
);
3874 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3875 wxBitmap
* rval
= &wxNullBitmap
;
3876 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3877 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3880 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3882 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3887 wxPyEndBlockThreads(blocked
);
3891 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3893 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3894 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3895 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3898 wxPyEndBlockThreads(blocked
);
3901 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3902 return new wxCustomDataObject(wxDataFormat(formatName
));
3904 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3906 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3907 if (PyString_Check(data
)) {
3908 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3911 // raise a TypeError if not a string
3912 PyErr_SetString(PyExc_TypeError
, "String expected.");
3915 wxPyEndBlockThreads(blocked
);
3918 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3920 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3921 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3922 wxPyEndBlockThreads(blocked
);
3926 #include <wx/metafile.h>
3929 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3932 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3933 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3934 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3935 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3936 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3939 class wxPyTextDropTarget
: public wxTextDropTarget
{
3941 wxPyTextDropTarget() {}
3943 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3945 DEC_PYCALLBACK__(OnLeave
);
3946 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3947 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3948 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3949 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3954 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3955 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3956 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3957 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3958 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3959 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3963 class wxPyFileDropTarget
: public wxFileDropTarget
{
3965 wxPyFileDropTarget() {}
3967 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3969 DEC_PYCALLBACK__(OnLeave
);
3970 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3971 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3972 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3973 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3978 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3979 const wxArrayString
& filenames
) {
3981 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3982 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3983 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3984 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3987 wxPyEndBlockThreads(blocked
);
3993 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3994 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3995 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3996 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3997 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4002 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4004 #include <wx/display.h>
4006 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4007 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4010 const wxVideoMode wxDefaultVideoMode
;
4013 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4015 PyObject
* pyList
= NULL
;
4016 wxArrayVideoModes arr
= self
->GetModes(mode
);
4017 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4018 pyList
= PyList_New(0);
4019 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4021 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4022 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4023 PyList_Append(pyList
, pyObj
);
4026 wxPyEndBlockThreads(blocked
);
4029 wxPyRaiseNotImplemented();
4033 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4035 return self
->GetCurrentMode();
4037 wxPyRaiseNotImplemented();
4038 return wxDefaultVideoMode
;
4041 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4043 return self
->ChangeMode(mode
);
4045 wxPyRaiseNotImplemented();
4049 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4053 wxPyRaiseNotImplemented();
4057 #include <wx/stdpaths.h>
4059 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4060 return (wxStandardPaths
*) &wxStandardPaths::Get();
4062 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4063 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4065 #ifndef wxHAS_POWER_EVENTS
4066 // Dummy class and other definitions for platforms that don't have them
4068 // See wxPython_int.h for wxPowerEvent
4071 wxEVT_POWER_SUSPENDING
,
4072 wxEVT_POWER_SUSPENDED
,
4073 wxEVT_POWER_SUSPEND_CANCEL
,
4077 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4078 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4085 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
= 0;
4087 wxSystemColour arg1
;
4091 PyObject
* obj0
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "index", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4097 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4098 if (!SWIG_IsOK(ecode1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4101 arg1
= static_cast< wxSystemColour
>(val1
);
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= wxSystemSettings::GetColour(arg1
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4116 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
= 0;
4122 PyObject
* obj0
= 0 ;
4123 char * kwnames
[] = {
4124 (char *) "index", NULL
4127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4129 if (!SWIG_IsOK(ecode1
)) {
4130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4132 arg1
= static_cast< wxSystemFont
>(val1
);
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= wxSystemSettings::GetFont(arg1
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxSystemMetric arg1
;
4150 wxWindow
*arg2
= (wxWindow
*) NULL
;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "index",(char *) "win", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4164 if (!SWIG_IsOK(ecode1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4167 arg1
= static_cast< wxSystemMetric
>(val1
);
4169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4170 if (!SWIG_IsOK(res2
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4173 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4176 if (!wxPyCheckForApp()) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 resultobj
= SWIG_From_int(static_cast< int >(result
));
4189 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
= 0;
4191 wxSystemFeature arg1
;
4195 PyObject
* obj0
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "index", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4202 if (!SWIG_IsOK(ecode1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4205 arg1
= static_cast< wxSystemFeature
>(val1
);
4207 if (!wxPyCheckForApp()) SWIG_fail
;
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4209 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4222 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4223 PyObject
*resultobj
= 0;
4224 wxSystemScreenType result
;
4226 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4228 if (!wxPyCheckForApp()) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_From_int(static_cast< int >(result
));
4241 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxSystemScreenType arg1
;
4246 PyObject
* obj0
= 0 ;
4247 char * kwnames
[] = {
4248 (char *) "screen", NULL
4251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4252 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4253 if (!SWIG_IsOK(ecode1
)) {
4254 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4256 arg1
= static_cast< wxSystemScreenType
>(val1
);
4258 if (!wxPyCheckForApp()) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 wxSystemSettings::SetScreenType(arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4264 resultobj
= SWIG_Py_Void();
4271 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4273 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4274 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4275 return SWIG_Py_Void();
4278 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4279 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4284 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4285 PyObject
*pyobj
= 0;
4289 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4291 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4298 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4299 PyObject
*resultobj
= 0;
4300 wxSystemOptions
*result
= 0 ;
4302 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 result
= (wxSystemOptions
*)new wxSystemOptions();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4316 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
= 0;
4318 wxString
*arg1
= 0 ;
4319 wxString
*arg2
= 0 ;
4320 bool temp1
= false ;
4321 bool temp2
= false ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4324 char * kwnames
[] = {
4325 (char *) "name",(char *) "value", NULL
4328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4330 arg1
= wxString_in_helper(obj0
);
4331 if (arg1
== NULL
) SWIG_fail
;
4335 arg2
= wxString_in_helper(obj1
);
4336 if (arg2
== NULL
) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4342 wxPyEndAllowThreads(__tstate
);
4343 if (PyErr_Occurred()) SWIG_fail
;
4345 resultobj
= SWIG_Py_Void();
4368 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= 0;
4370 wxString
*arg1
= 0 ;
4372 bool temp1
= false ;
4375 PyObject
* obj0
= 0 ;
4376 PyObject
* obj1
= 0 ;
4377 char * kwnames
[] = {
4378 (char *) "name",(char *) "value", NULL
4381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4383 arg1
= wxString_in_helper(obj0
);
4384 if (arg1
== NULL
) SWIG_fail
;
4387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4388 if (!SWIG_IsOK(ecode2
)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4391 arg2
= static_cast< int >(val2
);
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_Py_Void();
4413 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
= 0;
4415 wxString
*arg1
= 0 ;
4417 bool temp1
= false ;
4418 PyObject
* obj0
= 0 ;
4419 char * kwnames
[] = {
4420 (char *) "name", NULL
4423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4425 arg1
= wxString_in_helper(obj0
);
4426 if (arg1
== NULL
) SWIG_fail
;
4430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
= 0;
4458 wxString
*arg1
= 0 ;
4460 bool temp1
= false ;
4461 PyObject
* obj0
= 0 ;
4462 char * kwnames
[] = {
4463 (char *) "name", NULL
4466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4468 arg1
= wxString_in_helper(obj0
);
4469 if (arg1
== NULL
) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_From_int(static_cast< int >(result
));
4493 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxString
*arg1
= 0 ;
4497 bool temp1
= false ;
4498 PyObject
* obj0
= 0 ;
4499 char * kwnames
[] = {
4500 (char *) "name", NULL
4503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4505 arg1
= wxString_in_helper(obj0
);
4506 if (arg1
== NULL
) SWIG_fail
;
4510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4511 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4532 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
= 0;
4534 wxString
*arg1
= 0 ;
4536 bool temp1
= false ;
4537 PyObject
* obj0
= 0 ;
4538 char * kwnames
[] = {
4539 (char *) "name", NULL
4542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4544 arg1
= wxString_in_helper(obj0
);
4545 if (arg1
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4573 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4575 return SWIG_Py_Void();
4578 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4579 return SWIG_Python_InitShadowInstance(args
);
4582 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4583 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4588 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4589 PyObject
*pyobj
= 0;
4593 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4595 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4602 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4603 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4608 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4609 PyObject
*pyobj
= 0;
4613 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4615 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4622 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4623 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4628 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4629 PyObject
*pyobj
= 0;
4633 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4635 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4642 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4643 PyObject
*resultobj
= 0;
4646 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (long)wxNewId();
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_From_long(static_cast< long >(result
));
4660 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
= 0;
4665 PyObject
* obj0
= 0 ;
4666 char * kwnames
[] = {
4670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4671 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4672 if (!SWIG_IsOK(ecode1
)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4675 arg1
= static_cast< long >(val1
);
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_Py_Void();
4689 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4690 PyObject
*resultobj
= 0;
4693 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (long)wxGetCurrentId();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_From_long(static_cast< long >(result
));
4707 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
= 0;
4713 PyObject
* obj0
= 0 ;
4714 char * kwnames
[] = {
4718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4720 if (!SWIG_IsOK(ecode1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4723 arg1
= static_cast< int >(val1
);
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (bool)wxIsStockID(arg1
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4739 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
= 0;
4742 wxString
*arg2
= 0 ;
4746 bool temp2
= false ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 char * kwnames
[] = {
4750 (char *) "id",(char *) "label", NULL
4753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4754 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4755 if (!SWIG_IsOK(ecode1
)) {
4756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4758 arg1
= static_cast< int >(val1
);
4760 arg2
= wxString_in_helper(obj1
);
4761 if (arg2
== NULL
) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4767 wxPyEndAllowThreads(__tstate
);
4768 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4787 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
= 0;
4790 bool arg2
= (bool) true ;
4791 wxString arg3
= (wxString
) wxPyEmptyString
;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 PyObject
* obj2
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4806 if (!SWIG_IsOK(ecode1
)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4809 arg1
= static_cast< int >(val1
);
4811 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4812 if (!SWIG_IsOK(ecode2
)) {
4813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4815 arg2
= static_cast< bool >(val2
);
4819 wxString
* sptr
= wxString_in_helper(obj2
);
4820 if (sptr
== NULL
) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4844 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4845 PyObject
*resultobj
= 0;
4847 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4849 if (!wxPyCheckForApp()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_Py_Void();
4862 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4863 PyObject
*resultobj
= 0;
4865 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4867 if (!wxPyCheckForApp()) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 wxPyEndAllowThreads(__tstate
);
4871 if (PyErr_Occurred()) SWIG_fail
;
4873 resultobj
= SWIG_Py_Void();
4880 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
= 0;
4882 bool arg1
= (bool) true ;
4886 PyObject
* obj0
= 0 ;
4887 char * kwnames
[] = {
4888 (char *) "resetTimer", NULL
4891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4893 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4894 if (!SWIG_IsOK(ecode1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4897 arg1
= static_cast< bool >(val1
);
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (long)wxGetElapsedTime(arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_From_long(static_cast< long >(result
));
4912 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4913 PyObject
*resultobj
= 0;
4916 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (bool)wxIsBusy();
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4932 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4936 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 wxPyEndAllowThreads(__tstate
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4956 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
= 0;
4958 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4959 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4961 bool temp1
= false ;
4962 PyObject
* obj0
= 0 ;
4963 char * kwnames
[] = {
4964 (char *) "command", NULL
4967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4970 arg1
= wxString_in_helper(obj0
);
4971 if (arg1
== NULL
) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)wxShell((wxString
const &)*arg1
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4999 PyObject
*resultobj
= 0;
5001 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_Py_Void();
5015 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5016 PyObject
*resultobj
= 0;
5017 int *arg1
= (int *) 0 ;
5018 int *arg2
= (int *) 0 ;
5021 int res1
= SWIG_TMPOBJ
;
5023 int res2
= SWIG_TMPOBJ
;
5027 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (int)wxGetOsVersion(arg1
,arg2
);
5031 wxPyEndAllowThreads(__tstate
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5034 resultobj
= SWIG_From_int(static_cast< int >(result
));
5035 if (SWIG_IsTmpObj(res1
)) {
5036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5038 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5039 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5041 if (SWIG_IsTmpObj(res2
)) {
5042 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5044 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5045 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5053 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5054 PyObject
*resultobj
= 0;
5057 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5060 result
= wxGetOsDescription();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5068 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5077 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5078 PyObject
*resultobj
= 0;
5079 wxMemorySize result
;
5081 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= wxGetFreeMemory();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5092 resultobj
= PyInt_FromLong(result
);
5101 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
= 0;
5103 wxShutdownFlags arg1
;
5107 PyObject
* obj0
= 0 ;
5108 char * kwnames
[] = {
5109 (char *) "wFlags", NULL
5112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5113 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5114 if (!SWIG_IsOK(ecode1
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5117 arg1
= static_cast< wxShutdownFlags
>(val1
);
5119 if (!wxPyCheckForApp()) SWIG_fail
;
5120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5121 result
= (bool)wxShutdown(arg1
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5134 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
= 0;
5139 PyObject
* obj0
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "secs", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5145 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5146 if (!SWIG_IsOK(ecode1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5149 arg1
= static_cast< int >(val1
);
5151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= SWIG_Py_Void();
5163 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
*resultobj
= 0;
5165 unsigned long arg1
;
5166 unsigned long val1
;
5168 PyObject
* obj0
= 0 ;
5169 char * kwnames
[] = {
5170 (char *) "milliseconds", NULL
5173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5174 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5175 if (!SWIG_IsOK(ecode1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5178 arg1
= static_cast< unsigned long >(val1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_Py_Void();
5192 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
= 0;
5194 unsigned long arg1
;
5195 unsigned long val1
;
5197 PyObject
* obj0
= 0 ;
5198 char * kwnames
[] = {
5199 (char *) "microseconds", NULL
5202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5203 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5204 if (!SWIG_IsOK(ecode1
)) {
5205 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5207 arg1
= static_cast< unsigned long >(val1
);
5209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_Py_Void();
5221 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
= 0;
5226 PyObject
* obj0
= 0 ;
5227 char * kwnames
[] = {
5228 (char *) "enable", NULL
5231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5232 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5233 if (!SWIG_IsOK(ecode1
)) {
5234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5236 arg1
= static_cast< bool >(val1
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 wxEnableTopLevelWindows(arg1
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxString
*arg1
= 0 ;
5254 bool temp1
= false ;
5255 PyObject
* obj0
= 0 ;
5256 char * kwnames
[] = {
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5262 arg1
= wxString_in_helper(obj0
);
5263 if (arg1
== NULL
) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5293 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5294 PyObject
*resultobj
= 0;
5297 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= wxGetEmailAddress();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5317 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5318 PyObject
*resultobj
= 0;
5321 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= wxGetHostName();
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5341 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5342 PyObject
*resultobj
= 0;
5345 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= wxGetFullHostName();
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5365 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5366 PyObject
*resultobj
= 0;
5369 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 result
= wxGetUserId();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5389 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5390 PyObject
*resultobj
= 0;
5393 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= wxGetUserName();
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5413 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5414 PyObject
*resultobj
= 0;
5417 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxGetHomeDir();
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5428 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5437 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
= 0;
5439 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5440 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5442 bool temp1
= false ;
5443 PyObject
* obj0
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "user", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5451 arg1
= wxString_in_helper(obj0
);
5452 if (arg1
== NULL
) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= wxGetUserHome((wxString
const &)*arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5483 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5484 PyObject
*resultobj
= 0;
5485 unsigned long result
;
5487 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (unsigned long)wxGetProcessId();
5491 wxPyEndAllowThreads(__tstate
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5494 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5501 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5502 PyObject
*resultobj
= 0;
5504 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5511 resultobj
= SWIG_Py_Void();
5518 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
= 0;
5520 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5521 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5522 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5523 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5524 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5526 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5527 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5528 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5529 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5530 int arg6
= (int) 0 ;
5531 wxWindow
*arg7
= (wxWindow
*) NULL
;
5532 int arg8
= (int) -1 ;
5533 int arg9
= (int) -1 ;
5535 bool temp1
= false ;
5536 bool temp2
= false ;
5537 bool temp3
= false ;
5538 bool temp4
= false ;
5539 bool temp5
= false ;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5551 PyObject
* obj3
= 0 ;
5552 PyObject
* obj4
= 0 ;
5553 PyObject
* obj5
= 0 ;
5554 PyObject
* obj6
= 0 ;
5555 PyObject
* obj7
= 0 ;
5556 PyObject
* obj8
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5564 arg1
= wxString_in_helper(obj0
);
5565 if (arg1
== NULL
) SWIG_fail
;
5571 arg2
= wxString_in_helper(obj1
);
5572 if (arg2
== NULL
) SWIG_fail
;
5578 arg3
= wxString_in_helper(obj2
);
5579 if (arg3
== NULL
) SWIG_fail
;
5585 arg4
= wxString_in_helper(obj3
);
5586 if (arg4
== NULL
) SWIG_fail
;
5592 arg5
= wxString_in_helper(obj4
);
5593 if (arg5
== NULL
) SWIG_fail
;
5598 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5599 if (!SWIG_IsOK(ecode6
)) {
5600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5602 arg6
= static_cast< int >(val6
);
5605 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5606 if (!SWIG_IsOK(res7
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5609 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5612 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5613 if (!SWIG_IsOK(ecode8
)) {
5614 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5616 arg8
= static_cast< int >(val8
);
5619 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5620 if (!SWIG_IsOK(ecode9
)) {
5621 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5623 arg9
= static_cast< int >(val9
);
5626 if (!wxPyCheckForApp()) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5685 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
= 0;
5687 wxString
*arg1
= 0 ;
5688 wxString
*arg2
= 0 ;
5689 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5690 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5691 wxWindow
*arg4
= (wxWindow
*) NULL
;
5693 bool temp1
= false ;
5694 bool temp2
= false ;
5695 bool temp3
= false ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5701 PyObject
* obj3
= 0 ;
5702 char * kwnames
[] = {
5703 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5708 arg1
= wxString_in_helper(obj0
);
5709 if (arg1
== NULL
) SWIG_fail
;
5713 arg2
= wxString_in_helper(obj1
);
5714 if (arg2
== NULL
) SWIG_fail
;
5719 arg3
= wxString_in_helper(obj2
);
5720 if (arg3
== NULL
) SWIG_fail
;
5725 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5726 if (!SWIG_IsOK(res4
)) {
5727 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5729 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5732 if (!wxPyCheckForApp()) SWIG_fail
;
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5775 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
= 0;
5777 wxString
*arg1
= 0 ;
5778 wxString
*arg2
= 0 ;
5779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5781 wxWindow
*arg4
= (wxWindow
*) NULL
;
5783 bool temp1
= false ;
5784 bool temp2
= false ;
5785 bool temp3
= false ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5790 PyObject
* obj2
= 0 ;
5791 PyObject
* obj3
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5798 arg1
= wxString_in_helper(obj0
);
5799 if (arg1
== NULL
) SWIG_fail
;
5803 arg2
= wxString_in_helper(obj1
);
5804 if (arg2
== NULL
) SWIG_fail
;
5809 arg3
= wxString_in_helper(obj2
);
5810 if (arg3
== NULL
) SWIG_fail
;
5815 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5816 if (!SWIG_IsOK(res4
)) {
5817 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5819 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5822 if (!wxPyCheckForApp()) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5865 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
= 0;
5867 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5868 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5869 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5870 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5871 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5874 wxWindow
*arg5
= (wxWindow
*) NULL
;
5876 bool temp1
= false ;
5877 bool temp2
= false ;
5883 PyObject
* obj0
= 0 ;
5884 PyObject
* obj1
= 0 ;
5885 PyObject
* obj2
= 0 ;
5886 PyObject
* obj3
= 0 ;
5887 PyObject
* obj4
= 0 ;
5888 char * kwnames
[] = {
5889 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5895 arg1
= wxString_in_helper(obj0
);
5896 if (arg1
== NULL
) SWIG_fail
;
5902 arg2
= wxString_in_helper(obj1
);
5903 if (arg2
== NULL
) SWIG_fail
;
5908 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5909 if (!SWIG_IsOK(ecode3
)) {
5910 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5912 arg3
= static_cast< long >(val3
);
5917 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5921 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5922 if (!SWIG_IsOK(res5
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5925 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5928 if (!wxPyCheckForApp()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5963 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
= 0;
5965 wxString
*arg1
= 0 ;
5966 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5967 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5968 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5969 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5970 wxWindow
*arg4
= (wxWindow
*) NULL
;
5971 int arg5
= (int) -1 ;
5972 int arg6
= (int) -1 ;
5973 bool arg7
= (bool) true ;
5975 bool temp1
= false ;
5976 bool temp2
= false ;
5977 bool temp3
= false ;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj2
= 0 ;
5989 PyObject
* obj3
= 0 ;
5990 PyObject
* obj4
= 0 ;
5991 PyObject
* obj5
= 0 ;
5992 PyObject
* obj6
= 0 ;
5993 char * kwnames
[] = {
5994 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5999 arg1
= wxString_in_helper(obj0
);
6000 if (arg1
== NULL
) SWIG_fail
;
6005 arg2
= wxString_in_helper(obj1
);
6006 if (arg2
== NULL
) SWIG_fail
;
6012 arg3
= wxString_in_helper(obj2
);
6013 if (arg3
== NULL
) SWIG_fail
;
6018 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6019 if (!SWIG_IsOK(res4
)) {
6020 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6022 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6026 if (!SWIG_IsOK(ecode5
)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6029 arg5
= static_cast< int >(val5
);
6032 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6033 if (!SWIG_IsOK(ecode6
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6036 arg6
= static_cast< int >(val6
);
6039 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6040 if (!SWIG_IsOK(ecode7
)) {
6041 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6043 arg7
= static_cast< bool >(val7
);
6046 if (!wxPyCheckForApp()) SWIG_fail
;
6047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6089 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
*resultobj
= 0;
6091 wxString
*arg1
= 0 ;
6092 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6093 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6096 wxWindow
*arg4
= (wxWindow
*) NULL
;
6098 bool temp1
= false ;
6099 bool temp2
= false ;
6100 bool temp3
= false ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 PyObject
* obj2
= 0 ;
6106 PyObject
* obj3
= 0 ;
6107 char * kwnames
[] = {
6108 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6113 arg1
= wxString_in_helper(obj0
);
6114 if (arg1
== NULL
) SWIG_fail
;
6119 arg2
= wxString_in_helper(obj1
);
6120 if (arg2
== NULL
) SWIG_fail
;
6126 arg3
= wxString_in_helper(obj2
);
6127 if (arg3
== NULL
) SWIG_fail
;
6132 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6133 if (!SWIG_IsOK(res4
)) {
6134 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6136 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6139 if (!wxPyCheckForApp()) SWIG_fail
;
6140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6182 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
= 0;
6184 wxString
*arg1
= 0 ;
6185 wxString
*arg2
= 0 ;
6187 wxString
*arg4
= (wxString
*) 0 ;
6188 wxWindow
*arg5
= (wxWindow
*) NULL
;
6189 int arg6
= (int) -1 ;
6190 int arg7
= (int) -1 ;
6191 bool arg8
= (bool) true ;
6192 int arg9
= (int) 150 ;
6193 int arg10
= (int) 200 ;
6195 bool temp1
= false ;
6196 bool temp2
= false ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 PyObject
* obj2
= 0 ;
6212 PyObject
* obj3
= 0 ;
6213 PyObject
* obj4
= 0 ;
6214 PyObject
* obj5
= 0 ;
6215 PyObject
* obj6
= 0 ;
6216 PyObject
* obj7
= 0 ;
6217 PyObject
* obj8
= 0 ;
6218 char * kwnames
[] = {
6219 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6224 arg1
= wxString_in_helper(obj0
);
6225 if (arg1
== NULL
) SWIG_fail
;
6229 arg2
= wxString_in_helper(obj1
);
6230 if (arg2
== NULL
) SWIG_fail
;
6234 arg3
= PyList_Size(obj2
);
6235 arg4
= wxString_LIST_helper(obj2
);
6236 if (arg4
== NULL
) SWIG_fail
;
6239 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6240 if (!SWIG_IsOK(res5
)) {
6241 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6243 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6246 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6247 if (!SWIG_IsOK(ecode6
)) {
6248 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6250 arg6
= static_cast< int >(val6
);
6253 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6254 if (!SWIG_IsOK(ecode7
)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6257 arg7
= static_cast< int >(val7
);
6260 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6261 if (!SWIG_IsOK(ecode8
)) {
6262 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6264 arg8
= static_cast< bool >(val8
);
6267 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6268 if (!SWIG_IsOK(ecode9
)) {
6269 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6271 arg9
= static_cast< int >(val9
);
6274 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6275 if (!SWIG_IsOK(ecode10
)) {
6276 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6278 arg10
= static_cast< int >(val10
);
6281 if (!wxPyCheckForApp()) SWIG_fail
;
6282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6283 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6303 if (arg4
) delete [] arg4
;
6316 if (arg4
) delete [] arg4
;
6322 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
= 0;
6324 wxString
*arg1
= 0 ;
6325 wxString
*arg2
= 0 ;
6327 wxString
*arg4
= (wxString
*) 0 ;
6328 wxWindow
*arg5
= (wxWindow
*) NULL
;
6329 int arg6
= (int) -1 ;
6330 int arg7
= (int) -1 ;
6331 bool arg8
= (bool) true ;
6332 int arg9
= (int) 150 ;
6333 int arg10
= (int) 200 ;
6335 bool temp1
= false ;
6336 bool temp2
= false ;
6349 PyObject
* obj0
= 0 ;
6350 PyObject
* obj1
= 0 ;
6351 PyObject
* obj2
= 0 ;
6352 PyObject
* obj3
= 0 ;
6353 PyObject
* obj4
= 0 ;
6354 PyObject
* obj5
= 0 ;
6355 PyObject
* obj6
= 0 ;
6356 PyObject
* obj7
= 0 ;
6357 PyObject
* obj8
= 0 ;
6358 char * kwnames
[] = {
6359 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6364 arg1
= wxString_in_helper(obj0
);
6365 if (arg1
== NULL
) SWIG_fail
;
6369 arg2
= wxString_in_helper(obj1
);
6370 if (arg2
== NULL
) SWIG_fail
;
6374 arg3
= PyList_Size(obj2
);
6375 arg4
= wxString_LIST_helper(obj2
);
6376 if (arg4
== NULL
) SWIG_fail
;
6379 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6380 if (!SWIG_IsOK(res5
)) {
6381 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6383 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6386 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6387 if (!SWIG_IsOK(ecode6
)) {
6388 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6390 arg6
= static_cast< int >(val6
);
6393 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6394 if (!SWIG_IsOK(ecode7
)) {
6395 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6397 arg7
= static_cast< int >(val7
);
6400 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6401 if (!SWIG_IsOK(ecode8
)) {
6402 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6404 arg8
= static_cast< bool >(val8
);
6407 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6408 if (!SWIG_IsOK(ecode9
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6411 arg9
= static_cast< int >(val9
);
6414 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6415 if (!SWIG_IsOK(ecode10
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6418 arg10
= static_cast< int >(val10
);
6421 if (!wxPyCheckForApp()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= SWIG_From_int(static_cast< int >(result
));
6437 if (arg4
) delete [] arg4
;
6450 if (arg4
) delete [] arg4
;
6456 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
= 0;
6458 wxString
*arg1
= 0 ;
6459 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6461 int arg3
= (int) wxOK
|wxCENTRE
;
6462 wxWindow
*arg4
= (wxWindow
*) NULL
;
6463 int arg5
= (int) -1 ;
6464 int arg6
= (int) -1 ;
6466 bool temp1
= false ;
6467 bool temp2
= false ;
6476 PyObject
* obj0
= 0 ;
6477 PyObject
* obj1
= 0 ;
6478 PyObject
* obj2
= 0 ;
6479 PyObject
* obj3
= 0 ;
6480 PyObject
* obj4
= 0 ;
6481 PyObject
* obj5
= 0 ;
6482 char * kwnames
[] = {
6483 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6488 arg1
= wxString_in_helper(obj0
);
6489 if (arg1
== NULL
) SWIG_fail
;
6494 arg2
= wxString_in_helper(obj1
);
6495 if (arg2
== NULL
) SWIG_fail
;
6500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6501 if (!SWIG_IsOK(ecode3
)) {
6502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6504 arg3
= static_cast< int >(val3
);
6507 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6508 if (!SWIG_IsOK(res4
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6511 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6514 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6515 if (!SWIG_IsOK(ecode5
)) {
6516 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6518 arg5
= static_cast< int >(val5
);
6521 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6522 if (!SWIG_IsOK(ecode6
)) {
6523 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6525 arg6
= static_cast< int >(val6
);
6528 if (!wxPyCheckForApp()) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= SWIG_From_int(static_cast< int >(result
));
6557 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxString
*arg1
= 0 ;
6560 wxString
*arg2
= 0 ;
6561 wxString
*arg3
= 0 ;
6563 long arg5
= (long) 0 ;
6564 long arg6
= (long) 100 ;
6565 wxWindow
*arg7
= (wxWindow
*) NULL
;
6566 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6567 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6569 bool temp1
= false ;
6570 bool temp2
= false ;
6571 bool temp3
= false ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6583 PyObject
* obj2
= 0 ;
6584 PyObject
* obj3
= 0 ;
6585 PyObject
* obj4
= 0 ;
6586 PyObject
* obj5
= 0 ;
6587 PyObject
* obj6
= 0 ;
6588 PyObject
* obj7
= 0 ;
6589 char * kwnames
[] = {
6590 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6595 arg1
= wxString_in_helper(obj0
);
6596 if (arg1
== NULL
) SWIG_fail
;
6600 arg2
= wxString_in_helper(obj1
);
6601 if (arg2
== NULL
) SWIG_fail
;
6605 arg3
= wxString_in_helper(obj2
);
6606 if (arg3
== NULL
) SWIG_fail
;
6609 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6610 if (!SWIG_IsOK(ecode4
)) {
6611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6613 arg4
= static_cast< long >(val4
);
6615 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6616 if (!SWIG_IsOK(ecode5
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6619 arg5
= static_cast< long >(val5
);
6622 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6623 if (!SWIG_IsOK(ecode6
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6626 arg6
= static_cast< long >(val6
);
6629 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6630 if (!SWIG_IsOK(res7
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6633 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6638 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6642 if (!wxPyCheckForApp()) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= SWIG_From_long(static_cast< long >(result
));
6679 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6680 PyObject
*resultobj
= 0;
6683 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6685 if (!wxPyCheckForApp()) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (bool)wxColourDisplay();
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6700 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6701 PyObject
*resultobj
= 0;
6704 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6706 if (!wxPyCheckForApp()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (int)wxDisplayDepth();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_From_int(static_cast< int >(result
));
6719 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 PyObject
*resultobj
= 0;
6723 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6725 if (!wxPyCheckForApp()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (int)wxGetDisplayDepth();
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 resultobj
= SWIG_From_int(static_cast< int >(result
));
6738 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6739 PyObject
*resultobj
= 0;
6740 int *arg1
= (int *) 0 ;
6741 int *arg2
= (int *) 0 ;
6743 int res1
= SWIG_TMPOBJ
;
6745 int res2
= SWIG_TMPOBJ
;
6749 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6751 if (!wxPyCheckForApp()) SWIG_fail
;
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 wxDisplaySize(arg1
,arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= SWIG_Py_Void();
6758 if (SWIG_IsTmpObj(res1
)) {
6759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6761 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6764 if (SWIG_IsTmpObj(res2
)) {
6765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6767 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6776 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6777 PyObject
*resultobj
= 0;
6780 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6782 if (!wxPyCheckForApp()) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 result
= wxGetDisplaySize();
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6795 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 int *arg1
= (int *) 0 ;
6798 int *arg2
= (int *) 0 ;
6800 int res1
= SWIG_TMPOBJ
;
6802 int res2
= SWIG_TMPOBJ
;
6806 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6808 if (!wxPyCheckForApp()) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 wxDisplaySizeMM(arg1
,arg2
);
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_Py_Void();
6815 if (SWIG_IsTmpObj(res1
)) {
6816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6818 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6821 if (SWIG_IsTmpObj(res2
)) {
6822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6824 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6833 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6834 PyObject
*resultobj
= 0;
6837 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6839 if (!wxPyCheckForApp()) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= wxGetDisplaySizeMM();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6852 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6853 PyObject
*resultobj
= 0;
6854 int *arg1
= (int *) 0 ;
6855 int *arg2
= (int *) 0 ;
6856 int *arg3
= (int *) 0 ;
6857 int *arg4
= (int *) 0 ;
6859 int res1
= SWIG_TMPOBJ
;
6861 int res2
= SWIG_TMPOBJ
;
6863 int res3
= SWIG_TMPOBJ
;
6865 int res4
= SWIG_TMPOBJ
;
6871 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_Py_Void();
6880 if (SWIG_IsTmpObj(res1
)) {
6881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6883 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6886 if (SWIG_IsTmpObj(res2
)) {
6887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6889 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6892 if (SWIG_IsTmpObj(res3
)) {
6893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6898 if (SWIG_IsTmpObj(res4
)) {
6899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6901 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6902 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6910 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6911 PyObject
*resultobj
= 0;
6914 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6916 if (!wxPyCheckForApp()) SWIG_fail
;
6917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6918 result
= wxGetClientDisplayRect();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6929 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
= 0;
6931 wxCursor
*arg1
= 0 ;
6934 PyObject
* obj0
= 0 ;
6935 char * kwnames
[] = {
6936 (char *) "cursor", NULL
6939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6940 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6941 if (!SWIG_IsOK(res1
)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6947 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6949 if (!wxPyCheckForApp()) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6962 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6963 PyObject
*resultobj
= 0;
6966 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6968 if (!wxPyCheckForApp()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (void *)wxGetXDisplay();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6981 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= 0;
6983 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6986 PyObject
* obj0
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "cursor", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6994 if (!SWIG_IsOK(res1
)) {
6995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6997 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7000 if (!wxPyCheckForApp()) SWIG_fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7002 wxBeginBusyCursor(arg1
);
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= SWIG_Py_Void();
7013 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7014 PyObject
*resultobj
= 0;
7017 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7019 if (!wxPyCheckForApp()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= wxGetMousePosition();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7032 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxWindow
*result
= 0 ;
7036 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7038 if (!wxPyCheckForApp()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxWindow
*)FindWindowAtPointer();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= wxPyMake_wxObject(result
, 0);
7053 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxWindow
*result
= 0 ;
7057 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7059 if (!wxPyCheckForApp()) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (wxWindow
*)wxGetActiveWindow();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= wxPyMake_wxObject(result
, 0);
7074 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
= 0;
7077 wxWindow
*result
= 0 ;
7079 PyObject
* obj0
= 0 ;
7080 char * kwnames
[] = {
7084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7087 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7090 if (!wxPyCheckForApp()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
, 0);
7105 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
= 0;
7108 wxWindow
*result
= 0 ;
7110 PyObject
* obj0
= 0 ;
7111 char * kwnames
[] = {
7115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7118 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7121 if (!wxPyCheckForApp()) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7128 resultobj
= wxPyMake_wxObject(result
, 0);
7136 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
= 0;
7138 wxWindow
*arg1
= (wxWindow
*) 0 ;
7139 wxWindow
*result
= 0 ;
7142 PyObject
* obj0
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "win", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7154 if (!wxPyCheckForApp()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= wxPyMake_wxObject(result
, 0);
7169 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
= 0;
7171 wxString
*arg1
= 0 ;
7173 bool temp1
= false ;
7174 PyObject
* obj0
= 0 ;
7175 char * kwnames
[] = {
7176 (char *) "url", NULL
7179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7181 arg1
= wxString_in_helper(obj0
);
7182 if (arg1
== NULL
) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7208 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
= 0;
7214 PyObject
* obj0
= 0 ;
7215 char * kwnames
[] = {
7216 (char *) "key", NULL
7219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7221 if (!SWIG_IsOK(ecode1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7224 arg1
= static_cast< wxKeyCode
>(val1
);
7226 if (!wxPyCheckForApp()) SWIG_fail
;
7227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7228 result
= (bool)wxGetKeyState(arg1
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7241 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxMouseState
*result
= 0 ;
7245 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (wxMouseState
*)new wxMouseState();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7259 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7260 PyObject
*resultobj
= 0;
7261 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7264 PyObject
*swig_obj
[1] ;
7266 if (!args
) SWIG_fail
;
7268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7269 if (!SWIG_IsOK(res1
)) {
7270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7272 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= SWIG_Py_Void();
7287 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7288 PyObject
*resultobj
= 0;
7289 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7293 PyObject
*swig_obj
[1] ;
7295 if (!args
) SWIG_fail
;
7297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7298 if (!SWIG_IsOK(res1
)) {
7299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7301 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 result
= (int)(arg1
)->GetX();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_From_int(static_cast< int >(result
));
7315 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7321 PyObject
*swig_obj
[1] ;
7323 if (!args
) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7329 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (int)(arg1
)->GetY();
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_From_int(static_cast< int >(result
));
7343 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7357 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)(arg1
)->LeftDown();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7373 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7374 PyObject
*resultobj
= 0;
7375 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7379 PyObject
*swig_obj
[1] ;
7381 if (!args
) SWIG_fail
;
7383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7384 if (!SWIG_IsOK(res1
)) {
7385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7387 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)(arg1
)->MiddleDown();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7403 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7404 PyObject
*resultobj
= 0;
7405 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7409 PyObject
*swig_obj
[1] ;
7411 if (!args
) SWIG_fail
;
7413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7414 if (!SWIG_IsOK(res1
)) {
7415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7417 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7420 result
= (bool)(arg1
)->RightDown();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7433 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7434 PyObject
*resultobj
= 0;
7435 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7439 PyObject
*swig_obj
[1] ;
7441 if (!args
) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7447 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (bool)(arg1
)->ControlDown();
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7464 PyObject
*resultobj
= 0;
7465 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7469 PyObject
*swig_obj
[1] ;
7471 if (!args
) SWIG_fail
;
7473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7474 if (!SWIG_IsOK(res1
)) {
7475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7477 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 result
= (bool)(arg1
)->ShiftDown();
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7493 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7494 PyObject
*resultobj
= 0;
7495 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7499 PyObject
*swig_obj
[1] ;
7501 if (!args
) SWIG_fail
;
7503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7504 if (!SWIG_IsOK(res1
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7507 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)(arg1
)->AltDown();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7524 PyObject
*resultobj
= 0;
7525 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7529 PyObject
*swig_obj
[1] ;
7531 if (!args
) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7537 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (bool)(arg1
)->MetaDown();
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7554 PyObject
*resultobj
= 0;
7555 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7559 PyObject
*swig_obj
[1] ;
7561 if (!args
) SWIG_fail
;
7563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7564 if (!SWIG_IsOK(res1
)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7567 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (bool)(arg1
)->CmdDown();
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7583 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
= 0;
7585 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7591 PyObject
* obj0
= 0 ;
7592 PyObject
* obj1
= 0 ;
7593 char * kwnames
[] = {
7594 (char *) "self",(char *) "x", NULL
7597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7602 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7603 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7604 if (!SWIG_IsOK(ecode2
)) {
7605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7607 arg2
= static_cast< int >(val2
);
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_Py_Void();
7621 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
= 0;
7623 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 char * kwnames
[] = {
7632 (char *) "self",(char *) "y", NULL
7635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7637 if (!SWIG_IsOK(res1
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7640 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7642 if (!SWIG_IsOK(ecode2
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7645 arg2
= static_cast< int >(val2
);
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 wxPyEndAllowThreads(__tstate
);
7650 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_Py_Void();
7659 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
= 0;
7661 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7668 PyObject
* obj1
= 0 ;
7669 char * kwnames
[] = {
7670 (char *) "self",(char *) "down", NULL
7673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7675 if (!SWIG_IsOK(res1
)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7678 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7679 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7680 if (!SWIG_IsOK(ecode2
)) {
7681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7683 arg2
= static_cast< bool >(val2
);
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 (arg1
)->SetLeftDown(arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_Py_Void();
7697 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
= 0;
7699 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7707 char * kwnames
[] = {
7708 (char *) "self",(char *) "down", NULL
7711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7713 if (!SWIG_IsOK(res1
)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7716 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7717 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7718 if (!SWIG_IsOK(ecode2
)) {
7719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7721 arg2
= static_cast< bool >(val2
);
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 (arg1
)->SetMiddleDown(arg2
);
7725 wxPyEndAllowThreads(__tstate
);
7726 if (PyErr_Occurred()) SWIG_fail
;
7728 resultobj
= SWIG_Py_Void();
7735 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7736 PyObject
*resultobj
= 0;
7737 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "down", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7754 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7755 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7756 if (!SWIG_IsOK(ecode2
)) {
7757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7759 arg2
= static_cast< bool >(val2
);
7761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7762 (arg1
)->SetRightDown(arg2
);
7763 wxPyEndAllowThreads(__tstate
);
7764 if (PyErr_Occurred()) SWIG_fail
;
7766 resultobj
= SWIG_Py_Void();
7773 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
= 0;
7775 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "self",(char *) "down", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7792 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7793 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7794 if (!SWIG_IsOK(ecode2
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7797 arg2
= static_cast< bool >(val2
);
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 (arg1
)->SetControlDown(arg2
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_Py_Void();
7811 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
= 0;
7813 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7820 PyObject
* obj1
= 0 ;
7821 char * kwnames
[] = {
7822 (char *) "self",(char *) "down", NULL
7825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7827 if (!SWIG_IsOK(res1
)) {
7828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7830 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7831 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7832 if (!SWIG_IsOK(ecode2
)) {
7833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7835 arg2
= static_cast< bool >(val2
);
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 (arg1
)->SetShiftDown(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= SWIG_Py_Void();
7849 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
= 0;
7851 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 char * kwnames
[] = {
7860 (char *) "self",(char *) "down", NULL
7863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7868 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7870 if (!SWIG_IsOK(ecode2
)) {
7871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7873 arg2
= static_cast< bool >(val2
);
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 (arg1
)->SetAltDown(arg2
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_Py_Void();
7887 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
= 0;
7889 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7896 PyObject
* obj1
= 0 ;
7897 char * kwnames
[] = {
7898 (char *) "self",(char *) "down", NULL
7901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7906 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7907 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7908 if (!SWIG_IsOK(ecode2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7911 arg2
= static_cast< bool >(val2
);
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->SetMetaDown(arg2
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_Py_Void();
7925 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7928 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7929 return SWIG_Py_Void();
7932 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 return SWIG_Python_InitShadowInstance(args
);
7936 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7937 PyObject
*resultobj
= 0;
7938 wxMouseState result
;
7940 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= wxGetMouseState();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7954 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7955 PyObject
*resultobj
= 0;
7957 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7959 if (!wxPyCheckForApp()) SWIG_fail
;
7960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7961 wxWakeUpMainThread();
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= SWIG_Py_Void();
7972 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7973 PyObject
*resultobj
= 0;
7975 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7977 if (!wxPyCheckForApp()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_Py_Void();
7990 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7991 PyObject
*resultobj
= 0;
7993 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7995 if (!wxPyCheckForApp()) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= SWIG_Py_Void();
8008 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8009 PyObject
*resultobj
= 0;
8010 wxMutexGuiLocker
*result
= 0 ;
8012 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8014 if (!wxPyCheckForApp()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8027 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8028 PyObject
*resultobj
= 0;
8029 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8032 PyObject
*swig_obj
[1] ;
8034 if (!args
) SWIG_fail
;
8036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8037 if (!SWIG_IsOK(res1
)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8040 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 resultobj
= SWIG_Py_Void();
8055 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8058 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8059 return SWIG_Py_Void();
8062 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 return SWIG_Python_InitShadowInstance(args
);
8066 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 PyObject
*resultobj
= 0;
8070 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (bool)wxThread_IsMain();
8074 wxPyEndAllowThreads(__tstate
);
8075 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8086 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
= 0;
8088 wxString
*arg1
= 0 ;
8089 wxToolTip
*result
= 0 ;
8090 bool temp1
= false ;
8091 PyObject
* obj0
= 0 ;
8092 char * kwnames
[] = {
8093 (char *) "tip", NULL
8096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8098 arg1
= wxString_in_helper(obj0
);
8099 if (arg1
== NULL
) SWIG_fail
;
8103 if (!wxPyCheckForApp()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8124 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8125 PyObject
*resultobj
= 0;
8126 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8129 PyObject
*swig_obj
[1] ;
8131 if (!args
) SWIG_fail
;
8133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8134 if (!SWIG_IsOK(res1
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8137 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_Py_Void();
8152 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
= 0;
8154 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8155 wxString
*arg2
= 0 ;
8158 bool temp2
= false ;
8159 PyObject
* obj0
= 0 ;
8160 PyObject
* obj1
= 0 ;
8161 char * kwnames
[] = {
8162 (char *) "self",(char *) "tip", NULL
8165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8170 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetTip((wxString
const &)*arg2
);
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= SWIG_Py_Void();
8197 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8198 PyObject
*resultobj
= 0;
8199 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8203 PyObject
*swig_obj
[1] ;
8205 if (!args
) SWIG_fail
;
8207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8208 if (!SWIG_IsOK(res1
)) {
8209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8211 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8214 result
= (arg1
)->GetTip();
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8231 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8232 PyObject
*resultobj
= 0;
8233 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8234 wxWindow
*result
= 0 ;
8237 PyObject
*swig_obj
[1] ;
8239 if (!args
) SWIG_fail
;
8241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8242 if (!SWIG_IsOK(res1
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8245 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 result
= (wxWindow
*)(arg1
)->GetWindow();
8249 wxPyEndAllowThreads(__tstate
);
8250 if (PyErr_Occurred()) SWIG_fail
;
8253 resultobj
= wxPyMake_wxObject(result
, 0);
8261 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= 0;
8266 PyObject
* obj0
= 0 ;
8267 char * kwnames
[] = {
8268 (char *) "flag", NULL
8271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8272 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8273 if (!SWIG_IsOK(ecode1
)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8276 arg1
= static_cast< bool >(val1
);
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 wxToolTip::Enable(arg1
);
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= SWIG_Py_Void();
8290 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= 0;
8295 PyObject
* obj0
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "milliseconds", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8301 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8302 if (!SWIG_IsOK(ecode1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8305 arg1
= static_cast< long >(val1
);
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 wxToolTip::SetDelay(arg1
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_Py_Void();
8319 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8322 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8323 return SWIG_Py_Void();
8326 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8327 return SWIG_Python_InitShadowInstance(args
);
8330 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
*resultobj
= 0;
8332 wxWindow
*arg1
= (wxWindow
*) 0 ;
8334 wxCaret
*result
= 0 ;
8338 PyObject
* obj0
= 0 ;
8339 PyObject
* obj1
= 0 ;
8340 char * kwnames
[] = {
8341 (char *) "window",(char *) "size", NULL
8344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8346 if (!SWIG_IsOK(res1
)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8349 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8352 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8355 if (!wxPyCheckForApp()) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8368 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 PyObject
*resultobj
= 0;
8370 wxCaret
*arg1
= (wxCaret
*) 0 ;
8373 PyObject
*swig_obj
[1] ;
8375 if (!args
) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8381 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8397 PyObject
*resultobj
= 0;
8398 wxCaret
*arg1
= (wxCaret
*) 0 ;
8401 PyObject
*swig_obj
[1] ;
8403 if (!args
) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8409 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 wxCaret_Destroy(arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= SWIG_Py_Void();
8423 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8424 PyObject
*resultobj
= 0;
8425 wxCaret
*arg1
= (wxCaret
*) 0 ;
8429 PyObject
*swig_obj
[1] ;
8431 if (!args
) SWIG_fail
;
8433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8434 if (!SWIG_IsOK(res1
)) {
8435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8437 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (bool)(arg1
)->IsOk();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8453 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8454 PyObject
*resultobj
= 0;
8455 wxCaret
*arg1
= (wxCaret
*) 0 ;
8459 PyObject
*swig_obj
[1] ;
8461 if (!args
) SWIG_fail
;
8463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8464 if (!SWIG_IsOK(res1
)) {
8465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8467 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= (bool)(arg1
)->IsVisible();
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8483 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8484 PyObject
*resultobj
= 0;
8485 wxCaret
*arg1
= (wxCaret
*) 0 ;
8489 PyObject
*swig_obj
[1] ;
8491 if (!args
) SWIG_fail
;
8493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8494 if (!SWIG_IsOK(res1
)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8497 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (arg1
)->GetPosition();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8511 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8512 PyObject
*resultobj
= 0;
8513 wxCaret
*arg1
= (wxCaret
*) 0 ;
8514 int *arg2
= (int *) 0 ;
8515 int *arg3
= (int *) 0 ;
8519 int res2
= SWIG_TMPOBJ
;
8521 int res3
= SWIG_TMPOBJ
;
8522 PyObject
*swig_obj
[1] ;
8526 if (!args
) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8532 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 (arg1
)->GetPosition(arg2
,arg3
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_Py_Void();
8540 if (SWIG_IsTmpObj(res2
)) {
8541 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8543 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8544 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8546 if (SWIG_IsTmpObj(res3
)) {
8547 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8549 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8550 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8558 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8559 PyObject
*resultobj
= 0;
8560 wxCaret
*arg1
= (wxCaret
*) 0 ;
8564 PyObject
*swig_obj
[1] ;
8566 if (!args
) SWIG_fail
;
8568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8569 if (!SWIG_IsOK(res1
)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8572 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8575 result
= (arg1
)->GetSize();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8586 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8587 PyObject
*resultobj
= 0;
8588 wxCaret
*arg1
= (wxCaret
*) 0 ;
8589 int *arg2
= (int *) 0 ;
8590 int *arg3
= (int *) 0 ;
8594 int res2
= SWIG_TMPOBJ
;
8596 int res3
= SWIG_TMPOBJ
;
8597 PyObject
*swig_obj
[1] ;
8601 if (!args
) SWIG_fail
;
8603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8604 if (!SWIG_IsOK(res1
)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8607 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 (arg1
)->GetSize(arg2
,arg3
);
8611 wxPyEndAllowThreads(__tstate
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 resultobj
= SWIG_Py_Void();
8615 if (SWIG_IsTmpObj(res2
)) {
8616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8618 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8621 if (SWIG_IsTmpObj(res3
)) {
8622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8624 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8633 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 PyObject
*resultobj
= 0;
8635 wxCaret
*arg1
= (wxCaret
*) 0 ;
8636 wxWindow
*result
= 0 ;
8639 PyObject
*swig_obj
[1] ;
8641 if (!args
) SWIG_fail
;
8643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8644 if (!SWIG_IsOK(res1
)) {
8645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8647 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (wxWindow
*)(arg1
)->GetWindow();
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= wxPyMake_wxObject(result
, 0);
8663 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxCaret
*arg1
= (wxCaret
*) 0 ;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "x",(char *) "y", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8686 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8688 if (!SWIG_IsOK(ecode2
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8691 arg2
= static_cast< int >(val2
);
8692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8693 if (!SWIG_IsOK(ecode3
)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8696 arg3
= static_cast< int >(val3
);
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 (arg1
)->Move(arg2
,arg3
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= SWIG_Py_Void();
8710 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
= 0;
8712 wxCaret
*arg1
= (wxCaret
*) 0 ;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8719 char * kwnames
[] = {
8720 (char *) "self",(char *) "pt", NULL
8723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8728 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8731 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->Move((wxPoint
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxCaret
*arg1
= (wxCaret
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8759 PyObject
* obj2
= 0 ;
8760 char * kwnames
[] = {
8761 (char *) "self",(char *) "width",(char *) "height", NULL
8764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8769 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8771 if (!SWIG_IsOK(ecode2
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8774 arg2
= static_cast< int >(val2
);
8775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8776 if (!SWIG_IsOK(ecode3
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8779 arg3
= static_cast< int >(val3
);
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetSize(arg2
,arg3
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_Py_Void();
8793 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
= 0;
8795 wxCaret
*arg1
= (wxCaret
*) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "size", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8811 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->SetSize((wxSize
const &)*arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_Py_Void();
8829 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
= 0;
8831 wxCaret
*arg1
= (wxCaret
*) 0 ;
8832 int arg2
= (int) true ;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "self",(char *) "show", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8848 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8851 if (!SWIG_IsOK(ecode2
)) {
8852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8854 arg2
= static_cast< int >(val2
);
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= SWIG_Py_Void();
8869 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8870 PyObject
*resultobj
= 0;
8871 wxCaret
*arg1
= (wxCaret
*) 0 ;
8874 PyObject
*swig_obj
[1] ;
8876 if (!args
) SWIG_fail
;
8878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8879 if (!SWIG_IsOK(res1
)) {
8880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8882 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_Py_Void();
8896 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8897 PyObject
*resultobj
= 0;
8900 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (int)wxCaret::GetBlinkTime();
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_From_int(static_cast< int >(result
));
8914 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8919 PyObject
* obj0
= 0 ;
8920 char * kwnames
[] = {
8921 (char *) "milliseconds", NULL
8924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8925 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8926 if (!SWIG_IsOK(ecode1
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8929 arg1
= static_cast< int >(val1
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 wxCaret::SetBlinkTime(arg1
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= SWIG_Py_Void();
8943 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8946 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8947 return SWIG_Py_Void();
8950 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 return SWIG_Python_InitShadowInstance(args
);
8954 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
*resultobj
= 0;
8956 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8957 wxBusyCursor
*result
= 0 ;
8960 PyObject
* obj0
= 0 ;
8961 char * kwnames
[] = {
8962 (char *) "cursor", NULL
8965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8968 if (!SWIG_IsOK(res1
)) {
8969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8971 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8974 if (!wxPyCheckForApp()) SWIG_fail
;
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8987 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8988 PyObject
*resultobj
= 0;
8989 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8992 PyObject
*swig_obj
[1] ;
8994 if (!args
) SWIG_fail
;
8996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8997 if (!SWIG_IsOK(res1
)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9000 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_Py_Void();
9015 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9018 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9019 return SWIG_Py_Void();
9022 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9023 return SWIG_Python_InitShadowInstance(args
);
9026 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
= 0;
9028 wxWindow
*arg1
= (wxWindow
*) NULL
;
9029 wxWindowDisabler
*result
= 0 ;
9032 PyObject
* obj0
= 0 ;
9033 char * kwnames
[] = {
9034 (char *) "winToSkip", NULL
9037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9040 if (!SWIG_IsOK(res1
)) {
9041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9043 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9046 if (!wxPyCheckForApp()) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9059 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9060 PyObject
*resultobj
= 0;
9061 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9064 PyObject
*swig_obj
[1] ;
9066 if (!args
) SWIG_fail
;
9068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9069 if (!SWIG_IsOK(res1
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9072 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9090 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9091 return SWIG_Py_Void();
9094 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9095 return SWIG_Python_InitShadowInstance(args
);
9098 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
= 0;
9100 wxString
*arg1
= 0 ;
9101 wxBusyInfo
*result
= 0 ;
9102 bool temp1
= false ;
9103 PyObject
* obj0
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "message", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9110 arg1
= wxString_in_helper(obj0
);
9111 if (arg1
== NULL
) SWIG_fail
;
9115 if (!wxPyCheckForApp()) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9136 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9137 PyObject
*resultobj
= 0;
9138 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9141 PyObject
*swig_obj
[1] ;
9143 if (!args
) SWIG_fail
;
9145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9146 if (!SWIG_IsOK(res1
)) {
9147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9149 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9164 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9166 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9167 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9168 return SWIG_Py_Void();
9171 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9172 return SWIG_Python_InitShadowInstance(args
);
9175 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9176 PyObject
*resultobj
= 0;
9177 wxStopWatch
*result
= 0 ;
9179 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxStopWatch
*)new wxStopWatch();
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9193 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9196 long arg2
= (long) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "t0", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9212 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9215 if (!SWIG_IsOK(ecode2
)) {
9216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9218 arg2
= static_cast< long >(val2
);
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 (arg1
)->Start(arg2
);
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_Py_Void();
9233 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9234 PyObject
*resultobj
= 0;
9235 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9238 PyObject
*swig_obj
[1] ;
9240 if (!args
) SWIG_fail
;
9242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9243 if (!SWIG_IsOK(res1
)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9246 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_Py_Void();
9260 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9261 PyObject
*resultobj
= 0;
9262 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9265 PyObject
*swig_obj
[1] ;
9267 if (!args
) SWIG_fail
;
9269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9270 if (!SWIG_IsOK(res1
)) {
9271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9273 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_Py_Void();
9287 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9288 PyObject
*resultobj
= 0;
9289 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9293 PyObject
*swig_obj
[1] ;
9295 if (!args
) SWIG_fail
;
9297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9298 if (!SWIG_IsOK(res1
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9301 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_From_long(static_cast< long >(result
));
9315 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9318 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9319 return SWIG_Py_Void();
9322 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9323 return SWIG_Python_InitShadowInstance(args
);
9326 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
= 0;
9328 int arg1
= (int) 9 ;
9329 int arg2
= (int) wxID_FILE1
;
9330 wxFileHistory
*result
= 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 char * kwnames
[] = {
9338 (char *) "maxFiles",(char *) "idBase", NULL
9341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9344 if (!SWIG_IsOK(ecode1
)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9347 arg1
= static_cast< int >(val1
);
9350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9351 if (!SWIG_IsOK(ecode2
)) {
9352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9354 arg2
= static_cast< int >(val2
);
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9369 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9370 PyObject
*resultobj
= 0;
9371 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9374 PyObject
*swig_obj
[1] ;
9376 if (!args
) SWIG_fail
;
9378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9379 if (!SWIG_IsOK(res1
)) {
9380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9382 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= SWIG_Py_Void();
9397 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
= 0;
9399 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9400 wxString
*arg2
= 0 ;
9403 bool temp2
= false ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "file", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9415 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9417 arg2
= wxString_in_helper(obj1
);
9418 if (arg2
== NULL
) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= 0;
9444 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9450 PyObject
* obj0
= 0 ;
9451 PyObject
* obj1
= 0 ;
9452 char * kwnames
[] = {
9453 (char *) "self",(char *) "i", NULL
9456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9458 if (!SWIG_IsOK(res1
)) {
9459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9461 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9463 if (!SWIG_IsOK(ecode2
)) {
9464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9466 arg2
= static_cast< int >(val2
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 (arg1
)->RemoveFileFromHistory(arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9494 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_int(static_cast< int >(result
));
9508 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
= 0;
9510 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9511 wxMenu
*arg2
= (wxMenu
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9517 PyObject
* obj1
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "menu", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9527 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9529 if (!SWIG_IsOK(res2
)) {
9530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9532 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->UseMenu(arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_Py_Void();
9546 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
= 0;
9548 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9549 wxMenu
*arg2
= (wxMenu
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 char * kwnames
[] = {
9557 (char *) "self",(char *) "menu", NULL
9560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9562 if (!SWIG_IsOK(res1
)) {
9563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9565 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9567 if (!SWIG_IsOK(res2
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9570 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 (arg1
)->RemoveMenu(arg2
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_Py_Void();
9584 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
= 0;
9586 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9587 wxConfigBase
*arg2
= 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9594 char * kwnames
[] = {
9595 (char *) "self",(char *) "config", NULL
9598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9600 if (!SWIG_IsOK(res1
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9603 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9605 if (!SWIG_IsOK(res2
)) {
9606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9611 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->Load(*arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9628 wxConfigBase
*arg2
= 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "config", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9644 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9646 if (!SWIG_IsOK(res2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9652 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->Save(*arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9667 PyObject
*resultobj
= 0;
9668 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9671 PyObject
*swig_obj
[1] ;
9673 if (!args
) SWIG_fail
;
9675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9676 if (!SWIG_IsOK(res1
)) {
9677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9679 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 (arg1
)->AddFilesToMenu();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_Py_Void();
9693 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
= 0;
9695 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9696 wxMenu
*arg2
= (wxMenu
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9703 char * kwnames
[] = {
9704 (char *) "self",(char *) "menu", NULL
9707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9709 if (!SWIG_IsOK(res1
)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9712 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9714 if (!SWIG_IsOK(res2
)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9717 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 (arg1
)->AddFilesToMenu(arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 resultobj
= SWIG_Py_Void();
9731 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
= 0;
9733 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 char * kwnames
[] = {
9743 (char *) "self",(char *) "i", NULL
9746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9751 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9753 if (!SWIG_IsOK(ecode2
)) {
9754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9756 arg2
= static_cast< int >(val2
);
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9776 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9777 PyObject
*resultobj
= 0;
9778 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9782 PyObject
*swig_obj
[1] ;
9784 if (!args
) SWIG_fail
;
9786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9787 if (!SWIG_IsOK(res1
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9790 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_From_int(static_cast< int >(result
));
9804 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9807 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9808 return SWIG_Py_Void();
9811 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9812 return SWIG_Python_InitShadowInstance(args
);
9815 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxString
*arg1
= 0 ;
9818 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9819 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9820 wxSingleInstanceChecker
*result
= 0 ;
9821 bool temp1
= false ;
9822 bool temp2
= false ;
9823 PyObject
* obj0
= 0 ;
9824 PyObject
* obj1
= 0 ;
9825 char * kwnames
[] = {
9826 (char *) "name",(char *) "path", NULL
9829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9831 arg1
= wxString_in_helper(obj0
);
9832 if (arg1
== NULL
) SWIG_fail
;
9837 arg2
= wxString_in_helper(obj1
);
9838 if (arg2
== NULL
) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9871 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9872 PyObject
*resultobj
= 0;
9873 wxSingleInstanceChecker
*result
= 0 ;
9875 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9889 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9890 PyObject
*resultobj
= 0;
9891 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9894 PyObject
*swig_obj
[1] ;
9896 if (!args
) SWIG_fail
;
9898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9899 if (!SWIG_IsOK(res1
)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9902 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_Py_Void();
9917 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= 0;
9919 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9920 wxString
*arg2
= 0 ;
9921 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9922 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9926 bool temp2
= false ;
9927 bool temp3
= false ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9930 PyObject
* obj2
= 0 ;
9931 char * kwnames
[] = {
9932 (char *) "self",(char *) "name",(char *) "path", NULL
9935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9937 if (!SWIG_IsOK(res1
)) {
9938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9940 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9942 arg2
= wxString_in_helper(obj1
);
9943 if (arg2
== NULL
) SWIG_fail
;
9948 arg3
= wxString_in_helper(obj2
);
9949 if (arg3
== NULL
) SWIG_fail
;
9954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9955 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9984 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9990 PyObject
*swig_obj
[1] ;
9992 if (!args
) SWIG_fail
;
9994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9995 if (!SWIG_IsOK(res1
)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9998 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10001 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10014 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10017 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10018 return SWIG_Py_Void();
10021 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10022 return SWIG_Python_InitShadowInstance(args
);
10025 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
= 0;
10027 wxWindow
*arg1
= (wxWindow
*) 0 ;
10034 PyObject
* obj0
= 0 ;
10035 PyObject
* obj1
= 0 ;
10036 char * kwnames
[] = {
10037 (char *) "window",(char *) "dc", NULL
10040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10042 if (!SWIG_IsOK(res1
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10047 if (!SWIG_IsOK(res2
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10053 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10057 wxPyEndAllowThreads(__tstate
);
10058 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10069 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10070 PyObject
*resultobj
= 0;
10071 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10074 PyObject
*swig_obj
[1] ;
10076 if (!args
) SWIG_fail
;
10077 swig_obj
[0] = args
;
10078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10079 if (!SWIG_IsOK(res1
)) {
10080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10082 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10098 PyObject
*resultobj
= 0;
10099 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10103 PyObject
*swig_obj
[1] ;
10105 if (!args
) SWIG_fail
;
10106 swig_obj
[0] = args
;
10107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10108 if (!SWIG_IsOK(res1
)) {
10109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10111 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (arg1
)->GetTip();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10122 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10131 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10132 PyObject
*resultobj
= 0;
10133 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10137 PyObject
*swig_obj
[1] ;
10139 if (!args
) SWIG_fail
;
10140 swig_obj
[0] = args
;
10141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10142 if (!SWIG_IsOK(res1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10145 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (size_t)(arg1
)->GetCurrentTip();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10159 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= 0;
10161 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10162 wxString
*arg2
= 0 ;
10166 bool temp2
= false ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "tip", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10178 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10180 arg2
= wxString_in_helper(obj1
);
10181 if (arg2
== NULL
) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10211 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10214 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10215 return SWIG_Py_Void();
10218 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
= 0;
10221 wxPyTipProvider
*result
= 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "currentTip", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10230 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10231 if (!SWIG_IsOK(ecode1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10234 arg1
= static_cast< size_t >(val1
);
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10248 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= 0;
10250 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10251 PyObject
*arg2
= (PyObject
*) 0 ;
10252 PyObject
*arg3
= (PyObject
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 PyObject
* obj1
= 0 ;
10257 PyObject
* obj2
= 0 ;
10258 char * kwnames
[] = {
10259 (char *) "self",(char *) "self",(char *) "_class", NULL
10262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10264 if (!SWIG_IsOK(res1
)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10267 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= SWIG_Py_Void();
10283 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10286 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10287 return SWIG_Py_Void();
10290 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10291 return SWIG_Python_InitShadowInstance(args
);
10294 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
= 0;
10296 wxWindow
*arg1
= (wxWindow
*) 0 ;
10297 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10298 bool arg3
= (bool) true ;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 PyObject
* obj2
= 0 ;
10309 char * kwnames
[] = {
10310 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10315 if (!SWIG_IsOK(res1
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10320 if (!SWIG_IsOK(res2
)) {
10321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10323 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10325 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10326 if (!SWIG_IsOK(ecode3
)) {
10327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10329 arg3
= static_cast< bool >(val3
);
10332 if (!wxPyCheckForApp()) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10347 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
= 0;
10349 wxString
*arg1
= 0 ;
10351 wxTipProvider
*result
= 0 ;
10352 bool temp1
= false ;
10355 PyObject
* obj0
= 0 ;
10356 PyObject
* obj1
= 0 ;
10357 char * kwnames
[] = {
10358 (char *) "filename",(char *) "currentTip", NULL
10361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10363 arg1
= wxString_in_helper(obj0
);
10364 if (arg1
== NULL
) SWIG_fail
;
10367 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10368 if (!SWIG_IsOK(ecode2
)) {
10369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10371 arg2
= static_cast< size_t >(val2
);
10373 if (!wxPyCheckForApp()) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10394 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10397 int arg2
= (int) wxID_ANY
;
10398 wxPyTimer
*result
= 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "owner",(char *) "id", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10415 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10419 if (!SWIG_IsOK(ecode2
)) {
10420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10422 arg2
= static_cast< int >(val2
);
10425 if (!wxPyCheckForApp()) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10438 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10439 PyObject
*resultobj
= 0;
10440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10443 PyObject
*swig_obj
[1] ;
10445 if (!args
) SWIG_fail
;
10446 swig_obj
[0] = args
;
10447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10448 if (!SWIG_IsOK(res1
)) {
10449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10451 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_Py_Void();
10466 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10467 PyObject
*resultobj
= 0;
10468 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10469 PyObject
*arg2
= (PyObject
*) 0 ;
10470 PyObject
*arg3
= (PyObject
*) 0 ;
10471 int arg4
= (int) 1 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 PyObject
* obj3
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10489 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10493 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10494 if (!SWIG_IsOK(ecode4
)) {
10495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10497 arg4
= static_cast< int >(val4
);
10500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10501 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10502 wxPyEndAllowThreads(__tstate
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= SWIG_Py_Void();
10512 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
= 0;
10514 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10515 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10516 int arg3
= (int) wxID_ANY
;
10523 PyObject
* obj0
= 0 ;
10524 PyObject
* obj1
= 0 ;
10525 PyObject
* obj2
= 0 ;
10526 char * kwnames
[] = {
10527 (char *) "self",(char *) "owner",(char *) "id", NULL
10530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10532 if (!SWIG_IsOK(res1
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10535 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10537 if (!SWIG_IsOK(res2
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10540 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10543 if (!SWIG_IsOK(ecode3
)) {
10544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10546 arg3
= static_cast< int >(val3
);
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetOwner(arg2
,arg3
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_Py_Void();
10561 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10562 PyObject
*resultobj
= 0;
10563 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10564 wxEvtHandler
*result
= 0 ;
10567 PyObject
*swig_obj
[1] ;
10569 if (!args
) SWIG_fail
;
10570 swig_obj
[0] = args
;
10571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10572 if (!SWIG_IsOK(res1
)) {
10573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10575 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= wxPyMake_wxObject(result
, 0);
10591 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10594 int arg2
= (int) -1 ;
10595 bool arg3
= (bool) false ;
10603 PyObject
* obj0
= 0 ;
10604 PyObject
* obj1
= 0 ;
10605 PyObject
* obj2
= 0 ;
10606 char * kwnames
[] = {
10607 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10612 if (!SWIG_IsOK(res1
)) {
10613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10615 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10618 if (!SWIG_IsOK(ecode2
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10621 arg2
= static_cast< int >(val2
);
10624 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10625 if (!SWIG_IsOK(ecode3
)) {
10626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10628 arg3
= static_cast< bool >(val3
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10645 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10646 PyObject
*resultobj
= 0;
10647 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10658 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_Py_Void();
10672 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10673 PyObject
*resultobj
= 0;
10674 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10677 PyObject
*swig_obj
[1] ;
10679 if (!args
) SWIG_fail
;
10680 swig_obj
[0] = args
;
10681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10682 if (!SWIG_IsOK(res1
)) {
10683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10685 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 resultobj
= SWIG_Py_Void();
10699 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10700 PyObject
*resultobj
= 0;
10701 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10705 PyObject
*swig_obj
[1] ;
10707 if (!args
) SWIG_fail
;
10708 swig_obj
[0] = args
;
10709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10710 if (!SWIG_IsOK(res1
)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10713 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10730 PyObject
*resultobj
= 0;
10731 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10735 PyObject
*swig_obj
[1] ;
10737 if (!args
) SWIG_fail
;
10738 swig_obj
[0] = args
;
10739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10740 if (!SWIG_IsOK(res1
)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10743 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_From_int(static_cast< int >(result
));
10757 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10758 PyObject
*resultobj
= 0;
10759 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10763 PyObject
*swig_obj
[1] ;
10765 if (!args
) SWIG_fail
;
10766 swig_obj
[0] = args
;
10767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10771 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= SWIG_From_int(static_cast< int >(result
));
10785 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10786 PyObject
*resultobj
= 0;
10787 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10791 PyObject
*swig_obj
[1] ;
10793 if (!args
) SWIG_fail
;
10794 swig_obj
[0] = args
;
10795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10796 if (!SWIG_IsOK(res1
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10799 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10803 wxPyEndAllowThreads(__tstate
);
10804 if (PyErr_Occurred()) SWIG_fail
;
10807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10819 return SWIG_Py_Void();
10822 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10823 return SWIG_Python_InitShadowInstance(args
);
10826 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
= 0;
10828 int arg1
= (int) 0 ;
10829 int arg2
= (int) 0 ;
10830 wxTimerEvent
*result
= 0 ;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char * kwnames
[] = {
10838 (char *) "timerid",(char *) "interval", NULL
10841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10843 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10844 if (!SWIG_IsOK(ecode1
)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10847 arg1
= static_cast< int >(val1
);
10850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10851 if (!SWIG_IsOK(ecode2
)) {
10852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10854 arg2
= static_cast< int >(val2
);
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10869 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10870 PyObject
*resultobj
= 0;
10871 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10875 PyObject
*swig_obj
[1] ;
10877 if (!args
) SWIG_fail
;
10878 swig_obj
[0] = args
;
10879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10883 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10887 wxPyEndAllowThreads(__tstate
);
10888 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= SWIG_From_int(static_cast< int >(result
));
10897 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10900 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10901 return SWIG_Py_Void();
10904 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10905 return SWIG_Python_InitShadowInstance(args
);
10908 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10909 PyObject
*resultobj
= 0;
10910 wxTimer
*arg1
= 0 ;
10911 wxTimerRunner
*result
= 0 ;
10915 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10923 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10925 if (!wxPyCheckForApp()) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10938 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10939 PyObject
*resultobj
= 0;
10940 wxTimer
*arg1
= 0 ;
10942 bool arg3
= (bool) false ;
10943 wxTimerRunner
*result
= 0 ;
10951 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10959 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10960 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10961 if (!SWIG_IsOK(ecode2
)) {
10962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10964 arg2
= static_cast< int >(val2
);
10966 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10967 if (!SWIG_IsOK(ecode3
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10970 arg3
= static_cast< bool >(val3
);
10973 if (!wxPyCheckForApp()) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10976 wxPyEndAllowThreads(__tstate
);
10977 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10986 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10990 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10993 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10995 if ((argc
>= 2) && (argc
<= 3)) {
10996 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11000 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11005 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11006 PyObject
*resultobj
= 0;
11007 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11010 PyObject
*swig_obj
[1] ;
11012 if (!args
) SWIG_fail
;
11013 swig_obj
[0] = args
;
11014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11015 if (!SWIG_IsOK(res1
)) {
11016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11018 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_Py_Void();
11033 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
= 0;
11035 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11037 bool arg3
= (bool) false ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char * kwnames
[] = {
11048 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11053 if (!SWIG_IsOK(res1
)) {
11054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11056 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11058 if (!SWIG_IsOK(ecode2
)) {
11059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11061 arg2
= static_cast< int >(val2
);
11063 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11064 if (!SWIG_IsOK(ecode3
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11067 arg3
= static_cast< bool >(val3
);
11070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11071 (arg1
)->Start(arg2
,arg3
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= SWIG_Py_Void();
11082 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11085 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11086 return SWIG_Py_Void();
11089 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11090 return SWIG_Python_InitShadowInstance(args
);
11093 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11094 PyObject
*resultobj
= 0;
11095 wxLog
*result
= 0 ;
11097 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (wxLog
*)new wxLog();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
11111 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11112 PyObject
*resultobj
= 0;
11113 wxLog
*arg1
= (wxLog
*) 0 ;
11116 PyObject
*swig_obj
[1] ;
11118 if (!args
) SWIG_fail
;
11119 swig_obj
[0] = args
;
11120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11121 if (!SWIG_IsOK(res1
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11124 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_Py_Void();
11139 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11140 PyObject
*resultobj
= 0;
11143 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)wxLog::IsEnabled();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
= 0;
11161 bool arg1
= (bool) true ;
11165 PyObject
* obj0
= 0 ;
11166 char * kwnames
[] = {
11167 (char *) "doIt", NULL
11170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11172 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11173 if (!SWIG_IsOK(ecode1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11176 arg1
= static_cast< bool >(val1
);
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)wxLog::EnableLogging(arg1
);
11181 wxPyEndAllowThreads(__tstate
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11193 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
= 0;
11196 wxChar
*arg2
= (wxChar
*) 0 ;
11198 unsigned long val1
;
11202 unsigned int val3
;
11204 PyObject
* obj0
= 0 ;
11205 PyObject
* obj1
= 0 ;
11206 PyObject
* obj2
= 0 ;
11207 char * kwnames
[] = {
11208 (char *) "level",(char *) "szString",(char *) "t", NULL
11211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11212 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11213 if (!SWIG_IsOK(ecode1
)) {
11214 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11216 arg1
= static_cast< wxLogLevel
>(val1
);
11217 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11218 if (!SWIG_IsOK(res2
)) {
11219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11221 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11222 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11223 if (!SWIG_IsOK(ecode3
)) {
11224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11226 arg3
= static_cast< time_t >(val3
);
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= SWIG_Py_Void();
11240 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11241 PyObject
*resultobj
= 0;
11242 wxLog
*arg1
= (wxLog
*) 0 ;
11245 PyObject
*swig_obj
[1] ;
11247 if (!args
) SWIG_fail
;
11248 swig_obj
[0] = args
;
11249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11253 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_Py_Void();
11267 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11268 PyObject
*resultobj
= 0;
11270 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11273 wxLog::FlushActive();
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 resultobj
= SWIG_Py_Void();
11284 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11285 PyObject
*resultobj
= 0;
11286 wxLog
*result
= 0 ;
11288 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (wxLog
*)wxLog::GetActiveTarget();
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11302 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
= 0;
11304 wxLog
*arg1
= (wxLog
*) 0 ;
11305 wxLog
*result
= 0 ;
11307 PyObject
* obj0
= 0 ;
11308 char * kwnames
[] = {
11309 (char *) "pLogger", NULL
11312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11313 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11314 if (!SWIG_IsOK(res1
)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11320 wxPyEndAllowThreads(__tstate
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11330 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11331 PyObject
*resultobj
= 0;
11333 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= SWIG_Py_Void();
11347 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11348 PyObject
*resultobj
= 0;
11350 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 resultobj
= SWIG_Py_Void();
11364 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
= 0;
11366 bool arg1
= (bool) true ;
11369 PyObject
* obj0
= 0 ;
11370 char * kwnames
[] = {
11371 (char *) "bVerbose", NULL
11374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11376 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11377 if (!SWIG_IsOK(ecode1
)) {
11378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11380 arg1
= static_cast< bool >(val1
);
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 wxLog::SetVerbose(arg1
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 resultobj
= SWIG_Py_Void();
11395 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
= 0;
11398 unsigned long val1
;
11400 PyObject
* obj0
= 0 ;
11401 char * kwnames
[] = {
11402 (char *) "logLevel", NULL
11405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11406 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11407 if (!SWIG_IsOK(ecode1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11410 arg1
= static_cast< wxLogLevel
>(val1
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 wxLog::SetLogLevel(arg1
);
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_Py_Void();
11424 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11425 PyObject
*resultobj
= 0;
11427 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11430 wxLog::DontCreateOnDemand();
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11434 resultobj
= SWIG_Py_Void();
11441 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
= 0;
11444 unsigned long val1
;
11446 PyObject
* obj0
= 0 ;
11447 char * kwnames
[] = {
11448 (char *) "ulMask", NULL
11451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11452 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11453 if (!SWIG_IsOK(ecode1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11456 arg1
= static_cast< wxTraceMask
>(val1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 wxLog::SetTraceMask(arg1
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= SWIG_Py_Void();
11470 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
= 0;
11472 wxString
*arg1
= 0 ;
11473 bool temp1
= false ;
11474 PyObject
* obj0
= 0 ;
11475 char * kwnames
[] = {
11476 (char *) "str", NULL
11479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11481 arg1
= wxString_in_helper(obj0
);
11482 if (arg1
== NULL
) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 wxLog::AddTraceMask((wxString
const &)*arg1
);
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11491 resultobj
= SWIG_Py_Void();
11506 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
= 0;
11508 wxString
*arg1
= 0 ;
11509 bool temp1
= false ;
11510 PyObject
* obj0
= 0 ;
11511 char * kwnames
[] = {
11512 (char *) "str", NULL
11515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11517 arg1
= wxString_in_helper(obj0
);
11518 if (arg1
== NULL
) SWIG_fail
;
11522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11523 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11524 wxPyEndAllowThreads(__tstate
);
11525 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= SWIG_Py_Void();
11542 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11543 PyObject
*resultobj
= 0;
11545 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11548 wxLog::ClearTraceMasks();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 resultobj
= SWIG_Py_Void();
11559 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11560 PyObject
*resultobj
= 0;
11561 wxArrayString
*result
= 0 ;
11563 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11568 result
= (wxArrayString
*) &_result_ref
;
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= wxArrayString2PyList_helper(*result
);
11582 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
= 0;
11584 wxChar
*arg1
= (wxChar
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 char * kwnames
[] = {
11589 (char *) "ts", NULL
11592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11597 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 wxLog::SetTimestamp((wxChar
const *)arg1
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_Py_Void();
11611 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 PyObject
*resultobj
= 0;
11615 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)wxLog::GetVerbose();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11631 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxTraceMask result
;
11635 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (wxTraceMask
)wxLog::GetTraceMask();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11649 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
= 0;
11651 wxChar
*arg1
= (wxChar
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char * kwnames
[] = {
11657 (char *) "mask", NULL
11660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11662 if (!SWIG_IsOK(res1
)) {
11663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11665 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11685 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (wxLogLevel
)wxLog::GetLogLevel();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11699 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxChar
*result
= 0 ;
11703 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxChar
*)wxLog::GetTimestamp();
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11717 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 PyObject
*resultobj
= 0;
11721 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= wxLog_TimeStamp();
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11741 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11742 PyObject
*resultobj
= 0;
11743 wxLog
*arg1
= (wxLog
*) 0 ;
11746 PyObject
*swig_obj
[1] ;
11748 if (!args
) SWIG_fail
;
11749 swig_obj
[0] = args
;
11750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11751 if (!SWIG_IsOK(res1
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11754 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 wxLog_Destroy(arg1
);
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_Py_Void();
11768 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11771 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11772 return SWIG_Py_Void();
11775 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11776 return SWIG_Python_InitShadowInstance(args
);
11779 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11780 PyObject
*resultobj
= 0;
11781 wxLogStderr
*result
= 0 ;
11783 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (wxLogStderr
*)new wxLogStderr();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11797 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11800 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11801 return SWIG_Py_Void();
11804 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11805 return SWIG_Python_InitShadowInstance(args
);
11808 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
= 0;
11810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11811 wxLogTextCtrl
*result
= 0 ;
11814 PyObject
* obj0
= 0 ;
11815 char * kwnames
[] = {
11816 (char *) "pTextCtrl", NULL
11819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11821 if (!SWIG_IsOK(res1
)) {
11822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11824 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11838 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11841 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11842 return SWIG_Py_Void();
11845 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11846 return SWIG_Python_InitShadowInstance(args
);
11849 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 PyObject
*resultobj
= 0;
11851 wxLogGui
*result
= 0 ;
11853 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (wxLogGui
*)new wxLogGui();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11867 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11870 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11871 return SWIG_Py_Void();
11874 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11875 return SWIG_Python_InitShadowInstance(args
);
11878 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
= 0;
11880 wxFrame
*arg1
= (wxFrame
*) 0 ;
11881 wxString
*arg2
= 0 ;
11882 bool arg3
= (bool) true ;
11883 bool arg4
= (bool) true ;
11884 wxLogWindow
*result
= 0 ;
11887 bool temp2
= false ;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 PyObject
* obj2
= 0 ;
11895 PyObject
* obj3
= 0 ;
11896 char * kwnames
[] = {
11897 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11905 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11907 arg2
= wxString_in_helper(obj1
);
11908 if (arg2
== NULL
) SWIG_fail
;
11912 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11913 if (!SWIG_IsOK(ecode3
)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11916 arg3
= static_cast< bool >(val3
);
11919 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11920 if (!SWIG_IsOK(ecode4
)) {
11921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11923 arg4
= static_cast< bool >(val4
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11946 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
= 0;
11948 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11949 bool arg2
= (bool) true ;
11954 PyObject
* obj0
= 0 ;
11955 PyObject
* obj1
= 0 ;
11956 char * kwnames
[] = {
11957 (char *) "self",(char *) "bShow", NULL
11960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11962 if (!SWIG_IsOK(res1
)) {
11963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11965 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11967 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11968 if (!SWIG_IsOK(ecode2
)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11971 arg2
= static_cast< bool >(val2
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 (arg1
)->Show(arg2
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_Py_Void();
11986 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11987 PyObject
*resultobj
= 0;
11988 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11989 wxFrame
*result
= 0 ;
11992 PyObject
*swig_obj
[1] ;
11994 if (!args
) SWIG_fail
;
11995 swig_obj
[0] = args
;
11996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12000 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12016 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12017 PyObject
*resultobj
= 0;
12018 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12019 wxLog
*result
= 0 ;
12022 PyObject
*swig_obj
[1] ;
12024 if (!args
) SWIG_fail
;
12025 swig_obj
[0] = args
;
12026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12030 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12044 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12045 PyObject
*resultobj
= 0;
12046 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12050 PyObject
*swig_obj
[1] ;
12052 if (!args
) SWIG_fail
;
12053 swig_obj
[0] = args
;
12054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12055 if (!SWIG_IsOK(res1
)) {
12056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12058 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12074 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
= 0;
12076 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char * kwnames
[] = {
12085 (char *) "self",(char *) "bDoPass", NULL
12088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12093 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12094 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12095 if (!SWIG_IsOK(ecode2
)) {
12096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12098 arg2
= static_cast< bool >(val2
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 (arg1
)->PassMessages(arg2
);
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_Py_Void();
12112 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12115 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
12116 return SWIG_Py_Void();
12119 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12120 return SWIG_Python_InitShadowInstance(args
);
12123 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
= 0;
12125 wxLog
*arg1
= (wxLog
*) 0 ;
12126 wxLogChain
*result
= 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char * kwnames
[] = {
12131 (char *) "logger", NULL
12134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12136 if (!SWIG_IsOK(res1
)) {
12137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12139 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (wxLogChain
*)new wxLogChain(arg1
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12153 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12156 wxLog
*arg2
= (wxLog
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char * kwnames
[] = {
12164 (char *) "self",(char *) "logger", NULL
12167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12169 if (!SWIG_IsOK(res1
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12172 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12173 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12174 if (!SWIG_IsOK(res2
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12177 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetLog(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_Py_Void();
12191 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
= 0;
12193 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 PyObject
* obj1
= 0 ;
12201 char * kwnames
[] = {
12202 (char *) "self",(char *) "bDoPass", NULL
12205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12207 if (!SWIG_IsOK(res1
)) {
12208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12210 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12211 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12212 if (!SWIG_IsOK(ecode2
)) {
12213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12215 arg2
= static_cast< bool >(val2
);
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->PassMessages(arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_Py_Void();
12229 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12230 PyObject
*resultobj
= 0;
12231 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12235 PyObject
*swig_obj
[1] ;
12237 if (!args
) SWIG_fail
;
12238 swig_obj
[0] = args
;
12239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12243 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (bool)(arg1
)->IsPassingMessages();
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12259 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12260 PyObject
*resultobj
= 0;
12261 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12262 wxLog
*result
= 0 ;
12265 PyObject
*swig_obj
[1] ;
12267 if (!args
) SWIG_fail
;
12268 swig_obj
[0] = args
;
12269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12270 if (!SWIG_IsOK(res1
)) {
12271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12273 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (wxLog
*)(arg1
)->GetOldLog();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12287 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12290 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12291 return SWIG_Py_Void();
12294 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12295 return SWIG_Python_InitShadowInstance(args
);
12298 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12299 PyObject
*resultobj
= 0;
12300 wxLogBuffer
*result
= 0 ;
12302 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (wxLogBuffer
*)new wxLogBuffer();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12316 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12319 wxString
*result
= 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12330 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12335 result
= (wxString
*) &_result_ref
;
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12344 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12353 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12356 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12357 return SWIG_Py_Void();
12360 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12361 return SWIG_Python_InitShadowInstance(args
);
12364 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 PyObject
*resultobj
= 0;
12366 unsigned long result
;
12368 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (unsigned long)wxSysErrorCode();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12382 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
= 0;
12384 unsigned long arg1
= (unsigned long) 0 ;
12386 unsigned long val1
;
12388 PyObject
* obj0
= 0 ;
12389 char * kwnames
[] = {
12390 (char *) "nErrCode", NULL
12393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12395 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12396 if (!SWIG_IsOK(ecode1
)) {
12397 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12399 arg1
= static_cast< unsigned long >(val1
);
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= wxSysErrorMsg(arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12420 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
= 0;
12422 wxString
*arg1
= 0 ;
12423 bool temp1
= false ;
12424 PyObject
* obj0
= 0 ;
12425 char * kwnames
[] = {
12426 (char *) "msg", NULL
12429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12431 arg1
= wxString_in_helper(obj0
);
12432 if (arg1
== NULL
) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 wxPyLogFatalError((wxString
const &)*arg1
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_Py_Void();
12456 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
= 0;
12458 wxString
*arg1
= 0 ;
12459 bool temp1
= false ;
12460 PyObject
* obj0
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "msg", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12467 arg1
= wxString_in_helper(obj0
);
12468 if (arg1
== NULL
) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 wxPyLogError((wxString
const &)*arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_Py_Void();
12492 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= 0;
12494 wxString
*arg1
= 0 ;
12495 bool temp1
= false ;
12496 PyObject
* obj0
= 0 ;
12497 char * kwnames
[] = {
12498 (char *) "msg", NULL
12501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12503 arg1
= wxString_in_helper(obj0
);
12504 if (arg1
== NULL
) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 wxPyLogWarning((wxString
const &)*arg1
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_Py_Void();
12528 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
= 0;
12530 wxString
*arg1
= 0 ;
12531 bool temp1
= false ;
12532 PyObject
* obj0
= 0 ;
12533 char * kwnames
[] = {
12534 (char *) "msg", NULL
12537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12539 arg1
= wxString_in_helper(obj0
);
12540 if (arg1
== NULL
) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 wxPyLogMessage((wxString
const &)*arg1
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= SWIG_Py_Void();
12564 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
= 0;
12566 wxString
*arg1
= 0 ;
12567 bool temp1
= false ;
12568 PyObject
* obj0
= 0 ;
12569 char * kwnames
[] = {
12570 (char *) "msg", NULL
12573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12575 arg1
= wxString_in_helper(obj0
);
12576 if (arg1
== NULL
) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 wxPyLogInfo((wxString
const &)*arg1
);
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12585 resultobj
= SWIG_Py_Void();
12600 SWIGINTERN PyObject
*_wrap_LogDebug(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:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12611 arg1
= wxString_in_helper(obj0
);
12612 if (arg1
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 wxPyLogDebug((wxString
const &)*arg1
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12636 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 wxString
*arg1
= 0 ;
12639 bool temp1
= false ;
12640 PyObject
* obj0
= 0 ;
12641 char * kwnames
[] = {
12642 (char *) "msg", NULL
12645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12647 arg1
= wxString_in_helper(obj0
);
12648 if (arg1
== NULL
) SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 wxPyLogVerbose((wxString
const &)*arg1
);
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_Py_Void();
12672 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= 0;
12674 wxString
*arg1
= 0 ;
12675 bool temp1
= false ;
12676 PyObject
* obj0
= 0 ;
12677 char * kwnames
[] = {
12678 (char *) "msg", NULL
12681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12683 arg1
= wxString_in_helper(obj0
);
12684 if (arg1
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 wxPyLogStatus((wxString
const &)*arg1
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12708 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
= 0;
12710 wxFrame
*arg1
= (wxFrame
*) 0 ;
12711 wxString
*arg2
= 0 ;
12714 bool temp2
= false ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 char * kwnames
[] = {
12718 (char *) "pFrame",(char *) "msg", NULL
12721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12726 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12728 arg2
= wxString_in_helper(obj1
);
12729 if (arg2
== NULL
) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12753 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
= 0;
12755 wxString
*arg1
= 0 ;
12756 bool temp1
= false ;
12757 PyObject
* obj0
= 0 ;
12758 char * kwnames
[] = {
12759 (char *) "msg", NULL
12762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12764 arg1
= wxString_in_helper(obj0
);
12765 if (arg1
== NULL
) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 wxPyLogSysError((wxString
const &)*arg1
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= SWIG_Py_Void();
12789 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
= 0;
12791 unsigned long arg1
;
12792 wxString
*arg2
= 0 ;
12793 unsigned long val1
;
12795 bool temp2
= false ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 char * kwnames
[] = {
12799 (char *) "level",(char *) "msg", NULL
12802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12803 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12804 if (!SWIG_IsOK(ecode1
)) {
12805 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12807 arg1
= static_cast< unsigned long >(val1
);
12809 arg2
= wxString_in_helper(obj1
);
12810 if (arg2
== NULL
) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12819 resultobj
= SWIG_Py_Void();
12834 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12835 PyObject
*resultobj
= 0;
12836 unsigned long arg1
;
12837 wxString
*arg2
= 0 ;
12838 unsigned long val1
;
12840 bool temp2
= false ;
12842 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12843 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12844 if (!SWIG_IsOK(ecode1
)) {
12845 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12847 arg1
= static_cast< unsigned long >(val1
);
12849 arg2
= wxString_in_helper(swig_obj
[1]);
12850 if (arg2
== NULL
) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_Py_Void();
12874 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12875 PyObject
*resultobj
= 0;
12876 wxString
*arg1
= 0 ;
12877 wxString
*arg2
= 0 ;
12878 bool temp1
= false ;
12879 bool temp2
= false ;
12881 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12883 arg1
= wxString_in_helper(swig_obj
[0]);
12884 if (arg1
== NULL
) SWIG_fail
;
12888 arg2
= wxString_in_helper(swig_obj
[1]);
12889 if (arg2
== NULL
) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= SWIG_Py_Void();
12921 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12925 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12931 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12934 if (!_v
) goto check_1
;
12935 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12940 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12944 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12949 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
= 0;
12951 wxString
*arg1
= 0 ;
12952 wxString
*arg2
= 0 ;
12953 bool temp1
= false ;
12954 bool temp2
= false ;
12955 PyObject
* obj0
= 0 ;
12956 PyObject
* obj1
= 0 ;
12957 char * kwnames
[] = {
12958 (char *) "title",(char *) "text", NULL
12961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12963 arg1
= wxString_in_helper(obj0
);
12964 if (arg1
== NULL
) SWIG_fail
;
12968 arg2
= wxString_in_helper(obj1
);
12969 if (arg2
== NULL
) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_Py_Void();
13001 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13002 PyObject
*resultobj
= 0;
13003 wxLogNull
*result
= 0 ;
13005 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (wxLogNull
*)new wxLogNull();
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13019 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13020 PyObject
*resultobj
= 0;
13021 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13024 PyObject
*swig_obj
[1] ;
13026 if (!args
) SWIG_fail
;
13027 swig_obj
[0] = args
;
13028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13029 if (!SWIG_IsOK(res1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13032 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13040 resultobj
= SWIG_Py_Void();
13047 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13050 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13051 return SWIG_Py_Void();
13054 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13055 return SWIG_Python_InitShadowInstance(args
);
13058 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13059 PyObject
*resultobj
= 0;
13060 wxPyLog
*result
= 0 ;
13062 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 result
= (wxPyLog
*)new wxPyLog();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
13076 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
13079 PyObject
*arg2
= (PyObject
*) 0 ;
13080 PyObject
*arg3
= (PyObject
*) 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 char * kwnames
[] = {
13087 (char *) "self",(char *) "self",(char *) "_class", NULL
13090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
13092 if (!SWIG_IsOK(res1
)) {
13093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
13095 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_Py_Void();
13111 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
13115 return SWIG_Py_Void();
13118 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13119 return SWIG_Python_InitShadowInstance(args
);
13122 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
= 0;
13125 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13126 int arg3
= (int) wxKILL_NOCHILDREN
;
13127 wxKillError result
;
13134 PyObject
* obj0
= 0 ;
13135 PyObject
* obj1
= 0 ;
13136 PyObject
* obj2
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13143 if (!SWIG_IsOK(ecode1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13146 arg1
= static_cast< int >(val1
);
13148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13149 if (!SWIG_IsOK(ecode2
)) {
13150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13152 arg2
= static_cast< wxSignal
>(val2
);
13155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13156 if (!SWIG_IsOK(ecode3
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13159 arg3
= static_cast< int >(val3
);
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_From_int(static_cast< int >(result
));
13174 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13175 PyObject
*resultobj
= 0;
13180 PyObject
* obj0
= 0 ;
13181 char * kwnames
[] = {
13182 (char *) "pid", NULL
13185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13186 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13187 if (!SWIG_IsOK(ecode1
)) {
13188 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13190 arg1
= static_cast< int >(val1
);
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (bool)wxPyProcess::Exists(arg1
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13206 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
= 0;
13208 wxString
*arg1
= 0 ;
13209 int arg2
= (int) wxEXEC_ASYNC
;
13210 wxPyProcess
*result
= 0 ;
13211 bool temp1
= false ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char * kwnames
[] = {
13217 (char *) "cmd",(char *) "flags", NULL
13220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13222 arg1
= wxString_in_helper(obj0
);
13223 if (arg1
== NULL
) SWIG_fail
;
13227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13228 if (!SWIG_IsOK(ecode2
)) {
13229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13231 arg2
= static_cast< int >(val2
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13254 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
= 0;
13256 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13257 int arg2
= (int) -1 ;
13258 wxPyProcess
*result
= 0 ;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 char * kwnames
[] = {
13266 (char *) "parent",(char *) "id", NULL
13269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13275 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13279 if (!SWIG_IsOK(ecode2
)) {
13280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13282 arg2
= static_cast< int >(val2
);
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13297 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
= 0;
13299 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13300 PyObject
*arg2
= (PyObject
*) 0 ;
13301 PyObject
*arg3
= (PyObject
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char * kwnames
[] = {
13308 (char *) "self",(char *) "self",(char *) "_class", NULL
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13313 if (!SWIG_IsOK(res1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13316 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13322 wxPyEndAllowThreads(__tstate
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13325 resultobj
= SWIG_Py_Void();
13332 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13333 PyObject
*resultobj
= 0;
13334 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 PyObject
* obj2
= 0 ;
13346 char * kwnames
[] = {
13347 (char *) "self",(char *) "pid",(char *) "status", NULL
13350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13352 if (!SWIG_IsOK(res1
)) {
13353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13355 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13357 if (!SWIG_IsOK(ecode2
)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13360 arg2
= static_cast< int >(val2
);
13361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13362 if (!SWIG_IsOK(ecode3
)) {
13363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13365 arg3
= static_cast< int >(val3
);
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->OnTerminate(arg2
,arg3
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_Py_Void();
13379 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13380 PyObject
*resultobj
= 0;
13381 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13384 PyObject
*swig_obj
[1] ;
13386 if (!args
) SWIG_fail
;
13387 swig_obj
[0] = args
;
13388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13389 if (!SWIG_IsOK(res1
)) {
13390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13392 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->Redirect();
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13407 PyObject
*resultobj
= 0;
13408 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13412 PyObject
*swig_obj
[1] ;
13414 if (!args
) SWIG_fail
;
13415 swig_obj
[0] = args
;
13416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13417 if (!SWIG_IsOK(res1
)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13420 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13423 result
= (bool)(arg1
)->IsRedirected();
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13437 PyObject
*resultobj
= 0;
13438 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_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13449 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= SWIG_Py_Void();
13463 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13464 PyObject
*resultobj
= 0;
13465 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13466 wxInputStream
*result
= 0 ;
13469 PyObject
*swig_obj
[1] ;
13471 if (!args
) SWIG_fail
;
13472 swig_obj
[0] = args
;
13473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13474 if (!SWIG_IsOK(res1
)) {
13475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13477 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13485 wxPyInputStream
* _ptr
= NULL
;
13488 _ptr
= new wxPyInputStream(result
);
13490 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13498 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13499 PyObject
*resultobj
= 0;
13500 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13501 wxInputStream
*result
= 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13512 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13520 wxPyInputStream
* _ptr
= NULL
;
13523 _ptr
= new wxPyInputStream(result
);
13525 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13533 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13534 PyObject
*resultobj
= 0;
13535 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13536 wxOutputStream
*result
= 0 ;
13539 PyObject
*swig_obj
[1] ;
13541 if (!args
) SWIG_fail
;
13542 swig_obj
[0] = args
;
13543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13544 if (!SWIG_IsOK(res1
)) {
13545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13547 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13561 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13562 PyObject
*resultobj
= 0;
13563 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13566 PyObject
*swig_obj
[1] ;
13568 if (!args
) SWIG_fail
;
13569 swig_obj
[0] = args
;
13570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13571 if (!SWIG_IsOK(res1
)) {
13572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13574 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->CloseOutput();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_Py_Void();
13588 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13589 PyObject
*resultobj
= 0;
13590 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13594 PyObject
*swig_obj
[1] ;
13596 if (!args
) SWIG_fail
;
13597 swig_obj
[0] = args
;
13598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13599 if (!SWIG_IsOK(res1
)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13602 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13619 PyObject
*resultobj
= 0;
13620 wxPyProcess
*arg1
= (wxPyProcess
*) 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_wxPyProcess
, 0 | 0 );
13629 if (!SWIG_IsOK(res1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13632 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13649 PyObject
*resultobj
= 0;
13650 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13654 PyObject
*swig_obj
[1] ;
13656 if (!args
) SWIG_fail
;
13657 swig_obj
[0] = args
;
13658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13659 if (!SWIG_IsOK(res1
)) {
13660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13662 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13678 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13681 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13682 return SWIG_Py_Void();
13685 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13686 return SWIG_Python_InitShadowInstance(args
);
13689 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
= 0;
13691 int arg1
= (int) 0 ;
13692 int arg2
= (int) 0 ;
13693 int arg3
= (int) 0 ;
13694 wxProcessEvent
*result
= 0 ;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 PyObject
* obj2
= 0 ;
13704 char * kwnames
[] = {
13705 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13711 if (!SWIG_IsOK(ecode1
)) {
13712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13714 arg1
= static_cast< int >(val1
);
13717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13718 if (!SWIG_IsOK(ecode2
)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13721 arg2
= static_cast< int >(val2
);
13724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13725 if (!SWIG_IsOK(ecode3
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13728 arg3
= static_cast< int >(val3
);
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13733 wxPyEndAllowThreads(__tstate
);
13734 if (PyErr_Occurred()) SWIG_fail
;
13736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13743 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13744 PyObject
*resultobj
= 0;
13745 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13749 PyObject
*swig_obj
[1] ;
13751 if (!args
) SWIG_fail
;
13752 swig_obj
[0] = args
;
13753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13757 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (int)(arg1
)->GetPid();
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 resultobj
= SWIG_From_int(static_cast< int >(result
));
13771 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13772 PyObject
*resultobj
= 0;
13773 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13777 PyObject
*swig_obj
[1] ;
13779 if (!args
) SWIG_fail
;
13780 swig_obj
[0] = args
;
13781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13782 if (!SWIG_IsOK(res1
)) {
13783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13785 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 result
= (int)(arg1
)->GetExitCode();
13789 wxPyEndAllowThreads(__tstate
);
13790 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= SWIG_From_int(static_cast< int >(result
));
13799 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13800 PyObject
*resultobj
= 0;
13801 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13807 PyObject
*swig_obj
[2] ;
13809 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13811 if (!SWIG_IsOK(res1
)) {
13812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13814 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13815 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13816 if (!SWIG_IsOK(ecode2
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13819 arg2
= static_cast< int >(val2
);
13820 if (arg1
) (arg1
)->m_pid
= arg2
;
13822 resultobj
= SWIG_Py_Void();
13829 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13830 PyObject
*resultobj
= 0;
13831 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13835 PyObject
*swig_obj
[1] ;
13837 if (!args
) SWIG_fail
;
13838 swig_obj
[0] = args
;
13839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13840 if (!SWIG_IsOK(res1
)) {
13841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13843 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13844 result
= (int) ((arg1
)->m_pid
);
13845 resultobj
= SWIG_From_int(static_cast< int >(result
));
13852 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13853 PyObject
*resultobj
= 0;
13854 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13860 PyObject
*swig_obj
[2] ;
13862 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13864 if (!SWIG_IsOK(res1
)) {
13865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13867 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13868 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13869 if (!SWIG_IsOK(ecode2
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13872 arg2
= static_cast< int >(val2
);
13873 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13875 resultobj
= SWIG_Py_Void();
13882 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13883 PyObject
*resultobj
= 0;
13884 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13888 PyObject
*swig_obj
[1] ;
13890 if (!args
) SWIG_fail
;
13891 swig_obj
[0] = args
;
13892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13896 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13897 result
= (int) ((arg1
)->m_exitcode
);
13898 resultobj
= SWIG_From_int(static_cast< int >(result
));
13905 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13908 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13909 return SWIG_Py_Void();
13912 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13913 return SWIG_Python_InitShadowInstance(args
);
13916 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
= 0;
13918 wxString
*arg1
= 0 ;
13919 int arg2
= (int) wxEXEC_ASYNC
;
13920 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13922 bool temp1
= false ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 PyObject
* obj2
= 0 ;
13930 char * kwnames
[] = {
13931 (char *) "command",(char *) "flags",(char *) "process", NULL
13934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13936 arg1
= wxString_in_helper(obj0
);
13937 if (arg1
== NULL
) SWIG_fail
;
13941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13942 if (!SWIG_IsOK(ecode2
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13945 arg2
= static_cast< int >(val2
);
13948 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13949 if (!SWIG_IsOK(res3
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13952 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13955 if (!wxPyCheckForApp()) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= SWIG_From_long(static_cast< long >(result
));
13976 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
= 0;
13979 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13980 wxKillError
*arg3
= (wxKillError
*) 0 ;
13981 int arg4
= (int) wxKILL_NOCHILDREN
;
13987 wxKillError temp3
;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 PyObject
* obj2
= 0 ;
13993 char * kwnames
[] = {
13994 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14001 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14002 if (!SWIG_IsOK(ecode1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14005 arg1
= static_cast< long >(val1
);
14007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14008 if (!SWIG_IsOK(ecode2
)) {
14009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14011 arg2
= static_cast< wxSignal
>(val2
);
14014 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14015 if (!SWIG_IsOK(ecode4
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14018 arg4
= static_cast< int >(val4
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_int(static_cast< int >(result
));
14029 o
= PyInt_FromLong((long) (*arg3
));
14033 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14042 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14044 int arg1
= (int) wxJOYSTICK1
;
14045 wxJoystick
*result
= 0 ;
14048 PyObject
* obj0
= 0 ;
14049 char * kwnames
[] = {
14050 (char *) "joystick", NULL
14053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14055 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14056 if (!SWIG_IsOK(ecode1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
14059 arg1
= static_cast< int >(val1
);
14062 if (!wxPyCheckForApp()) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (wxJoystick
*)new wxJoystick(arg1
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
14075 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14076 PyObject
*resultobj
= 0;
14077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14080 PyObject
*swig_obj
[1] ;
14082 if (!args
) SWIG_fail
;
14083 swig_obj
[0] = args
;
14084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
14088 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14093 wxPyEndAllowThreads(__tstate
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 resultobj
= SWIG_Py_Void();
14103 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14104 PyObject
*resultobj
= 0;
14105 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14109 PyObject
*swig_obj
[1] ;
14111 if (!args
) SWIG_fail
;
14112 swig_obj
[0] = args
;
14113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14114 if (!SWIG_IsOK(res1
)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14117 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= (arg1
)->GetPosition();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14131 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 PyObject
*resultobj
= 0;
14133 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14137 PyObject
*swig_obj
[1] ;
14139 if (!args
) SWIG_fail
;
14140 swig_obj
[0] = args
;
14141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14142 if (!SWIG_IsOK(res1
)) {
14143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14145 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14148 result
= (int)(arg1
)->GetZPosition();
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14152 resultobj
= SWIG_From_int(static_cast< int >(result
));
14159 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14160 PyObject
*resultobj
= 0;
14161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14165 PyObject
*swig_obj
[1] ;
14167 if (!args
) SWIG_fail
;
14168 swig_obj
[0] = args
;
14169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14170 if (!SWIG_IsOK(res1
)) {
14171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14173 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (int)(arg1
)->GetButtonState();
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= SWIG_From_int(static_cast< int >(result
));
14187 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14188 PyObject
*resultobj
= 0;
14189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14193 PyObject
*swig_obj
[1] ;
14195 if (!args
) SWIG_fail
;
14196 swig_obj
[0] = args
;
14197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14198 if (!SWIG_IsOK(res1
)) {
14199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14201 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= (int)(arg1
)->GetPOVPosition();
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= SWIG_From_int(static_cast< int >(result
));
14215 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14216 PyObject
*resultobj
= 0;
14217 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14221 PyObject
*swig_obj
[1] ;
14223 if (!args
) SWIG_fail
;
14224 swig_obj
[0] = args
;
14225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14226 if (!SWIG_IsOK(res1
)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14229 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (int)(arg1
)->GetPOVCTSPosition();
14233 wxPyEndAllowThreads(__tstate
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14236 resultobj
= SWIG_From_int(static_cast< int >(result
));
14243 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14244 PyObject
*resultobj
= 0;
14245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14249 PyObject
*swig_obj
[1] ;
14251 if (!args
) SWIG_fail
;
14252 swig_obj
[0] = args
;
14253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14254 if (!SWIG_IsOK(res1
)) {
14255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14257 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 result
= (int)(arg1
)->GetRudderPosition();
14261 wxPyEndAllowThreads(__tstate
);
14262 if (PyErr_Occurred()) SWIG_fail
;
14264 resultobj
= SWIG_From_int(static_cast< int >(result
));
14271 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14272 PyObject
*resultobj
= 0;
14273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14277 PyObject
*swig_obj
[1] ;
14279 if (!args
) SWIG_fail
;
14280 swig_obj
[0] = args
;
14281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14282 if (!SWIG_IsOK(res1
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14285 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (int)(arg1
)->GetUPosition();
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= SWIG_From_int(static_cast< int >(result
));
14299 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14300 PyObject
*resultobj
= 0;
14301 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14305 PyObject
*swig_obj
[1] ;
14307 if (!args
) SWIG_fail
;
14308 swig_obj
[0] = args
;
14309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14310 if (!SWIG_IsOK(res1
)) {
14311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14313 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (int)(arg1
)->GetVPosition();
14317 wxPyEndAllowThreads(__tstate
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 resultobj
= SWIG_From_int(static_cast< int >(result
));
14327 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14333 PyObject
*swig_obj
[1] ;
14335 if (!args
) SWIG_fail
;
14336 swig_obj
[0] = args
;
14337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14341 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14344 result
= (int)(arg1
)->GetMovementThreshold();
14345 wxPyEndAllowThreads(__tstate
);
14346 if (PyErr_Occurred()) SWIG_fail
;
14348 resultobj
= SWIG_From_int(static_cast< int >(result
));
14355 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
= 0;
14357 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char * kwnames
[] = {
14366 (char *) "self",(char *) "threshold", NULL
14369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14371 if (!SWIG_IsOK(res1
)) {
14372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14374 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14376 if (!SWIG_IsOK(ecode2
)) {
14377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14379 arg2
= static_cast< int >(val2
);
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 (arg1
)->SetMovementThreshold(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_Py_Void();
14393 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14394 PyObject
*resultobj
= 0;
14395 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14399 PyObject
*swig_obj
[1] ;
14401 if (!args
) SWIG_fail
;
14402 swig_obj
[0] = args
;
14403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14404 if (!SWIG_IsOK(res1
)) {
14405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14407 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (bool)(arg1
)->IsOk();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14423 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14424 PyObject
*resultobj
= 0;
14425 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14429 PyObject
*swig_obj
[1] ;
14431 if (!args
) SWIG_fail
;
14432 swig_obj
[0] = args
;
14433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14434 if (!SWIG_IsOK(res1
)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14437 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14440 result
= (int)(arg1
)->GetNumberJoysticks();
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14444 resultobj
= SWIG_From_int(static_cast< int >(result
));
14451 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14452 PyObject
*resultobj
= 0;
14453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14457 PyObject
*swig_obj
[1] ;
14459 if (!args
) SWIG_fail
;
14460 swig_obj
[0] = args
;
14461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14462 if (!SWIG_IsOK(res1
)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14465 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14468 result
= (int)(arg1
)->GetManufacturerId();
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= SWIG_From_int(static_cast< int >(result
));
14479 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14480 PyObject
*resultobj
= 0;
14481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14485 PyObject
*swig_obj
[1] ;
14487 if (!args
) SWIG_fail
;
14488 swig_obj
[0] = args
;
14489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14490 if (!SWIG_IsOK(res1
)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14493 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (int)(arg1
)->GetProductId();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_From_int(static_cast< int >(result
));
14507 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14508 PyObject
*resultobj
= 0;
14509 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14513 PyObject
*swig_obj
[1] ;
14515 if (!args
) SWIG_fail
;
14516 swig_obj
[0] = args
;
14517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14518 if (!SWIG_IsOK(res1
)) {
14519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14521 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (arg1
)->GetProductName();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14541 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 PyObject
*resultobj
= 0;
14543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14555 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (int)(arg1
)->GetXMin();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_From_int(static_cast< int >(result
));
14569 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14575 PyObject
*swig_obj
[1] ;
14577 if (!args
) SWIG_fail
;
14578 swig_obj
[0] = args
;
14579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14583 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (int)(arg1
)->GetYMin();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14590 resultobj
= SWIG_From_int(static_cast< int >(result
));
14597 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14598 PyObject
*resultobj
= 0;
14599 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14603 PyObject
*swig_obj
[1] ;
14605 if (!args
) SWIG_fail
;
14606 swig_obj
[0] = args
;
14607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14611 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 result
= (int)(arg1
)->GetZMin();
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14618 resultobj
= SWIG_From_int(static_cast< int >(result
));
14625 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14626 PyObject
*resultobj
= 0;
14627 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14631 PyObject
*swig_obj
[1] ;
14633 if (!args
) SWIG_fail
;
14634 swig_obj
[0] = args
;
14635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14636 if (!SWIG_IsOK(res1
)) {
14637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14639 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14642 result
= (int)(arg1
)->GetXMax();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_From_int(static_cast< int >(result
));
14653 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14654 PyObject
*resultobj
= 0;
14655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14659 PyObject
*swig_obj
[1] ;
14661 if (!args
) SWIG_fail
;
14662 swig_obj
[0] = args
;
14663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14667 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (int)(arg1
)->GetYMax();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= SWIG_From_int(static_cast< int >(result
));
14681 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14687 PyObject
*swig_obj
[1] ;
14689 if (!args
) SWIG_fail
;
14690 swig_obj
[0] = args
;
14691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14695 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (int)(arg1
)->GetZMax();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_From_int(static_cast< int >(result
));
14709 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14723 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (int)(arg1
)->GetNumberButtons();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_From_int(static_cast< int >(result
));
14737 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14751 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)(arg1
)->GetNumberAxes();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_From_int(static_cast< int >(result
));
14765 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14779 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (int)(arg1
)->GetMaxButtons();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 resultobj
= SWIG_From_int(static_cast< int >(result
));
14793 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14794 PyObject
*resultobj
= 0;
14795 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14799 PyObject
*swig_obj
[1] ;
14801 if (!args
) SWIG_fail
;
14802 swig_obj
[0] = args
;
14803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14804 if (!SWIG_IsOK(res1
)) {
14805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14807 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14810 result
= (int)(arg1
)->GetMaxAxes();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 resultobj
= SWIG_From_int(static_cast< int >(result
));
14821 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14822 PyObject
*resultobj
= 0;
14823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14827 PyObject
*swig_obj
[1] ;
14829 if (!args
) SWIG_fail
;
14830 swig_obj
[0] = args
;
14831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14832 if (!SWIG_IsOK(res1
)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14835 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (int)(arg1
)->GetPollingMin();
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_From_int(static_cast< int >(result
));
14849 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14850 PyObject
*resultobj
= 0;
14851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14855 PyObject
*swig_obj
[1] ;
14857 if (!args
) SWIG_fail
;
14858 swig_obj
[0] = args
;
14859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14860 if (!SWIG_IsOK(res1
)) {
14861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14863 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14866 result
= (int)(arg1
)->GetPollingMax();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_From_int(static_cast< int >(result
));
14877 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14878 PyObject
*resultobj
= 0;
14879 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14883 PyObject
*swig_obj
[1] ;
14885 if (!args
) SWIG_fail
;
14886 swig_obj
[0] = args
;
14887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14888 if (!SWIG_IsOK(res1
)) {
14889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14891 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (int)(arg1
)->GetRudderMin();
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= SWIG_From_int(static_cast< int >(result
));
14905 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14919 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= (int)(arg1
)->GetRudderMax();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_From_int(static_cast< int >(result
));
14933 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14947 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (int)(arg1
)->GetUMin();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_From_int(static_cast< int >(result
));
14961 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14962 PyObject
*resultobj
= 0;
14963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14967 PyObject
*swig_obj
[1] ;
14969 if (!args
) SWIG_fail
;
14970 swig_obj
[0] = args
;
14971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14972 if (!SWIG_IsOK(res1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14975 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (int)(arg1
)->GetUMax();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_From_int(static_cast< int >(result
));
14989 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14990 PyObject
*resultobj
= 0;
14991 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14995 PyObject
*swig_obj
[1] ;
14997 if (!args
) SWIG_fail
;
14998 swig_obj
[0] = args
;
14999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15000 if (!SWIG_IsOK(res1
)) {
15001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15003 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (int)(arg1
)->GetVMin();
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_From_int(static_cast< int >(result
));
15017 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15018 PyObject
*resultobj
= 0;
15019 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15023 PyObject
*swig_obj
[1] ;
15025 if (!args
) SWIG_fail
;
15026 swig_obj
[0] = args
;
15027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15028 if (!SWIG_IsOK(res1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15031 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 result
= (int)(arg1
)->GetVMax();
15035 wxPyEndAllowThreads(__tstate
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= SWIG_From_int(static_cast< int >(result
));
15045 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15046 PyObject
*resultobj
= 0;
15047 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15051 PyObject
*swig_obj
[1] ;
15053 if (!args
) SWIG_fail
;
15054 swig_obj
[0] = args
;
15055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15056 if (!SWIG_IsOK(res1
)) {
15057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
15059 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)(arg1
)->HasRudder();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15076 PyObject
*resultobj
= 0;
15077 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
15089 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (bool)(arg1
)->HasZ();
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15105 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15106 PyObject
*resultobj
= 0;
15107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15111 PyObject
*swig_obj
[1] ;
15113 if (!args
) SWIG_fail
;
15114 swig_obj
[0] = args
;
15115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15116 if (!SWIG_IsOK(res1
)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
15119 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15122 result
= (bool)(arg1
)->HasU();
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15135 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15136 PyObject
*resultobj
= 0;
15137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15141 PyObject
*swig_obj
[1] ;
15143 if (!args
) SWIG_fail
;
15144 swig_obj
[0] = args
;
15145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15149 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15152 result
= (bool)(arg1
)->HasV();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15166 PyObject
*resultobj
= 0;
15167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15171 PyObject
*swig_obj
[1] ;
15173 if (!args
) SWIG_fail
;
15174 swig_obj
[0] = args
;
15175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15176 if (!SWIG_IsOK(res1
)) {
15177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15179 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)(arg1
)->HasPOV();
15183 wxPyEndAllowThreads(__tstate
);
15184 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15195 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15196 PyObject
*resultobj
= 0;
15197 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15201 PyObject
*swig_obj
[1] ;
15203 if (!args
) SWIG_fail
;
15204 swig_obj
[0] = args
;
15205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15209 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->HasPOV4Dir();
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15225 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15226 PyObject
*resultobj
= 0;
15227 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15231 PyObject
*swig_obj
[1] ;
15233 if (!args
) SWIG_fail
;
15234 swig_obj
[0] = args
;
15235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15236 if (!SWIG_IsOK(res1
)) {
15237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15239 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (bool)(arg1
)->HasPOVCTS();
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15255 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15256 PyObject
*resultobj
= 0;
15257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15258 wxWindow
*arg2
= (wxWindow
*) 0 ;
15259 int arg3
= (int) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 PyObject
* obj2
= 0 ;
15270 char * kwnames
[] = {
15271 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15276 if (!SWIG_IsOK(res1
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15279 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15280 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15281 if (!SWIG_IsOK(res2
)) {
15282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15284 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15287 if (!SWIG_IsOK(ecode3
)) {
15288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15290 arg3
= static_cast< int >(val3
);
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15307 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15308 PyObject
*resultobj
= 0;
15309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15313 PyObject
*swig_obj
[1] ;
15315 if (!args
) SWIG_fail
;
15316 swig_obj
[0] = args
;
15317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15318 if (!SWIG_IsOK(res1
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15321 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (bool)(arg1
)->ReleaseCapture();
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15337 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15340 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15341 return SWIG_Py_Void();
15344 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 return SWIG_Python_InitShadowInstance(args
);
15348 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
= 0;
15350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15351 int arg2
= (int) 0 ;
15352 int arg3
= (int) wxJOYSTICK1
;
15353 int arg4
= (int) 0 ;
15354 wxJoystickEvent
*result
= 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 PyObject
* obj3
= 0 ;
15367 char * kwnames
[] = {
15368 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15373 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15374 if (!SWIG_IsOK(ecode1
)) {
15375 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15377 arg1
= static_cast< wxEventType
>(val1
);
15380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15381 if (!SWIG_IsOK(ecode2
)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15384 arg2
= static_cast< int >(val2
);
15387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15388 if (!SWIG_IsOK(ecode3
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15391 arg3
= static_cast< int >(val3
);
15394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15395 if (!SWIG_IsOK(ecode4
)) {
15396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15398 arg4
= static_cast< int >(val4
);
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15413 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15414 PyObject
*resultobj
= 0;
15415 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15419 PyObject
*swig_obj
[1] ;
15421 if (!args
) SWIG_fail
;
15422 swig_obj
[0] = args
;
15423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15424 if (!SWIG_IsOK(res1
)) {
15425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15427 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15441 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 PyObject
*resultobj
= 0;
15443 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15447 PyObject
*swig_obj
[1] ;
15449 if (!args
) SWIG_fail
;
15450 swig_obj
[0] = args
;
15451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15455 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_From_int(static_cast< int >(result
));
15469 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15470 PyObject
*resultobj
= 0;
15471 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15475 PyObject
*swig_obj
[1] ;
15477 if (!args
) SWIG_fail
;
15478 swig_obj
[0] = args
;
15479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15480 if (!SWIG_IsOK(res1
)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15483 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15487 wxPyEndAllowThreads(__tstate
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= SWIG_From_int(static_cast< int >(result
));
15497 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15498 PyObject
*resultobj
= 0;
15499 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15503 PyObject
*swig_obj
[1] ;
15505 if (!args
) SWIG_fail
;
15506 swig_obj
[0] = args
;
15507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15508 if (!SWIG_IsOK(res1
)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15511 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15515 wxPyEndAllowThreads(__tstate
);
15516 if (PyErr_Occurred()) SWIG_fail
;
15518 resultobj
= SWIG_From_int(static_cast< int >(result
));
15525 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15526 PyObject
*resultobj
= 0;
15527 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15531 PyObject
*swig_obj
[1] ;
15533 if (!args
) SWIG_fail
;
15534 swig_obj
[0] = args
;
15535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15536 if (!SWIG_IsOK(res1
)) {
15537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15539 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15542 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= SWIG_From_int(static_cast< int >(result
));
15553 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
= 0;
15555 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 char * kwnames
[] = {
15564 (char *) "self",(char *) "stick", NULL
15567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15569 if (!SWIG_IsOK(res1
)) {
15570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15572 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15574 if (!SWIG_IsOK(ecode2
)) {
15575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15577 arg2
= static_cast< int >(val2
);
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->SetJoystick(arg2
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_Py_Void();
15591 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
= 0;
15593 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15599 PyObject
* obj0
= 0 ;
15600 PyObject
* obj1
= 0 ;
15601 char * kwnames
[] = {
15602 (char *) "self",(char *) "state", NULL
15605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15607 if (!SWIG_IsOK(res1
)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15610 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15612 if (!SWIG_IsOK(ecode2
)) {
15613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15615 arg2
= static_cast< int >(val2
);
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 (arg1
)->SetButtonState(arg2
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_Py_Void();
15629 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
= 0;
15631 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 PyObject
* obj1
= 0 ;
15639 char * kwnames
[] = {
15640 (char *) "self",(char *) "change", NULL
15643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15648 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15650 if (!SWIG_IsOK(ecode2
)) {
15651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15653 arg2
= static_cast< int >(val2
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->SetButtonChange(arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_Py_Void();
15667 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15670 wxPoint
*arg2
= 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char * kwnames
[] = {
15677 (char *) "self",(char *) "pos", NULL
15680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15685 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
= 0;
15705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 PyObject
* obj1
= 0 ;
15713 char * kwnames
[] = {
15714 (char *) "self",(char *) "zPos", NULL
15717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15719 if (!SWIG_IsOK(res1
)) {
15720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15722 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15724 if (!SWIG_IsOK(ecode2
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15727 arg2
= static_cast< int >(val2
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->SetZPosition(arg2
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_Py_Void();
15741 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 PyObject
*resultobj
= 0;
15743 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15747 PyObject
*swig_obj
[1] ;
15749 if (!args
) SWIG_fail
;
15750 swig_obj
[0] = args
;
15751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15752 if (!SWIG_IsOK(res1
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15755 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15772 PyObject
*resultobj
= 0;
15773 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15777 PyObject
*swig_obj
[1] ;
15779 if (!args
) SWIG_fail
;
15780 swig_obj
[0] = args
;
15781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15782 if (!SWIG_IsOK(res1
)) {
15783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15785 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15801 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15802 PyObject
*resultobj
= 0;
15803 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15807 PyObject
*swig_obj
[1] ;
15809 if (!args
) SWIG_fail
;
15810 swig_obj
[0] = args
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15815 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15818 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15831 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15834 int arg2
= (int) wxJOY_BUTTON_ANY
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char * kwnames
[] = {
15843 (char *) "self",(char *) "but", NULL
15846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15851 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15854 if (!SWIG_IsOK(ecode2
)) {
15855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15857 arg2
= static_cast< int >(val2
);
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15874 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
= 0;
15876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15877 int arg2
= (int) wxJOY_BUTTON_ANY
;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char * kwnames
[] = {
15886 (char *) "self",(char *) "but", NULL
15889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15891 if (!SWIG_IsOK(res1
)) {
15892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15894 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15896 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15897 if (!SWIG_IsOK(ecode2
)) {
15898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15900 arg2
= static_cast< int >(val2
);
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15905 wxPyEndAllowThreads(__tstate
);
15906 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15917 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15919 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15920 int arg2
= (int) wxJOY_BUTTON_ANY
;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 char * kwnames
[] = {
15929 (char *) "self",(char *) "but", NULL
15932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15934 if (!SWIG_IsOK(res1
)) {
15935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15937 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15940 if (!SWIG_IsOK(ecode2
)) {
15941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15943 arg2
= static_cast< int >(val2
);
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15960 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15963 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15964 return SWIG_Py_Void();
15967 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15968 return SWIG_Python_InitShadowInstance(args
);
15971 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15974 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15975 wxSound
*result
= 0 ;
15976 bool temp1
= false ;
15977 PyObject
* obj0
= 0 ;
15978 char * kwnames
[] = {
15979 (char *) "fileName", NULL
15982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15985 arg1
= wxString_in_helper(obj0
);
15986 if (arg1
== NULL
) SWIG_fail
;
15991 if (!wxPyCheckForApp()) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16012 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
= 0;
16014 PyObject
*arg1
= (PyObject
*) 0 ;
16015 wxSound
*result
= 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char * kwnames
[] = {
16018 (char *) "data", NULL
16021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16024 if (!wxPyCheckForApp()) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (wxSound
*)new_wxSound(arg1
);
16027 wxPyEndAllowThreads(__tstate
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16037 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16038 PyObject
*resultobj
= 0;
16039 wxSound
*arg1
= (wxSound
*) 0 ;
16042 PyObject
*swig_obj
[1] ;
16044 if (!args
) SWIG_fail
;
16045 swig_obj
[0] = args
;
16046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16047 if (!SWIG_IsOK(res1
)) {
16048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16050 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= SWIG_Py_Void();
16065 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
= 0;
16067 wxSound
*arg1
= (wxSound
*) 0 ;
16068 wxString
*arg2
= 0 ;
16072 bool temp2
= false ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char * kwnames
[] = {
16076 (char *) "self",(char *) "fileName", NULL
16079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16081 if (!SWIG_IsOK(res1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
16084 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16086 arg2
= wxString_in_helper(obj1
);
16087 if (arg2
== NULL
) SWIG_fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16113 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
= 0;
16115 wxSound
*arg1
= (wxSound
*) 0 ;
16116 PyObject
*arg2
= (PyObject
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char * kwnames
[] = {
16123 (char *) "self",(char *) "data", NULL
16126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16131 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16135 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16149 PyObject
*resultobj
= 0;
16150 wxSound
*arg1
= (wxSound
*) 0 ;
16154 PyObject
*swig_obj
[1] ;
16156 if (!args
) SWIG_fail
;
16157 swig_obj
[0] = args
;
16158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16159 if (!SWIG_IsOK(res1
)) {
16160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16162 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 result
= (bool)(arg1
)->IsOk();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= 0;
16180 wxSound
*arg1
= (wxSound
*) 0 ;
16181 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16185 unsigned int val2
;
16187 PyObject
* obj0
= 0 ;
16188 PyObject
* obj1
= 0 ;
16189 char * kwnames
[] = {
16190 (char *) "self",(char *) "flags", NULL
16193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16195 if (!SWIG_IsOK(res1
)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16198 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16200 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16201 if (!SWIG_IsOK(ecode2
)) {
16202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16204 arg2
= static_cast< unsigned int >(val2
);
16207 if (!wxPyCheckForApp()) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16222 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
= 0;
16224 wxString
*arg1
= 0 ;
16225 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16227 bool temp1
= false ;
16228 unsigned int val2
;
16230 PyObject
* obj0
= 0 ;
16231 PyObject
* obj1
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "filename",(char *) "flags", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16238 arg1
= wxString_in_helper(obj0
);
16239 if (arg1
== NULL
) SWIG_fail
;
16243 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16244 if (!SWIG_IsOK(ecode2
)) {
16245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16247 arg2
= static_cast< unsigned int >(val2
);
16250 if (!wxPyCheckForApp()) SWIG_fail
;
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16273 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16274 PyObject
*resultobj
= 0;
16276 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16278 if (!wxPyCheckForApp()) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_Py_Void();
16291 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16294 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16295 return SWIG_Py_Void();
16298 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16299 return SWIG_Python_InitShadowInstance(args
);
16302 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
= 0;
16304 wxString
*arg1
= 0 ;
16305 wxString
*arg2
= 0 ;
16306 wxString
*arg3
= 0 ;
16307 wxString
*arg4
= 0 ;
16308 wxFileTypeInfo
*result
= 0 ;
16309 bool temp1
= false ;
16310 bool temp2
= false ;
16311 bool temp3
= false ;
16312 bool temp4
= false ;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 PyObject
* obj2
= 0 ;
16316 PyObject
* obj3
= 0 ;
16317 char * kwnames
[] = {
16318 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16323 arg1
= wxString_in_helper(obj0
);
16324 if (arg1
== NULL
) SWIG_fail
;
16328 arg2
= wxString_in_helper(obj1
);
16329 if (arg2
== NULL
) SWIG_fail
;
16333 arg3
= wxString_in_helper(obj2
);
16334 if (arg3
== NULL
) SWIG_fail
;
16338 arg4
= wxString_in_helper(obj3
);
16339 if (arg4
== NULL
) SWIG_fail
;
16343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16344 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16387 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxArrayString
*arg1
= 0 ;
16390 wxFileTypeInfo
*result
= 0 ;
16391 bool temp1
= false ;
16392 PyObject
* obj0
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "sArray", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16399 if (! PySequence_Check(obj0
)) {
16400 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16403 arg1
= new wxArrayString
;
16405 int i
, len
=PySequence_Length(obj0
);
16406 for (i
=0; i
<len
; i
++) {
16407 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16408 wxString
* s
= wxString_in_helper(item
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16423 if (temp1
) delete arg1
;
16428 if (temp1
) delete arg1
;
16434 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxFileTypeInfo
*result
= 0 ;
16438 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16452 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16453 PyObject
*resultobj
= 0;
16454 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16458 PyObject
*swig_obj
[1] ;
16460 if (!args
) SWIG_fail
;
16461 swig_obj
[0] = args
;
16462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16463 if (!SWIG_IsOK(res1
)) {
16464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16466 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16470 wxPyEndAllowThreads(__tstate
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16482 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
= 0;
16484 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16485 wxString
*arg2
= 0 ;
16486 int arg3
= (int) 0 ;
16489 bool temp2
= false ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 PyObject
* obj2
= 0 ;
16495 char * kwnames
[] = {
16496 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16504 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16506 arg2
= wxString_in_helper(obj1
);
16507 if (arg2
== NULL
) SWIG_fail
;
16511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16512 if (!SWIG_IsOK(ecode3
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16515 arg3
= static_cast< int >(val3
);
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= SWIG_Py_Void();
16538 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16540 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16541 wxString
*arg2
= 0 ;
16544 bool temp2
= false ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char * kwnames
[] = {
16548 (char *) "self",(char *) "shortDesc", NULL
16551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16556 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16558 arg2
= wxString_in_helper(obj1
);
16559 if (arg2
== NULL
) SWIG_fail
;
16563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_Py_Void();
16583 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16584 PyObject
*resultobj
= 0;
16585 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16586 wxString
*result
= 0 ;
16589 PyObject
*swig_obj
[1] ;
16591 if (!args
) SWIG_fail
;
16592 swig_obj
[0] = args
;
16593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16594 if (!SWIG_IsOK(res1
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16597 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16602 result
= (wxString
*) &_result_ref
;
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16620 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16621 PyObject
*resultobj
= 0;
16622 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16623 wxString
*result
= 0 ;
16626 PyObject
*swig_obj
[1] ;
16628 if (!args
) SWIG_fail
;
16629 swig_obj
[0] = args
;
16630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16631 if (!SWIG_IsOK(res1
)) {
16632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16634 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16639 result
= (wxString
*) &_result_ref
;
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16648 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16657 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16658 PyObject
*resultobj
= 0;
16659 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16660 wxString
*result
= 0 ;
16663 PyObject
*swig_obj
[1] ;
16665 if (!args
) SWIG_fail
;
16666 swig_obj
[0] = args
;
16667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16671 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16676 result
= (wxString
*) &_result_ref
;
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16694 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16695 PyObject
*resultobj
= 0;
16696 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16697 wxString
*result
= 0 ;
16700 PyObject
*swig_obj
[1] ;
16702 if (!args
) SWIG_fail
;
16703 swig_obj
[0] = args
;
16704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16705 if (!SWIG_IsOK(res1
)) {
16706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16708 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16713 result
= (wxString
*) &_result_ref
;
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16722 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16731 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16732 PyObject
*resultobj
= 0;
16733 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16734 wxString
*result
= 0 ;
16737 PyObject
*swig_obj
[1] ;
16739 if (!args
) SWIG_fail
;
16740 swig_obj
[0] = args
;
16741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16742 if (!SWIG_IsOK(res1
)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16745 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16750 result
= (wxString
*) &_result_ref
;
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16768 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16769 PyObject
*resultobj
= 0;
16770 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16771 wxArrayString
*result
= 0 ;
16774 PyObject
*swig_obj
[1] ;
16776 if (!args
) SWIG_fail
;
16777 swig_obj
[0] = args
;
16778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16779 if (!SWIG_IsOK(res1
)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16782 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16786 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16787 result
= (wxArrayString
*) &_result_ref
;
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= wxArrayString2PyList_helper(*result
);
16801 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16802 PyObject
*resultobj
= 0;
16803 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16807 PyObject
*swig_obj
[1] ;
16809 if (!args
) SWIG_fail
;
16810 swig_obj
[0] = args
;
16811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16812 if (!SWIG_IsOK(res1
)) {
16813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16815 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16819 wxPyEndAllowThreads(__tstate
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16822 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16829 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16830 PyObject
*resultobj
= 0;
16831 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16832 wxString
*result
= 0 ;
16835 PyObject
*swig_obj
[1] ;
16837 if (!args
) SWIG_fail
;
16838 swig_obj
[0] = args
;
16839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16840 if (!SWIG_IsOK(res1
)) {
16841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16843 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16848 result
= (wxString
*) &_result_ref
;
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16866 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16867 PyObject
*resultobj
= 0;
16868 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16872 PyObject
*swig_obj
[1] ;
16874 if (!args
) SWIG_fail
;
16875 swig_obj
[0] = args
;
16876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16877 if (!SWIG_IsOK(res1
)) {
16878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16880 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16887 resultobj
= SWIG_From_int(static_cast< int >(result
));
16894 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16898 return SWIG_Py_Void();
16901 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16902 return SWIG_Python_InitShadowInstance(args
);
16905 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
= 0;
16907 wxFileTypeInfo
*arg1
= 0 ;
16908 wxFileType
*result
= 0 ;
16911 PyObject
* obj0
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "ftInfo", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16924 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16938 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16939 PyObject
*resultobj
= 0;
16940 wxFileType
*arg1
= (wxFileType
*) 0 ;
16943 PyObject
*swig_obj
[1] ;
16945 if (!args
) SWIG_fail
;
16946 swig_obj
[0] = args
;
16947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16951 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= SWIG_Py_Void();
16966 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16967 PyObject
*resultobj
= 0;
16968 wxFileType
*arg1
= (wxFileType
*) 0 ;
16969 PyObject
*result
= 0 ;
16972 PyObject
*swig_obj
[1] ;
16974 if (!args
) SWIG_fail
;
16975 swig_obj
[0] = args
;
16976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16977 if (!SWIG_IsOK(res1
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16980 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= result
;
16994 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16995 PyObject
*resultobj
= 0;
16996 wxFileType
*arg1
= (wxFileType
*) 0 ;
16997 PyObject
*result
= 0 ;
17000 PyObject
*swig_obj
[1] ;
17002 if (!args
) SWIG_fail
;
17003 swig_obj
[0] = args
;
17004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17005 if (!SWIG_IsOK(res1
)) {
17006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17008 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= result
;
17022 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17023 PyObject
*resultobj
= 0;
17024 wxFileType
*arg1
= (wxFileType
*) 0 ;
17025 PyObject
*result
= 0 ;
17028 PyObject
*swig_obj
[1] ;
17030 if (!args
) SWIG_fail
;
17031 swig_obj
[0] = args
;
17032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17033 if (!SWIG_IsOK(res1
)) {
17034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17036 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
;
17050 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17051 PyObject
*resultobj
= 0;
17052 wxFileType
*arg1
= (wxFileType
*) 0 ;
17053 wxIcon
*result
= 0 ;
17056 PyObject
*swig_obj
[1] ;
17058 if (!args
) SWIG_fail
;
17059 swig_obj
[0] = args
;
17060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17061 if (!SWIG_IsOK(res1
)) {
17062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17064 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
17078 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17079 PyObject
*resultobj
= 0;
17080 wxFileType
*arg1
= (wxFileType
*) 0 ;
17081 PyObject
*result
= 0 ;
17084 PyObject
*swig_obj
[1] ;
17086 if (!args
) SWIG_fail
;
17087 swig_obj
[0] = args
;
17088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17089 if (!SWIG_IsOK(res1
)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
17092 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= result
;
17106 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17107 PyObject
*resultobj
= 0;
17108 wxFileType
*arg1
= (wxFileType
*) 0 ;
17109 PyObject
*result
= 0 ;
17112 PyObject
*swig_obj
[1] ;
17114 if (!args
) SWIG_fail
;
17115 swig_obj
[0] = args
;
17116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17120 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= result
;
17134 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
= 0;
17136 wxFileType
*arg1
= (wxFileType
*) 0 ;
17137 wxString
*arg2
= 0 ;
17138 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17139 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17140 PyObject
*result
= 0 ;
17143 bool temp2
= false ;
17144 bool temp3
= false ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 PyObject
* obj2
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17154 if (!SWIG_IsOK(res1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17157 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17159 arg2
= wxString_in_helper(obj1
);
17160 if (arg2
== NULL
) SWIG_fail
;
17165 arg3
= wxString_in_helper(obj2
);
17166 if (arg3
== NULL
) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= result
;
17199 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
= 0;
17201 wxFileType
*arg1
= (wxFileType
*) 0 ;
17202 wxString
*arg2
= 0 ;
17203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17205 PyObject
*result
= 0 ;
17208 bool temp2
= false ;
17209 bool temp3
= false ;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 PyObject
* obj2
= 0 ;
17213 char * kwnames
[] = {
17214 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17219 if (!SWIG_IsOK(res1
)) {
17220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17222 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17224 arg2
= wxString_in_helper(obj1
);
17225 if (arg2
== NULL
) SWIG_fail
;
17230 arg3
= wxString_in_helper(obj2
);
17231 if (arg3
== NULL
) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= result
;
17264 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
= 0;
17266 wxFileType
*arg1
= (wxFileType
*) 0 ;
17267 wxString
*arg2
= 0 ;
17268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17270 PyObject
*result
= 0 ;
17273 bool temp2
= false ;
17274 bool temp3
= false ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 PyObject
* obj2
= 0 ;
17278 char * kwnames
[] = {
17279 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17284 if (!SWIG_IsOK(res1
)) {
17285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17287 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17289 arg2
= wxString_in_helper(obj1
);
17290 if (arg2
== NULL
) SWIG_fail
;
17295 arg3
= wxString_in_helper(obj2
);
17296 if (arg3
== NULL
) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= result
;
17329 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
= 0;
17331 wxFileType
*arg1
= (wxFileType
*) 0 ;
17332 wxString
*arg2
= 0 ;
17333 wxString
*arg3
= 0 ;
17334 bool arg4
= (bool) true ;
17338 bool temp2
= false ;
17339 bool temp3
= false ;
17342 PyObject
* obj0
= 0 ;
17343 PyObject
* obj1
= 0 ;
17344 PyObject
* obj2
= 0 ;
17345 PyObject
* obj3
= 0 ;
17346 char * kwnames
[] = {
17347 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17352 if (!SWIG_IsOK(res1
)) {
17353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17355 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17357 arg2
= wxString_in_helper(obj1
);
17358 if (arg2
== NULL
) SWIG_fail
;
17362 arg3
= wxString_in_helper(obj2
);
17363 if (arg3
== NULL
) SWIG_fail
;
17367 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17368 if (!SWIG_IsOK(ecode4
)) {
17369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17371 arg4
= static_cast< bool >(val4
);
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17375 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17376 wxPyEndAllowThreads(__tstate
);
17377 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17404 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
= 0;
17406 wxFileType
*arg1
= (wxFileType
*) 0 ;
17407 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17408 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17409 int arg3
= (int) 0 ;
17413 bool temp2
= false ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 PyObject
* obj2
= 0 ;
17419 char * kwnames
[] = {
17420 (char *) "self",(char *) "cmd",(char *) "index", NULL
17423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17425 if (!SWIG_IsOK(res1
)) {
17426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17428 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17431 arg2
= wxString_in_helper(obj1
);
17432 if (arg2
== NULL
) SWIG_fail
;
17437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17438 if (!SWIG_IsOK(ecode3
)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17441 arg3
= static_cast< int >(val3
);
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17466 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17467 PyObject
*resultobj
= 0;
17468 wxFileType
*arg1
= (wxFileType
*) 0 ;
17472 PyObject
*swig_obj
[1] ;
17474 if (!args
) SWIG_fail
;
17475 swig_obj
[0] = args
;
17476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17477 if (!SWIG_IsOK(res1
)) {
17478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17480 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (bool)(arg1
)->Unassociate();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17496 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
= 0;
17498 wxString
*arg1
= 0 ;
17499 wxString
*arg2
= 0 ;
17500 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17501 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17503 bool temp1
= false ;
17504 bool temp2
= false ;
17505 bool temp3
= false ;
17506 PyObject
* obj0
= 0 ;
17507 PyObject
* obj1
= 0 ;
17508 PyObject
* obj2
= 0 ;
17509 char * kwnames
[] = {
17510 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17515 arg1
= wxString_in_helper(obj0
);
17516 if (arg1
== NULL
) SWIG_fail
;
17520 arg2
= wxString_in_helper(obj1
);
17521 if (arg2
== NULL
) SWIG_fail
;
17526 arg3
= wxString_in_helper(obj2
);
17527 if (arg3
== NULL
) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17574 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17577 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17578 return SWIG_Py_Void();
17581 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 return SWIG_Python_InitShadowInstance(args
);
17585 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17586 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17591 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17592 PyObject
*pyobj
= 0;
17594 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17599 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17601 wxString
*arg1
= 0 ;
17602 wxString
*arg2
= 0 ;
17604 bool temp1
= false ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "mimeType",(char *) "wildcard", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17614 arg1
= wxString_in_helper(obj0
);
17615 if (arg1
== NULL
) SWIG_fail
;
17619 arg2
= wxString_in_helper(obj1
);
17620 if (arg2
== NULL
) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17654 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17655 PyObject
*resultobj
= 0;
17656 wxMimeTypesManager
*result
= 0 ;
17658 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17672 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
= 0;
17674 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17675 int arg2
= (int) wxMAILCAP_ALL
;
17676 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17677 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17682 bool temp3
= false ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 char * kwnames
[] = {
17687 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17695 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17698 if (!SWIG_IsOK(ecode2
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17701 arg2
= static_cast< int >(val2
);
17705 arg3
= wxString_in_helper(obj2
);
17706 if (arg3
== NULL
) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_Py_Void();
17731 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17732 PyObject
*resultobj
= 0;
17733 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17736 PyObject
*swig_obj
[1] ;
17738 if (!args
) SWIG_fail
;
17739 swig_obj
[0] = args
;
17740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17741 if (!SWIG_IsOK(res1
)) {
17742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17744 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17747 (arg1
)->ClearData();
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_Py_Void();
17758 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
= 0;
17760 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17761 wxString
*arg2
= 0 ;
17762 wxFileType
*result
= 0 ;
17765 bool temp2
= false ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char * kwnames
[] = {
17769 (char *) "self",(char *) "ext", NULL
17772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17774 if (!SWIG_IsOK(res1
)) {
17775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17777 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17779 arg2
= wxString_in_helper(obj1
);
17780 if (arg2
== NULL
) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17804 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
= 0;
17806 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17807 wxString
*arg2
= 0 ;
17808 wxFileType
*result
= 0 ;
17811 bool temp2
= false ;
17812 PyObject
* obj0
= 0 ;
17813 PyObject
* obj1
= 0 ;
17814 char * kwnames
[] = {
17815 (char *) "self",(char *) "mimeType", NULL
17818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17820 if (!SWIG_IsOK(res1
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17823 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17825 arg2
= wxString_in_helper(obj1
);
17826 if (arg2
== NULL
) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17832 wxPyEndAllowThreads(__tstate
);
17833 if (PyErr_Occurred()) SWIG_fail
;
17835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17850 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17853 wxString
*arg2
= 0 ;
17854 bool arg3
= (bool) false ;
17858 bool temp2
= false ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 char * kwnames
[] = {
17865 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17870 if (!SWIG_IsOK(res1
)) {
17871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17873 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17875 arg2
= wxString_in_helper(obj1
);
17876 if (arg2
== NULL
) SWIG_fail
;
17880 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17881 if (!SWIG_IsOK(ecode3
)) {
17882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17884 arg3
= static_cast< bool >(val3
);
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17909 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
= 0;
17911 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17912 wxString
*arg2
= 0 ;
17916 bool temp2
= false ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "filename", NULL
17923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17928 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17930 arg2
= wxString_in_helper(obj1
);
17931 if (arg2
== NULL
) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17957 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17958 PyObject
*resultobj
= 0;
17959 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17960 PyObject
*result
= 0 ;
17963 PyObject
*swig_obj
[1] ;
17965 if (!args
) SWIG_fail
;
17966 swig_obj
[0] = args
;
17967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17971 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= result
;
17985 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17986 PyObject
*resultobj
= 0;
17987 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17988 wxFileTypeInfo
*arg2
= 0 ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 char * kwnames
[] = {
17996 (char *) "self",(char *) "ft", NULL
17999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18001 if (!SWIG_IsOK(res1
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18004 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18006 if (!SWIG_IsOK(res2
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18012 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_Py_Void();
18026 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
= 0;
18028 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18029 wxFileTypeInfo
*arg2
= 0 ;
18030 wxFileType
*result
= 0 ;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char * kwnames
[] = {
18038 (char *) "self",(char *) "ftInfo", NULL
18041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18043 if (!SWIG_IsOK(res1
)) {
18044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18046 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18048 if (!SWIG_IsOK(res2
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18054 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18068 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
= 0;
18070 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18071 wxFileType
*arg2
= (wxFileType
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 char * kwnames
[] = {
18080 (char *) "self",(char *) "ft", NULL
18083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18085 if (!SWIG_IsOK(res1
)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18088 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18090 if (!SWIG_IsOK(res2
)) {
18091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
18093 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (bool)(arg1
)->Unassociate(arg2
);
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18109 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18110 PyObject
*resultobj
= 0;
18111 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18114 PyObject
*swig_obj
[1] ;
18116 if (!args
) SWIG_fail
;
18117 swig_obj
[0] = args
;
18118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
18119 if (!SWIG_IsOK(res1
)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18122 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_Py_Void();
18137 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18139 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18140 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18141 return SWIG_Py_Void();
18144 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18145 return SWIG_Python_InitShadowInstance(args
);
18148 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18149 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18154 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18155 PyObject
*pyobj
= 0;
18159 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18161 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18168 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18169 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18174 SWIGINTERN PyObject
*ART_MENU_get(void) {
18175 PyObject
*pyobj
= 0;
18179 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18181 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18188 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18189 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18194 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18195 PyObject
*pyobj
= 0;
18199 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18201 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18208 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18209 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18214 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18215 PyObject
*pyobj
= 0;
18219 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18221 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18228 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18229 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18234 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18235 PyObject
*pyobj
= 0;
18239 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18241 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18248 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18249 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18254 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18255 PyObject
*pyobj
= 0;
18259 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18261 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18268 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18269 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18274 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18275 PyObject
*pyobj
= 0;
18279 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18281 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18288 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18289 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18294 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18295 PyObject
*pyobj
= 0;
18299 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18301 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18308 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18309 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18314 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18315 PyObject
*pyobj
= 0;
18319 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18321 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18328 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18329 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18334 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18335 PyObject
*pyobj
= 0;
18339 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18341 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18348 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18349 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18354 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18355 PyObject
*pyobj
= 0;
18359 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18361 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18368 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18369 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18374 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18375 PyObject
*pyobj
= 0;
18379 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18381 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18388 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18389 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18394 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18395 PyObject
*pyobj
= 0;
18399 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18401 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18408 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18409 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18414 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18415 PyObject
*pyobj
= 0;
18419 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18421 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18428 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18429 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18434 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18435 PyObject
*pyobj
= 0;
18439 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18441 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18448 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18449 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18454 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18455 PyObject
*pyobj
= 0;
18459 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18461 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18468 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18469 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18474 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18475 PyObject
*pyobj
= 0;
18479 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18481 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18488 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18489 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18494 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18495 PyObject
*pyobj
= 0;
18499 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18501 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18508 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18509 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18514 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18515 PyObject
*pyobj
= 0;
18519 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18521 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18528 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18529 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18534 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18535 PyObject
*pyobj
= 0;
18539 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18541 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18548 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18549 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18554 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18555 PyObject
*pyobj
= 0;
18559 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18561 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18568 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18569 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18574 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18575 PyObject
*pyobj
= 0;
18579 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18581 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18588 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18589 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18594 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18595 PyObject
*pyobj
= 0;
18599 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18601 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18608 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18609 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18614 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18615 PyObject
*pyobj
= 0;
18619 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18621 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18628 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18629 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18634 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18635 PyObject
*pyobj
= 0;
18639 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18641 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18648 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18649 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18654 SWIGINTERN PyObject
*ART_HELP_get(void) {
18655 PyObject
*pyobj
= 0;
18659 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18661 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18668 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18669 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18674 SWIGINTERN PyObject
*ART_TIP_get(void) {
18675 PyObject
*pyobj
= 0;
18679 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18681 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18688 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18689 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18694 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18695 PyObject
*pyobj
= 0;
18699 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18701 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18708 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18709 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18714 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18715 PyObject
*pyobj
= 0;
18719 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18721 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18728 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18729 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18734 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18735 PyObject
*pyobj
= 0;
18739 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18741 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18748 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18749 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18754 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18755 PyObject
*pyobj
= 0;
18759 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18761 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18768 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18769 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18774 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18775 PyObject
*pyobj
= 0;
18779 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18781 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18788 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18789 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18794 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18795 PyObject
*pyobj
= 0;
18799 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18801 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18808 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18809 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18814 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18815 PyObject
*pyobj
= 0;
18819 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18821 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18828 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18829 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18834 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18835 PyObject
*pyobj
= 0;
18839 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18841 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18848 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18849 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18854 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18855 PyObject
*pyobj
= 0;
18859 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18861 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18868 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18869 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18874 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18875 PyObject
*pyobj
= 0;
18879 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18881 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18888 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18889 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18894 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18895 PyObject
*pyobj
= 0;
18899 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18901 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18908 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18909 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18914 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18915 PyObject
*pyobj
= 0;
18919 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18921 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18928 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18929 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18934 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18935 PyObject
*pyobj
= 0;
18939 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18941 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18948 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18949 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18954 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18955 PyObject
*pyobj
= 0;
18959 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18961 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18968 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18969 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18974 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18975 PyObject
*pyobj
= 0;
18979 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18981 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18988 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18989 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18994 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18995 PyObject
*pyobj
= 0;
18999 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19001 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19008 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19009 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19014 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19015 PyObject
*pyobj
= 0;
19019 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19021 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19028 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19029 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19034 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19035 PyObject
*pyobj
= 0;
19039 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19041 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19048 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19049 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19054 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19055 PyObject
*pyobj
= 0;
19059 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19061 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19068 SWIGINTERN
int ART_COPY_set(PyObject
*) {
19069 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
19074 SWIGINTERN PyObject
*ART_COPY_get(void) {
19075 PyObject
*pyobj
= 0;
19079 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19081 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19088 SWIGINTERN
int ART_CUT_set(PyObject
*) {
19089 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
19094 SWIGINTERN PyObject
*ART_CUT_get(void) {
19095 PyObject
*pyobj
= 0;
19099 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19101 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19108 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
19109 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
19114 SWIGINTERN PyObject
*ART_PASTE_get(void) {
19115 PyObject
*pyobj
= 0;
19119 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19121 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19128 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19129 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19134 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19135 PyObject
*pyobj
= 0;
19139 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19141 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19148 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19149 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19154 SWIGINTERN PyObject
*ART_NEW_get(void) {
19155 PyObject
*pyobj
= 0;
19159 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19161 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19168 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19169 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19174 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19175 PyObject
*pyobj
= 0;
19179 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19181 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19188 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19189 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19194 SWIGINTERN PyObject
*ART_REDO_get(void) {
19195 PyObject
*pyobj
= 0;
19199 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19201 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19208 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19209 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19214 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19215 PyObject
*pyobj
= 0;
19219 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19221 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19228 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19229 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19234 SWIGINTERN PyObject
*ART_FIND_get(void) {
19235 PyObject
*pyobj
= 0;
19239 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19241 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19248 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19249 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19254 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19255 PyObject
*pyobj
= 0;
19259 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19261 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19268 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19269 PyObject
*resultobj
= 0;
19270 wxPyArtProvider
*result
= 0 ;
19272 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19274 if (!wxPyCheckForApp()) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19287 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19288 PyObject
*resultobj
= 0;
19289 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19292 PyObject
*swig_obj
[1] ;
19294 if (!args
) SWIG_fail
;
19295 swig_obj
[0] = args
;
19296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19300 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_Py_Void();
19315 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
= 0;
19317 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19318 PyObject
*arg2
= (PyObject
*) 0 ;
19319 PyObject
*arg3
= (PyObject
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 PyObject
* obj2
= 0 ;
19325 char * kwnames
[] = {
19326 (char *) "self",(char *) "self",(char *) "_class", NULL
19329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19331 if (!SWIG_IsOK(res1
)) {
19332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19334 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_Py_Void();
19350 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
= 0;
19352 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 char * kwnames
[] = {
19356 (char *) "provider", NULL
19359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19360 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 wxPyArtProvider::PushProvider(arg1
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_Py_Void();
19377 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19378 PyObject
*resultobj
= 0;
19381 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= (bool)wxPyArtProvider::PopProvider();
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19397 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
= 0;
19399 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19403 PyObject
* obj0
= 0 ;
19404 char * kwnames
[] = {
19405 (char *) "provider", NULL
19408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19410 if (!SWIG_IsOK(res1
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19413 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19429 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxString
*arg1
= 0 ;
19432 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19433 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19434 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19435 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19437 bool temp1
= false ;
19438 bool temp2
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 PyObject
* obj2
= 0 ;
19443 char * kwnames
[] = {
19444 (char *) "id",(char *) "client",(char *) "size", NULL
19447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19449 arg1
= wxString_in_helper(obj0
);
19450 if (arg1
== NULL
) SWIG_fail
;
19455 arg2
= wxString_in_helper(obj1
);
19456 if (arg2
== NULL
) SWIG_fail
;
19463 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19467 if (!wxPyCheckForApp()) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19496 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
= 0;
19498 wxString
*arg1
= 0 ;
19499 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19500 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19501 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19502 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19504 bool temp1
= false ;
19505 bool temp2
= false ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 PyObject
* obj2
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "id",(char *) "client",(char *) "size", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19516 arg1
= wxString_in_helper(obj0
);
19517 if (arg1
== NULL
) SWIG_fail
;
19522 arg2
= wxString_in_helper(obj1
);
19523 if (arg2
== NULL
) SWIG_fail
;
19530 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19534 if (!wxPyCheckForApp()) SWIG_fail
;
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19563 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
= 0;
19565 wxString
*arg1
= 0 ;
19566 bool arg2
= (bool) false ;
19568 bool temp1
= false ;
19571 PyObject
* obj0
= 0 ;
19572 PyObject
* obj1
= 0 ;
19573 char * kwnames
[] = {
19574 (char *) "client",(char *) "platform_dependent", NULL
19577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19579 arg1
= wxString_in_helper(obj0
);
19580 if (arg1
== NULL
) SWIG_fail
;
19584 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19585 if (!SWIG_IsOK(ecode2
)) {
19586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19588 arg2
= static_cast< bool >(val2
);
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19611 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19612 PyObject
*resultobj
= 0;
19613 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19616 PyObject
*swig_obj
[1] ;
19618 if (!args
) SWIG_fail
;
19619 swig_obj
[0] = args
;
19620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19621 if (!SWIG_IsOK(res1
)) {
19622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19624 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19627 wxPyArtProvider_Destroy(arg1
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= SWIG_Py_Void();
19638 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19642 return SWIG_Py_Void();
19645 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19646 return SWIG_Python_InitShadowInstance(args
);
19649 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19650 PyObject
*resultobj
= 0;
19651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19654 PyObject
*swig_obj
[1] ;
19656 if (!args
) SWIG_fail
;
19657 swig_obj
[0] = args
;
19658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19659 if (!SWIG_IsOK(res1
)) {
19660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19662 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_Py_Void();
19677 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
= 0;
19679 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19680 wxConfigBase
*result
= 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char * kwnames
[] = {
19684 (char *) "config", NULL
19687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19688 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19689 if (!SWIG_IsOK(res1
)) {
19690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19705 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
= 0;
19707 bool arg1
= (bool) true ;
19708 wxConfigBase
*result
= 0 ;
19711 PyObject
* obj0
= 0 ;
19712 char * kwnames
[] = {
19713 (char *) "createOnDemand", NULL
19716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19718 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19719 if (!SWIG_IsOK(ecode1
)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19722 arg1
= static_cast< bool >(val1
);
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19737 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 PyObject
*resultobj
= 0;
19739 wxConfigBase
*result
= 0 ;
19741 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxConfigBase
*)wxConfigBase::Create();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19755 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19756 PyObject
*resultobj
= 0;
19758 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 wxConfigBase::DontCreateOnDemand();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19772 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
= 0;
19774 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19775 wxString
*arg2
= 0 ;
19778 bool temp2
= false ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char * kwnames
[] = {
19782 (char *) "self",(char *) "path", NULL
19785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19790 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19792 arg2
= wxString_in_helper(obj1
);
19793 if (arg2
== NULL
) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetPath((wxString
const &)*arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19817 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19818 PyObject
*resultobj
= 0;
19819 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19820 wxString
*result
= 0 ;
19823 PyObject
*swig_obj
[1] ;
19825 if (!args
) SWIG_fail
;
19826 swig_obj
[0] = args
;
19827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19828 if (!SWIG_IsOK(res1
)) {
19829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19831 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19836 result
= (wxString
*) &_result_ref
;
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19845 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19854 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19855 PyObject
*resultobj
= 0;
19856 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19857 PyObject
*result
= 0 ;
19860 PyObject
*swig_obj
[1] ;
19862 if (!args
) SWIG_fail
;
19863 swig_obj
[0] = args
;
19864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19868 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
;
19882 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
= 0;
19884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19886 PyObject
*result
= 0 ;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 char * kwnames
[] = {
19894 (char *) "self",(char *) "index", NULL
19897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19899 if (!SWIG_IsOK(res1
)) {
19900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19902 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19903 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19904 if (!SWIG_IsOK(ecode2
)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19907 arg2
= static_cast< long >(val2
);
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
;
19921 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19922 PyObject
*resultobj
= 0;
19923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19924 PyObject
*result
= 0 ;
19927 PyObject
*swig_obj
[1] ;
19929 if (!args
) SWIG_fail
;
19930 swig_obj
[0] = args
;
19931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19932 if (!SWIG_IsOK(res1
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19935 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= result
;
19949 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
= 0;
19951 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19953 PyObject
*result
= 0 ;
19958 PyObject
* obj0
= 0 ;
19959 PyObject
* obj1
= 0 ;
19960 char * kwnames
[] = {
19961 (char *) "self",(char *) "index", NULL
19964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19966 if (!SWIG_IsOK(res1
)) {
19967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19969 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19970 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19971 if (!SWIG_IsOK(ecode2
)) {
19972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19974 arg2
= static_cast< long >(val2
);
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= result
;
19988 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
= 0;
19990 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19991 bool arg2
= (bool) false ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char * kwnames
[] = {
20000 (char *) "self",(char *) "recursive", NULL
20003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20008 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20011 if (!SWIG_IsOK(ecode2
)) {
20012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20014 arg2
= static_cast< bool >(val2
);
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20029 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20032 bool arg2
= (bool) false ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "recursive", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20049 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20052 if (!SWIG_IsOK(ecode2
)) {
20053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20055 arg2
= static_cast< bool >(val2
);
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20070 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
= 0;
20072 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20073 wxString
*arg2
= 0 ;
20077 bool temp2
= false ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "name", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20089 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20091 arg2
= wxString_in_helper(obj1
);
20092 if (arg2
== NULL
) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20118 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
= 0;
20120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20121 wxString
*arg2
= 0 ;
20125 bool temp2
= false ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 char * kwnames
[] = {
20129 (char *) "self",(char *) "name", NULL
20132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20134 if (!SWIG_IsOK(res1
)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20137 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20139 arg2
= wxString_in_helper(obj1
);
20140 if (arg2
== NULL
) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20166 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
= 0;
20168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20169 wxString
*arg2
= 0 ;
20173 bool temp2
= false ;
20174 PyObject
* obj0
= 0 ;
20175 PyObject
* obj1
= 0 ;
20176 char * kwnames
[] = {
20177 (char *) "self",(char *) "name", NULL
20180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20182 if (!SWIG_IsOK(res1
)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20185 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20187 arg2
= wxString_in_helper(obj1
);
20188 if (arg2
== NULL
) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20214 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20217 wxString
*arg2
= 0 ;
20218 wxConfigBase::EntryType result
;
20221 bool temp2
= false ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char * kwnames
[] = {
20225 (char *) "self",(char *) "name", NULL
20228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20230 if (!SWIG_IsOK(res1
)) {
20231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20233 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20235 arg2
= wxString_in_helper(obj1
);
20236 if (arg2
== NULL
) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_From_int(static_cast< int >(result
));
20260 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
= 0;
20262 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20263 wxString
*arg2
= 0 ;
20264 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20265 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20269 bool temp2
= false ;
20270 bool temp3
= false ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 PyObject
* obj2
= 0 ;
20274 char * kwnames
[] = {
20275 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20280 if (!SWIG_IsOK(res1
)) {
20281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20283 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20285 arg2
= wxString_in_helper(obj1
);
20286 if (arg2
== NULL
) SWIG_fail
;
20291 arg3
= wxString_in_helper(obj2
);
20292 if (arg3
== NULL
) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20331 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
= 0;
20333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20334 wxString
*arg2
= 0 ;
20335 long arg3
= (long) 0 ;
20339 bool temp2
= false ;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 PyObject
* obj2
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20354 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20356 arg2
= wxString_in_helper(obj1
);
20357 if (arg2
== NULL
) SWIG_fail
;
20361 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20362 if (!SWIG_IsOK(ecode3
)) {
20363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20365 arg3
= static_cast< long >(val3
);
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_From_long(static_cast< long >(result
));
20388 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
= 0;
20390 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20391 wxString
*arg2
= 0 ;
20392 double arg3
= (double) 0.0 ;
20396 bool temp2
= false ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 PyObject
* obj2
= 0 ;
20402 char * kwnames
[] = {
20403 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20408 if (!SWIG_IsOK(res1
)) {
20409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20411 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20413 arg2
= wxString_in_helper(obj1
);
20414 if (arg2
== NULL
) SWIG_fail
;
20418 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20419 if (!SWIG_IsOK(ecode3
)) {
20420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20422 arg3
= static_cast< double >(val3
);
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_From_double(static_cast< double >(result
));
20445 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
= 0;
20447 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20448 wxString
*arg2
= 0 ;
20449 bool arg3
= (bool) false ;
20453 bool temp2
= false ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20458 PyObject
* obj2
= 0 ;
20459 char * kwnames
[] = {
20460 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20465 if (!SWIG_IsOK(res1
)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20468 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20470 arg2
= wxString_in_helper(obj1
);
20471 if (arg2
== NULL
) SWIG_fail
;
20475 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20476 if (!SWIG_IsOK(ecode3
)) {
20477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20479 arg3
= static_cast< bool >(val3
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20504 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20507 wxString
*arg2
= 0 ;
20508 wxString
*arg3
= 0 ;
20512 bool temp2
= false ;
20513 bool temp3
= false ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 PyObject
* obj2
= 0 ;
20517 char * kwnames
[] = {
20518 (char *) "self",(char *) "key",(char *) "value", NULL
20521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20523 if (!SWIG_IsOK(res1
)) {
20524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20526 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20528 arg2
= wxString_in_helper(obj1
);
20529 if (arg2
== NULL
) SWIG_fail
;
20533 arg3
= wxString_in_helper(obj2
);
20534 if (arg3
== NULL
) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20568 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
= 0;
20570 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20571 wxString
*arg2
= 0 ;
20576 bool temp2
= false ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 PyObject
* obj2
= 0 ;
20582 char * kwnames
[] = {
20583 (char *) "self",(char *) "key",(char *) "value", NULL
20586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20591 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20593 arg2
= wxString_in_helper(obj1
);
20594 if (arg2
== NULL
) SWIG_fail
;
20597 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20598 if (!SWIG_IsOK(ecode3
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20601 arg3
= static_cast< long >(val3
);
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20625 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
= 0;
20627 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20628 wxString
*arg2
= 0 ;
20633 bool temp2
= false ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 PyObject
* obj2
= 0 ;
20639 char * kwnames
[] = {
20640 (char *) "self",(char *) "key",(char *) "value", NULL
20643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20645 if (!SWIG_IsOK(res1
)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20648 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20650 arg2
= wxString_in_helper(obj1
);
20651 if (arg2
== NULL
) SWIG_fail
;
20654 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20655 if (!SWIG_IsOK(ecode3
)) {
20656 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20658 arg3
= static_cast< double >(val3
);
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20682 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
= 0;
20684 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20685 wxString
*arg2
= 0 ;
20690 bool temp2
= false ;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 PyObject
* obj2
= 0 ;
20696 char * kwnames
[] = {
20697 (char *) "self",(char *) "key",(char *) "value", NULL
20700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20702 if (!SWIG_IsOK(res1
)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20705 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20707 arg2
= wxString_in_helper(obj1
);
20708 if (arg2
== NULL
) SWIG_fail
;
20711 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20712 if (!SWIG_IsOK(ecode3
)) {
20713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20715 arg3
= static_cast< bool >(val3
);
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20739 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
= 0;
20741 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20742 bool arg2
= (bool) false ;
20748 PyObject
* obj0
= 0 ;
20749 PyObject
* obj1
= 0 ;
20750 char * kwnames
[] = {
20751 (char *) "self",(char *) "currentOnly", NULL
20754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20756 if (!SWIG_IsOK(res1
)) {
20757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20759 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20761 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20762 if (!SWIG_IsOK(ecode2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20765 arg2
= static_cast< bool >(val2
);
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Flush(arg2
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20782 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
= 0;
20784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20785 wxString
*arg2
= 0 ;
20786 wxString
*arg3
= 0 ;
20790 bool temp2
= false ;
20791 bool temp3
= false ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 char * kwnames
[] = {
20796 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20804 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20806 arg2
= wxString_in_helper(obj1
);
20807 if (arg2
== NULL
) SWIG_fail
;
20811 arg3
= wxString_in_helper(obj2
);
20812 if (arg3
== NULL
) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20846 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
= 0;
20848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20849 wxString
*arg2
= 0 ;
20850 wxString
*arg3
= 0 ;
20854 bool temp2
= false ;
20855 bool temp3
= false ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 PyObject
* obj2
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20868 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20870 arg2
= wxString_in_helper(obj1
);
20871 if (arg2
== NULL
) SWIG_fail
;
20875 arg3
= wxString_in_helper(obj2
);
20876 if (arg3
== NULL
) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20910 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
= 0;
20912 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20913 wxString
*arg2
= 0 ;
20914 bool arg3
= (bool) true ;
20918 bool temp2
= false ;
20921 PyObject
* obj0
= 0 ;
20922 PyObject
* obj1
= 0 ;
20923 PyObject
* obj2
= 0 ;
20924 char * kwnames
[] = {
20925 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20930 if (!SWIG_IsOK(res1
)) {
20931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20933 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20935 arg2
= wxString_in_helper(obj1
);
20936 if (arg2
== NULL
) SWIG_fail
;
20940 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20941 if (!SWIG_IsOK(ecode3
)) {
20942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20944 arg3
= static_cast< bool >(val3
);
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20969 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
= 0;
20971 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20972 wxString
*arg2
= 0 ;
20976 bool temp2
= false ;
20977 PyObject
* obj0
= 0 ;
20978 PyObject
* obj1
= 0 ;
20979 char * kwnames
[] = {
20980 (char *) "self",(char *) "key", NULL
20983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20985 if (!SWIG_IsOK(res1
)) {
20986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20988 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20990 arg2
= wxString_in_helper(obj1
);
20991 if (arg2
== NULL
) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21017 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21018 PyObject
*resultobj
= 0;
21019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21023 PyObject
*swig_obj
[1] ;
21025 if (!args
) SWIG_fail
;
21026 swig_obj
[0] = args
;
21027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21028 if (!SWIG_IsOK(res1
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21031 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (bool)(arg1
)->DeleteAll();
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21047 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
= 0;
21049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21050 bool arg2
= (bool) true ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "self",(char *) "doIt", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21066 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21068 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21069 if (!SWIG_IsOK(ecode2
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
21072 arg2
= static_cast< bool >(val2
);
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 (arg1
)->SetExpandEnvVars(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= SWIG_Py_Void();
21087 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21088 PyObject
*resultobj
= 0;
21089 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21093 PyObject
*swig_obj
[1] ;
21095 if (!args
) SWIG_fail
;
21096 swig_obj
[0] = args
;
21097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21101 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21117 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21120 bool arg2
= (bool) true ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char * kwnames
[] = {
21128 (char *) "self",(char *) "doIt", NULL
21131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21136 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21138 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21139 if (!SWIG_IsOK(ecode2
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21142 arg2
= static_cast< bool >(val2
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 (arg1
)->SetRecordDefaults(arg2
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_Py_Void();
21157 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21158 PyObject
*resultobj
= 0;
21159 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21163 PyObject
*swig_obj
[1] ;
21165 if (!args
) SWIG_fail
;
21166 swig_obj
[0] = args
;
21167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21168 if (!SWIG_IsOK(res1
)) {
21169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21171 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21187 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21190 wxString
*arg2
= 0 ;
21194 bool temp2
= false ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "self",(char *) "str", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21206 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21208 arg2
= wxString_in_helper(obj1
);
21209 if (arg2
== NULL
) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21239 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21240 PyObject
*resultobj
= 0;
21241 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21245 PyObject
*swig_obj
[1] ;
21247 if (!args
) SWIG_fail
;
21248 swig_obj
[0] = args
;
21249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21250 if (!SWIG_IsOK(res1
)) {
21251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21253 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21273 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21274 PyObject
*resultobj
= 0;
21275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21279 PyObject
*swig_obj
[1] ;
21281 if (!args
) SWIG_fail
;
21282 swig_obj
[0] = args
;
21283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21284 if (!SWIG_IsOK(res1
)) {
21285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21287 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21307 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
= 0;
21309 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21310 wxString
*arg2
= 0 ;
21313 bool temp2
= false ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21316 char * kwnames
[] = {
21317 (char *) "self",(char *) "appName", NULL
21320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21322 if (!SWIG_IsOK(res1
)) {
21323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21325 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21327 arg2
= wxString_in_helper(obj1
);
21328 if (arg2
== NULL
) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 (arg1
)->SetAppName((wxString
const &)*arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_Py_Void();
21352 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
= 0;
21354 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21355 wxString
*arg2
= 0 ;
21358 bool temp2
= false ;
21359 PyObject
* obj0
= 0 ;
21360 PyObject
* obj1
= 0 ;
21361 char * kwnames
[] = {
21362 (char *) "self",(char *) "vendorName", NULL
21365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21367 if (!SWIG_IsOK(res1
)) {
21368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21370 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21372 arg2
= wxString_in_helper(obj1
);
21373 if (arg2
== NULL
) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21379 wxPyEndAllowThreads(__tstate
);
21380 if (PyErr_Occurred()) SWIG_fail
;
21382 resultobj
= SWIG_Py_Void();
21397 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
= 0;
21399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char * kwnames
[] = {
21408 (char *) "self",(char *) "style", NULL
21411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21416 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21418 if (!SWIG_IsOK(ecode2
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21421 arg2
= static_cast< long >(val2
);
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetStyle(arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 resultobj
= SWIG_Py_Void();
21435 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21436 PyObject
*resultobj
= 0;
21437 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21441 PyObject
*swig_obj
[1] ;
21443 if (!args
) SWIG_fail
;
21444 swig_obj
[0] = args
;
21445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21446 if (!SWIG_IsOK(res1
)) {
21447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21449 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_long(static_cast< long >(result
));
21463 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21466 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21467 return SWIG_Py_Void();
21470 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
= 0;
21472 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21473 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21474 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21475 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21476 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21480 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21481 wxConfig
*result
= 0 ;
21482 bool temp1
= false ;
21483 bool temp2
= false ;
21484 bool temp3
= false ;
21485 bool temp4
= false ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 PyObject
* obj2
= 0 ;
21491 PyObject
* obj3
= 0 ;
21492 PyObject
* obj4
= 0 ;
21493 char * kwnames
[] = {
21494 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21500 arg1
= wxString_in_helper(obj0
);
21501 if (arg1
== NULL
) SWIG_fail
;
21507 arg2
= wxString_in_helper(obj1
);
21508 if (arg2
== NULL
) SWIG_fail
;
21514 arg3
= wxString_in_helper(obj2
);
21515 if (arg3
== NULL
) SWIG_fail
;
21521 arg4
= wxString_in_helper(obj3
);
21522 if (arg4
== NULL
) SWIG_fail
;
21527 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21528 if (!SWIG_IsOK(ecode5
)) {
21529 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21531 arg5
= static_cast< long >(val5
);
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21578 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21579 PyObject
*resultobj
= 0;
21580 wxConfig
*arg1
= (wxConfig
*) 0 ;
21583 PyObject
*swig_obj
[1] ;
21585 if (!args
) SWIG_fail
;
21586 swig_obj
[0] = args
;
21587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21588 if (!SWIG_IsOK(res1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21591 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_Py_Void();
21606 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21609 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21610 return SWIG_Py_Void();
21613 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21614 return SWIG_Python_InitShadowInstance(args
);
21617 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
= 0;
21619 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21620 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21621 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21622 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21623 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21624 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21625 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21626 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21627 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21628 wxFileConfig
*result
= 0 ;
21629 bool temp1
= false ;
21630 bool temp2
= false ;
21631 bool temp3
= false ;
21632 bool temp4
= false ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 PyObject
* obj2
= 0 ;
21638 PyObject
* obj3
= 0 ;
21639 PyObject
* obj4
= 0 ;
21640 char * kwnames
[] = {
21641 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21647 arg1
= wxString_in_helper(obj0
);
21648 if (arg1
== NULL
) SWIG_fail
;
21654 arg2
= wxString_in_helper(obj1
);
21655 if (arg2
== NULL
) SWIG_fail
;
21661 arg3
= wxString_in_helper(obj2
);
21662 if (arg3
== NULL
) SWIG_fail
;
21668 arg4
= wxString_in_helper(obj3
);
21669 if (arg4
== NULL
) SWIG_fail
;
21674 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21675 if (!SWIG_IsOK(ecode5
)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21678 arg5
= static_cast< long >(val5
);
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21725 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21726 PyObject
*resultobj
= 0;
21727 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21730 PyObject
*swig_obj
[1] ;
21732 if (!args
) SWIG_fail
;
21733 swig_obj
[0] = args
;
21734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21735 if (!SWIG_IsOK(res1
)) {
21736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21738 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_Py_Void();
21753 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21756 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21757 return SWIG_Py_Void();
21760 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21761 return SWIG_Python_InitShadowInstance(args
);
21764 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
= 0;
21766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21767 wxString
*arg2
= 0 ;
21768 wxConfigPathChanger
*result
= 0 ;
21771 bool temp2
= false ;
21772 PyObject
* obj0
= 0 ;
21773 PyObject
* obj1
= 0 ;
21774 char * kwnames
[] = {
21775 (char *) "config",(char *) "entry", NULL
21778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21783 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21785 arg2
= wxString_in_helper(obj1
);
21786 if (arg2
== NULL
) SWIG_fail
;
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21810 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21811 PyObject
*resultobj
= 0;
21812 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21815 PyObject
*swig_obj
[1] ;
21817 if (!args
) SWIG_fail
;
21818 swig_obj
[0] = args
;
21819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21820 if (!SWIG_IsOK(res1
)) {
21821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21823 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_Py_Void();
21838 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21839 PyObject
*resultobj
= 0;
21840 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21841 wxString
*result
= 0 ;
21844 PyObject
*swig_obj
[1] ;
21846 if (!args
) SWIG_fail
;
21847 swig_obj
[0] = args
;
21848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21852 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21857 result
= (wxString
*) &_result_ref
;
21859 wxPyEndAllowThreads(__tstate
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21866 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21875 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21878 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21879 return SWIG_Py_Void();
21882 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 return SWIG_Python_InitShadowInstance(args
);
21886 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21887 PyObject
*resultobj
= 0;
21888 wxString
*arg1
= 0 ;
21890 bool temp1
= false ;
21891 PyObject
* obj0
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "sz", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21898 arg1
= wxString_in_helper(obj0
);
21899 if (arg1
== NULL
) SWIG_fail
;
21903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21904 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21929 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21930 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21935 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21936 PyObject
*pyobj
= 0;
21940 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21942 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21949 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21950 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21955 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21956 PyObject
*pyobj
= 0;
21960 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21962 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21969 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
= 0;
21971 wxDateTime::Country arg1
;
21974 PyObject
* obj0
= 0 ;
21975 char * kwnames
[] = {
21976 (char *) "country", NULL
21979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21981 if (!SWIG_IsOK(ecode1
)) {
21982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21984 arg1
= static_cast< wxDateTime::Country
>(val1
);
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 wxDateTime::SetCountry(arg1
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= SWIG_Py_Void();
21998 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21999 PyObject
*resultobj
= 0;
22000 wxDateTime::Country result
;
22002 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_From_int(static_cast< int >(result
));
22016 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
= 0;
22018 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22022 PyObject
* obj0
= 0 ;
22023 char * kwnames
[] = {
22024 (char *) "country", NULL
22027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22030 if (!SWIG_IsOK(ecode1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22033 arg1
= static_cast< wxDateTime::Country
>(val1
);
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22050 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
= 0;
22052 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22056 PyObject
* obj0
= 0 ;
22057 char * kwnames
[] = {
22058 (char *) "cal", NULL
22061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
22063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22064 if (!SWIG_IsOK(ecode1
)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22067 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (int)wxDateTime::GetCurrentYear(arg1
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_From_int(static_cast< int >(result
));
22082 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
= 0;
22088 PyObject
* obj0
= 0 ;
22089 char * kwnames
[] = {
22090 (char *) "year", NULL
22093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
22094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22095 if (!SWIG_IsOK(ecode1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
22098 arg1
= static_cast< int >(val1
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_From_int(static_cast< int >(result
));
22112 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
= 0;
22114 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22115 wxDateTime::Month result
;
22118 PyObject
* obj0
= 0 ;
22119 char * kwnames
[] = {
22120 (char *) "cal", NULL
22123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22125 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22126 if (!SWIG_IsOK(ecode1
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22129 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22134 wxPyEndAllowThreads(__tstate
);
22135 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= SWIG_From_int(static_cast< int >(result
));
22144 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
= 0;
22146 int arg1
= (int) wxDateTime::Inv_Year
;
22147 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22153 PyObject
* obj0
= 0 ;
22154 PyObject
* obj1
= 0 ;
22155 char * kwnames
[] = {
22156 (char *) "year",(char *) "cal", NULL
22159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22161 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22162 if (!SWIG_IsOK(ecode1
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22165 arg1
= static_cast< int >(val1
);
22168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22169 if (!SWIG_IsOK(ecode2
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22172 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
= 0;
22191 int arg1
= (int) wxDateTime::Inv_Year
;
22195 PyObject
* obj0
= 0 ;
22196 char * kwnames
[] = {
22197 (char *) "year", NULL
22200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22202 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22203 if (!SWIG_IsOK(ecode1
)) {
22204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22206 arg1
= static_cast< int >(val1
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (int)wxDateTime::GetCentury(arg1
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_From_int(static_cast< int >(result
));
22221 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
= 0;
22224 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22230 PyObject
* obj0
= 0 ;
22231 PyObject
* obj1
= 0 ;
22232 char * kwnames
[] = {
22233 (char *) "year",(char *) "cal", NULL
22236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22237 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22238 if (!SWIG_IsOK(ecode1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22241 arg1
= static_cast< int >(val1
);
22243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22244 if (!SWIG_IsOK(ecode2
)) {
22245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22247 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_From_int(static_cast< int >(result
));
22262 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
= 0;
22264 wxDateTime::Month arg1
;
22265 int arg2
= (int) wxDateTime::Inv_Year
;
22266 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 char * kwnames
[] = {
22278 (char *) "month",(char *) "year",(char *) "cal", NULL
22281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22282 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22283 if (!SWIG_IsOK(ecode1
)) {
22284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22286 arg1
= static_cast< wxDateTime::Month
>(val1
);
22288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22289 if (!SWIG_IsOK(ecode2
)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22292 arg2
= static_cast< int >(val2
);
22295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22296 if (!SWIG_IsOK(ecode3
)) {
22297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22299 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22304 wxPyEndAllowThreads(__tstate
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= SWIG_From_int(static_cast< int >(result
));
22314 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22315 PyObject
*resultobj
= 0;
22316 wxDateTime::Month arg1
;
22317 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22323 PyObject
* obj0
= 0 ;
22324 PyObject
* obj1
= 0 ;
22325 char * kwnames
[] = {
22326 (char *) "month",(char *) "flags", NULL
22329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22330 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22331 if (!SWIG_IsOK(ecode1
)) {
22332 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22334 arg1
= static_cast< wxDateTime::Month
>(val1
);
22336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22337 if (!SWIG_IsOK(ecode2
)) {
22338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22340 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22361 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
= 0;
22363 wxDateTime::WeekDay arg1
;
22364 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char * kwnames
[] = {
22373 (char *) "weekday",(char *) "flags", NULL
22376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22377 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22378 if (!SWIG_IsOK(ecode1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22381 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22384 if (!SWIG_IsOK(ecode2
)) {
22385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22387 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22408 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 PyObject
*result
= 0 ;
22412 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 resultobj
= result
;
22426 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
= 0;
22428 int arg1
= (int) wxDateTime::Inv_Year
;
22429 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22435 PyObject
* obj0
= 0 ;
22436 PyObject
* obj1
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "year",(char *) "country", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22444 if (!SWIG_IsOK(ecode1
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22447 arg1
= static_cast< int >(val1
);
22450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22451 if (!SWIG_IsOK(ecode2
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22454 arg2
= static_cast< wxDateTime::Country
>(val2
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22471 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22472 PyObject
*resultobj
= 0;
22473 int arg1
= (int) wxDateTime::Inv_Year
;
22474 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char * kwnames
[] = {
22483 (char *) "year",(char *) "country", NULL
22486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22489 if (!SWIG_IsOK(ecode1
)) {
22490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22492 arg1
= static_cast< int >(val1
);
22495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22496 if (!SWIG_IsOK(ecode2
)) {
22497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22499 arg2
= static_cast< wxDateTime::Country
>(val2
);
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22514 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
= 0;
22516 int arg1
= (int) wxDateTime::Inv_Year
;
22517 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22523 PyObject
* obj0
= 0 ;
22524 PyObject
* obj1
= 0 ;
22525 char * kwnames
[] = {
22526 (char *) "year",(char *) "country", NULL
22529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22532 if (!SWIG_IsOK(ecode1
)) {
22533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22535 arg1
= static_cast< int >(val1
);
22538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22539 if (!SWIG_IsOK(ecode2
)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22542 arg2
= static_cast< wxDateTime::Country
>(val2
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22557 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 PyObject
*resultobj
= 0;
22561 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= wxDateTime::Now();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22575 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22576 PyObject
*resultobj
= 0;
22579 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= wxDateTime::UNow();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22593 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22597 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= wxDateTime::Today();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22611 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22612 PyObject
*resultobj
= 0;
22613 wxDateTime
*result
= 0 ;
22615 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 result
= (wxDateTime
*)new wxDateTime();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22629 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
= 0;
22632 wxDateTime
*result
= 0 ;
22633 unsigned int val1
;
22635 PyObject
* obj0
= 0 ;
22636 char * kwnames
[] = {
22637 (char *) "timet", NULL
22640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22641 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22642 if (!SWIG_IsOK(ecode1
)) {
22643 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22645 arg1
= static_cast< time_t >(val1
);
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 result
= (wxDateTime
*)new wxDateTime(arg1
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22659 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
= 0;
22662 wxDateTime
*result
= 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char * kwnames
[] = {
22667 (char *) "jdn", NULL
22670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22671 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22672 if (!SWIG_IsOK(ecode1
)) {
22673 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22675 arg1
= static_cast< double >(val1
);
22677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 result
= (wxDateTime
*)new wxDateTime(arg1
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22689 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
= 0;
22692 int arg2
= (int) 0 ;
22693 int arg3
= (int) 0 ;
22694 int arg4
= (int) 0 ;
22695 wxDateTime
*result
= 0 ;
22704 PyObject
* obj0
= 0 ;
22705 PyObject
* obj1
= 0 ;
22706 PyObject
* obj2
= 0 ;
22707 PyObject
* obj3
= 0 ;
22708 char * kwnames
[] = {
22709 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22713 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22714 if (!SWIG_IsOK(ecode1
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22717 arg1
= static_cast< int >(val1
);
22719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22720 if (!SWIG_IsOK(ecode2
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22723 arg2
= static_cast< int >(val2
);
22726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22727 if (!SWIG_IsOK(ecode3
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22730 arg3
= static_cast< int >(val3
);
22733 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22734 if (!SWIG_IsOK(ecode4
)) {
22735 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22737 arg4
= static_cast< int >(val4
);
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22752 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
= 0;
22755 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22756 int arg3
= (int) wxDateTime::Inv_Year
;
22757 int arg4
= (int) 0 ;
22758 int arg5
= (int) 0 ;
22759 int arg6
= (int) 0 ;
22760 int arg7
= (int) 0 ;
22761 wxDateTime
*result
= 0 ;
22776 PyObject
* obj0
= 0 ;
22777 PyObject
* obj1
= 0 ;
22778 PyObject
* obj2
= 0 ;
22779 PyObject
* obj3
= 0 ;
22780 PyObject
* obj4
= 0 ;
22781 PyObject
* obj5
= 0 ;
22782 PyObject
* obj6
= 0 ;
22783 char * kwnames
[] = {
22784 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22788 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22789 if (!SWIG_IsOK(ecode1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22792 arg1
= static_cast< int >(val1
);
22794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22795 if (!SWIG_IsOK(ecode2
)) {
22796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22798 arg2
= static_cast< wxDateTime::Month
>(val2
);
22801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22802 if (!SWIG_IsOK(ecode3
)) {
22803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22805 arg3
= static_cast< int >(val3
);
22808 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22809 if (!SWIG_IsOK(ecode4
)) {
22810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22812 arg4
= static_cast< int >(val4
);
22815 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22816 if (!SWIG_IsOK(ecode5
)) {
22817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22819 arg5
= static_cast< int >(val5
);
22822 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22823 if (!SWIG_IsOK(ecode6
)) {
22824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22826 arg6
= static_cast< int >(val6
);
22829 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22830 if (!SWIG_IsOK(ecode7
)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22833 arg7
= static_cast< int >(val7
);
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22848 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
= 0;
22850 wxDateTime
*arg1
= 0 ;
22851 wxDateTime
*result
= 0 ;
22854 PyObject
* obj0
= 0 ;
22855 char * kwnames
[] = {
22856 (char *) "date", NULL
22859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22860 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22867 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22881 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22886 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= SWIG_Py_Void();
22909 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22912 wxDateTime
*result
= 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22923 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22928 result
= (wxDateTime
*) &_result_ref
;
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22940 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
= 0;
22942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22944 wxDateTime
*result
= 0 ;
22947 unsigned int val2
;
22949 PyObject
* obj0
= 0 ;
22950 PyObject
* obj1
= 0 ;
22951 char * kwnames
[] = {
22952 (char *) "self",(char *) "timet", NULL
22955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22957 if (!SWIG_IsOK(res1
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22960 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22961 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22962 if (!SWIG_IsOK(ecode2
)) {
22963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22965 arg2
= static_cast< time_t >(val2
);
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22970 result
= (wxDateTime
*) &_result_ref
;
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22982 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
= 0;
22984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22986 wxDateTime
*result
= 0 ;
22991 PyObject
* obj0
= 0 ;
22992 PyObject
* obj1
= 0 ;
22993 char * kwnames
[] = {
22994 (char *) "self",(char *) "jdn", NULL
22997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23002 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23003 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23004 if (!SWIG_IsOK(ecode2
)) {
23005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23007 arg2
= static_cast< double >(val2
);
23009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23011 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23012 result
= (wxDateTime
*) &_result_ref
;
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23024 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
= 0;
23026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23028 int arg3
= (int) 0 ;
23029 int arg4
= (int) 0 ;
23030 int arg5
= (int) 0 ;
23031 wxDateTime
*result
= 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 PyObject
* obj2
= 0 ;
23045 PyObject
* obj3
= 0 ;
23046 PyObject
* obj4
= 0 ;
23047 char * kwnames
[] = {
23048 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23053 if (!SWIG_IsOK(res1
)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
23056 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23058 if (!SWIG_IsOK(ecode2
)) {
23059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
23061 arg2
= static_cast< int >(val2
);
23063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23064 if (!SWIG_IsOK(ecode3
)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
23067 arg3
= static_cast< int >(val3
);
23070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23071 if (!SWIG_IsOK(ecode4
)) {
23072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
23074 arg4
= static_cast< int >(val4
);
23077 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23078 if (!SWIG_IsOK(ecode5
)) {
23079 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
23081 arg5
= static_cast< int >(val5
);
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
23087 result
= (wxDateTime
*) &_result_ref
;
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23099 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
= 0;
23101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23103 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23104 int arg4
= (int) wxDateTime::Inv_Year
;
23105 int arg5
= (int) 0 ;
23106 int arg6
= (int) 0 ;
23107 int arg7
= (int) 0 ;
23108 int arg8
= (int) 0 ;
23109 wxDateTime
*result
= 0 ;
23126 PyObject
* obj0
= 0 ;
23127 PyObject
* obj1
= 0 ;
23128 PyObject
* obj2
= 0 ;
23129 PyObject
* obj3
= 0 ;
23130 PyObject
* obj4
= 0 ;
23131 PyObject
* obj5
= 0 ;
23132 PyObject
* obj6
= 0 ;
23133 PyObject
* obj7
= 0 ;
23134 char * kwnames
[] = {
23135 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23140 if (!SWIG_IsOK(res1
)) {
23141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23143 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23145 if (!SWIG_IsOK(ecode2
)) {
23146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23148 arg2
= static_cast< int >(val2
);
23150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23151 if (!SWIG_IsOK(ecode3
)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23154 arg3
= static_cast< wxDateTime::Month
>(val3
);
23157 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23158 if (!SWIG_IsOK(ecode4
)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23161 arg4
= static_cast< int >(val4
);
23164 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23165 if (!SWIG_IsOK(ecode5
)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23168 arg5
= static_cast< int >(val5
);
23171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23172 if (!SWIG_IsOK(ecode6
)) {
23173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23175 arg6
= static_cast< int >(val6
);
23178 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23179 if (!SWIG_IsOK(ecode7
)) {
23180 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23182 arg7
= static_cast< int >(val7
);
23185 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23186 if (!SWIG_IsOK(ecode8
)) {
23187 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23189 arg8
= static_cast< int >(val8
);
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23194 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23195 result
= (wxDateTime
*) &_result_ref
;
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23207 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23208 PyObject
*resultobj
= 0;
23209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23210 wxDateTime
*result
= 0 ;
23213 PyObject
*swig_obj
[1] ;
23215 if (!args
) SWIG_fail
;
23216 swig_obj
[0] = args
;
23217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23218 if (!SWIG_IsOK(res1
)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23221 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23226 result
= (wxDateTime
*) &_result_ref
;
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23238 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
= 0;
23240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23242 wxDateTime
*result
= 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char * kwnames
[] = {
23250 (char *) "self",(char *) "year", NULL
23253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23255 if (!SWIG_IsOK(res1
)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23258 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23260 if (!SWIG_IsOK(ecode2
)) {
23261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23263 arg2
= static_cast< int >(val2
);
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23268 result
= (wxDateTime
*) &_result_ref
;
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23280 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= 0;
23282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23283 wxDateTime::Month arg2
;
23284 wxDateTime
*result
= 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char * kwnames
[] = {
23292 (char *) "self",(char *) "month", NULL
23295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23297 if (!SWIG_IsOK(res1
)) {
23298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23300 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23302 if (!SWIG_IsOK(ecode2
)) {
23303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23305 arg2
= static_cast< wxDateTime::Month
>(val2
);
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23310 result
= (wxDateTime
*) &_result_ref
;
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23322 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23323 PyObject
*resultobj
= 0;
23324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23326 wxDateTime
*result
= 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char * kwnames
[] = {
23334 (char *) "self",(char *) "day", NULL
23337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23339 if (!SWIG_IsOK(res1
)) {
23340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23342 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23344 if (!SWIG_IsOK(ecode2
)) {
23345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23347 arg2
= static_cast< int >(val2
);
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23352 result
= (wxDateTime
*) &_result_ref
;
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23364 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
= 0;
23366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23368 wxDateTime
*result
= 0 ;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "self",(char *) "hour", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23384 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23386 if (!SWIG_IsOK(ecode2
)) {
23387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23389 arg2
= static_cast< int >(val2
);
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23394 result
= (wxDateTime
*) &_result_ref
;
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23406 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
= 0;
23408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23410 wxDateTime
*result
= 0 ;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 char * kwnames
[] = {
23418 (char *) "self",(char *) "minute", NULL
23421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23426 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23428 if (!SWIG_IsOK(ecode2
)) {
23429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23431 arg2
= static_cast< int >(val2
);
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23436 result
= (wxDateTime
*) &_result_ref
;
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23448 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
= 0;
23450 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23452 wxDateTime
*result
= 0 ;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "self",(char *) "second", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23468 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23470 if (!SWIG_IsOK(ecode2
)) {
23471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23473 arg2
= static_cast< int >(val2
);
23475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23478 result
= (wxDateTime
*) &_result_ref
;
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23490 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
= 0;
23492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23494 wxDateTime
*result
= 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 char * kwnames
[] = {
23502 (char *) "self",(char *) "millisecond", NULL
23505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23510 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23512 if (!SWIG_IsOK(ecode2
)) {
23513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23515 arg2
= static_cast< int >(val2
);
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23520 result
= (wxDateTime
*) &_result_ref
;
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23532 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
= 0;
23534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23535 wxDateTime::WeekDay arg2
;
23536 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23537 wxDateTime
*result
= 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 PyObject
* obj2
= 0 ;
23547 char * kwnames
[] = {
23548 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23553 if (!SWIG_IsOK(res1
)) {
23554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23556 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23558 if (!SWIG_IsOK(ecode2
)) {
23559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23561 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23564 if (!SWIG_IsOK(ecode3
)) {
23565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23567 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23573 result
= (wxDateTime
*) &_result_ref
;
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23585 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
= 0;
23587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23588 wxDateTime::WeekDay arg2
;
23589 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23597 PyObject
* obj0
= 0 ;
23598 PyObject
* obj1
= 0 ;
23599 PyObject
* obj2
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23609 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23611 if (!SWIG_IsOK(ecode2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23614 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23617 if (!SWIG_IsOK(ecode3
)) {
23618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23620 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23635 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
= 0;
23637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23638 wxDateTime::WeekDay arg2
;
23639 wxDateTime
*result
= 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char * kwnames
[] = {
23647 (char *) "self",(char *) "weekday", NULL
23650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23652 if (!SWIG_IsOK(res1
)) {
23653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23655 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23657 if (!SWIG_IsOK(ecode2
)) {
23658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23660 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23665 result
= (wxDateTime
*) &_result_ref
;
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23677 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
= 0;
23679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23680 wxDateTime::WeekDay arg2
;
23686 PyObject
* obj0
= 0 ;
23687 PyObject
* obj1
= 0 ;
23688 char * kwnames
[] = {
23689 (char *) "self",(char *) "weekday", NULL
23692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23694 if (!SWIG_IsOK(res1
)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23697 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23699 if (!SWIG_IsOK(ecode2
)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23702 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (arg1
)->GetNextWeekDay(arg2
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23716 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
= 0;
23718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23719 wxDateTime::WeekDay arg2
;
23720 wxDateTime
*result
= 0 ;
23725 PyObject
* obj0
= 0 ;
23726 PyObject
* obj1
= 0 ;
23727 char * kwnames
[] = {
23728 (char *) "self",(char *) "weekday", NULL
23731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23733 if (!SWIG_IsOK(res1
)) {
23734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23736 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23738 if (!SWIG_IsOK(ecode2
)) {
23739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23741 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23746 result
= (wxDateTime
*) &_result_ref
;
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23758 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
= 0;
23760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23761 wxDateTime::WeekDay arg2
;
23767 PyObject
* obj0
= 0 ;
23768 PyObject
* obj1
= 0 ;
23769 char * kwnames
[] = {
23770 (char *) "self",(char *) "weekday", NULL
23773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23778 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23780 if (!SWIG_IsOK(ecode2
)) {
23781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23783 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 result
= (arg1
)->GetPrevWeekDay(arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23797 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
= 0;
23799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23800 wxDateTime::WeekDay arg2
;
23801 int arg3
= (int) 1 ;
23802 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23803 int arg5
= (int) wxDateTime::Inv_Year
;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 PyObject
* obj2
= 0 ;
23818 PyObject
* obj3
= 0 ;
23819 PyObject
* obj4
= 0 ;
23820 char * kwnames
[] = {
23821 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23829 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23831 if (!SWIG_IsOK(ecode2
)) {
23832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23834 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23836 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23837 if (!SWIG_IsOK(ecode3
)) {
23838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23840 arg3
= static_cast< int >(val3
);
23843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23844 if (!SWIG_IsOK(ecode4
)) {
23845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23847 arg4
= static_cast< wxDateTime::Month
>(val4
);
23850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23851 if (!SWIG_IsOK(ecode5
)) {
23852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23854 arg5
= static_cast< int >(val5
);
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23871 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23872 PyObject
*resultobj
= 0;
23873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23874 wxDateTime::WeekDay arg2
;
23875 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23876 int arg4
= (int) wxDateTime::Inv_Year
;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 PyObject
* obj2
= 0 ;
23889 PyObject
* obj3
= 0 ;
23890 char * kwnames
[] = {
23891 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23896 if (!SWIG_IsOK(res1
)) {
23897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23899 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23901 if (!SWIG_IsOK(ecode2
)) {
23902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23904 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23907 if (!SWIG_IsOK(ecode3
)) {
23908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23910 arg3
= static_cast< wxDateTime::Month
>(val3
);
23913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23914 if (!SWIG_IsOK(ecode4
)) {
23915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23917 arg4
= static_cast< int >(val4
);
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23934 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= 0;
23936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23937 wxDateTime::WeekDay arg2
;
23938 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23939 int arg4
= (int) wxDateTime::Inv_Year
;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 PyObject
* obj2
= 0 ;
23952 PyObject
* obj3
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23962 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23964 if (!SWIG_IsOK(ecode2
)) {
23965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23967 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23970 if (!SWIG_IsOK(ecode3
)) {
23971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23973 arg3
= static_cast< wxDateTime::Month
>(val3
);
23976 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23977 if (!SWIG_IsOK(ecode4
)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23980 arg4
= static_cast< int >(val4
);
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23995 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
= 0;
23997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23999 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24000 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24010 PyObject
* obj0
= 0 ;
24011 PyObject
* obj1
= 0 ;
24012 PyObject
* obj2
= 0 ;
24013 PyObject
* obj3
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24023 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24025 if (!SWIG_IsOK(ecode2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24028 arg2
= static_cast< int >(val2
);
24030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24031 if (!SWIG_IsOK(ecode3
)) {
24032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24034 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24038 if (!SWIG_IsOK(ecode4
)) {
24039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24041 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24058 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= 0;
24060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24062 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24063 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 PyObject
* obj2
= 0 ;
24076 PyObject
* obj3
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24086 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24088 if (!SWIG_IsOK(ecode2
)) {
24089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
24091 arg2
= static_cast< int >(val2
);
24093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24094 if (!SWIG_IsOK(ecode3
)) {
24095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24097 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24100 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24101 if (!SWIG_IsOK(ecode4
)) {
24102 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24104 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24119 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24123 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 PyObject
* obj2
= 0 ;
24134 char * kwnames
[] = {
24135 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24139 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24140 if (!SWIG_IsOK(ecode1
)) {
24141 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24143 arg1
= static_cast< int >(val1
);
24144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24145 if (!SWIG_IsOK(ecode2
)) {
24146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24148 arg2
= static_cast< int >(val2
);
24150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24151 if (!SWIG_IsOK(ecode3
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24154 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24169 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24170 PyObject
*resultobj
= 0;
24171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24172 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24173 int arg3
= (int) wxDateTime::Inv_Year
;
24174 wxDateTime
*result
= 0 ;
24181 PyObject
* obj0
= 0 ;
24182 PyObject
* obj1
= 0 ;
24183 PyObject
* obj2
= 0 ;
24184 char * kwnames
[] = {
24185 (char *) "self",(char *) "month",(char *) "year", NULL
24188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24190 if (!SWIG_IsOK(res1
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24193 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24196 if (!SWIG_IsOK(ecode2
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24199 arg2
= static_cast< wxDateTime::Month
>(val2
);
24202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24203 if (!SWIG_IsOK(ecode3
)) {
24204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24206 arg3
= static_cast< int >(val3
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24212 result
= (wxDateTime
*) &_result_ref
;
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24224 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24227 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24228 int arg3
= (int) wxDateTime::Inv_Year
;
24236 PyObject
* obj0
= 0 ;
24237 PyObject
* obj1
= 0 ;
24238 PyObject
* obj2
= 0 ;
24239 char * kwnames
[] = {
24240 (char *) "self",(char *) "month",(char *) "year", NULL
24243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24248 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24251 if (!SWIG_IsOK(ecode2
)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24254 arg2
= static_cast< wxDateTime::Month
>(val2
);
24257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24258 if (!SWIG_IsOK(ecode3
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24261 arg3
= static_cast< int >(val3
);
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24276 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
= 0;
24278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24280 wxDateTime
*result
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "yday", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24296 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24298 if (!SWIG_IsOK(ecode2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24301 arg2
= static_cast< int >(val2
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24306 result
= (wxDateTime
*) &_result_ref
;
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24318 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char * kwnames
[] = {
24330 (char *) "self",(char *) "yday", NULL
24333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24335 if (!SWIG_IsOK(res1
)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24338 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24340 if (!SWIG_IsOK(ecode2
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24343 arg2
= static_cast< int >(val2
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (arg1
)->GetYearDay(arg2
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24357 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24358 PyObject
*resultobj
= 0;
24359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24363 PyObject
*swig_obj
[1] ;
24365 if (!args
) SWIG_fail
;
24366 swig_obj
[0] = args
;
24367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24368 if (!SWIG_IsOK(res1
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24371 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (double)(arg1
)->GetJulianDayNumber();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_From_double(static_cast< double >(result
));
24385 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24386 PyObject
*resultobj
= 0;
24387 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24391 PyObject
*swig_obj
[1] ;
24393 if (!args
) SWIG_fail
;
24394 swig_obj
[0] = args
;
24395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24399 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24402 result
= (double)(arg1
)->GetJDN();
24403 wxPyEndAllowThreads(__tstate
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= SWIG_From_double(static_cast< double >(result
));
24413 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24414 PyObject
*resultobj
= 0;
24415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24419 PyObject
*swig_obj
[1] ;
24421 if (!args
) SWIG_fail
;
24422 swig_obj
[0] = args
;
24423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24424 if (!SWIG_IsOK(res1
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24427 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_From_double(static_cast< double >(result
));
24441 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24442 PyObject
*resultobj
= 0;
24443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24447 PyObject
*swig_obj
[1] ;
24449 if (!args
) SWIG_fail
;
24450 swig_obj
[0] = args
;
24451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24452 if (!SWIG_IsOK(res1
)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24455 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24458 result
= (double)(arg1
)->GetMJD();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_From_double(static_cast< double >(result
));
24469 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 PyObject
*resultobj
= 0;
24471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24475 PyObject
*swig_obj
[1] ;
24477 if (!args
) SWIG_fail
;
24478 swig_obj
[0] = args
;
24479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24483 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 result
= (double)(arg1
)->GetRataDie();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_From_double(static_cast< double >(result
));
24497 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
= 0;
24499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24500 wxDateTime::TimeZone
*arg2
= 0 ;
24501 bool arg3
= (bool) false ;
24505 bool temp2
= false ;
24508 PyObject
* obj0
= 0 ;
24509 PyObject
* obj1
= 0 ;
24510 PyObject
* obj2
= 0 ;
24511 char * kwnames
[] = {
24512 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24517 if (!SWIG_IsOK(res1
)) {
24518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24522 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24526 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24527 if (!SWIG_IsOK(ecode3
)) {
24528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24530 arg3
= static_cast< bool >(val3
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24540 if (temp2
) delete arg2
;
24545 if (temp2
) delete arg2
;
24551 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
= 0;
24553 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24554 wxDateTime::TimeZone
*arg2
= 0 ;
24555 bool arg3
= (bool) false ;
24556 wxDateTime
*result
= 0 ;
24559 bool temp2
= false ;
24562 PyObject
* obj0
= 0 ;
24563 PyObject
* obj1
= 0 ;
24564 PyObject
* obj2
= 0 ;
24565 char * kwnames
[] = {
24566 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24574 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24576 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24580 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24581 if (!SWIG_IsOK(ecode3
)) {
24582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24584 arg3
= static_cast< bool >(val3
);
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24590 result
= (wxDateTime
*) &_result_ref
;
24592 wxPyEndAllowThreads(__tstate
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24597 if (temp2
) delete arg2
;
24602 if (temp2
) delete arg2
;
24608 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
= 0;
24610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24611 wxDateTime::TimeZone
*arg2
= 0 ;
24612 bool arg3
= (bool) false ;
24616 bool temp2
= false ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 PyObject
* obj2
= 0 ;
24622 char * kwnames
[] = {
24623 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24628 if (!SWIG_IsOK(res1
)) {
24629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24631 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24633 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24637 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24638 if (!SWIG_IsOK(ecode3
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24641 arg3
= static_cast< bool >(val3
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24651 if (temp2
) delete arg2
;
24656 if (temp2
) delete arg2
;
24662 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24665 wxDateTime::TimeZone
*arg2
= 0 ;
24666 bool arg3
= (bool) false ;
24667 wxDateTime
*result
= 0 ;
24670 bool temp2
= false ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 PyObject
* obj2
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24685 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24687 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24692 if (!SWIG_IsOK(ecode3
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24695 arg3
= static_cast< bool >(val3
);
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24701 result
= (wxDateTime
*) &_result_ref
;
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24708 if (temp2
) delete arg2
;
24713 if (temp2
) delete arg2
;
24719 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
= 0;
24721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24722 bool arg2
= (bool) false ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 char * kwnames
[] = {
24731 (char *) "self",(char *) "noDST", NULL
24734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24736 if (!SWIG_IsOK(res1
)) {
24737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24739 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24741 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24742 if (!SWIG_IsOK(ecode2
)) {
24743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24745 arg2
= static_cast< bool >(val2
);
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24750 wxPyEndAllowThreads(__tstate
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24753 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24760 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24761 PyObject
*resultobj
= 0;
24762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24763 bool arg2
= (bool) false ;
24764 wxDateTime
*result
= 0 ;
24769 PyObject
* obj0
= 0 ;
24770 PyObject
* obj1
= 0 ;
24771 char * kwnames
[] = {
24772 (char *) "self",(char *) "noDST", NULL
24775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24777 if (!SWIG_IsOK(res1
)) {
24778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24780 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24782 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24783 if (!SWIG_IsOK(ecode2
)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24786 arg2
= static_cast< bool >(val2
);
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24792 result
= (wxDateTime
*) &_result_ref
;
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24804 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
= 0;
24806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24807 bool arg2
= (bool) false ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char * kwnames
[] = {
24816 (char *) "self",(char *) "noDST", NULL
24819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24824 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24827 if (!SWIG_IsOK(ecode2
)) {
24828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24830 arg2
= static_cast< bool >(val2
);
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24845 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24846 PyObject
*resultobj
= 0;
24847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24848 bool arg2
= (bool) false ;
24849 wxDateTime
*result
= 0 ;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char * kwnames
[] = {
24857 (char *) "self",(char *) "noDST", NULL
24860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24865 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24867 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24868 if (!SWIG_IsOK(ecode2
)) {
24869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24871 arg2
= static_cast< bool >(val2
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24876 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24877 result
= (wxDateTime
*) &_result_ref
;
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24889 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
= 0;
24891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24892 bool arg2
= (bool) false ;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 char * kwnames
[] = {
24901 (char *) "self",(char *) "noDST", NULL
24904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24906 if (!SWIG_IsOK(res1
)) {
24907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24909 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24911 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24912 if (!SWIG_IsOK(ecode2
)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24915 arg2
= static_cast< bool >(val2
);
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24930 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
= 0;
24932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24933 bool arg2
= (bool) false ;
24934 wxDateTime
*result
= 0 ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 char * kwnames
[] = {
24942 (char *) "self",(char *) "noDST", NULL
24945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24947 if (!SWIG_IsOK(res1
)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24950 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24953 if (!SWIG_IsOK(ecode2
)) {
24954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24956 arg2
= static_cast< bool >(val2
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24962 result
= (wxDateTime
*) &_result_ref
;
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24974 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
= 0;
24976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24977 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 char * kwnames
[] = {
24986 (char *) "self",(char *) "country", NULL
24989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24994 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24997 if (!SWIG_IsOK(ecode2
)) {
24998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25000 arg2
= static_cast< wxDateTime::Country
>(val2
);
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (int)(arg1
)->IsDST(arg2
);
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25008 resultobj
= SWIG_From_int(static_cast< int >(result
));
25015 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25016 PyObject
*resultobj
= 0;
25017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25021 PyObject
*swig_obj
[1] ;
25023 if (!args
) SWIG_fail
;
25024 swig_obj
[0] = args
;
25025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25029 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25045 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25046 PyObject
*resultobj
= 0;
25047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25051 PyObject
*swig_obj
[1] ;
25053 if (!args
) SWIG_fail
;
25054 swig_obj
[0] = args
;
25055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25056 if (!SWIG_IsOK(res1
)) {
25057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25073 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= 0;
25075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25076 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25077 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25081 bool temp2
= false ;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 char * kwnames
[] = {
25085 (char *) "self",(char *) "tz", NULL
25088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25090 if (!SWIG_IsOK(res1
)) {
25091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25093 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25096 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_From_int(static_cast< int >(result
));
25108 if (temp2
) delete arg2
;
25113 if (temp2
) delete arg2
;
25119 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
= 0;
25121 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25122 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25123 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25124 wxDateTime::Month result
;
25127 bool temp2
= false ;
25128 PyObject
* obj0
= 0 ;
25129 PyObject
* obj1
= 0 ;
25130 char * kwnames
[] = {
25131 (char *) "self",(char *) "tz", NULL
25134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25136 if (!SWIG_IsOK(res1
)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25139 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25142 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_From_int(static_cast< int >(result
));
25154 if (temp2
) delete arg2
;
25159 if (temp2
) delete arg2
;
25165 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
= 0;
25167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25168 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25169 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25173 bool temp2
= false ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 char * kwnames
[] = {
25177 (char *) "self",(char *) "tz", NULL
25180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25185 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25188 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_From_int(static_cast< int >(result
));
25200 if (temp2
) delete arg2
;
25205 if (temp2
) delete arg2
;
25211 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25212 PyObject
*resultobj
= 0;
25213 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25214 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25215 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25216 wxDateTime::WeekDay result
;
25219 bool temp2
= false ;
25220 PyObject
* obj0
= 0 ;
25221 PyObject
* obj1
= 0 ;
25222 char * kwnames
[] = {
25223 (char *) "self",(char *) "tz", NULL
25226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25228 if (!SWIG_IsOK(res1
)) {
25229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25231 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25234 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_From_int(static_cast< int >(result
));
25246 if (temp2
) delete arg2
;
25251 if (temp2
) delete arg2
;
25257 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= 0;
25259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25260 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25261 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25265 bool temp2
= false ;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char * kwnames
[] = {
25269 (char *) "self",(char *) "tz", NULL
25272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25277 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25280 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 resultobj
= SWIG_From_int(static_cast< int >(result
));
25292 if (temp2
) delete arg2
;
25297 if (temp2
) delete arg2
;
25303 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
= 0;
25305 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25306 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25307 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25311 bool temp2
= false ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char * kwnames
[] = {
25315 (char *) "self",(char *) "tz", NULL
25318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25320 if (!SWIG_IsOK(res1
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25323 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25326 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_From_int(static_cast< int >(result
));
25338 if (temp2
) delete arg2
;
25343 if (temp2
) delete arg2
;
25349 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
= 0;
25351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25352 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25353 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25357 bool temp2
= false ;
25358 PyObject
* obj0
= 0 ;
25359 PyObject
* obj1
= 0 ;
25360 char * kwnames
[] = {
25361 (char *) "self",(char *) "tz", NULL
25364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25366 if (!SWIG_IsOK(res1
)) {
25367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25369 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25372 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_From_int(static_cast< int >(result
));
25384 if (temp2
) delete arg2
;
25389 if (temp2
) delete arg2
;
25395 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
= 0;
25397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25398 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25399 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25403 bool temp2
= false ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 char * kwnames
[] = {
25407 (char *) "self",(char *) "tz", NULL
25410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) 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_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25415 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25418 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_From_int(static_cast< int >(result
));
25430 if (temp2
) delete arg2
;
25435 if (temp2
) delete arg2
;
25441 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
= 0;
25443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25444 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25445 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25449 bool temp2
= false ;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char * kwnames
[] = {
25453 (char *) "self",(char *) "tz", NULL
25456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25458 if (!SWIG_IsOK(res1
)) {
25459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25461 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25464 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_From_int(static_cast< int >(result
));
25476 if (temp2
) delete arg2
;
25481 if (temp2
) delete arg2
;
25487 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25488 PyObject
*resultobj
= 0;
25489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25490 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25491 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25492 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25498 bool temp3
= false ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 PyObject
* obj2
= 0 ;
25502 char * kwnames
[] = {
25503 (char *) "self",(char *) "flags",(char *) "tz", NULL
25506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25511 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25514 if (!SWIG_IsOK(ecode2
)) {
25515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25517 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25521 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 resultobj
= SWIG_From_int(static_cast< int >(result
));
25533 if (temp3
) delete arg3
;
25538 if (temp3
) delete arg3
;
25544 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
= 0;
25546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25547 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25548 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25549 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25555 bool temp3
= false ;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 PyObject
* obj2
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "flags",(char *) "tz", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25568 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25571 if (!SWIG_IsOK(ecode2
)) {
25572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25574 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25578 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_From_int(static_cast< int >(result
));
25590 if (temp3
) delete arg3
;
25595 if (temp3
) delete arg3
;
25601 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
= 0;
25603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25604 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj1
= 0 ;
25612 char * kwnames
[] = {
25613 (char *) "self",(char *) "country", NULL
25616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25618 if (!SWIG_IsOK(res1
)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25624 if (!SWIG_IsOK(ecode2
)) {
25625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25627 arg2
= static_cast< wxDateTime::Country
>(val2
);
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25644 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
= 0;
25646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25647 wxDateTime
*arg2
= 0 ;
25653 PyObject
* obj0
= 0 ;
25654 PyObject
* obj1
= 0 ;
25655 char * kwnames
[] = {
25656 (char *) "self",(char *) "datetime", NULL
25659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25664 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25666 if (!SWIG_IsOK(res2
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25672 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25688 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
= 0;
25690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25691 wxDateTime
*arg2
= 0 ;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 char * kwnames
[] = {
25700 (char *) "self",(char *) "datetime", NULL
25703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25705 if (!SWIG_IsOK(res1
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25708 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25710 if (!SWIG_IsOK(res2
)) {
25711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25716 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25732 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
= 0;
25734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25735 wxDateTime
*arg2
= 0 ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char * kwnames
[] = {
25744 (char *) "self",(char *) "datetime", NULL
25747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25749 if (!SWIG_IsOK(res1
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25752 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25754 if (!SWIG_IsOK(res2
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25760 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25776 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25779 wxDateTime
*arg2
= 0 ;
25780 wxDateTime
*arg3
= 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 PyObject
* obj2
= 0 ;
25791 char * kwnames
[] = {
25792 (char *) "self",(char *) "t1",(char *) "t2", NULL
25795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25797 if (!SWIG_IsOK(res1
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25800 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25802 if (!SWIG_IsOK(res2
)) {
25803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25808 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25810 if (!SWIG_IsOK(res3
)) {
25811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25816 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25832 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
= 0;
25834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25835 wxDateTime
*arg2
= 0 ;
25836 wxDateTime
*arg3
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 PyObject
* obj2
= 0 ;
25847 char * kwnames
[] = {
25848 (char *) "self",(char *) "t1",(char *) "t2", NULL
25851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25853 if (!SWIG_IsOK(res1
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25858 if (!SWIG_IsOK(res2
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25864 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25865 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25866 if (!SWIG_IsOK(res3
)) {
25867 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25872 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25888 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
= 0;
25890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25891 wxDateTime
*arg2
= 0 ;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 char * kwnames
[] = {
25900 (char *) "self",(char *) "dt", NULL
25903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25905 if (!SWIG_IsOK(res1
)) {
25906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25908 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25910 if (!SWIG_IsOK(res2
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25916 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25932 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
= 0;
25934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25935 wxDateTime
*arg2
= 0 ;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 char * kwnames
[] = {
25944 (char *) "self",(char *) "dt", NULL
25947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25949 if (!SWIG_IsOK(res1
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25952 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25954 if (!SWIG_IsOK(res2
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25960 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25976 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25977 PyObject
*resultobj
= 0;
25978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25979 wxDateTime
*arg2
= 0 ;
25980 wxTimeSpan
*arg3
= 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 PyObject
* obj2
= 0 ;
25991 char * kwnames
[] = {
25992 (char *) "self",(char *) "dt",(char *) "ts", NULL
25995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25997 if (!SWIG_IsOK(res1
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26000 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26002 if (!SWIG_IsOK(res2
)) {
26003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26008 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26009 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26010 if (!SWIG_IsOK(res3
)) {
26011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26016 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26032 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26035 wxTimeSpan
*arg2
= 0 ;
26036 wxDateTime
*result
= 0 ;
26041 PyObject
* obj0
= 0 ;
26042 PyObject
* obj1
= 0 ;
26043 char * kwnames
[] = {
26044 (char *) "self",(char *) "diff", NULL
26047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26049 if (!SWIG_IsOK(res1
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26052 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26054 if (!SWIG_IsOK(res2
)) {
26055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26060 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
26065 result
= (wxDateTime
*) &_result_ref
;
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26077 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
= 0;
26079 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26080 wxDateSpan
*arg2
= 0 ;
26081 wxDateTime
*result
= 0 ;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char * kwnames
[] = {
26089 (char *) "self",(char *) "diff", NULL
26092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26097 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26099 if (!SWIG_IsOK(res2
)) {
26100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26105 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26110 result
= (wxDateTime
*) &_result_ref
;
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26122 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
= 0;
26124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26125 wxTimeSpan
*arg2
= 0 ;
26126 wxDateTime
*result
= 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char * kwnames
[] = {
26134 (char *) "self",(char *) "diff", NULL
26137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26139 if (!SWIG_IsOK(res1
)) {
26140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26142 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26144 if (!SWIG_IsOK(res2
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26150 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26155 result
= (wxDateTime
*) &_result_ref
;
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26167 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
= 0;
26169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26170 wxDateSpan
*arg2
= 0 ;
26171 wxDateTime
*result
= 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "self",(char *) "diff", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26187 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26188 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26189 if (!SWIG_IsOK(res2
)) {
26190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26195 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26200 result
= (wxDateTime
*) &_result_ref
;
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26212 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
= 0;
26214 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26215 wxDateTime
*arg2
= 0 ;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 char * kwnames
[] = {
26224 (char *) "self",(char *) "dt", NULL
26227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26229 if (!SWIG_IsOK(res1
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26232 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26234 if (!SWIG_IsOK(res2
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26240 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26254 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26255 PyObject
*resultobj
= 0;
26256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26257 wxTimeSpan
*arg2
= 0 ;
26258 wxDateTime
*result
= 0 ;
26264 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26266 if (!SWIG_IsOK(res1
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26269 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26270 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26271 if (!SWIG_IsOK(res2
)) {
26272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26277 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26282 result
= (wxDateTime
*) &_result_ref
;
26284 wxPyEndAllowThreads(__tstate
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26294 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26295 PyObject
*resultobj
= 0;
26296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26297 wxDateSpan
*arg2
= 0 ;
26298 wxDateTime
*result
= 0 ;
26304 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26306 if (!SWIG_IsOK(res1
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26309 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26310 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26311 if (!SWIG_IsOK(res2
)) {
26312 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26317 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26322 result
= (wxDateTime
*) &_result_ref
;
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26334 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26338 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26343 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26344 _v
= SWIG_CheckState(res
);
26346 if (!_v
) goto check_1
;
26347 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26352 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26356 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26361 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26362 PyObject
*resultobj
= 0;
26363 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26364 wxTimeSpan
*arg2
= 0 ;
26365 wxDateTime
*result
= 0 ;
26371 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26373 if (!SWIG_IsOK(res1
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26376 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26377 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26378 if (!SWIG_IsOK(res2
)) {
26379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26384 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26389 result
= (wxDateTime
*) &_result_ref
;
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26401 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26402 PyObject
*resultobj
= 0;
26403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26404 wxDateSpan
*arg2
= 0 ;
26405 wxDateTime
*result
= 0 ;
26411 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26413 if (!SWIG_IsOK(res1
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26416 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26417 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26418 if (!SWIG_IsOK(res2
)) {
26419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26424 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26428 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26429 result
= (wxDateTime
*) &_result_ref
;
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26441 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26445 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26450 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26451 _v
= SWIG_CheckState(res
);
26453 if (!_v
) goto check_1
;
26454 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26459 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26463 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26468 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26469 PyObject
*resultobj
= 0;
26470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26471 wxTimeSpan
*arg2
= 0 ;
26478 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26483 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26484 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26485 if (!SWIG_IsOK(res2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26491 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26495 wxPyEndAllowThreads(__tstate
);
26496 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26505 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26506 PyObject
*resultobj
= 0;
26507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26508 wxDateSpan
*arg2
= 0 ;
26515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26522 if (!SWIG_IsOK(res2
)) {
26523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26528 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26542 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26546 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26551 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26552 _v
= SWIG_CheckState(res
);
26554 if (!_v
) goto check_1
;
26555 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26560 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26564 Py_INCREF(Py_NotImplemented
);
26565 return Py_NotImplemented
;
26569 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26570 PyObject
*resultobj
= 0;
26571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26572 wxDateTime
*arg2
= 0 ;
26579 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26581 if (!SWIG_IsOK(res1
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26584 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26585 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26586 if (!SWIG_IsOK(res2
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26592 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26606 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26607 PyObject
*resultobj
= 0;
26608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26609 wxTimeSpan
*arg2
= 0 ;
26616 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26621 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26622 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26623 if (!SWIG_IsOK(res2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26629 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26643 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26644 PyObject
*resultobj
= 0;
26645 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26646 wxDateSpan
*arg2
= 0 ;
26653 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26658 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26659 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26660 if (!SWIG_IsOK(res2
)) {
26661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26666 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26680 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26684 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26689 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26690 _v
= SWIG_CheckState(res
);
26692 if (!_v
) goto check_1
;
26693 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26700 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26701 _v
= SWIG_CheckState(res
);
26703 if (!_v
) goto check_2
;
26704 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26709 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26713 Py_INCREF(Py_NotImplemented
);
26714 return Py_NotImplemented
;
26718 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
= 0;
26720 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26721 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 PyObject
* obj1
= 0 ;
26729 char * kwnames
[] = {
26730 (char *) "self",(char *) "other", NULL
26733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26738 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26740 if (!SWIG_IsOK(res2
)) {
26741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26743 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26747 wxPyEndAllowThreads(__tstate
);
26748 if (PyErr_Occurred()) SWIG_fail
;
26751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26759 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26760 PyObject
*resultobj
= 0;
26761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26762 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char * kwnames
[] = {
26771 (char *) "self",(char *) "other", NULL
26774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26776 if (!SWIG_IsOK(res1
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26779 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26781 if (!SWIG_IsOK(res2
)) {
26782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26784 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
= 0;
26802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26803 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26809 PyObject
* obj0
= 0 ;
26810 PyObject
* obj1
= 0 ;
26811 char * kwnames
[] = {
26812 (char *) "self",(char *) "other", NULL
26815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26817 if (!SWIG_IsOK(res1
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26820 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26821 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26822 if (!SWIG_IsOK(res2
)) {
26823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26825 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26841 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
= 0;
26843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26844 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 char * kwnames
[] = {
26853 (char *) "self",(char *) "other", NULL
26856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26858 if (!SWIG_IsOK(res1
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26861 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26862 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26863 if (!SWIG_IsOK(res2
)) {
26864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26866 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26882 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
= 0;
26884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26885 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 char * kwnames
[] = {
26894 (char *) "self",(char *) "other", NULL
26897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26899 if (!SWIG_IsOK(res1
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26902 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26904 if (!SWIG_IsOK(res2
)) {
26905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26907 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26923 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
= 0;
26925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26926 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 PyObject
* obj1
= 0 ;
26934 char * kwnames
[] = {
26935 (char *) "self",(char *) "other", NULL
26938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26940 if (!SWIG_IsOK(res1
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26943 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26945 if (!SWIG_IsOK(res2
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26948 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26952 wxPyEndAllowThreads(__tstate
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26964 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
= 0;
26966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26967 wxString
*arg2
= 0 ;
26971 bool temp2
= false ;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 char * kwnames
[] = {
26975 (char *) "self",(char *) "date", NULL
26978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26980 if (!SWIG_IsOK(res1
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26983 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26985 arg2
= wxString_in_helper(obj1
);
26986 if (arg2
== NULL
) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_From_int(static_cast< int >(result
));
27010 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
= 0;
27012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27013 wxString
*arg2
= 0 ;
27014 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27015 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27016 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27017 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27021 bool temp2
= false ;
27022 bool temp3
= false ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 PyObject
* obj2
= 0 ;
27028 PyObject
* obj3
= 0 ;
27029 char * kwnames
[] = {
27030 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27035 if (!SWIG_IsOK(res1
)) {
27036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27038 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27040 arg2
= wxString_in_helper(obj1
);
27041 if (arg2
== NULL
) SWIG_fail
;
27046 arg3
= wxString_in_helper(obj2
);
27047 if (arg3
== NULL
) SWIG_fail
;
27052 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27053 if (!SWIG_IsOK(res4
)) {
27054 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27059 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= SWIG_From_int(static_cast< int >(result
));
27090 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
= 0;
27092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27093 wxString
*arg2
= 0 ;
27097 bool temp2
= false ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 char * kwnames
[] = {
27101 (char *) "self",(char *) "datetime", NULL
27104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27109 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27111 arg2
= wxString_in_helper(obj1
);
27112 if (arg2
== NULL
) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
27118 wxPyEndAllowThreads(__tstate
);
27119 if (PyErr_Occurred()) SWIG_fail
;
27121 resultobj
= SWIG_From_int(static_cast< int >(result
));
27136 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
= 0;
27138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27139 wxString
*arg2
= 0 ;
27143 bool temp2
= false ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char * kwnames
[] = {
27147 (char *) "self",(char *) "date", NULL
27150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27152 if (!SWIG_IsOK(res1
)) {
27153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27155 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27157 arg2
= wxString_in_helper(obj1
);
27158 if (arg2
== NULL
) SWIG_fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= SWIG_From_int(static_cast< int >(result
));
27182 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
= 0;
27184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27185 wxString
*arg2
= 0 ;
27189 bool temp2
= false ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "self",(char *) "time", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27201 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27203 arg2
= wxString_in_helper(obj1
);
27204 if (arg2
== NULL
) SWIG_fail
;
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_From_int(static_cast< int >(result
));
27228 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27231 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27232 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27233 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27234 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27238 bool temp2
= false ;
27239 bool temp3
= false ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 PyObject
* obj2
= 0 ;
27243 char * kwnames
[] = {
27244 (char *) "self",(char *) "format",(char *) "tz", NULL
27247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27249 if (!SWIG_IsOK(res1
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27252 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27255 arg2
= wxString_in_helper(obj1
);
27256 if (arg2
== NULL
) SWIG_fail
;
27262 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27284 if (temp3
) delete arg3
;
27293 if (temp3
) delete arg3
;
27299 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27300 PyObject
*resultobj
= 0;
27301 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27305 PyObject
*swig_obj
[1] ;
27307 if (!args
) SWIG_fail
;
27308 swig_obj
[0] = args
;
27309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27310 if (!SWIG_IsOK(res1
)) {
27311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27313 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27333 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27334 PyObject
*resultobj
= 0;
27335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27339 PyObject
*swig_obj
[1] ;
27341 if (!args
) SWIG_fail
;
27342 swig_obj
[0] = args
;
27343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27347 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27367 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27373 PyObject
*swig_obj
[1] ;
27375 if (!args
) SWIG_fail
;
27376 swig_obj
[0] = args
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27381 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27401 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27407 PyObject
*swig_obj
[1] ;
27409 if (!args
) SWIG_fail
;
27410 swig_obj
[0] = args
;
27411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27412 if (!SWIG_IsOK(res1
)) {
27413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27415 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27435 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27438 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27439 return SWIG_Py_Void();
27442 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 return SWIG_Python_InitShadowInstance(args
);
27446 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
= 0;
27452 PyObject
* obj0
= 0 ;
27453 char * kwnames
[] = {
27454 (char *) "ms", NULL
27457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27458 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27459 if (!SWIG_IsOK(ecode1
)) {
27460 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27462 arg1
= static_cast< long >(val1
);
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 result
= wxTimeSpan::Milliseconds(arg1
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27476 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27477 PyObject
*resultobj
= 0;
27480 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= wxTimeSpan::Millisecond();
27484 wxPyEndAllowThreads(__tstate
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27494 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27495 PyObject
*resultobj
= 0;
27500 PyObject
* obj0
= 0 ;
27501 char * kwnames
[] = {
27502 (char *) "sec", NULL
27505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27506 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27507 if (!SWIG_IsOK(ecode1
)) {
27508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27510 arg1
= static_cast< long >(val1
);
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= wxTimeSpan::Seconds(arg1
);
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27524 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27525 PyObject
*resultobj
= 0;
27528 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 result
= wxTimeSpan::Second();
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27542 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
= 0;
27548 PyObject
* obj0
= 0 ;
27549 char * kwnames
[] = {
27550 (char *) "min", NULL
27553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27554 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27555 if (!SWIG_IsOK(ecode1
)) {
27556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27558 arg1
= static_cast< long >(val1
);
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= wxTimeSpan::Minutes(arg1
);
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27572 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27573 PyObject
*resultobj
= 0;
27576 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= wxTimeSpan::Minute();
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27590 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
= 0;
27596 PyObject
* obj0
= 0 ;
27597 char * kwnames
[] = {
27598 (char *) "hours", NULL
27601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27602 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27603 if (!SWIG_IsOK(ecode1
)) {
27604 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27606 arg1
= static_cast< long >(val1
);
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 result
= wxTimeSpan::Hours(arg1
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27620 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27621 PyObject
*resultobj
= 0;
27624 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= wxTimeSpan::Hour();
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27638 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
= 0;
27644 PyObject
* obj0
= 0 ;
27645 char * kwnames
[] = {
27646 (char *) "days", NULL
27649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27650 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27651 if (!SWIG_IsOK(ecode1
)) {
27652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27654 arg1
= static_cast< long >(val1
);
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 result
= wxTimeSpan::Days(arg1
);
27658 wxPyEndAllowThreads(__tstate
);
27659 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27668 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27672 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 result
= wxTimeSpan::Day();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27686 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
= 0;
27692 PyObject
* obj0
= 0 ;
27693 char * kwnames
[] = {
27694 (char *) "days", NULL
27697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27698 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27699 if (!SWIG_IsOK(ecode1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27702 arg1
= static_cast< long >(val1
);
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= wxTimeSpan::Weeks(arg1
);
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27716 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27717 PyObject
*resultobj
= 0;
27720 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 result
= wxTimeSpan::Week();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27734 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
= 0;
27736 long arg1
= (long) 0 ;
27737 long arg2
= (long) 0 ;
27738 long arg3
= (long) 0 ;
27739 long arg4
= (long) 0 ;
27740 wxTimeSpan
*result
= 0 ;
27749 PyObject
* obj0
= 0 ;
27750 PyObject
* obj1
= 0 ;
27751 PyObject
* obj2
= 0 ;
27752 PyObject
* obj3
= 0 ;
27753 char * kwnames
[] = {
27754 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27759 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27760 if (!SWIG_IsOK(ecode1
)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27763 arg1
= static_cast< long >(val1
);
27766 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27767 if (!SWIG_IsOK(ecode2
)) {
27768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27770 arg2
= static_cast< long >(val2
);
27773 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27774 if (!SWIG_IsOK(ecode3
)) {
27775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27777 arg3
= static_cast< long >(val3
);
27780 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27781 if (!SWIG_IsOK(ecode4
)) {
27782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27784 arg4
= static_cast< long >(val4
);
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27799 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 PyObject
*resultobj
= 0;
27801 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27804 PyObject
*swig_obj
[1] ;
27806 if (!args
) SWIG_fail
;
27807 swig_obj
[0] = args
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27812 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27820 resultobj
= SWIG_Py_Void();
27827 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27828 PyObject
*resultobj
= 0;
27829 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27830 wxTimeSpan
*arg2
= 0 ;
27831 wxTimeSpan
*result
= 0 ;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 char * kwnames
[] = {
27839 (char *) "self",(char *) "diff", NULL
27842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27847 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27848 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27849 if (!SWIG_IsOK(res2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27855 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27860 result
= (wxTimeSpan
*) &_result_ref
;
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27872 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27873 PyObject
*resultobj
= 0;
27874 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27875 wxTimeSpan
*arg2
= 0 ;
27876 wxTimeSpan
*result
= 0 ;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 char * kwnames
[] = {
27884 (char *) "self",(char *) "diff", NULL
27887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27889 if (!SWIG_IsOK(res1
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27892 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27894 if (!SWIG_IsOK(res2
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27900 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27905 result
= (wxTimeSpan
*) &_result_ref
;
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27917 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
= 0;
27919 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27921 wxTimeSpan
*result
= 0 ;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 char * kwnames
[] = {
27929 (char *) "self",(char *) "n", NULL
27932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27937 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27939 if (!SWIG_IsOK(ecode2
)) {
27940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27942 arg2
= static_cast< int >(val2
);
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27947 result
= (wxTimeSpan
*) &_result_ref
;
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27959 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27960 PyObject
*resultobj
= 0;
27961 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27962 wxTimeSpan
*result
= 0 ;
27965 PyObject
*swig_obj
[1] ;
27967 if (!args
) SWIG_fail
;
27968 swig_obj
[0] = args
;
27969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27970 if (!SWIG_IsOK(res1
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27973 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27978 result
= (wxTimeSpan
*) &_result_ref
;
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27990 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27991 PyObject
*resultobj
= 0;
27992 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27996 PyObject
*swig_obj
[1] ;
27998 if (!args
) SWIG_fail
;
27999 swig_obj
[0] = args
;
28000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28001 if (!SWIG_IsOK(res1
)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28004 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28018 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28021 wxTimeSpan
*arg2
= 0 ;
28022 wxTimeSpan
*result
= 0 ;
28027 PyObject
* obj0
= 0 ;
28028 PyObject
* obj1
= 0 ;
28029 char * kwnames
[] = {
28030 (char *) "self",(char *) "diff", NULL
28033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28035 if (!SWIG_IsOK(res1
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28038 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28040 if (!SWIG_IsOK(res2
)) {
28041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28046 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28051 result
= (wxTimeSpan
*) &_result_ref
;
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28063 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
= 0;
28065 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28066 wxTimeSpan
*arg2
= 0 ;
28067 wxTimeSpan
*result
= 0 ;
28072 PyObject
* obj0
= 0 ;
28073 PyObject
* obj1
= 0 ;
28074 char * kwnames
[] = {
28075 (char *) "self",(char *) "diff", NULL
28078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28083 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28085 if (!SWIG_IsOK(res2
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28091 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28095 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
28096 result
= (wxTimeSpan
*) &_result_ref
;
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28108 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28112 wxTimeSpan
*result
= 0 ;
28117 PyObject
* obj0
= 0 ;
28118 PyObject
* obj1
= 0 ;
28119 char * kwnames
[] = {
28120 (char *) "self",(char *) "n", NULL
28123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28125 if (!SWIG_IsOK(res1
)) {
28126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28128 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28130 if (!SWIG_IsOK(ecode2
)) {
28131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28133 arg2
= static_cast< int >(val2
);
28135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28138 result
= (wxTimeSpan
*) &_result_ref
;
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28150 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28151 PyObject
*resultobj
= 0;
28152 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28153 wxTimeSpan
*result
= 0 ;
28156 PyObject
*swig_obj
[1] ;
28158 if (!args
) SWIG_fail
;
28159 swig_obj
[0] = args
;
28160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28161 if (!SWIG_IsOK(res1
)) {
28162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28164 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28169 result
= (wxTimeSpan
*) &_result_ref
;
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28181 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
= 0;
28183 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28184 wxTimeSpan
*arg2
= 0 ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 char * kwnames
[] = {
28193 (char *) "self",(char *) "other", NULL
28196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28201 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28203 if (!SWIG_IsOK(res2
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28209 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28223 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
= 0;
28225 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28226 wxTimeSpan
*arg2
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char * kwnames
[] = {
28235 (char *) "self",(char *) "other", NULL
28238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28243 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28245 if (!SWIG_IsOK(res2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28251 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28265 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "n", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",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___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28285 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28287 if (!SWIG_IsOK(ecode2
)) {
28288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28290 arg2
= static_cast< int >(val2
);
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= wxTimeSpan___mul__(arg1
,arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28304 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28305 PyObject
*resultobj
= 0;
28306 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28313 PyObject
* obj0
= 0 ;
28314 PyObject
* obj1
= 0 ;
28315 char * kwnames
[] = {
28316 (char *) "self",(char *) "n", NULL
28319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28321 if (!SWIG_IsOK(res1
)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28324 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28326 if (!SWIG_IsOK(ecode2
)) {
28327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28329 arg2
= static_cast< int >(val2
);
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28343 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28344 PyObject
*resultobj
= 0;
28345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28346 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 char * kwnames
[] = {
28355 (char *) "self",(char *) "other", NULL
28358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28363 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28365 if (!SWIG_IsOK(res2
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28368 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28384 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
= 0;
28386 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28387 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 PyObject
* obj1
= 0 ;
28395 char * kwnames
[] = {
28396 (char *) "self",(char *) "other", NULL
28399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28401 if (!SWIG_IsOK(res1
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28404 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28406 if (!SWIG_IsOK(res2
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28409 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28425 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
= 0;
28427 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28428 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 char * kwnames
[] = {
28437 (char *) "self",(char *) "other", NULL
28440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28442 if (!SWIG_IsOK(res1
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28445 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28446 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28447 if (!SWIG_IsOK(res2
)) {
28448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28450 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28466 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
= 0;
28468 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28469 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char * kwnames
[] = {
28478 (char *) "self",(char *) "other", NULL
28481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28483 if (!SWIG_IsOK(res1
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28486 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28488 if (!SWIG_IsOK(res2
)) {
28489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28491 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28494 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28507 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
= 0;
28509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28510 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28516 PyObject
* obj0
= 0 ;
28517 PyObject
* obj1
= 0 ;
28518 char * kwnames
[] = {
28519 (char *) "self",(char *) "other", NULL
28522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28524 if (!SWIG_IsOK(res1
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28527 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28529 if (!SWIG_IsOK(res2
)) {
28530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28532 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28535 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28548 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= 0;
28550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28551 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28557 PyObject
* obj0
= 0 ;
28558 PyObject
* obj1
= 0 ;
28559 char * kwnames
[] = {
28560 (char *) "self",(char *) "other", NULL
28563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28568 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28570 if (!SWIG_IsOK(res2
)) {
28571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28573 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28589 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28595 PyObject
*swig_obj
[1] ;
28597 if (!args
) SWIG_fail
;
28598 swig_obj
[0] = args
;
28599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28603 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28619 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28620 PyObject
*resultobj
= 0;
28621 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28625 PyObject
*swig_obj
[1] ;
28627 if (!args
) SWIG_fail
;
28628 swig_obj
[0] = args
;
28629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28630 if (!SWIG_IsOK(res1
)) {
28631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28633 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28637 wxPyEndAllowThreads(__tstate
);
28638 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28649 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28650 PyObject
*resultobj
= 0;
28651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28655 PyObject
*swig_obj
[1] ;
28657 if (!args
) SWIG_fail
;
28658 swig_obj
[0] = args
;
28659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28660 if (!SWIG_IsOK(res1
)) {
28661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28663 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28679 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= 0;
28681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28682 wxTimeSpan
*arg2
= 0 ;
28688 PyObject
* obj0
= 0 ;
28689 PyObject
* obj1
= 0 ;
28690 char * kwnames
[] = {
28691 (char *) "self",(char *) "ts", NULL
28694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28696 if (!SWIG_IsOK(res1
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28699 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28701 if (!SWIG_IsOK(res2
)) {
28702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28707 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28710 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28711 wxPyEndAllowThreads(__tstate
);
28712 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28723 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
= 0;
28725 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28726 wxTimeSpan
*arg2
= 0 ;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char * kwnames
[] = {
28735 (char *) "self",(char *) "ts", NULL
28738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28740 if (!SWIG_IsOK(res1
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28743 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28744 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28745 if (!SWIG_IsOK(res2
)) {
28746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28751 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28754 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28767 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28768 PyObject
*resultobj
= 0;
28769 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28770 wxTimeSpan
*arg2
= 0 ;
28776 PyObject
* obj0
= 0 ;
28777 PyObject
* obj1
= 0 ;
28778 char * kwnames
[] = {
28779 (char *) "self",(char *) "t", NULL
28782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28787 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28789 if (!SWIG_IsOK(res2
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28795 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28798 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28811 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 PyObject
*resultobj
= 0;
28813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28817 PyObject
*swig_obj
[1] ;
28819 if (!args
) SWIG_fail
;
28820 swig_obj
[0] = args
;
28821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28822 if (!SWIG_IsOK(res1
)) {
28823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28825 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28828 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 resultobj
= SWIG_From_int(static_cast< int >(result
));
28839 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28840 PyObject
*resultobj
= 0;
28841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28845 PyObject
*swig_obj
[1] ;
28847 if (!args
) SWIG_fail
;
28848 swig_obj
[0] = args
;
28849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28850 if (!SWIG_IsOK(res1
)) {
28851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28853 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= SWIG_From_int(static_cast< int >(result
));
28867 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28868 PyObject
*resultobj
= 0;
28869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28873 PyObject
*swig_obj
[1] ;
28875 if (!args
) SWIG_fail
;
28876 swig_obj
[0] = args
;
28877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28878 if (!SWIG_IsOK(res1
)) {
28879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28881 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 resultobj
= SWIG_From_int(static_cast< int >(result
));
28895 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28896 PyObject
*resultobj
= 0;
28897 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28901 PyObject
*swig_obj
[1] ;
28903 if (!args
) SWIG_fail
;
28904 swig_obj
[0] = args
;
28905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28906 if (!SWIG_IsOK(res1
)) {
28907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28909 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28912 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 resultobj
= SWIG_From_int(static_cast< int >(result
));
28923 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28924 PyObject
*resultobj
= 0;
28925 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28929 PyObject
*swig_obj
[1] ;
28931 if (!args
) SWIG_fail
;
28932 swig_obj
[0] = args
;
28933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28934 if (!SWIG_IsOK(res1
)) {
28935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28937 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28945 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28946 hi
= PyLong_FromLong( (&result
)->GetHi() );
28947 lo
= PyLong_FromLong( (&result
)->GetLo() );
28948 shifter
= PyLong_FromLong(32);
28949 shifted
= PyNumber_Lshift(hi
, shifter
);
28950 resultobj
= PyNumber_Or(shifted
, lo
);
28953 Py_DECREF(shifter
);
28954 Py_DECREF(shifted
);
28962 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28968 PyObject
*swig_obj
[1] ;
28970 if (!args
) SWIG_fail
;
28971 swig_obj
[0] = args
;
28972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28976 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28984 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28985 hi
= PyLong_FromLong( (&result
)->GetHi() );
28986 lo
= PyLong_FromLong( (&result
)->GetLo() );
28987 shifter
= PyLong_FromLong(32);
28988 shifted
= PyNumber_Lshift(hi
, shifter
);
28989 resultobj
= PyNumber_Or(shifted
, lo
);
28992 Py_DECREF(shifter
);
28993 Py_DECREF(shifted
);
29001 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
= 0;
29003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29004 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29005 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29009 bool temp2
= false ;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 char * kwnames
[] = {
29013 (char *) "self",(char *) "format", NULL
29016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29018 if (!SWIG_IsOK(res1
)) {
29019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29021 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29024 arg2
= wxString_in_helper(obj1
);
29025 if (arg2
== NULL
) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29056 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29058 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29059 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
29060 return SWIG_Py_Void();
29063 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29064 return SWIG_Python_InitShadowInstance(args
);
29067 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
= 0;
29069 int arg1
= (int) 0 ;
29070 int arg2
= (int) 0 ;
29071 int arg3
= (int) 0 ;
29072 int arg4
= (int) 0 ;
29073 wxDateSpan
*result
= 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 PyObject
* obj3
= 0 ;
29086 char * kwnames
[] = {
29087 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
29090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29093 if (!SWIG_IsOK(ecode1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
29096 arg1
= static_cast< int >(val1
);
29099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29100 if (!SWIG_IsOK(ecode2
)) {
29101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
29103 arg2
= static_cast< int >(val2
);
29106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29107 if (!SWIG_IsOK(ecode3
)) {
29108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
29110 arg3
= static_cast< int >(val3
);
29113 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29114 if (!SWIG_IsOK(ecode4
)) {
29115 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
29117 arg4
= static_cast< int >(val4
);
29120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29121 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29122 wxPyEndAllowThreads(__tstate
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29132 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29133 PyObject
*resultobj
= 0;
29134 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29137 PyObject
*swig_obj
[1] ;
29139 if (!args
) SWIG_fail
;
29140 swig_obj
[0] = args
;
29141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29142 if (!SWIG_IsOK(res1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29145 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 wxPyEndAllowThreads(__tstate
);
29151 if (PyErr_Occurred()) SWIG_fail
;
29153 resultobj
= SWIG_Py_Void();
29160 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29161 PyObject
*resultobj
= 0;
29166 PyObject
* obj0
= 0 ;
29167 char * kwnames
[] = {
29168 (char *) "days", NULL
29171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29173 if (!SWIG_IsOK(ecode1
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29176 arg1
= static_cast< int >(val1
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= wxDateSpan::Days(arg1
);
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29190 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29191 PyObject
*resultobj
= 0;
29194 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= wxDateSpan::Day();
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29201 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29208 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29209 PyObject
*resultobj
= 0;
29214 PyObject
* obj0
= 0 ;
29215 char * kwnames
[] = {
29216 (char *) "weeks", NULL
29219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29221 if (!SWIG_IsOK(ecode1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29224 arg1
= static_cast< int >(val1
);
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 result
= wxDateSpan::Weeks(arg1
);
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29238 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29239 PyObject
*resultobj
= 0;
29242 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= wxDateSpan::Week();
29246 wxPyEndAllowThreads(__tstate
);
29247 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29256 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29257 PyObject
*resultobj
= 0;
29262 PyObject
* obj0
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "mon", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29268 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29269 if (!SWIG_IsOK(ecode1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29272 arg1
= static_cast< int >(val1
);
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= wxDateSpan::Months(arg1
);
29276 wxPyEndAllowThreads(__tstate
);
29277 if (PyErr_Occurred()) SWIG_fail
;
29279 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29286 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29287 PyObject
*resultobj
= 0;
29290 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 result
= wxDateSpan::Month();
29294 wxPyEndAllowThreads(__tstate
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29304 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29305 PyObject
*resultobj
= 0;
29310 PyObject
* obj0
= 0 ;
29311 char * kwnames
[] = {
29312 (char *) "years", NULL
29315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29316 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29317 if (!SWIG_IsOK(ecode1
)) {
29318 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29320 arg1
= static_cast< int >(val1
);
29322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29323 result
= wxDateSpan::Years(arg1
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29334 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29335 PyObject
*resultobj
= 0;
29338 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 result
= wxDateSpan::Year();
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29352 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
= 0;
29354 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29356 wxDateSpan
*result
= 0 ;
29361 PyObject
* obj0
= 0 ;
29362 PyObject
* obj1
= 0 ;
29363 char * kwnames
[] = {
29364 (char *) "self",(char *) "n", NULL
29367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29369 if (!SWIG_IsOK(res1
)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29372 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29374 if (!SWIG_IsOK(ecode2
)) {
29375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29377 arg2
= static_cast< int >(val2
);
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29382 result
= (wxDateSpan
*) &_result_ref
;
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29394 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
= 0;
29396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29398 wxDateSpan
*result
= 0 ;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 char * kwnames
[] = {
29406 (char *) "self",(char *) "n", NULL
29409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29411 if (!SWIG_IsOK(res1
)) {
29412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29414 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29416 if (!SWIG_IsOK(ecode2
)) {
29417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29419 arg2
= static_cast< int >(val2
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29424 result
= (wxDateSpan
*) &_result_ref
;
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29436 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
= 0;
29438 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29440 wxDateSpan
*result
= 0 ;
29445 PyObject
* obj0
= 0 ;
29446 PyObject
* obj1
= 0 ;
29447 char * kwnames
[] = {
29448 (char *) "self",(char *) "n", NULL
29451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29453 if (!SWIG_IsOK(res1
)) {
29454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29456 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29458 if (!SWIG_IsOK(ecode2
)) {
29459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29461 arg2
= static_cast< int >(val2
);
29463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29466 result
= (wxDateSpan
*) &_result_ref
;
29468 wxPyEndAllowThreads(__tstate
);
29469 if (PyErr_Occurred()) SWIG_fail
;
29471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29478 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29479 PyObject
*resultobj
= 0;
29480 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29482 wxDateSpan
*result
= 0 ;
29487 PyObject
* obj0
= 0 ;
29488 PyObject
* obj1
= 0 ;
29489 char * kwnames
[] = {
29490 (char *) "self",(char *) "n", NULL
29493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29498 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29500 if (!SWIG_IsOK(ecode2
)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29503 arg2
= static_cast< int >(val2
);
29505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29507 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29508 result
= (wxDateSpan
*) &_result_ref
;
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29520 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29521 PyObject
*resultobj
= 0;
29522 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29526 PyObject
*swig_obj
[1] ;
29528 if (!args
) SWIG_fail
;
29529 swig_obj
[0] = args
;
29530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29531 if (!SWIG_IsOK(res1
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29534 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29537 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29538 wxPyEndAllowThreads(__tstate
);
29539 if (PyErr_Occurred()) SWIG_fail
;
29541 resultobj
= SWIG_From_int(static_cast< int >(result
));
29548 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29549 PyObject
*resultobj
= 0;
29550 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29554 PyObject
*swig_obj
[1] ;
29556 if (!args
) SWIG_fail
;
29557 swig_obj
[0] = args
;
29558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29559 if (!SWIG_IsOK(res1
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29562 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29565 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= SWIG_From_int(static_cast< int >(result
));
29576 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29577 PyObject
*resultobj
= 0;
29578 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29582 PyObject
*swig_obj
[1] ;
29584 if (!args
) SWIG_fail
;
29585 swig_obj
[0] = args
;
29586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29590 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 resultobj
= SWIG_From_int(static_cast< int >(result
));
29604 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29605 PyObject
*resultobj
= 0;
29606 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29610 PyObject
*swig_obj
[1] ;
29612 if (!args
) SWIG_fail
;
29613 swig_obj
[0] = args
;
29614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29618 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29622 wxPyEndAllowThreads(__tstate
);
29623 if (PyErr_Occurred()) SWIG_fail
;
29625 resultobj
= SWIG_From_int(static_cast< int >(result
));
29632 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29633 PyObject
*resultobj
= 0;
29634 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29638 PyObject
*swig_obj
[1] ;
29640 if (!args
) SWIG_fail
;
29641 swig_obj
[0] = args
;
29642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29646 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29653 resultobj
= SWIG_From_int(static_cast< int >(result
));
29660 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29661 PyObject
*resultobj
= 0;
29662 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29663 wxDateSpan
*arg2
= 0 ;
29664 wxDateSpan
*result
= 0 ;
29669 PyObject
* obj0
= 0 ;
29670 PyObject
* obj1
= 0 ;
29671 char * kwnames
[] = {
29672 (char *) "self",(char *) "other", NULL
29675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29680 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29681 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29682 if (!SWIG_IsOK(res2
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29688 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29693 result
= (wxDateSpan
*) &_result_ref
;
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29705 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29706 PyObject
*resultobj
= 0;
29707 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29708 wxDateSpan
*arg2
= 0 ;
29709 wxDateSpan
*result
= 0 ;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 char * kwnames
[] = {
29717 (char *) "self",(char *) "other", NULL
29720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29722 if (!SWIG_IsOK(res1
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29725 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29726 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29727 if (!SWIG_IsOK(res2
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29733 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29738 result
= (wxDateSpan
*) &_result_ref
;
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29750 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29751 PyObject
*resultobj
= 0;
29752 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29753 wxDateSpan
*result
= 0 ;
29756 PyObject
*swig_obj
[1] ;
29758 if (!args
) SWIG_fail
;
29759 swig_obj
[0] = args
;
29760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29761 if (!SWIG_IsOK(res1
)) {
29762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29764 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29768 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29769 result
= (wxDateSpan
*) &_result_ref
;
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29781 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
= 0;
29783 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29785 wxDateSpan
*result
= 0 ;
29790 PyObject
* obj0
= 0 ;
29791 PyObject
* obj1
= 0 ;
29792 char * kwnames
[] = {
29793 (char *) "self",(char *) "factor", NULL
29796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29798 if (!SWIG_IsOK(res1
)) {
29799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29801 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29803 if (!SWIG_IsOK(ecode2
)) {
29804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29806 arg2
= static_cast< int >(val2
);
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29811 result
= (wxDateSpan
*) &_result_ref
;
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29823 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
= 0;
29825 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29826 wxDateSpan
*arg2
= 0 ;
29827 wxDateSpan
*result
= 0 ;
29832 PyObject
* obj0
= 0 ;
29833 PyObject
* obj1
= 0 ;
29834 char * kwnames
[] = {
29835 (char *) "self",(char *) "other", NULL
29838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29840 if (!SWIG_IsOK(res1
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29843 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29845 if (!SWIG_IsOK(res2
)) {
29846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29851 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29856 result
= (wxDateSpan
*) &_result_ref
;
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29868 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
= 0;
29870 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29871 wxDateSpan
*arg2
= 0 ;
29872 wxDateSpan
*result
= 0 ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "other", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29888 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29889 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29890 if (!SWIG_IsOK(res2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29894 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29896 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29901 result
= (wxDateSpan
*) &_result_ref
;
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29913 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29914 PyObject
*resultobj
= 0;
29915 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29916 wxDateSpan
*result
= 0 ;
29919 PyObject
*swig_obj
[1] ;
29921 if (!args
) SWIG_fail
;
29922 swig_obj
[0] = args
;
29923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29924 if (!SWIG_IsOK(res1
)) {
29925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29927 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29932 result
= (wxDateSpan
*) &_result_ref
;
29934 wxPyEndAllowThreads(__tstate
);
29935 if (PyErr_Occurred()) SWIG_fail
;
29937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29944 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
= 0;
29946 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29948 wxDateSpan
*result
= 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 char * kwnames
[] = {
29956 (char *) "self",(char *) "factor", NULL
29959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29961 if (!SWIG_IsOK(res1
)) {
29962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29964 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29966 if (!SWIG_IsOK(ecode2
)) {
29967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29969 arg2
= static_cast< int >(val2
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29974 result
= (wxDateSpan
*) &_result_ref
;
29976 wxPyEndAllowThreads(__tstate
);
29977 if (PyErr_Occurred()) SWIG_fail
;
29979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29986 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29987 PyObject
*resultobj
= 0;
29988 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29989 wxDateSpan
*arg2
= 0 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 char * kwnames
[] = {
29998 (char *) "self",(char *) "other", NULL
30001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30003 if (!SWIG_IsOK(res1
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30006 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30007 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30008 if (!SWIG_IsOK(res2
)) {
30009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30012 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30014 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30028 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30029 PyObject
*resultobj
= 0;
30030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30031 wxDateSpan
*arg2
= 0 ;
30037 PyObject
* obj0
= 0 ;
30038 PyObject
* obj1
= 0 ;
30039 char * kwnames
[] = {
30040 (char *) "self",(char *) "other", NULL
30043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30048 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30050 if (!SWIG_IsOK(res2
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30056 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30063 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30070 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
= 0;
30072 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30079 PyObject
* obj0
= 0 ;
30080 PyObject
* obj1
= 0 ;
30081 char * kwnames
[] = {
30082 (char *) "self",(char *) "n", NULL
30085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30087 if (!SWIG_IsOK(res1
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30090 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30091 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30092 if (!SWIG_IsOK(ecode2
)) {
30093 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
30095 arg2
= static_cast< int >(val2
);
30097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30098 result
= wxDateSpan___mul__(arg1
,arg2
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30109 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30110 PyObject
*resultobj
= 0;
30111 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 char * kwnames
[] = {
30121 (char *) "self",(char *) "n", NULL
30124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30126 if (!SWIG_IsOK(res1
)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30129 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30130 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30131 if (!SWIG_IsOK(ecode2
)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30134 arg2
= static_cast< int >(val2
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= wxDateSpan___rmul__(arg1
,arg2
);
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30148 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
= 0;
30150 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30151 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 PyObject
* obj1
= 0 ;
30159 char * kwnames
[] = {
30160 (char *) "self",(char *) "other", NULL
30163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30168 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30170 if (!SWIG_IsOK(res2
)) {
30171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30173 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30177 wxPyEndAllowThreads(__tstate
);
30178 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30189 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30190 PyObject
*resultobj
= 0;
30191 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30192 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30198 PyObject
* obj0
= 0 ;
30199 PyObject
* obj1
= 0 ;
30200 char * kwnames
[] = {
30201 (char *) "self",(char *) "other", NULL
30204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30209 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30211 if (!SWIG_IsOK(res2
)) {
30212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30214 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30217 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30230 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30232 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30233 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30234 return SWIG_Py_Void();
30237 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30238 return SWIG_Python_InitShadowInstance(args
);
30241 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30242 PyObject
*resultobj
= 0;
30245 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= (long)wxGetLocalTime();
30249 wxPyEndAllowThreads(__tstate
);
30250 if (PyErr_Occurred()) SWIG_fail
;
30252 resultobj
= SWIG_From_long(static_cast< long >(result
));
30259 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30260 PyObject
*resultobj
= 0;
30263 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= (long)wxGetUTCTime();
30267 wxPyEndAllowThreads(__tstate
);
30268 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= SWIG_From_long(static_cast< long >(result
));
30277 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30278 PyObject
*resultobj
= 0;
30281 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30284 result
= (long)wxGetCurrentTime();
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 resultobj
= SWIG_From_long(static_cast< long >(result
));
30295 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30296 PyObject
*resultobj
= 0;
30299 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 result
= wxGetLocalTimeMillis();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30307 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30308 hi
= PyLong_FromLong( (&result
)->GetHi() );
30309 lo
= PyLong_FromLong( (&result
)->GetLo() );
30310 shifter
= PyLong_FromLong(32);
30311 shifted
= PyNumber_Lshift(hi
, shifter
);
30312 resultobj
= PyNumber_Or(shifted
, lo
);
30315 Py_DECREF(shifter
);
30316 Py_DECREF(shifted
);
30324 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30325 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30330 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30331 PyObject
*pyobj
= 0;
30333 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30338 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxDataFormatId arg1
;
30341 wxDataFormat
*result
= 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "type", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30350 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30351 if (!SWIG_IsOK(ecode1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30354 arg1
= static_cast< wxDataFormatId
>(val1
);
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30368 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= 0;
30370 wxString
*arg1
= 0 ;
30371 wxDataFormat
*result
= 0 ;
30372 bool temp1
= false ;
30373 PyObject
* obj0
= 0 ;
30374 char * kwnames
[] = {
30375 (char *) "format", NULL
30378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30380 arg1
= wxString_in_helper(obj0
);
30381 if (arg1
== NULL
) SWIG_fail
;
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30405 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30406 PyObject
*resultobj
= 0;
30407 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30410 PyObject
*swig_obj
[1] ;
30412 if (!args
) SWIG_fail
;
30413 swig_obj
[0] = args
;
30414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30418 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 resultobj
= SWIG_Py_Void();
30433 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30434 PyObject
*resultobj
= 0;
30435 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30436 wxDataFormatId arg2
;
30443 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30445 if (!SWIG_IsOK(res1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30448 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30449 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30450 if (!SWIG_IsOK(ecode2
)) {
30451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30453 arg2
= static_cast< wxDataFormatId
>(val2
);
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30457 wxPyEndAllowThreads(__tstate
);
30458 if (PyErr_Occurred()) SWIG_fail
;
30461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30469 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30470 PyObject
*resultobj
= 0;
30471 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30472 wxDataFormatId arg2
;
30479 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30481 if (!SWIG_IsOK(res1
)) {
30482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30484 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30485 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30486 if (!SWIG_IsOK(ecode2
)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30489 arg2
= static_cast< wxDataFormatId
>(val2
);
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30493 wxPyEndAllowThreads(__tstate
);
30494 if (PyErr_Occurred()) SWIG_fail
;
30497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30505 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30506 PyObject
*resultobj
= 0;
30507 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30508 wxDataFormat
*arg2
= 0 ;
30515 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30517 if (!SWIG_IsOK(res1
)) {
30518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30520 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30521 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30522 if (!SWIG_IsOK(res2
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30528 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30544 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30548 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30553 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30554 _v
= SWIG_CheckState(res
);
30556 if (!_v
) goto check_1
;
30557 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30562 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30566 Py_INCREF(Py_NotImplemented
);
30567 return Py_NotImplemented
;
30571 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30572 PyObject
*resultobj
= 0;
30573 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30574 wxDataFormat
*arg2
= 0 ;
30581 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30583 if (!SWIG_IsOK(res1
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30586 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30587 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30588 if (!SWIG_IsOK(res2
)) {
30589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30594 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30610 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30614 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30619 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30620 _v
= SWIG_CheckState(res
);
30622 if (!_v
) goto check_1
;
30623 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30628 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30632 Py_INCREF(Py_NotImplemented
);
30633 return Py_NotImplemented
;
30637 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30639 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30640 wxDataFormatId arg2
;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char * kwnames
[] = {
30648 (char *) "self",(char *) "format", NULL
30651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30656 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30658 if (!SWIG_IsOK(ecode2
)) {
30659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30661 arg2
= static_cast< wxDataFormatId
>(val2
);
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->SetType(arg2
);
30665 wxPyEndAllowThreads(__tstate
);
30666 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= SWIG_Py_Void();
30675 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30676 PyObject
*resultobj
= 0;
30677 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30678 wxDataFormatId result
;
30681 PyObject
*swig_obj
[1] ;
30683 if (!args
) SWIG_fail
;
30684 swig_obj
[0] = args
;
30685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30686 if (!SWIG_IsOK(res1
)) {
30687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30689 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30692 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30693 wxPyEndAllowThreads(__tstate
);
30694 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= SWIG_From_int(static_cast< int >(result
));
30703 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30704 PyObject
*resultobj
= 0;
30705 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30709 PyObject
*swig_obj
[1] ;
30711 if (!args
) SWIG_fail
;
30712 swig_obj
[0] = args
;
30713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30714 if (!SWIG_IsOK(res1
)) {
30715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30717 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 result
= ((wxDataFormat
const *)arg1
)->GetId();
30721 wxPyEndAllowThreads(__tstate
);
30722 if (PyErr_Occurred()) SWIG_fail
;
30726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30737 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
= 0;
30739 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30740 wxString
*arg2
= 0 ;
30743 bool temp2
= false ;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 char * kwnames
[] = {
30747 (char *) "self",(char *) "format", NULL
30750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30755 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30757 arg2
= wxString_in_helper(obj1
);
30758 if (arg2
== NULL
) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->SetId((wxString
const &)*arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_Py_Void();
30782 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30785 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30786 return SWIG_Py_Void();
30789 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30790 return SWIG_Python_InitShadowInstance(args
);
30793 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30794 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30799 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30800 PyObject
*pyobj
= 0;
30802 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30807 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30808 PyObject
*resultobj
= 0;
30809 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30812 PyObject
*swig_obj
[1] ;
30814 if (!args
) SWIG_fail
;
30815 swig_obj
[0] = args
;
30816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30817 if (!SWIG_IsOK(res1
)) {
30818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30820 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30828 resultobj
= SWIG_Py_Void();
30835 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30836 PyObject
*resultobj
= 0;
30837 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30838 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30839 SwigValueWrapper
<wxDataFormat
> result
;
30844 PyObject
* obj0
= 0 ;
30845 PyObject
* obj1
= 0 ;
30846 char * kwnames
[] = {
30847 (char *) "self",(char *) "dir", NULL
30850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30852 if (!SWIG_IsOK(res1
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30855 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30858 if (!SWIG_IsOK(ecode2
)) {
30859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30861 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30876 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30879 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 char * kwnames
[] = {
30888 (char *) "self",(char *) "dir", NULL
30891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30893 if (!SWIG_IsOK(res1
)) {
30894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30896 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30899 if (!SWIG_IsOK(ecode2
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30902 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30917 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30918 PyObject
*resultobj
= 0;
30919 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30920 wxDataFormat
*arg2
= 0 ;
30921 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30929 PyObject
* obj0
= 0 ;
30930 PyObject
* obj1
= 0 ;
30931 PyObject
* obj2
= 0 ;
30932 char * kwnames
[] = {
30933 (char *) "self",(char *) "format",(char *) "dir", NULL
30936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30938 if (!SWIG_IsOK(res1
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30941 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30942 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30943 if (!SWIG_IsOK(res2
)) {
30944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30947 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30949 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30952 if (!SWIG_IsOK(ecode3
)) {
30953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30955 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30959 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30972 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
= 0;
30974 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30975 wxDataFormat
*arg2
= 0 ;
30981 PyObject
* obj0
= 0 ;
30982 PyObject
* obj1
= 0 ;
30983 char * kwnames
[] = {
30984 (char *) "self",(char *) "format", NULL
30987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30989 if (!SWIG_IsOK(res1
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30992 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30993 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30994 if (!SWIG_IsOK(res2
)) {
30995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31000 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31014 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31017 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31018 PyObject
*result
= 0 ;
31023 PyObject
* obj0
= 0 ;
31024 PyObject
* obj1
= 0 ;
31025 char * kwnames
[] = {
31026 (char *) "self",(char *) "dir", NULL
31029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31034 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31037 if (!SWIG_IsOK(ecode2
)) {
31038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31040 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31048 resultobj
= result
;
31055 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
= 0;
31057 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31058 wxDataFormat
*arg2
= 0 ;
31059 PyObject
*result
= 0 ;
31064 PyObject
* obj0
= 0 ;
31065 PyObject
* obj1
= 0 ;
31066 char * kwnames
[] = {
31067 (char *) "self",(char *) "format", NULL
31070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31072 if (!SWIG_IsOK(res1
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
31075 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31076 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31077 if (!SWIG_IsOK(res2
)) {
31078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31083 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= result
;
31097 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
= 0;
31099 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31100 wxDataFormat
*arg2
= 0 ;
31101 PyObject
*arg3
= (PyObject
*) 0 ;
31107 PyObject
* obj0
= 0 ;
31108 PyObject
* obj1
= 0 ;
31109 PyObject
* obj2
= 0 ;
31110 char * kwnames
[] = {
31111 (char *) "self",(char *) "format",(char *) "data", NULL
31114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31116 if (!SWIG_IsOK(res1
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
31119 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31121 if (!SWIG_IsOK(res2
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31127 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31144 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31147 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31148 return SWIG_Py_Void();
31151 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31152 PyObject
*resultobj
= 0;
31153 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31154 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31155 wxDataObjectSimple
*result
= 0 ;
31158 PyObject
* obj0
= 0 ;
31159 char * kwnames
[] = {
31160 (char *) "format", NULL
31163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31165 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31166 if (!SWIG_IsOK(res1
)) {
31167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31170 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31172 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31176 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31187 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31188 PyObject
*resultobj
= 0;
31189 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31190 wxDataFormat
*result
= 0 ;
31193 PyObject
*swig_obj
[1] ;
31195 if (!args
) SWIG_fail
;
31196 swig_obj
[0] = args
;
31197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31198 if (!SWIG_IsOK(res1
)) {
31199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31201 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31205 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31206 result
= (wxDataFormat
*) &_result_ref
;
31208 wxPyEndAllowThreads(__tstate
);
31209 if (PyErr_Occurred()) SWIG_fail
;
31211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31218 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31219 PyObject
*resultobj
= 0;
31220 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31221 wxDataFormat
*arg2
= 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char * kwnames
[] = {
31229 (char *) "self",(char *) "format", NULL
31232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31234 if (!SWIG_IsOK(res1
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31237 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31238 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31239 if (!SWIG_IsOK(res2
)) {
31240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31245 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31248 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31249 wxPyEndAllowThreads(__tstate
);
31250 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= SWIG_Py_Void();
31259 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31260 PyObject
*resultobj
= 0;
31261 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31265 PyObject
*swig_obj
[1] ;
31267 if (!args
) SWIG_fail
;
31268 swig_obj
[0] = args
;
31269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31270 if (!SWIG_IsOK(res1
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31273 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31287 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31288 PyObject
*resultobj
= 0;
31289 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31290 PyObject
*result
= 0 ;
31293 PyObject
*swig_obj
[1] ;
31295 if (!args
) SWIG_fail
;
31296 swig_obj
[0] = args
;
31297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31298 if (!SWIG_IsOK(res1
)) {
31299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31301 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31305 wxPyEndAllowThreads(__tstate
);
31306 if (PyErr_Occurred()) SWIG_fail
;
31308 resultobj
= result
;
31315 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31316 PyObject
*resultobj
= 0;
31317 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31318 PyObject
*arg2
= (PyObject
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char * kwnames
[] = {
31325 (char *) "self",(char *) "data", NULL
31328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31330 if (!SWIG_IsOK(res1
)) {
31331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31333 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31338 wxPyEndAllowThreads(__tstate
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31350 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31353 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31354 return SWIG_Py_Void();
31357 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31358 return SWIG_Python_InitShadowInstance(args
);
31361 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
= 0;
31363 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31364 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31365 wxPyDataObjectSimple
*result
= 0 ;
31368 PyObject
* obj0
= 0 ;
31369 char * kwnames
[] = {
31370 (char *) "format", NULL
31373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31375 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31376 if (!SWIG_IsOK(res1
)) {
31377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31380 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31382 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31397 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
= 0;
31399 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31400 PyObject
*arg2
= (PyObject
*) 0 ;
31401 PyObject
*arg3
= (PyObject
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 PyObject
* obj1
= 0 ;
31406 PyObject
* obj2
= 0 ;
31407 char * kwnames
[] = {
31408 (char *) "self",(char *) "self",(char *) "_class", NULL
31411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31413 if (!SWIG_IsOK(res1
)) {
31414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31416 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31422 wxPyEndAllowThreads(__tstate
);
31423 if (PyErr_Occurred()) SWIG_fail
;
31425 resultobj
= SWIG_Py_Void();
31432 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31436 return SWIG_Py_Void();
31439 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31440 return SWIG_Python_InitShadowInstance(args
);
31443 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31444 PyObject
*resultobj
= 0;
31445 wxDataObjectComposite
*result
= 0 ;
31447 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31461 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31462 PyObject
*resultobj
= 0;
31463 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31464 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31465 bool arg3
= (bool) false ;
31471 PyObject
* obj0
= 0 ;
31472 PyObject
* obj1
= 0 ;
31473 PyObject
* obj2
= 0 ;
31474 char * kwnames
[] = {
31475 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31480 if (!SWIG_IsOK(res1
)) {
31481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31483 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31484 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31485 if (!SWIG_IsOK(res2
)) {
31486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31489 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31490 if (!SWIG_IsOK(ecode3
)) {
31491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31493 arg3
= static_cast< bool >(val3
);
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 (arg1
)->Add(arg2
,arg3
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_Py_Void();
31508 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31509 PyObject
*resultobj
= 0;
31510 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31511 SwigValueWrapper
<wxDataFormat
> result
;
31514 PyObject
*swig_obj
[1] ;
31516 if (!args
) SWIG_fail
;
31517 swig_obj
[0] = args
;
31518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31519 if (!SWIG_IsOK(res1
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31522 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31536 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31539 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31540 return SWIG_Py_Void();
31543 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31544 return SWIG_Python_InitShadowInstance(args
);
31547 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
= 0;
31549 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31550 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31551 wxTextDataObject
*result
= 0 ;
31552 bool temp1
= false ;
31553 PyObject
* obj0
= 0 ;
31554 char * kwnames
[] = {
31555 (char *) "text", NULL
31558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31561 arg1
= wxString_in_helper(obj0
);
31562 if (arg1
== NULL
) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31587 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31588 PyObject
*resultobj
= 0;
31589 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31593 PyObject
*swig_obj
[1] ;
31595 if (!args
) SWIG_fail
;
31596 swig_obj
[0] = args
;
31597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31598 if (!SWIG_IsOK(res1
)) {
31599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31601 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (size_t)(arg1
)->GetTextLength();
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31615 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31616 PyObject
*resultobj
= 0;
31617 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31621 PyObject
*swig_obj
[1] ;
31623 if (!args
) SWIG_fail
;
31624 swig_obj
[0] = args
;
31625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31626 if (!SWIG_IsOK(res1
)) {
31627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31629 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 result
= (arg1
)->GetText();
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31649 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31650 PyObject
*resultobj
= 0;
31651 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31652 wxString
*arg2
= 0 ;
31655 bool temp2
= false ;
31656 PyObject
* obj0
= 0 ;
31657 PyObject
* obj1
= 0 ;
31658 char * kwnames
[] = {
31659 (char *) "self",(char *) "text", NULL
31662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31664 if (!SWIG_IsOK(res1
)) {
31665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31667 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31669 arg2
= wxString_in_helper(obj1
);
31670 if (arg2
== NULL
) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->SetText((wxString
const &)*arg2
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_Py_Void();
31694 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31697 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31698 return SWIG_Py_Void();
31701 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31702 return SWIG_Python_InitShadowInstance(args
);
31705 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
= 0;
31707 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31708 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31709 wxPyTextDataObject
*result
= 0 ;
31710 bool temp1
= false ;
31711 PyObject
* obj0
= 0 ;
31712 char * kwnames
[] = {
31713 (char *) "text", NULL
31716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31719 arg1
= wxString_in_helper(obj0
);
31720 if (arg1
== NULL
) SWIG_fail
;
31725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31726 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31727 wxPyEndAllowThreads(__tstate
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31745 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= 0;
31747 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31748 PyObject
*arg2
= (PyObject
*) 0 ;
31749 PyObject
*arg3
= (PyObject
*) 0 ;
31752 PyObject
* obj0
= 0 ;
31753 PyObject
* obj1
= 0 ;
31754 PyObject
* obj2
= 0 ;
31755 char * kwnames
[] = {
31756 (char *) "self",(char *) "self",(char *) "_class", NULL
31759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31761 if (!SWIG_IsOK(res1
)) {
31762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31764 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_Py_Void();
31780 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31782 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31783 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31784 return SWIG_Py_Void();
31787 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31788 return SWIG_Python_InitShadowInstance(args
);
31791 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
= 0;
31793 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31794 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31795 wxBitmapDataObject
*result
= 0 ;
31798 PyObject
* obj0
= 0 ;
31799 char * kwnames
[] = {
31800 (char *) "bitmap", NULL
31803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31805 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31806 if (!SWIG_IsOK(res1
)) {
31807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31812 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31816 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31817 wxPyEndAllowThreads(__tstate
);
31818 if (PyErr_Occurred()) SWIG_fail
;
31820 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31827 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31828 PyObject
*resultobj
= 0;
31829 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31833 PyObject
*swig_obj
[1] ;
31835 if (!args
) SWIG_fail
;
31836 swig_obj
[0] = args
;
31837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31838 if (!SWIG_IsOK(res1
)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31841 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31844 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31845 wxPyEndAllowThreads(__tstate
);
31846 if (PyErr_Occurred()) SWIG_fail
;
31848 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31855 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31856 PyObject
*resultobj
= 0;
31857 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31858 wxBitmap
*arg2
= 0 ;
31863 PyObject
* obj0
= 0 ;
31864 PyObject
* obj1
= 0 ;
31865 char * kwnames
[] = {
31866 (char *) "self",(char *) "bitmap", NULL
31869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31871 if (!SWIG_IsOK(res1
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31874 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31875 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31876 if (!SWIG_IsOK(res2
)) {
31877 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31882 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31885 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 resultobj
= SWIG_Py_Void();
31896 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31898 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31899 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31900 return SWIG_Py_Void();
31903 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31904 return SWIG_Python_InitShadowInstance(args
);
31907 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
= 0;
31909 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31910 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31911 wxPyBitmapDataObject
*result
= 0 ;
31914 PyObject
* obj0
= 0 ;
31915 char * kwnames
[] = {
31916 (char *) "bitmap", NULL
31919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31921 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31922 if (!SWIG_IsOK(res1
)) {
31923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31926 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31928 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31943 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31946 PyObject
*arg2
= (PyObject
*) 0 ;
31947 PyObject
*arg3
= (PyObject
*) 0 ;
31950 PyObject
* obj0
= 0 ;
31951 PyObject
* obj1
= 0 ;
31952 PyObject
* obj2
= 0 ;
31953 char * kwnames
[] = {
31954 (char *) "self",(char *) "self",(char *) "_class", NULL
31957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31959 if (!SWIG_IsOK(res1
)) {
31960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31962 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31971 resultobj
= SWIG_Py_Void();
31978 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31981 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31982 return SWIG_Py_Void();
31985 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31986 return SWIG_Python_InitShadowInstance(args
);
31989 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31990 PyObject
*resultobj
= 0;
31991 wxFileDataObject
*result
= 0 ;
31993 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxFileDataObject
*)new wxFileDataObject();
31997 wxPyEndAllowThreads(__tstate
);
31998 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32007 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32008 PyObject
*resultobj
= 0;
32009 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32010 wxArrayString
*result
= 0 ;
32013 PyObject
*swig_obj
[1] ;
32015 if (!args
) SWIG_fail
;
32016 swig_obj
[0] = args
;
32017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32021 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32025 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32026 result
= (wxArrayString
*) &_result_ref
;
32028 wxPyEndAllowThreads(__tstate
);
32029 if (PyErr_Occurred()) SWIG_fail
;
32032 resultobj
= wxArrayString2PyList_helper(*result
);
32040 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
= 0;
32042 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32043 wxString
*arg2
= 0 ;
32046 bool temp2
= false ;
32047 PyObject
* obj0
= 0 ;
32048 PyObject
* obj1
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "filename", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32058 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32060 arg2
= wxString_in_helper(obj1
);
32061 if (arg2
== NULL
) SWIG_fail
;
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 (arg1
)->AddFile((wxString
const &)*arg2
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_Py_Void();
32085 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32087 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32088 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
32089 return SWIG_Py_Void();
32092 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32093 return SWIG_Python_InitShadowInstance(args
);
32096 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32097 PyObject
*resultobj
= 0;
32098 wxDataFormat
*arg1
= 0 ;
32099 wxCustomDataObject
*result
= 0 ;
32103 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32105 if (!SWIG_IsOK(res1
)) {
32106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32111 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32125 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32126 PyObject
*resultobj
= 0;
32127 wxString
*arg1
= 0 ;
32128 wxCustomDataObject
*result
= 0 ;
32129 bool temp1
= false ;
32131 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32133 arg1
= wxString_in_helper(swig_obj
[0]);
32134 if (arg1
== NULL
) SWIG_fail
;
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32158 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32159 PyObject
*resultobj
= 0;
32160 wxCustomDataObject
*result
= 0 ;
32162 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32176 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32180 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32183 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32189 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32192 if (!_v
) goto check_2
;
32193 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32198 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32202 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32207 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
= 0;
32209 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32210 PyObject
*arg2
= (PyObject
*) 0 ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char * kwnames
[] = {
32217 (char *) "self",(char *) "data", NULL
32220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32225 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32230 wxPyEndAllowThreads(__tstate
);
32231 if (PyErr_Occurred()) SWIG_fail
;
32234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32242 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32243 PyObject
*resultobj
= 0;
32244 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32248 PyObject
*swig_obj
[1] ;
32250 if (!args
) SWIG_fail
;
32251 swig_obj
[0] = args
;
32252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32253 if (!SWIG_IsOK(res1
)) {
32254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32256 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32259 result
= (size_t)(arg1
)->GetSize();
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32270 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32271 PyObject
*resultobj
= 0;
32272 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32273 PyObject
*result
= 0 ;
32276 PyObject
*swig_obj
[1] ;
32278 if (!args
) SWIG_fail
;
32279 swig_obj
[0] = args
;
32280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32281 if (!SWIG_IsOK(res1
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32284 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 resultobj
= result
;
32298 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32301 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32302 return SWIG_Py_Void();
32305 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32306 return SWIG_Python_InitShadowInstance(args
);
32309 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32310 PyObject
*resultobj
= 0;
32311 wxURLDataObject
*result
= 0 ;
32313 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32316 result
= (wxURLDataObject
*)new wxURLDataObject();
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32327 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32328 PyObject
*resultobj
= 0;
32329 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32333 PyObject
*swig_obj
[1] ;
32335 if (!args
) SWIG_fail
;
32336 swig_obj
[0] = args
;
32337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32338 if (!SWIG_IsOK(res1
)) {
32339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32341 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32344 result
= (arg1
)->GetURL();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32361 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
= 0;
32363 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32364 wxString
*arg2
= 0 ;
32367 bool temp2
= false ;
32368 PyObject
* obj0
= 0 ;
32369 PyObject
* obj1
= 0 ;
32370 char * kwnames
[] = {
32371 (char *) "self",(char *) "url", NULL
32374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32376 if (!SWIG_IsOK(res1
)) {
32377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32379 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32381 arg2
= wxString_in_helper(obj1
);
32382 if (arg2
== NULL
) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 (arg1
)->SetURL((wxString
const &)*arg2
);
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= SWIG_Py_Void();
32406 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32409 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32410 return SWIG_Py_Void();
32413 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32414 return SWIG_Python_InitShadowInstance(args
);
32417 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32418 PyObject
*resultobj
= 0;
32419 wxMetafileDataObject
*result
= 0 ;
32421 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32435 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
= 0;
32437 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32438 wxMetafile
*arg2
= 0 ;
32443 PyObject
* obj0
= 0 ;
32444 PyObject
* obj1
= 0 ;
32445 char * kwnames
[] = {
32446 (char *) "self",(char *) "metafile", NULL
32449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32451 if (!SWIG_IsOK(res1
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32454 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32455 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32456 if (!SWIG_IsOK(res2
)) {
32457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32462 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 resultobj
= SWIG_Py_Void();
32476 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32477 PyObject
*resultobj
= 0;
32478 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32482 PyObject
*swig_obj
[1] ;
32484 if (!args
) SWIG_fail
;
32485 swig_obj
[0] = args
;
32486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32487 if (!SWIG_IsOK(res1
)) {
32488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32490 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32493 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32494 wxPyEndAllowThreads(__tstate
);
32495 if (PyErr_Occurred()) SWIG_fail
;
32497 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32504 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32507 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32508 return SWIG_Py_Void();
32511 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32512 return SWIG_Python_InitShadowInstance(args
);
32515 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
= 0;
32517 wxDragResult arg1
;
32521 PyObject
* obj0
= 0 ;
32522 char * kwnames
[] = {
32523 (char *) "res", NULL
32526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32527 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32528 if (!SWIG_IsOK(ecode1
)) {
32529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32531 arg1
= static_cast< wxDragResult
>(val1
);
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 result
= (bool)wxIsDragResultOk(arg1
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32547 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32548 PyObject
*resultobj
= 0;
32549 wxWindow
*arg1
= (wxWindow
*) 0 ;
32550 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32551 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32552 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32553 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32554 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32555 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32556 wxPyDropSource
*result
= 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 PyObject
* obj2
= 0 ;
32568 PyObject
* obj3
= 0 ;
32569 char * kwnames
[] = {
32570 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32575 if (!SWIG_IsOK(res1
)) {
32576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32581 if (!SWIG_IsOK(res2
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32587 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32590 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32591 if (!SWIG_IsOK(res3
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32597 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32600 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32601 if (!SWIG_IsOK(res4
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32607 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32622 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
= 0;
32624 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32625 PyObject
*arg2
= (PyObject
*) 0 ;
32626 PyObject
*arg3
= (PyObject
*) 0 ;
32632 PyObject
* obj0
= 0 ;
32633 PyObject
* obj1
= 0 ;
32634 PyObject
* obj2
= 0 ;
32635 PyObject
* obj3
= 0 ;
32636 char * kwnames
[] = {
32637 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32645 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32648 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32649 if (!SWIG_IsOK(ecode4
)) {
32650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32652 arg4
= static_cast< int >(val4
);
32654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32655 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32656 wxPyEndAllowThreads(__tstate
);
32657 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= SWIG_Py_Void();
32666 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32667 PyObject
*resultobj
= 0;
32668 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32671 PyObject
*swig_obj
[1] ;
32673 if (!args
) SWIG_fail
;
32674 swig_obj
[0] = args
;
32675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32676 if (!SWIG_IsOK(res1
)) {
32677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32679 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32684 wxPyEndAllowThreads(__tstate
);
32685 if (PyErr_Occurred()) SWIG_fail
;
32687 resultobj
= SWIG_Py_Void();
32694 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32695 PyObject
*resultobj
= 0;
32696 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32697 wxDataObject
*arg2
= 0 ;
32702 PyObject
* obj0
= 0 ;
32703 PyObject
* obj1
= 0 ;
32704 char * kwnames
[] = {
32705 (char *) "self",(char *) "data", NULL
32708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32710 if (!SWIG_IsOK(res1
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32713 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32714 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32715 if (!SWIG_IsOK(res2
)) {
32716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32721 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32724 (arg1
)->SetData(*arg2
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32728 resultobj
= SWIG_Py_Void();
32735 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32736 PyObject
*resultobj
= 0;
32737 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32738 wxDataObject
*result
= 0 ;
32741 PyObject
*swig_obj
[1] ;
32743 if (!args
) SWIG_fail
;
32744 swig_obj
[0] = args
;
32745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32746 if (!SWIG_IsOK(res1
)) {
32747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32749 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32752 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32763 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
= 0;
32765 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32766 wxDragResult arg2
;
32767 wxCursor
*arg3
= 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 PyObject
* obj2
= 0 ;
32777 char * kwnames
[] = {
32778 (char *) "self",(char *) "res",(char *) "cursor", NULL
32781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32783 if (!SWIG_IsOK(res1
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32786 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32788 if (!SWIG_IsOK(ecode2
)) {
32789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32791 arg2
= static_cast< wxDragResult
>(val2
);
32792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32793 if (!SWIG_IsOK(res3
)) {
32794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32799 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32802 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32806 resultobj
= SWIG_Py_Void();
32813 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
= 0;
32815 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32816 int arg2
= (int) wxDrag_CopyOnly
;
32817 wxDragResult result
;
32822 PyObject
* obj0
= 0 ;
32823 PyObject
* obj1
= 0 ;
32824 char * kwnames
[] = {
32825 (char *) "self",(char *) "flags", NULL
32828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32830 if (!SWIG_IsOK(res1
)) {
32831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32833 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32836 if (!SWIG_IsOK(ecode2
)) {
32837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32839 arg2
= static_cast< int >(val2
);
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= SWIG_From_int(static_cast< int >(result
));
32854 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32855 PyObject
*resultobj
= 0;
32856 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32857 wxDragResult arg2
;
32863 PyObject
* obj0
= 0 ;
32864 PyObject
* obj1
= 0 ;
32865 char * kwnames
[] = {
32866 (char *) "self",(char *) "effect", NULL
32869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32871 if (!SWIG_IsOK(res1
)) {
32872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32874 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32876 if (!SWIG_IsOK(ecode2
)) {
32877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32879 arg2
= static_cast< wxDragResult
>(val2
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32895 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32898 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32899 return SWIG_Py_Void();
32902 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32903 return SWIG_Python_InitShadowInstance(args
);
32906 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32907 PyObject
*resultobj
= 0;
32908 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32909 wxPyDropTarget
*result
= 0 ;
32911 PyObject
* obj0
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "dataObject", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32918 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32919 if (!SWIG_IsOK(res1
)) {
32920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32936 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32937 PyObject
*resultobj
= 0;
32938 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32939 PyObject
*arg2
= (PyObject
*) 0 ;
32940 PyObject
*arg3
= (PyObject
*) 0 ;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 PyObject
* obj2
= 0 ;
32946 char * kwnames
[] = {
32947 (char *) "self",(char *) "self",(char *) "_class", NULL
32950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32952 if (!SWIG_IsOK(res1
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32955 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= SWIG_Py_Void();
32971 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32972 PyObject
*resultobj
= 0;
32973 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32976 PyObject
*swig_obj
[1] ;
32978 if (!args
) SWIG_fail
;
32979 swig_obj
[0] = args
;
32980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32981 if (!SWIG_IsOK(res1
)) {
32982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32984 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32992 resultobj
= SWIG_Py_Void();
32999 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33000 PyObject
*resultobj
= 0;
33001 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33002 wxDataObject
*result
= 0 ;
33005 PyObject
*swig_obj
[1] ;
33007 if (!args
) SWIG_fail
;
33008 swig_obj
[0] = args
;
33009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33010 if (!SWIG_IsOK(res1
)) {
33011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33013 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33016 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33027 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33028 PyObject
*resultobj
= 0;
33029 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33030 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 char * kwnames
[] = {
33037 (char *) "self",(char *) "dataObject", NULL
33040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33045 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33046 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33047 if (!SWIG_IsOK(res2
)) {
33048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 (arg1
)->SetDataObject(arg2
);
33053 wxPyEndAllowThreads(__tstate
);
33054 if (PyErr_Occurred()) SWIG_fail
;
33056 resultobj
= SWIG_Py_Void();
33063 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33064 PyObject
*resultobj
= 0;
33065 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33068 wxDragResult arg4
;
33069 wxDragResult result
;
33078 PyObject
* obj0
= 0 ;
33079 PyObject
* obj1
= 0 ;
33080 PyObject
* obj2
= 0 ;
33081 PyObject
* obj3
= 0 ;
33082 char * kwnames
[] = {
33083 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33088 if (!SWIG_IsOK(res1
)) {
33089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33091 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33092 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33093 if (!SWIG_IsOK(ecode2
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33096 arg2
= static_cast< int >(val2
);
33097 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33098 if (!SWIG_IsOK(ecode3
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33101 arg3
= static_cast< int >(val3
);
33102 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33103 if (!SWIG_IsOK(ecode4
)) {
33104 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33106 arg4
= static_cast< wxDragResult
>(val4
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_From_int(static_cast< int >(result
));
33120 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
= 0;
33122 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33125 wxDragResult arg4
;
33126 wxDragResult result
;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 PyObject
* obj2
= 0 ;
33138 PyObject
* obj3
= 0 ;
33139 char * kwnames
[] = {
33140 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33148 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33149 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33150 if (!SWIG_IsOK(ecode2
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33153 arg2
= static_cast< int >(val2
);
33154 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33155 if (!SWIG_IsOK(ecode3
)) {
33156 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33158 arg3
= static_cast< int >(val3
);
33159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33160 if (!SWIG_IsOK(ecode4
)) {
33161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33163 arg4
= static_cast< wxDragResult
>(val4
);
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= SWIG_From_int(static_cast< int >(result
));
33177 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33178 PyObject
*resultobj
= 0;
33179 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33182 PyObject
*swig_obj
[1] ;
33184 if (!args
) SWIG_fail
;
33185 swig_obj
[0] = args
;
33186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33187 if (!SWIG_IsOK(res1
)) {
33188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33190 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33194 wxPyEndAllowThreads(__tstate
);
33195 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_Py_Void();
33204 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33205 PyObject
*resultobj
= 0;
33206 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 PyObject
* obj2
= 0 ;
33219 char * kwnames
[] = {
33220 (char *) "self",(char *) "x",(char *) "y", NULL
33223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33225 if (!SWIG_IsOK(res1
)) {
33226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33228 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33230 if (!SWIG_IsOK(ecode2
)) {
33231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33233 arg2
= static_cast< int >(val2
);
33234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33235 if (!SWIG_IsOK(ecode3
)) {
33236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33238 arg3
= static_cast< int >(val3
);
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33254 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33255 PyObject
*resultobj
= 0;
33256 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33260 PyObject
*swig_obj
[1] ;
33262 if (!args
) SWIG_fail
;
33263 swig_obj
[0] = args
;
33264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33265 if (!SWIG_IsOK(res1
)) {
33266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33268 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 result
= (bool)(arg1
)->GetData();
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33284 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
= 0;
33286 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33287 wxDragResult arg2
;
33292 PyObject
* obj0
= 0 ;
33293 PyObject
* obj1
= 0 ;
33294 char * kwnames
[] = {
33295 (char *) "self",(char *) "action", NULL
33298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33300 if (!SWIG_IsOK(res1
)) {
33301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33303 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33305 if (!SWIG_IsOK(ecode2
)) {
33306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33308 arg2
= static_cast< wxDragResult
>(val2
);
33310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33311 (arg1
)->SetDefaultAction(arg2
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= SWIG_Py_Void();
33322 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33323 PyObject
*resultobj
= 0;
33324 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33325 wxDragResult result
;
33328 PyObject
*swig_obj
[1] ;
33330 if (!args
) SWIG_fail
;
33331 swig_obj
[0] = args
;
33332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33333 if (!SWIG_IsOK(res1
)) {
33334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33336 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33339 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33340 wxPyEndAllowThreads(__tstate
);
33341 if (PyErr_Occurred()) SWIG_fail
;
33343 resultobj
= SWIG_From_int(static_cast< int >(result
));
33350 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33353 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33354 return SWIG_Py_Void();
33357 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33358 return SWIG_Python_InitShadowInstance(args
);
33361 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33362 PyObject
*resultobj
= 0;
33363 wxPyTextDropTarget
*result
= 0 ;
33365 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33369 wxPyEndAllowThreads(__tstate
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33379 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
= 0;
33381 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33382 PyObject
*arg2
= (PyObject
*) 0 ;
33383 PyObject
*arg3
= (PyObject
*) 0 ;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 PyObject
* obj2
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "self",(char *) "self",(char *) "_class", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33398 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33403 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= SWIG_Py_Void();
33414 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
= 0;
33416 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33419 wxString
*arg4
= 0 ;
33427 bool temp4
= false ;
33428 PyObject
* obj0
= 0 ;
33429 PyObject
* obj1
= 0 ;
33430 PyObject
* obj2
= 0 ;
33431 PyObject
* obj3
= 0 ;
33432 char * kwnames
[] = {
33433 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33441 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33443 if (!SWIG_IsOK(ecode2
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33446 arg2
= static_cast< int >(val2
);
33447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33448 if (!SWIG_IsOK(ecode3
)) {
33449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33451 arg3
= static_cast< int >(val3
);
33453 arg4
= wxString_in_helper(obj3
);
33454 if (arg4
== NULL
) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33480 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
= 0;
33482 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33485 wxDragResult arg4
;
33486 wxDragResult result
;
33495 PyObject
* obj0
= 0 ;
33496 PyObject
* obj1
= 0 ;
33497 PyObject
* obj2
= 0 ;
33498 PyObject
* obj3
= 0 ;
33499 char * kwnames
[] = {
33500 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33508 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33510 if (!SWIG_IsOK(ecode2
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33513 arg2
= static_cast< int >(val2
);
33514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33515 if (!SWIG_IsOK(ecode3
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33518 arg3
= static_cast< int >(val3
);
33519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33520 if (!SWIG_IsOK(ecode4
)) {
33521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33523 arg4
= static_cast< wxDragResult
>(val4
);
33525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33526 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 resultobj
= SWIG_From_int(static_cast< int >(result
));
33537 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
= 0;
33539 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33542 wxDragResult arg4
;
33543 wxDragResult result
;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 PyObject
* obj2
= 0 ;
33555 PyObject
* obj3
= 0 ;
33556 char * kwnames
[] = {
33557 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33562 if (!SWIG_IsOK(res1
)) {
33563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33565 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33567 if (!SWIG_IsOK(ecode2
)) {
33568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33570 arg2
= static_cast< int >(val2
);
33571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33572 if (!SWIG_IsOK(ecode3
)) {
33573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33575 arg3
= static_cast< int >(val3
);
33576 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33577 if (!SWIG_IsOK(ecode4
)) {
33578 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33580 arg4
= static_cast< wxDragResult
>(val4
);
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= SWIG_From_int(static_cast< int >(result
));
33594 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33595 PyObject
*resultobj
= 0;
33596 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33599 PyObject
*swig_obj
[1] ;
33601 if (!args
) SWIG_fail
;
33602 swig_obj
[0] = args
;
33603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33604 if (!SWIG_IsOK(res1
)) {
33605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33607 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 wxPyEndAllowThreads(__tstate
);
33612 if (PyErr_Occurred()) SWIG_fail
;
33614 resultobj
= SWIG_Py_Void();
33621 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33622 PyObject
*resultobj
= 0;
33623 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33633 PyObject
* obj0
= 0 ;
33634 PyObject
* obj1
= 0 ;
33635 PyObject
* obj2
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "x",(char *) "y", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33645 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33647 if (!SWIG_IsOK(ecode2
)) {
33648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33650 arg2
= static_cast< int >(val2
);
33651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33652 if (!SWIG_IsOK(ecode3
)) {
33653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33655 arg3
= static_cast< int >(val3
);
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33671 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33672 PyObject
*resultobj
= 0;
33673 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33676 wxDragResult arg4
;
33677 wxDragResult result
;
33686 PyObject
* obj0
= 0 ;
33687 PyObject
* obj1
= 0 ;
33688 PyObject
* obj2
= 0 ;
33689 PyObject
* obj3
= 0 ;
33690 char * kwnames
[] = {
33691 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33696 if (!SWIG_IsOK(res1
)) {
33697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33699 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33701 if (!SWIG_IsOK(ecode2
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33704 arg2
= static_cast< int >(val2
);
33705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33706 if (!SWIG_IsOK(ecode3
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33709 arg3
= static_cast< int >(val3
);
33710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33711 if (!SWIG_IsOK(ecode4
)) {
33712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33714 arg4
= static_cast< wxDragResult
>(val4
);
33716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33717 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33718 wxPyEndAllowThreads(__tstate
);
33719 if (PyErr_Occurred()) SWIG_fail
;
33721 resultobj
= SWIG_From_int(static_cast< int >(result
));
33728 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33730 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33731 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33732 return SWIG_Py_Void();
33735 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 return SWIG_Python_InitShadowInstance(args
);
33739 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33740 PyObject
*resultobj
= 0;
33741 wxPyFileDropTarget
*result
= 0 ;
33743 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33757 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
= 0;
33759 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33760 PyObject
*arg2
= (PyObject
*) 0 ;
33761 PyObject
*arg3
= (PyObject
*) 0 ;
33764 PyObject
* obj0
= 0 ;
33765 PyObject
* obj1
= 0 ;
33766 PyObject
* obj2
= 0 ;
33767 char * kwnames
[] = {
33768 (char *) "self",(char *) "self",(char *) "_class", NULL
33771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33773 if (!SWIG_IsOK(res1
)) {
33774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33776 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_Py_Void();
33792 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33793 PyObject
*resultobj
= 0;
33794 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33797 wxArrayString
*arg4
= 0 ;
33805 bool temp4
= false ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 PyObject
* obj2
= 0 ;
33809 PyObject
* obj3
= 0 ;
33810 char * kwnames
[] = {
33811 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33816 if (!SWIG_IsOK(res1
)) {
33817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33819 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33821 if (!SWIG_IsOK(ecode2
)) {
33822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33824 arg2
= static_cast< int >(val2
);
33825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33826 if (!SWIG_IsOK(ecode3
)) {
33827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33829 arg3
= static_cast< int >(val3
);
33831 if (! PySequence_Check(obj3
)) {
33832 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33835 arg4
= new wxArrayString
;
33837 int i
, len
=PySequence_Length(obj3
);
33838 for (i
=0; i
<len
; i
++) {
33839 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33840 wxString
* s
= wxString_in_helper(item
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33857 if (temp4
) delete arg4
;
33862 if (temp4
) delete arg4
;
33868 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33869 PyObject
*resultobj
= 0;
33870 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33873 wxDragResult arg4
;
33874 wxDragResult result
;
33883 PyObject
* obj0
= 0 ;
33884 PyObject
* obj1
= 0 ;
33885 PyObject
* obj2
= 0 ;
33886 PyObject
* obj3
= 0 ;
33887 char * kwnames
[] = {
33888 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33893 if (!SWIG_IsOK(res1
)) {
33894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33896 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33898 if (!SWIG_IsOK(ecode2
)) {
33899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33901 arg2
= static_cast< int >(val2
);
33902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33903 if (!SWIG_IsOK(ecode3
)) {
33904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33906 arg3
= static_cast< int >(val3
);
33907 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33908 if (!SWIG_IsOK(ecode4
)) {
33909 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33911 arg4
= static_cast< wxDragResult
>(val4
);
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33915 wxPyEndAllowThreads(__tstate
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33918 resultobj
= SWIG_From_int(static_cast< int >(result
));
33925 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33926 PyObject
*resultobj
= 0;
33927 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33930 wxDragResult arg4
;
33931 wxDragResult result
;
33940 PyObject
* obj0
= 0 ;
33941 PyObject
* obj1
= 0 ;
33942 PyObject
* obj2
= 0 ;
33943 PyObject
* obj3
= 0 ;
33944 char * kwnames
[] = {
33945 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33950 if (!SWIG_IsOK(res1
)) {
33951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33953 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33955 if (!SWIG_IsOK(ecode2
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33958 arg2
= static_cast< int >(val2
);
33959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33960 if (!SWIG_IsOK(ecode3
)) {
33961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33963 arg3
= static_cast< int >(val3
);
33964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33965 if (!SWIG_IsOK(ecode4
)) {
33966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33968 arg4
= static_cast< wxDragResult
>(val4
);
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33975 resultobj
= SWIG_From_int(static_cast< int >(result
));
33982 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33983 PyObject
*resultobj
= 0;
33984 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33987 PyObject
*swig_obj
[1] ;
33989 if (!args
) SWIG_fail
;
33990 swig_obj
[0] = args
;
33991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33992 if (!SWIG_IsOK(res1
)) {
33993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33995 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 resultobj
= SWIG_Py_Void();
34009 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
= 0;
34011 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34021 PyObject
* obj0
= 0 ;
34022 PyObject
* obj1
= 0 ;
34023 PyObject
* obj2
= 0 ;
34024 char * kwnames
[] = {
34025 (char *) "self",(char *) "x",(char *) "y", NULL
34028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34030 if (!SWIG_IsOK(res1
)) {
34031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34033 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34035 if (!SWIG_IsOK(ecode2
)) {
34036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34038 arg2
= static_cast< int >(val2
);
34039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34040 if (!SWIG_IsOK(ecode3
)) {
34041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34043 arg3
= static_cast< int >(val3
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34059 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34060 PyObject
*resultobj
= 0;
34061 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34064 wxDragResult arg4
;
34065 wxDragResult result
;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 PyObject
* obj2
= 0 ;
34077 PyObject
* obj3
= 0 ;
34078 char * kwnames
[] = {
34079 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34084 if (!SWIG_IsOK(res1
)) {
34085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34087 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34089 if (!SWIG_IsOK(ecode2
)) {
34090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34092 arg2
= static_cast< int >(val2
);
34093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34094 if (!SWIG_IsOK(ecode3
)) {
34095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34097 arg3
= static_cast< int >(val3
);
34098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34099 if (!SWIG_IsOK(ecode4
)) {
34100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34102 arg4
= static_cast< wxDragResult
>(val4
);
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_From_int(static_cast< int >(result
));
34116 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34119 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34120 return SWIG_Py_Void();
34123 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34124 return SWIG_Python_InitShadowInstance(args
);
34127 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34128 PyObject
*resultobj
= 0;
34129 wxClipboard
*result
= 0 ;
34131 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (wxClipboard
*)new wxClipboard();
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34145 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34146 PyObject
*resultobj
= 0;
34147 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34150 PyObject
*swig_obj
[1] ;
34152 if (!args
) SWIG_fail
;
34153 swig_obj
[0] = args
;
34154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34155 if (!SWIG_IsOK(res1
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34158 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 wxPyEndAllowThreads(__tstate
);
34164 if (PyErr_Occurred()) SWIG_fail
;
34166 resultobj
= SWIG_Py_Void();
34173 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34174 PyObject
*resultobj
= 0;
34175 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34179 PyObject
*swig_obj
[1] ;
34181 if (!args
) SWIG_fail
;
34182 swig_obj
[0] = args
;
34183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34184 if (!SWIG_IsOK(res1
)) {
34185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34187 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34190 result
= (bool)(arg1
)->Open();
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34203 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34204 PyObject
*resultobj
= 0;
34205 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34208 PyObject
*swig_obj
[1] ;
34210 if (!args
) SWIG_fail
;
34211 swig_obj
[0] = args
;
34212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34216 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 wxPyEndAllowThreads(__tstate
);
34221 if (PyErr_Occurred()) SWIG_fail
;
34223 resultobj
= SWIG_Py_Void();
34230 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34231 PyObject
*resultobj
= 0;
34232 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34236 PyObject
*swig_obj
[1] ;
34238 if (!args
) SWIG_fail
;
34239 swig_obj
[0] = args
;
34240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34241 if (!SWIG_IsOK(res1
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34244 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34248 wxPyEndAllowThreads(__tstate
);
34249 if (PyErr_Occurred()) SWIG_fail
;
34252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34260 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
= 0;
34262 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34263 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34268 PyObject
* obj0
= 0 ;
34269 PyObject
* obj1
= 0 ;
34270 char * kwnames
[] = {
34271 (char *) "self",(char *) "data", NULL
34274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34276 if (!SWIG_IsOK(res1
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34279 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34280 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34281 if (!SWIG_IsOK(res2
)) {
34282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34286 result
= (bool)(arg1
)->AddData(arg2
);
34287 wxPyEndAllowThreads(__tstate
);
34288 if (PyErr_Occurred()) SWIG_fail
;
34291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34299 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34300 PyObject
*resultobj
= 0;
34301 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34302 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 PyObject
* obj1
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "data", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34318 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34319 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34320 if (!SWIG_IsOK(res2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 result
= (bool)(arg1
)->SetData(arg2
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34338 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
= 0;
34340 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34341 wxDataFormat
*arg2
= 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 char * kwnames
[] = {
34350 (char *) "self",(char *) "format", NULL
34353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34355 if (!SWIG_IsOK(res1
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34358 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34360 if (!SWIG_IsOK(res2
)) {
34361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34366 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34382 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34383 PyObject
*resultobj
= 0;
34384 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34385 wxDataObject
*arg2
= 0 ;
34391 PyObject
* obj0
= 0 ;
34392 PyObject
* obj1
= 0 ;
34393 char * kwnames
[] = {
34394 (char *) "self",(char *) "data", NULL
34397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34399 if (!SWIG_IsOK(res1
)) {
34400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34402 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34404 if (!SWIG_IsOK(res2
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34410 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 result
= (bool)(arg1
)->GetData(*arg2
);
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34426 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34427 PyObject
*resultobj
= 0;
34428 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34431 PyObject
*swig_obj
[1] ;
34433 if (!args
) SWIG_fail
;
34434 swig_obj
[0] = args
;
34435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34439 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_Py_Void();
34453 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34454 PyObject
*resultobj
= 0;
34455 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34459 PyObject
*swig_obj
[1] ;
34461 if (!args
) SWIG_fail
;
34462 swig_obj
[0] = args
;
34463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34464 if (!SWIG_IsOK(res1
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34467 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 result
= (bool)(arg1
)->Flush();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34483 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
= 0;
34485 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34486 bool arg2
= (bool) true ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 char * kwnames
[] = {
34494 (char *) "self",(char *) "primary", NULL
34497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34499 if (!SWIG_IsOK(res1
)) {
34500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34502 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34504 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34505 if (!SWIG_IsOK(ecode2
)) {
34506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34508 arg2
= static_cast< bool >(val2
);
34511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34512 (arg1
)->UsePrimarySelection(arg2
);
34513 wxPyEndAllowThreads(__tstate
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 resultobj
= SWIG_Py_Void();
34523 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34524 PyObject
*resultobj
= 0;
34525 wxClipboard
*result
= 0 ;
34527 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 result
= (wxClipboard
*)wxClipboard::Get();
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34541 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34544 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34545 return SWIG_Py_Void();
34548 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34549 return SWIG_Python_InitShadowInstance(args
);
34552 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34553 PyObject
*resultobj
= 0;
34554 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34555 wxClipboardLocker
*result
= 0 ;
34558 PyObject
* obj0
= 0 ;
34559 char * kwnames
[] = {
34560 (char *) "clipboard", NULL
34563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34566 if (!SWIG_IsOK(res1
)) {
34567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34569 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34573 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34584 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34585 PyObject
*resultobj
= 0;
34586 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34589 PyObject
*swig_obj
[1] ;
34591 if (!args
) SWIG_fail
;
34592 swig_obj
[0] = args
;
34593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34594 if (!SWIG_IsOK(res1
)) {
34595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34597 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34605 resultobj
= SWIG_Py_Void();
34612 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34613 PyObject
*resultobj
= 0;
34614 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34618 PyObject
*swig_obj
[1] ;
34620 if (!args
) SWIG_fail
;
34621 swig_obj
[0] = args
;
34622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34623 if (!SWIG_IsOK(res1
)) {
34624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34626 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34629 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34642 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34644 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34645 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34646 return SWIG_Py_Void();
34649 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34650 return SWIG_Python_InitShadowInstance(args
);
34653 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
= 0;
34655 int arg1
= (int) 0 ;
34656 int arg2
= (int) 0 ;
34657 int arg3
= (int) 0 ;
34658 int arg4
= (int) 0 ;
34659 wxVideoMode
*result
= 0 ;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 PyObject
* obj2
= 0 ;
34671 PyObject
* obj3
= 0 ;
34672 char * kwnames
[] = {
34673 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34678 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34679 if (!SWIG_IsOK(ecode1
)) {
34680 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34682 arg1
= static_cast< int >(val1
);
34685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34686 if (!SWIG_IsOK(ecode2
)) {
34687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34689 arg2
= static_cast< int >(val2
);
34692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34693 if (!SWIG_IsOK(ecode3
)) {
34694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34696 arg3
= static_cast< int >(val3
);
34699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34700 if (!SWIG_IsOK(ecode4
)) {
34701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34703 arg4
= static_cast< int >(val4
);
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34708 wxPyEndAllowThreads(__tstate
);
34709 if (PyErr_Occurred()) SWIG_fail
;
34711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34718 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34719 PyObject
*resultobj
= 0;
34720 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34723 PyObject
*swig_obj
[1] ;
34725 if (!args
) SWIG_fail
;
34726 swig_obj
[0] = args
;
34727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34728 if (!SWIG_IsOK(res1
)) {
34729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34731 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 wxPyEndAllowThreads(__tstate
);
34737 if (PyErr_Occurred()) SWIG_fail
;
34739 resultobj
= SWIG_Py_Void();
34746 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34747 PyObject
*resultobj
= 0;
34748 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34749 wxVideoMode
*arg2
= 0 ;
34755 PyObject
* obj0
= 0 ;
34756 PyObject
* obj1
= 0 ;
34757 char * kwnames
[] = {
34758 (char *) "self",(char *) "other", NULL
34761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34763 if (!SWIG_IsOK(res1
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34766 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34768 if (!SWIG_IsOK(res2
)) {
34769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34774 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34777 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34778 wxPyEndAllowThreads(__tstate
);
34779 if (PyErr_Occurred()) SWIG_fail
;
34782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34790 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34791 PyObject
*resultobj
= 0;
34792 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34796 PyObject
*swig_obj
[1] ;
34798 if (!args
) SWIG_fail
;
34799 swig_obj
[0] = args
;
34800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34801 if (!SWIG_IsOK(res1
)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34804 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34808 wxPyEndAllowThreads(__tstate
);
34809 if (PyErr_Occurred()) SWIG_fail
;
34811 resultobj
= SWIG_From_int(static_cast< int >(result
));
34818 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34819 PyObject
*resultobj
= 0;
34820 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34824 PyObject
*swig_obj
[1] ;
34826 if (!args
) SWIG_fail
;
34827 swig_obj
[0] = args
;
34828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34829 if (!SWIG_IsOK(res1
)) {
34830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34832 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 resultobj
= SWIG_From_int(static_cast< int >(result
));
34846 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34847 PyObject
*resultobj
= 0;
34848 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34852 PyObject
*swig_obj
[1] ;
34854 if (!args
) SWIG_fail
;
34855 swig_obj
[0] = args
;
34856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34857 if (!SWIG_IsOK(res1
)) {
34858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34860 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34864 wxPyEndAllowThreads(__tstate
);
34865 if (PyErr_Occurred()) SWIG_fail
;
34867 resultobj
= SWIG_From_int(static_cast< int >(result
));
34874 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34875 PyObject
*resultobj
= 0;
34876 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34880 PyObject
*swig_obj
[1] ;
34882 if (!args
) SWIG_fail
;
34883 swig_obj
[0] = args
;
34884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34885 if (!SWIG_IsOK(res1
)) {
34886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34888 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34904 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34905 PyObject
*resultobj
= 0;
34906 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34907 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 char * kwnames
[] = {
34916 (char *) "self",(char *) "other", NULL
34919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34921 if (!SWIG_IsOK(res1
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34924 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34926 if (!SWIG_IsOK(res2
)) {
34927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34929 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34945 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
= 0;
34947 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34948 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 char * kwnames
[] = {
34957 (char *) "self",(char *) "other", NULL
34960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34962 if (!SWIG_IsOK(res1
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34965 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34966 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34967 if (!SWIG_IsOK(res2
)) {
34968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34970 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34986 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34987 PyObject
*resultobj
= 0;
34988 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34994 PyObject
*swig_obj
[2] ;
34996 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34998 if (!SWIG_IsOK(res1
)) {
34999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35001 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35002 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35003 if (!SWIG_IsOK(ecode2
)) {
35004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35006 arg2
= static_cast< int >(val2
);
35007 if (arg1
) (arg1
)->w
= arg2
;
35009 resultobj
= SWIG_Py_Void();
35016 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35017 PyObject
*resultobj
= 0;
35018 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35022 PyObject
*swig_obj
[1] ;
35024 if (!args
) SWIG_fail
;
35025 swig_obj
[0] = args
;
35026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35027 if (!SWIG_IsOK(res1
)) {
35028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35030 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35031 result
= (int) ((arg1
)->w
);
35032 resultobj
= SWIG_From_int(static_cast< int >(result
));
35039 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35040 PyObject
*resultobj
= 0;
35041 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35047 PyObject
*swig_obj
[2] ;
35049 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
35050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35051 if (!SWIG_IsOK(res1
)) {
35052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35054 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35055 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35056 if (!SWIG_IsOK(ecode2
)) {
35057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
35059 arg2
= static_cast< int >(val2
);
35060 if (arg1
) (arg1
)->h
= arg2
;
35062 resultobj
= SWIG_Py_Void();
35069 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35070 PyObject
*resultobj
= 0;
35071 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35075 PyObject
*swig_obj
[1] ;
35077 if (!args
) SWIG_fail
;
35078 swig_obj
[0] = args
;
35079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35080 if (!SWIG_IsOK(res1
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35083 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35084 result
= (int) ((arg1
)->h
);
35085 resultobj
= SWIG_From_int(static_cast< int >(result
));
35092 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35093 PyObject
*resultobj
= 0;
35094 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35100 PyObject
*swig_obj
[2] ;
35102 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35107 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35108 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35109 if (!SWIG_IsOK(ecode2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
35112 arg2
= static_cast< int >(val2
);
35113 if (arg1
) (arg1
)->bpp
= arg2
;
35115 resultobj
= SWIG_Py_Void();
35122 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35123 PyObject
*resultobj
= 0;
35124 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35128 PyObject
*swig_obj
[1] ;
35130 if (!args
) SWIG_fail
;
35131 swig_obj
[0] = args
;
35132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35133 if (!SWIG_IsOK(res1
)) {
35134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35136 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35137 result
= (int) ((arg1
)->bpp
);
35138 resultobj
= SWIG_From_int(static_cast< int >(result
));
35145 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35146 PyObject
*resultobj
= 0;
35147 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35153 PyObject
*swig_obj
[2] ;
35155 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35157 if (!SWIG_IsOK(res1
)) {
35158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35160 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35161 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35162 if (!SWIG_IsOK(ecode2
)) {
35163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35165 arg2
= static_cast< int >(val2
);
35166 if (arg1
) (arg1
)->refresh
= arg2
;
35168 resultobj
= SWIG_Py_Void();
35175 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35176 PyObject
*resultobj
= 0;
35177 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35181 PyObject
*swig_obj
[1] ;
35183 if (!args
) SWIG_fail
;
35184 swig_obj
[0] = args
;
35185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35186 if (!SWIG_IsOK(res1
)) {
35187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35189 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35190 result
= (int) ((arg1
)->refresh
);
35191 resultobj
= SWIG_From_int(static_cast< int >(result
));
35198 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35201 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35202 return SWIG_Py_Void();
35205 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35206 return SWIG_Python_InitShadowInstance(args
);
35209 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35210 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35215 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35216 PyObject
*pyobj
= 0;
35218 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35223 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
= 0;
35225 size_t arg1
= (size_t) 0 ;
35226 wxDisplay
*result
= 0 ;
35229 PyObject
* obj0
= 0 ;
35230 char * kwnames
[] = {
35231 (char *) "index", NULL
35234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35236 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35237 if (!SWIG_IsOK(ecode1
)) {
35238 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35240 arg1
= static_cast< size_t >(val1
);
35243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35244 result
= (wxDisplay
*)new wxDisplay(arg1
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35255 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35256 PyObject
*resultobj
= 0;
35257 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35260 PyObject
*swig_obj
[1] ;
35262 if (!args
) SWIG_fail
;
35263 swig_obj
[0] = args
;
35264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35265 if (!SWIG_IsOK(res1
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35268 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= SWIG_Py_Void();
35283 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35284 PyObject
*resultobj
= 0;
35287 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35290 result
= (size_t)wxDisplay::GetCount();
35291 wxPyEndAllowThreads(__tstate
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35294 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35301 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35302 PyObject
*resultobj
= 0;
35303 wxPoint
*arg1
= 0 ;
35306 PyObject
* obj0
= 0 ;
35307 char * kwnames
[] = {
35308 (char *) "pt", NULL
35311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35314 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35319 wxPyEndAllowThreads(__tstate
);
35320 if (PyErr_Occurred()) SWIG_fail
;
35322 resultobj
= SWIG_From_int(static_cast< int >(result
));
35329 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
= 0;
35331 wxWindow
*arg1
= (wxWindow
*) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 char * kwnames
[] = {
35337 (char *) "window", NULL
35340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35342 if (!SWIG_IsOK(res1
)) {
35343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35345 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 result
= (int)wxDisplay::GetFromWindow(arg1
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 resultobj
= SWIG_From_int(static_cast< int >(result
));
35359 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35360 PyObject
*resultobj
= 0;
35361 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35365 PyObject
*swig_obj
[1] ;
35367 if (!args
) SWIG_fail
;
35368 swig_obj
[0] = args
;
35369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35370 if (!SWIG_IsOK(res1
)) {
35371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35373 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35376 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35377 wxPyEndAllowThreads(__tstate
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35389 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35390 PyObject
*resultobj
= 0;
35391 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35395 PyObject
*swig_obj
[1] ;
35397 if (!args
) SWIG_fail
;
35398 swig_obj
[0] = args
;
35399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35400 if (!SWIG_IsOK(res1
)) {
35401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35403 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35417 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35418 PyObject
*resultobj
= 0;
35419 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35423 PyObject
*swig_obj
[1] ;
35425 if (!args
) SWIG_fail
;
35426 swig_obj
[0] = args
;
35427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35428 if (!SWIG_IsOK(res1
)) {
35429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35431 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35434 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35445 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35446 PyObject
*resultobj
= 0;
35447 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35451 PyObject
*swig_obj
[1] ;
35453 if (!args
) SWIG_fail
;
35454 swig_obj
[0] = args
;
35455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35456 if (!SWIG_IsOK(res1
)) {
35457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35459 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 result
= ((wxDisplay
const *)arg1
)->GetName();
35463 wxPyEndAllowThreads(__tstate
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35479 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35480 PyObject
*resultobj
= 0;
35481 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35485 PyObject
*swig_obj
[1] ;
35487 if (!args
) SWIG_fail
;
35488 swig_obj
[0] = args
;
35489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35490 if (!SWIG_IsOK(res1
)) {
35491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35493 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35509 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
= 0;
35511 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35512 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35513 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35514 PyObject
*result
= 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 char * kwnames
[] = {
35522 (char *) "self",(char *) "mode", NULL
35525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35527 if (!SWIG_IsOK(res1
)) {
35528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35530 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35533 if (!SWIG_IsOK(res2
)) {
35534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35539 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35544 wxPyEndAllowThreads(__tstate
);
35545 if (PyErr_Occurred()) SWIG_fail
;
35547 resultobj
= result
;
35554 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35555 PyObject
*resultobj
= 0;
35556 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35557 wxVideoMode result
;
35560 PyObject
*swig_obj
[1] ;
35562 if (!args
) SWIG_fail
;
35563 swig_obj
[0] = args
;
35564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35565 if (!SWIG_IsOK(res1
)) {
35566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35568 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35572 wxPyEndAllowThreads(__tstate
);
35573 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35582 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35583 PyObject
*resultobj
= 0;
35584 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35585 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35586 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35592 PyObject
* obj0
= 0 ;
35593 PyObject
* obj1
= 0 ;
35594 char * kwnames
[] = {
35595 (char *) "self",(char *) "mode", NULL
35598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35600 if (!SWIG_IsOK(res1
)) {
35601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35603 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35606 if (!SWIG_IsOK(res2
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35612 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35616 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35617 wxPyEndAllowThreads(__tstate
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35629 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35630 PyObject
*resultobj
= 0;
35631 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35634 PyObject
*swig_obj
[1] ;
35636 if (!args
) SWIG_fail
;
35637 swig_obj
[0] = args
;
35638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35639 if (!SWIG_IsOK(res1
)) {
35640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35642 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35645 wxDisplay_ResetMode(arg1
);
35646 wxPyEndAllowThreads(__tstate
);
35647 if (PyErr_Occurred()) SWIG_fail
;
35649 resultobj
= SWIG_Py_Void();
35656 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35659 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35660 return SWIG_Py_Void();
35663 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35664 return SWIG_Python_InitShadowInstance(args
);
35667 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35668 PyObject
*resultobj
= 0;
35669 wxStandardPaths
*result
= 0 ;
35671 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35674 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35685 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35686 PyObject
*resultobj
= 0;
35687 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35691 PyObject
*swig_obj
[1] ;
35693 if (!args
) SWIG_fail
;
35694 swig_obj
[0] = args
;
35695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35696 if (!SWIG_IsOK(res1
)) {
35697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35699 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35702 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35719 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35720 PyObject
*resultobj
= 0;
35721 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35725 PyObject
*swig_obj
[1] ;
35727 if (!args
) SWIG_fail
;
35728 swig_obj
[0] = args
;
35729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35730 if (!SWIG_IsOK(res1
)) {
35731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35733 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35736 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35737 wxPyEndAllowThreads(__tstate
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35753 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35754 PyObject
*resultobj
= 0;
35755 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35759 PyObject
*swig_obj
[1] ;
35761 if (!args
) SWIG_fail
;
35762 swig_obj
[0] = args
;
35763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35764 if (!SWIG_IsOK(res1
)) {
35765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35767 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35770 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35771 wxPyEndAllowThreads(__tstate
);
35772 if (PyErr_Occurred()) SWIG_fail
;
35776 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35778 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35787 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35788 PyObject
*resultobj
= 0;
35789 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35793 PyObject
*swig_obj
[1] ;
35795 if (!args
) SWIG_fail
;
35796 swig_obj
[0] = args
;
35797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35798 if (!SWIG_IsOK(res1
)) {
35799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35801 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35821 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35822 PyObject
*resultobj
= 0;
35823 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35827 PyObject
*swig_obj
[1] ;
35829 if (!args
) SWIG_fail
;
35830 swig_obj
[0] = args
;
35831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35832 if (!SWIG_IsOK(res1
)) {
35833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35835 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35838 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35855 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35856 PyObject
*resultobj
= 0;
35857 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35861 PyObject
*swig_obj
[1] ;
35863 if (!args
) SWIG_fail
;
35864 swig_obj
[0] = args
;
35865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35866 if (!SWIG_IsOK(res1
)) {
35867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35869 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35872 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35873 wxPyEndAllowThreads(__tstate
);
35874 if (PyErr_Occurred()) SWIG_fail
;
35878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35889 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35890 PyObject
*resultobj
= 0;
35891 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35895 PyObject
*swig_obj
[1] ;
35897 if (!args
) SWIG_fail
;
35898 swig_obj
[0] = args
;
35899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35900 if (!SWIG_IsOK(res1
)) {
35901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35903 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35907 wxPyEndAllowThreads(__tstate
);
35908 if (PyErr_Occurred()) SWIG_fail
;
35912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35923 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35924 PyObject
*resultobj
= 0;
35925 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35929 PyObject
*swig_obj
[1] ;
35931 if (!args
) SWIG_fail
;
35932 swig_obj
[0] = args
;
35933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35934 if (!SWIG_IsOK(res1
)) {
35935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35937 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35941 wxPyEndAllowThreads(__tstate
);
35942 if (PyErr_Occurred()) SWIG_fail
;
35946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35957 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35958 PyObject
*resultobj
= 0;
35959 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35960 wxString
*arg2
= 0 ;
35961 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35965 bool temp2
= false ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 PyObject
* obj2
= 0 ;
35971 char * kwnames
[] = {
35972 (char *) "self",(char *) "lang",(char *) "category", NULL
35975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35977 if (!SWIG_IsOK(res1
)) {
35978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35980 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35982 arg2
= wxString_in_helper(obj1
);
35983 if (arg2
== NULL
) SWIG_fail
;
35987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35988 if (!SWIG_IsOK(ecode3
)) {
35989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35991 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35996 wxPyEndAllowThreads(__tstate
);
35997 if (PyErr_Occurred()) SWIG_fail
;
36001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36020 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36021 PyObject
*resultobj
= 0;
36022 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36026 PyObject
*swig_obj
[1] ;
36028 if (!args
) SWIG_fail
;
36029 swig_obj
[0] = args
;
36030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36031 if (!SWIG_IsOK(res1
)) {
36032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36034 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36054 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36055 PyObject
*resultobj
= 0;
36056 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36057 wxString
*arg2
= 0 ;
36060 bool temp2
= false ;
36061 PyObject
* obj0
= 0 ;
36062 PyObject
* obj1
= 0 ;
36063 char * kwnames
[] = {
36064 (char *) "self",(char *) "prefix", NULL
36067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36069 if (!SWIG_IsOK(res1
)) {
36070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36072 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36074 arg2
= wxString_in_helper(obj1
);
36075 if (arg2
== NULL
) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
36081 wxPyEndAllowThreads(__tstate
);
36082 if (PyErr_Occurred()) SWIG_fail
;
36084 resultobj
= SWIG_Py_Void();
36099 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36100 PyObject
*resultobj
= 0;
36101 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36105 PyObject
*swig_obj
[1] ;
36107 if (!args
) SWIG_fail
;
36108 swig_obj
[0] = args
;
36109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36110 if (!SWIG_IsOK(res1
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36113 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36116 result
= wxStandardPaths_GetInstallPrefix(arg1
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36133 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36136 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36137 return SWIG_Py_Void();
36140 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36141 PyObject
*resultobj
= 0;
36143 wxPowerEvent
*result
= 0 ;
36146 PyObject
* obj0
= 0 ;
36147 char * kwnames
[] = {
36148 (char *) "evtType", NULL
36151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36153 if (!SWIG_IsOK(ecode1
)) {
36154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36156 arg1
= static_cast< wxEventType
>(val1
);
36158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36159 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36160 wxPyEndAllowThreads(__tstate
);
36161 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36170 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36171 PyObject
*resultobj
= 0;
36172 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36175 PyObject
*swig_obj
[1] ;
36177 if (!args
) SWIG_fail
;
36178 swig_obj
[0] = args
;
36179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36180 if (!SWIG_IsOK(res1
)) {
36181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36183 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36190 resultobj
= SWIG_Py_Void();
36197 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36198 PyObject
*resultobj
= 0;
36199 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36203 PyObject
*swig_obj
[1] ;
36205 if (!args
) SWIG_fail
;
36206 swig_obj
[0] = args
;
36207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36208 if (!SWIG_IsOK(res1
)) {
36209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36211 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36214 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36215 wxPyEndAllowThreads(__tstate
);
36216 if (PyErr_Occurred()) SWIG_fail
;
36219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36227 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36229 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36230 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36231 return SWIG_Py_Void();
36234 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36235 return SWIG_Python_InitShadowInstance(args
);
36238 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36239 PyObject
*resultobj
= 0;
36240 wxPowerType result
;
36242 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36245 result
= (wxPowerType
)wxGetPowerType();
36246 wxPyEndAllowThreads(__tstate
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36249 resultobj
= SWIG_From_int(static_cast< int >(result
));
36256 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36257 PyObject
*resultobj
= 0;
36258 wxBatteryState result
;
36260 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36263 result
= (wxBatteryState
)wxGetBatteryState();
36264 wxPyEndAllowThreads(__tstate
);
36265 if (PyErr_Occurred()) SWIG_fail
;
36267 resultobj
= SWIG_From_int(static_cast< int >(result
));
36274 static PyMethodDef SwigMethods
[] = {
36275 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36280 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36282 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36283 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36289 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36290 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36291 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36292 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36294 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36296 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36297 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36298 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36299 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36301 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36302 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36304 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36305 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36306 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36307 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36309 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36311 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36312 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36314 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36315 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36316 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36317 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36318 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36319 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36321 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36322 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36328 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36329 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36330 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36331 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36333 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36334 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36335 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36336 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36337 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36338 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36339 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36340 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36341 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36343 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36345 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36346 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36347 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36348 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36349 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36350 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36351 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36352 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36353 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36354 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36355 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36356 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36357 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36358 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36359 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36360 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36361 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36362 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36363 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36364 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36369 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36370 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36371 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36372 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36373 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36374 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36375 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36376 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36377 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36378 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36379 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36380 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36381 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36382 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36383 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36384 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36386 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36387 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36388 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36389 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36390 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36391 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36392 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36393 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36395 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36396 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36397 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36398 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36399 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36400 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36401 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36402 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36403 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36405 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36407 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36409 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36410 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36411 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36412 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36413 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36414 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36415 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36416 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36417 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36418 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36419 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36420 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36421 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36423 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36424 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36425 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36426 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36427 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36428 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36429 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36430 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36431 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36432 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36434 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36437 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36440 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36442 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36444 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36445 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36446 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36447 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36448 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36449 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36450 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36452 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36453 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36454 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36456 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36457 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36458 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36460 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36463 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36464 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36466 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36468 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36469 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36470 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36471 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36472 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36473 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36474 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36475 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36476 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36477 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36478 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36479 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36480 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36481 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36482 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36483 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36484 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36485 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36486 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36487 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36488 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36489 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36490 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36491 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36492 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36495 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36496 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36497 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36499 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36500 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36502 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36503 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36505 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36506 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36507 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36508 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36509 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36510 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36511 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36512 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36513 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36514 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36515 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36516 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36517 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36518 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36519 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36520 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36521 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36522 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36523 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36524 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36525 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36526 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36527 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36530 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36531 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36532 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36534 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36535 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36536 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36537 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36538 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36539 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36540 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36541 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36542 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36543 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36544 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36545 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36546 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36547 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36555 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36557 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36558 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36560 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36561 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36562 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36563 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36564 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36565 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36566 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36568 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36569 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36571 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36572 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36573 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36574 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36575 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36576 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36577 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36578 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36579 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36580 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36581 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36582 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36583 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36584 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36585 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36586 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36587 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36588 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36589 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36590 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36591 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36592 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36593 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36594 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36595 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36596 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36597 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36598 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36599 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36600 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36601 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36602 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36603 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36604 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36605 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36606 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36607 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36608 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36609 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36610 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36611 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36612 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36613 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36614 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36615 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36616 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36617 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36618 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36619 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36620 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36621 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36622 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36623 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36624 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36625 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36626 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36627 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36628 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36629 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36630 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36631 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36632 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36633 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36634 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36635 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36636 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36637 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36638 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36639 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36640 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36641 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36642 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36643 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36644 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36646 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36647 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36648 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36649 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36650 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36656 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36657 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36658 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36661 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36662 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36663 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36664 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36666 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36669 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36672 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36673 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36674 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36676 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36677 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36678 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36679 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36680 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36681 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36682 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36683 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36684 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36685 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36686 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36687 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36688 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36689 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36690 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36691 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36693 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36694 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36695 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36696 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36697 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36698 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36699 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36700 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36702 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36705 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36707 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36708 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36710 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36712 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36716 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36717 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36720 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36721 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36722 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36723 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36724 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36725 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36728 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36731 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36733 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36734 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36735 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36736 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36737 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36739 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36740 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36742 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36743 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36745 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36765 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36766 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36768 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36770 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36772 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36773 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36776 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36777 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36778 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36780 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36781 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36782 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36783 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36784 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36785 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36786 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36788 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36789 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36790 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36791 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36794 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36804 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36805 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36809 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36810 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36811 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36812 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36818 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36819 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36824 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36843 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36844 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36848 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36849 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36850 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36851 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36852 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36864 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36865 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36886 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36891 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36892 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36893 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36894 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36902 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36903 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36904 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36906 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36907 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36908 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36909 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36910 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36911 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36912 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36914 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36916 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36918 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36920 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36922 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36924 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36926 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36930 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36931 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36935 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36946 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36947 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36948 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36949 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36951 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36952 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36953 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36954 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36955 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36956 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36957 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36959 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36960 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36962 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36964 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36966 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36968 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36970 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36971 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36974 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36975 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36976 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36977 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36978 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36979 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36982 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36986 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36989 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36990 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36991 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36994 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36995 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36996 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36997 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36998 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36999 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37001 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
37002 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
37003 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
37004 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
37006 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
37007 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
37009 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
37010 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
37011 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37016 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37018 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
37019 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
37021 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37022 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
37023 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
37024 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37026 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37027 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37030 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37031 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
37032 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37033 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
37034 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
37035 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
37036 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37037 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
37038 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
37039 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37040 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
37041 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
37042 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37043 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
37045 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
37046 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
37048 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37049 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37050 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37051 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37052 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37054 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37055 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
37056 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
37057 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37058 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
37059 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
37060 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
37061 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37062 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
37063 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
37064 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
37065 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
37066 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
37067 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
37068 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
37070 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
37071 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
37072 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
37074 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
37075 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
37076 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37077 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
37080 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37081 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
37082 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37085 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
37086 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
37087 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
37090 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
37091 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37092 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
37095 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
37097 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
37099 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
37100 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
37101 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
37102 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
37107 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
37110 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
37111 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
37112 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37115 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37116 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
37117 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
37120 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37121 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37122 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37123 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37124 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37125 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37126 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37128 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37129 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37130 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37131 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37132 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37133 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37134 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37135 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37136 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37138 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37139 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37140 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37141 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37142 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37143 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37145 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37146 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37147 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37148 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37149 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37150 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37151 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37152 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37153 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37154 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37155 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37156 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37157 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37158 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37159 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37160 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37162 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37163 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37164 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37165 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37166 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37167 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37168 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37169 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37170 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37171 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37172 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37173 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37174 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37175 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37176 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37177 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37178 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37179 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37180 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37181 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37182 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37183 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37184 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37185 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37187 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37188 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37189 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37190 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37191 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37192 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37193 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37194 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37195 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37196 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37197 { NULL
, NULL
, 0, NULL
}
37201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37203 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37206 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37207 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37209 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37210 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37212 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37213 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37215 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37216 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37218 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37219 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37221 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37222 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37224 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37225 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37227 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37228 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37230 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37231 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37233 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37234 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37236 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37237 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37239 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37240 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37242 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37243 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37245 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37248 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37249 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37251 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37252 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37254 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37255 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37257 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37258 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37260 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37261 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37263 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37264 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37266 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37269 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37272 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37273 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37275 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37276 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37278 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37279 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37281 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37282 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37284 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37285 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37287 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37288 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37290 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37291 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37293 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37294 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37296 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37297 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37299 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37302 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37303 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37305 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37306 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37308 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37309 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37311 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37312 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37314 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37315 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37317 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37318 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37320 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37321 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37323 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37324 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37326 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37327 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37329 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37330 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37332 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37333 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37335 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37336 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37338 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37339 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37341 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37342 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37344 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37345 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37347 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37348 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37350 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37351 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37353 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37354 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37356 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37357 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37359 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37360 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37362 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37363 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37365 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37366 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37368 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37369 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37371 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37372 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37374 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37375 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37377 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37378 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37380 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37381 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37383 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37384 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37386 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37387 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37389 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37390 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37392 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37393 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37395 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37396 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37398 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37399 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37401 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37404 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37405 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37407 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37408 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37410 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37411 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37413 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37414 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37417 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37419 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37420 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37422 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37423 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37425 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37426 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37428 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37429 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37431 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37432 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37434 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37435 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37437 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37440 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37441 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37443 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37444 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37446 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37447 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37449 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37450 return (void *)((wxObject
*) ((wxSizer
*) x
));
37452 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37453 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37455 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37456 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37458 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37461 static void *_p_wxEventTo_p_wxObject(void *x
) {
37462 return (void *)((wxObject
*) ((wxEvent
*) x
));
37464 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37465 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37467 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37468 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37470 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37471 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37473 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37476 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37477 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37479 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37480 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37482 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37483 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37485 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37486 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37488 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37489 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37491 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37492 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37494 static void *_p_wxControlTo_p_wxObject(void *x
) {
37495 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37497 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37498 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37500 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37501 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37503 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37504 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37506 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37507 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37509 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37510 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37512 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37513 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37515 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37516 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37518 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37521 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37522 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37524 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37525 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37527 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37528 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37530 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37533 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37534 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37536 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37539 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37540 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37542 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37543 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37545 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37546 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37548 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37549 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37551 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37552 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37554 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37555 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37557 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37558 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37560 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37561 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37563 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37564 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37566 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37567 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37569 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37570 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37572 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37573 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37575 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37576 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37578 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37579 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37581 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37584 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37587 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37588 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37590 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37591 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37593 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37594 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37596 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37597 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37599 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37600 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37602 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37603 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37605 static void *_p_wxImageTo_p_wxObject(void *x
) {
37606 return (void *)((wxObject
*) ((wxImage
*) x
));
37608 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37609 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37611 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37612 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37614 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37615 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37617 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37620 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37621 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37623 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37624 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37626 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37629 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37630 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37632 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37633 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37635 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37636 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37638 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37639 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37641 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37644 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37645 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37647 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37648 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37650 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37651 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37653 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37654 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37656 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37657 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37659 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37660 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37662 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37663 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37665 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37666 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37668 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37669 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37671 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37672 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37674 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37677 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37678 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37680 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37683 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37686 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37687 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37689 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37690 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37692 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37693 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37695 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37696 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37698 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37699 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37701 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37702 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37704 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37705 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37707 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37708 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37710 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37711 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37713 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37714 return (void *)((wxWindow
*) ((wxControl
*) x
));
37716 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37717 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37719 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37720 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37722 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37723 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37725 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37726 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37728 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37729 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};
37730 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37731 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37732 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37733 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37734 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37735 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37736 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37737 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37757 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37758 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37759 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37760 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37761 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37762 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37763 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37764 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37765 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37766 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37767 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37768 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37769 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37770 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37771 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37772 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37773 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37774 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37775 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37776 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37777 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37778 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37779 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37780 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37781 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37782 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37783 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37784 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37785 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37786 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37787 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37788 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37789 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37790 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37791 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37792 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37793 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37794 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37795 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37796 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37797 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37798 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37799 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37800 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37801 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37802 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37803 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37804 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37805 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37806 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37807 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37808 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37809 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37810 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37811 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37812 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37813 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37814 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37815 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37816 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37817 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37818 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37819 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37820 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37821 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37822 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37823 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37824 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37825 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37826 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37827 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37828 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37829 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37830 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37831 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37832 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37833 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37834 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37835 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37836 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37837 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37838 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37839 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37840 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37841 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37842 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37843 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37844 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37845 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37846 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37847 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37848 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37849 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37850 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37851 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37852 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37853 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37854 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37855 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37856 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37857 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37858 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37859 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37860 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37861 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37862 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37863 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37864 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37865 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37866 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37867 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37868 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37869 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37870 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37871 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37872 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37873 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37874 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37875 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37876 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37877 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37878 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37879 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37880 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37881 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37882 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37883 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37884 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37885 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37886 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37887 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37888 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37889 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37890 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37891 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37892 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37893 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37894 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37895 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37896 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37897 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37898 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37900 static swig_type_info
*swig_type_initial
[] = {
37902 &_swigt__p_form_ops_t
,
37904 &_swigt__p_unsigned_char
,
37905 &_swigt__p_unsigned_int
,
37906 &_swigt__p_unsigned_long
,
37908 &_swigt__p_wxANIHandler
,
37909 &_swigt__p_wxAcceleratorTable
,
37910 &_swigt__p_wxActivateEvent
,
37911 &_swigt__p_wxArrayString
,
37912 &_swigt__p_wxBMPHandler
,
37913 &_swigt__p_wxBitmap
,
37914 &_swigt__p_wxBitmapDataObject
,
37915 &_swigt__p_wxBoxSizer
,
37916 &_swigt__p_wxBusyCursor
,
37917 &_swigt__p_wxBusyInfo
,
37918 &_swigt__p_wxCURHandler
,
37919 &_swigt__p_wxCaret
,
37921 &_swigt__p_wxChildFocusEvent
,
37922 &_swigt__p_wxClipboard
,
37923 &_swigt__p_wxClipboardLocker
,
37924 &_swigt__p_wxClipboardTextEvent
,
37925 &_swigt__p_wxCloseEvent
,
37926 &_swigt__p_wxColour
,
37927 &_swigt__p_wxCommandEvent
,
37928 &_swigt__p_wxConfig
,
37929 &_swigt__p_wxConfigBase
,
37930 &_swigt__p_wxConfigPathChanger
,
37931 &_swigt__p_wxContextMenuEvent
,
37932 &_swigt__p_wxControl
,
37933 &_swigt__p_wxControlWithItems
,
37934 &_swigt__p_wxCursor
,
37935 &_swigt__p_wxCustomDataObject
,
37937 &_swigt__p_wxDataFormat
,
37938 &_swigt__p_wxDataObject
,
37939 &_swigt__p_wxDataObjectComposite
,
37940 &_swigt__p_wxDataObjectSimple
,
37941 &_swigt__p_wxDateEvent
,
37942 &_swigt__p_wxDateSpan
,
37943 &_swigt__p_wxDateTime
,
37944 &_swigt__p_wxDateTime__TimeZone
,
37945 &_swigt__p_wxDisplay
,
37946 &_swigt__p_wxDisplayChangedEvent
,
37947 &_swigt__p_wxDropFilesEvent
,
37948 &_swigt__p_wxDuplexMode
,
37949 &_swigt__p_wxEraseEvent
,
37950 &_swigt__p_wxEvent
,
37951 &_swigt__p_wxEvtHandler
,
37952 &_swigt__p_wxFSFile
,
37953 &_swigt__p_wxFileConfig
,
37954 &_swigt__p_wxFileDataObject
,
37955 &_swigt__p_wxFileHistory
,
37956 &_swigt__p_wxFileSystem
,
37957 &_swigt__p_wxFileType
,
37958 &_swigt__p_wxFileTypeInfo
,
37959 &_swigt__p_wxFlexGridSizer
,
37960 &_swigt__p_wxFocusEvent
,
37962 &_swigt__p_wxFrame
,
37963 &_swigt__p_wxGBSizerItem
,
37964 &_swigt__p_wxGIFHandler
,
37965 &_swigt__p_wxGridBagSizer
,
37966 &_swigt__p_wxGridSizer
,
37967 &_swigt__p_wxICOHandler
,
37969 &_swigt__p_wxIconizeEvent
,
37970 &_swigt__p_wxIdleEvent
,
37971 &_swigt__p_wxImage
,
37972 &_swigt__p_wxImageHandler
,
37973 &_swigt__p_wxIndividualLayoutConstraint
,
37974 &_swigt__p_wxInitDialogEvent
,
37975 &_swigt__p_wxJPEGHandler
,
37976 &_swigt__p_wxJoystick
,
37977 &_swigt__p_wxJoystickEvent
,
37978 &_swigt__p_wxKeyEvent
,
37979 &_swigt__p_wxKillError
,
37980 &_swigt__p_wxLayoutConstraints
,
37982 &_swigt__p_wxLogBuffer
,
37983 &_swigt__p_wxLogChain
,
37984 &_swigt__p_wxLogGui
,
37985 &_swigt__p_wxLogNull
,
37986 &_swigt__p_wxLogStderr
,
37987 &_swigt__p_wxLogTextCtrl
,
37988 &_swigt__p_wxLogWindow
,
37989 &_swigt__p_wxMaximizeEvent
,
37991 &_swigt__p_wxMenuBar
,
37992 &_swigt__p_wxMenuEvent
,
37993 &_swigt__p_wxMenuItem
,
37994 &_swigt__p_wxMetafile
,
37995 &_swigt__p_wxMetafileDataObject
,
37996 &_swigt__p_wxMimeTypesManager
,
37997 &_swigt__p_wxMouseCaptureChangedEvent
,
37998 &_swigt__p_wxMouseEvent
,
37999 &_swigt__p_wxMouseState
,
38000 &_swigt__p_wxMoveEvent
,
38001 &_swigt__p_wxMutexGuiLocker
,
38002 &_swigt__p_wxNavigationKeyEvent
,
38003 &_swigt__p_wxNcPaintEvent
,
38004 &_swigt__p_wxNotifyEvent
,
38005 &_swigt__p_wxObject
,
38006 &_swigt__p_wxOutputStream
,
38007 &_swigt__p_wxPCXHandler
,
38008 &_swigt__p_wxPNGHandler
,
38009 &_swigt__p_wxPNMHandler
,
38010 &_swigt__p_wxPaintEvent
,
38011 &_swigt__p_wxPaletteChangedEvent
,
38012 &_swigt__p_wxPaperSize
,
38013 &_swigt__p_wxPoint
,
38014 &_swigt__p_wxPowerEvent
,
38015 &_swigt__p_wxProcessEvent
,
38016 &_swigt__p_wxPyApp
,
38017 &_swigt__p_wxPyArtProvider
,
38018 &_swigt__p_wxPyBitmapDataObject
,
38019 &_swigt__p_wxPyCommandEvent
,
38020 &_swigt__p_wxPyDataObjectSimple
,
38021 &_swigt__p_wxPyDropSource
,
38022 &_swigt__p_wxPyDropTarget
,
38023 &_swigt__p_wxPyEvent
,
38024 &_swigt__p_wxPyFileDropTarget
,
38025 &_swigt__p_wxPyImageHandler
,
38026 &_swigt__p_wxPyLog
,
38027 &_swigt__p_wxPyProcess
,
38028 &_swigt__p_wxPySizer
,
38029 &_swigt__p_wxPyTextDataObject
,
38030 &_swigt__p_wxPyTextDropTarget
,
38031 &_swigt__p_wxPyTimer
,
38032 &_swigt__p_wxPyTipProvider
,
38033 &_swigt__p_wxPyValidator
,
38034 &_swigt__p_wxQueryNewPaletteEvent
,
38036 &_swigt__p_wxScrollEvent
,
38037 &_swigt__p_wxScrollWinEvent
,
38038 &_swigt__p_wxSetCursorEvent
,
38039 &_swigt__p_wxShowEvent
,
38040 &_swigt__p_wxSingleInstanceChecker
,
38042 &_swigt__p_wxSizeEvent
,
38043 &_swigt__p_wxSizer
,
38044 &_swigt__p_wxSizerItem
,
38045 &_swigt__p_wxSound
,
38046 &_swigt__p_wxStandardPaths
,
38047 &_swigt__p_wxStaticBoxSizer
,
38048 &_swigt__p_wxStdDialogButtonSizer
,
38049 &_swigt__p_wxStopWatch
,
38050 &_swigt__p_wxString
,
38051 &_swigt__p_wxSysColourChangedEvent
,
38052 &_swigt__p_wxSystemOptions
,
38053 &_swigt__p_wxSystemSettings
,
38054 &_swigt__p_wxTIFFHandler
,
38055 &_swigt__p_wxTextCtrl
,
38056 &_swigt__p_wxTextDataObject
,
38057 &_swigt__p_wxTimeSpan
,
38058 &_swigt__p_wxTimer
,
38059 &_swigt__p_wxTimerEvent
,
38060 &_swigt__p_wxTimerRunner
,
38061 &_swigt__p_wxTipProvider
,
38062 &_swigt__p_wxToolTip
,
38063 &_swigt__p_wxURLDataObject
,
38064 &_swigt__p_wxUpdateUIEvent
,
38065 &_swigt__p_wxValidator
,
38066 &_swigt__p_wxVideoMode
,
38067 &_swigt__p_wxWindow
,
38068 &_swigt__p_wxWindowCreateEvent
,
38069 &_swigt__p_wxWindowDestroyEvent
,
38070 &_swigt__p_wxWindowDisabler
,
38071 &_swigt__p_wxXPMHandler
,
38074 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38080 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38081 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38082 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38083 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}};
38084 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
38087 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
38088 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
38089 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
38092 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}};
38093 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38095 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
38098 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}};
38099 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
38100 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}};
38101 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38110 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38114 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38115 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38116 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38118 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38119 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38120 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38121 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38122 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38123 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38124 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38125 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38126 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38127 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38129 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38130 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38131 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38132 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38133 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38134 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38135 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38136 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38137 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38138 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38139 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38140 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38141 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38142 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38143 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
38144 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38145 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38146 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38147 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38148 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38149 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38150 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}};
38151 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38152 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38153 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38154 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38155 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38156 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38157 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38158 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38159 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38160 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38161 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38162 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}};
38163 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38164 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38165 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38166 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38167 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38168 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38169 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38170 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38171 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38172 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38173 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38174 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38175 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38176 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38177 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38178 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38179 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38180 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38181 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38182 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38183 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38184 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38185 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38186 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38187 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38188 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38189 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38190 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38191 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38192 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38193 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38194 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38195 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38196 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38197 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38198 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38199 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38200 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38201 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38202 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38203 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38204 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38205 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38206 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileHistory
, _p_wxFileHistoryTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTimerEvent
, _p_wxTimerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPowerEvent
, _p_wxPowerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboard
, _p_wxClipboardTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxToolTip
, _p_wxToolTipTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSystemOptions
, _p_wxSystemOptionsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJoystickEvent
, _p_wxJoystickEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyProcess
, _p_wxPyProcessTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBusyInfo
, _p_wxBusyInfoTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProcessEvent
, _p_wxProcessEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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}};
38207 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38208 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38209 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38210 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38211 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38212 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38213 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38214 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38215 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38216 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}};
38217 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38218 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38219 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38220 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38221 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38222 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38223 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38224 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38225 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38226 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38227 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38228 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38229 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38230 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38231 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38232 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38233 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38234 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}};
38235 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38236 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38237 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38238 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38239 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}};
38240 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38241 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38242 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38243 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}};
38244 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38246 static swig_cast_info
*swig_cast_initial
[] = {
38248 _swigc__p_form_ops_t
,
38250 _swigc__p_unsigned_char
,
38251 _swigc__p_unsigned_int
,
38252 _swigc__p_unsigned_long
,
38254 _swigc__p_wxANIHandler
,
38255 _swigc__p_wxAcceleratorTable
,
38256 _swigc__p_wxActivateEvent
,
38257 _swigc__p_wxArrayString
,
38258 _swigc__p_wxBMPHandler
,
38259 _swigc__p_wxBitmap
,
38260 _swigc__p_wxBitmapDataObject
,
38261 _swigc__p_wxBoxSizer
,
38262 _swigc__p_wxBusyCursor
,
38263 _swigc__p_wxBusyInfo
,
38264 _swigc__p_wxCURHandler
,
38267 _swigc__p_wxChildFocusEvent
,
38268 _swigc__p_wxClipboard
,
38269 _swigc__p_wxClipboardLocker
,
38270 _swigc__p_wxClipboardTextEvent
,
38271 _swigc__p_wxCloseEvent
,
38272 _swigc__p_wxColour
,
38273 _swigc__p_wxCommandEvent
,
38274 _swigc__p_wxConfig
,
38275 _swigc__p_wxConfigBase
,
38276 _swigc__p_wxConfigPathChanger
,
38277 _swigc__p_wxContextMenuEvent
,
38278 _swigc__p_wxControl
,
38279 _swigc__p_wxControlWithItems
,
38280 _swigc__p_wxCursor
,
38281 _swigc__p_wxCustomDataObject
,
38283 _swigc__p_wxDataFormat
,
38284 _swigc__p_wxDataObject
,
38285 _swigc__p_wxDataObjectComposite
,
38286 _swigc__p_wxDataObjectSimple
,
38287 _swigc__p_wxDateEvent
,
38288 _swigc__p_wxDateSpan
,
38289 _swigc__p_wxDateTime
,
38290 _swigc__p_wxDateTime__TimeZone
,
38291 _swigc__p_wxDisplay
,
38292 _swigc__p_wxDisplayChangedEvent
,
38293 _swigc__p_wxDropFilesEvent
,
38294 _swigc__p_wxDuplexMode
,
38295 _swigc__p_wxEraseEvent
,
38297 _swigc__p_wxEvtHandler
,
38298 _swigc__p_wxFSFile
,
38299 _swigc__p_wxFileConfig
,
38300 _swigc__p_wxFileDataObject
,
38301 _swigc__p_wxFileHistory
,
38302 _swigc__p_wxFileSystem
,
38303 _swigc__p_wxFileType
,
38304 _swigc__p_wxFileTypeInfo
,
38305 _swigc__p_wxFlexGridSizer
,
38306 _swigc__p_wxFocusEvent
,
38309 _swigc__p_wxGBSizerItem
,
38310 _swigc__p_wxGIFHandler
,
38311 _swigc__p_wxGridBagSizer
,
38312 _swigc__p_wxGridSizer
,
38313 _swigc__p_wxICOHandler
,
38315 _swigc__p_wxIconizeEvent
,
38316 _swigc__p_wxIdleEvent
,
38318 _swigc__p_wxImageHandler
,
38319 _swigc__p_wxIndividualLayoutConstraint
,
38320 _swigc__p_wxInitDialogEvent
,
38321 _swigc__p_wxJPEGHandler
,
38322 _swigc__p_wxJoystick
,
38323 _swigc__p_wxJoystickEvent
,
38324 _swigc__p_wxKeyEvent
,
38325 _swigc__p_wxKillError
,
38326 _swigc__p_wxLayoutConstraints
,
38328 _swigc__p_wxLogBuffer
,
38329 _swigc__p_wxLogChain
,
38330 _swigc__p_wxLogGui
,
38331 _swigc__p_wxLogNull
,
38332 _swigc__p_wxLogStderr
,
38333 _swigc__p_wxLogTextCtrl
,
38334 _swigc__p_wxLogWindow
,
38335 _swigc__p_wxMaximizeEvent
,
38337 _swigc__p_wxMenuBar
,
38338 _swigc__p_wxMenuEvent
,
38339 _swigc__p_wxMenuItem
,
38340 _swigc__p_wxMetafile
,
38341 _swigc__p_wxMetafileDataObject
,
38342 _swigc__p_wxMimeTypesManager
,
38343 _swigc__p_wxMouseCaptureChangedEvent
,
38344 _swigc__p_wxMouseEvent
,
38345 _swigc__p_wxMouseState
,
38346 _swigc__p_wxMoveEvent
,
38347 _swigc__p_wxMutexGuiLocker
,
38348 _swigc__p_wxNavigationKeyEvent
,
38349 _swigc__p_wxNcPaintEvent
,
38350 _swigc__p_wxNotifyEvent
,
38351 _swigc__p_wxObject
,
38352 _swigc__p_wxOutputStream
,
38353 _swigc__p_wxPCXHandler
,
38354 _swigc__p_wxPNGHandler
,
38355 _swigc__p_wxPNMHandler
,
38356 _swigc__p_wxPaintEvent
,
38357 _swigc__p_wxPaletteChangedEvent
,
38358 _swigc__p_wxPaperSize
,
38360 _swigc__p_wxPowerEvent
,
38361 _swigc__p_wxProcessEvent
,
38363 _swigc__p_wxPyArtProvider
,
38364 _swigc__p_wxPyBitmapDataObject
,
38365 _swigc__p_wxPyCommandEvent
,
38366 _swigc__p_wxPyDataObjectSimple
,
38367 _swigc__p_wxPyDropSource
,
38368 _swigc__p_wxPyDropTarget
,
38369 _swigc__p_wxPyEvent
,
38370 _swigc__p_wxPyFileDropTarget
,
38371 _swigc__p_wxPyImageHandler
,
38373 _swigc__p_wxPyProcess
,
38374 _swigc__p_wxPySizer
,
38375 _swigc__p_wxPyTextDataObject
,
38376 _swigc__p_wxPyTextDropTarget
,
38377 _swigc__p_wxPyTimer
,
38378 _swigc__p_wxPyTipProvider
,
38379 _swigc__p_wxPyValidator
,
38380 _swigc__p_wxQueryNewPaletteEvent
,
38382 _swigc__p_wxScrollEvent
,
38383 _swigc__p_wxScrollWinEvent
,
38384 _swigc__p_wxSetCursorEvent
,
38385 _swigc__p_wxShowEvent
,
38386 _swigc__p_wxSingleInstanceChecker
,
38388 _swigc__p_wxSizeEvent
,
38390 _swigc__p_wxSizerItem
,
38392 _swigc__p_wxStandardPaths
,
38393 _swigc__p_wxStaticBoxSizer
,
38394 _swigc__p_wxStdDialogButtonSizer
,
38395 _swigc__p_wxStopWatch
,
38396 _swigc__p_wxString
,
38397 _swigc__p_wxSysColourChangedEvent
,
38398 _swigc__p_wxSystemOptions
,
38399 _swigc__p_wxSystemSettings
,
38400 _swigc__p_wxTIFFHandler
,
38401 _swigc__p_wxTextCtrl
,
38402 _swigc__p_wxTextDataObject
,
38403 _swigc__p_wxTimeSpan
,
38405 _swigc__p_wxTimerEvent
,
38406 _swigc__p_wxTimerRunner
,
38407 _swigc__p_wxTipProvider
,
38408 _swigc__p_wxToolTip
,
38409 _swigc__p_wxURLDataObject
,
38410 _swigc__p_wxUpdateUIEvent
,
38411 _swigc__p_wxValidator
,
38412 _swigc__p_wxVideoMode
,
38413 _swigc__p_wxWindow
,
38414 _swigc__p_wxWindowCreateEvent
,
38415 _swigc__p_wxWindowDestroyEvent
,
38416 _swigc__p_wxWindowDisabler
,
38417 _swigc__p_wxXPMHandler
,
38421 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38423 static swig_const_info swig_const_table
[] = {
38424 {0, 0, 0, 0.0, 0, 0}};
38429 /* -----------------------------------------------------------------------------
38430 * Type initialization:
38431 * This problem is tough by the requirement that no dynamic
38432 * memory is used. Also, since swig_type_info structures store pointers to
38433 * swig_cast_info structures and swig_cast_info structures store pointers back
38434 * to swig_type_info structures, we need some lookup code at initialization.
38435 * The idea is that swig generates all the structures that are needed.
38436 * The runtime then collects these partially filled structures.
38437 * The SWIG_InitializeModule function takes these initial arrays out of
38438 * swig_module, and does all the lookup, filling in the swig_module.types
38439 * array with the correct data and linking the correct swig_cast_info
38440 * structures together.
38442 * The generated swig_type_info structures are assigned staticly to an initial
38443 * array. We just loop though that array, and handle each type individually.
38444 * First we lookup if this type has been already loaded, and if so, use the
38445 * loaded structure instead of the generated one. Then we have to fill in the
38446 * cast linked list. The cast data is initially stored in something like a
38447 * two-dimensional array. Each row corresponds to a type (there are the same
38448 * number of rows as there are in the swig_type_initial array). Each entry in
38449 * a column is one of the swig_cast_info structures for that type.
38450 * The cast_initial array is actually an array of arrays, because each row has
38451 * a variable number of columns. So to actually build the cast linked list,
38452 * we find the array of casts associated with the type, and loop through it
38453 * adding the casts to the list. The one last trick we need to do is making
38454 * sure the type pointer in the swig_cast_info struct is correct.
38456 * First off, we lookup the cast->type name to see if it is already loaded.
38457 * There are three cases to handle:
38458 * 1) If the cast->type has already been loaded AND the type we are adding
38459 * casting info to has not been loaded (it is in this module), THEN we
38460 * replace the cast->type pointer with the type pointer that has already
38462 * 2) If BOTH types (the one we are adding casting info to, and the
38463 * cast->type) are loaded, THEN the cast info has already been loaded by
38464 * the previous module so we just ignore it.
38465 * 3) Finally, if cast->type has not already been loaded, then we add that
38466 * swig_cast_info to the linked list (because the cast->type) pointer will
38468 * ----------------------------------------------------------------------------- */
38478 #define SWIGRUNTIME_DEBUG
38482 SWIG_InitializeModule(void *clientdata
) {
38484 swig_module_info
*module_head
;
38485 static int init_run
= 0;
38487 clientdata
= clientdata
;
38489 if (init_run
) return;
38492 /* Initialize the swig_module */
38493 swig_module
.type_initial
= swig_type_initial
;
38494 swig_module
.cast_initial
= swig_cast_initial
;
38496 /* Try and load any already created modules */
38497 module_head
= SWIG_GetModule(clientdata
);
38499 swig_module
.next
= module_head
->next
;
38500 module_head
->next
= &swig_module
;
38502 /* This is the first module loaded */
38503 swig_module
.next
= &swig_module
;
38504 SWIG_SetModule(clientdata
, &swig_module
);
38507 /* Now work on filling in swig_module.types */
38508 #ifdef SWIGRUNTIME_DEBUG
38509 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38511 for (i
= 0; i
< swig_module
.size
; ++i
) {
38512 swig_type_info
*type
= 0;
38513 swig_type_info
*ret
;
38514 swig_cast_info
*cast
;
38516 #ifdef SWIGRUNTIME_DEBUG
38517 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38520 /* if there is another module already loaded */
38521 if (swig_module
.next
!= &swig_module
) {
38522 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38525 /* Overwrite clientdata field */
38526 #ifdef SWIGRUNTIME_DEBUG
38527 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38529 if (swig_module
.type_initial
[i
]->clientdata
) {
38530 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38531 #ifdef SWIGRUNTIME_DEBUG
38532 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38536 type
= swig_module
.type_initial
[i
];
38539 /* Insert casting types */
38540 cast
= swig_module
.cast_initial
[i
];
38541 while (cast
->type
) {
38542 /* Don't need to add information already in the list */
38544 #ifdef SWIGRUNTIME_DEBUG
38545 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38547 if (swig_module
.next
!= &swig_module
) {
38548 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38549 #ifdef SWIGRUNTIME_DEBUG
38550 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38554 if (type
== swig_module
.type_initial
[i
]) {
38555 #ifdef SWIGRUNTIME_DEBUG
38556 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38561 /* Check for casting already in the list */
38562 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38563 #ifdef SWIGRUNTIME_DEBUG
38564 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38566 if (!ocast
) ret
= 0;
38571 #ifdef SWIGRUNTIME_DEBUG
38572 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38575 type
->cast
->prev
= cast
;
38576 cast
->next
= type
->cast
;
38582 /* Set entry in modules->types array equal to the type */
38583 swig_module
.types
[i
] = type
;
38585 swig_module
.types
[i
] = 0;
38587 #ifdef SWIGRUNTIME_DEBUG
38588 printf("**** SWIG_InitializeModule: Cast List ******\n");
38589 for (i
= 0; i
< swig_module
.size
; ++i
) {
38591 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38592 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38593 while (cast
->type
) {
38594 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38598 printf("---- Total casts: %d\n",j
);
38600 printf("**** SWIG_InitializeModule: Cast List ******\n");
38604 /* This function will propagate the clientdata field of type to
38605 * any new swig_type_info structures that have been added into the list
38606 * of equivalent types. It is like calling
38607 * SWIG_TypeClientData(type, clientdata) a second time.
38610 SWIG_PropagateClientData(void) {
38612 swig_cast_info
*equiv
;
38613 static int init_run
= 0;
38615 if (init_run
) return;
38618 for (i
= 0; i
< swig_module
.size
; i
++) {
38619 if (swig_module
.types
[i
]->clientdata
) {
38620 equiv
= swig_module
.types
[i
]->cast
;
38622 if (!equiv
->converter
) {
38623 if (equiv
->type
&& !equiv
->type
->clientdata
)
38624 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38626 equiv
= equiv
->next
;
38646 /* Python-specific SWIG API */
38647 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38648 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38649 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38651 /* -----------------------------------------------------------------------------
38652 * global variable support code.
38653 * ----------------------------------------------------------------------------- */
38655 typedef struct swig_globalvar
{
38656 char *name
; /* Name of global variable */
38657 PyObject
*(*get_attr
)(void); /* Return the current value */
38658 int (*set_attr
)(PyObject
*); /* Set the value */
38659 struct swig_globalvar
*next
;
38662 typedef struct swig_varlinkobject
{
38664 swig_globalvar
*vars
;
38665 } swig_varlinkobject
;
38667 SWIGINTERN PyObject
*
38668 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38669 return PyString_FromString("<Swig global variables>");
38672 SWIGINTERN PyObject
*
38673 swig_varlink_str(swig_varlinkobject
*v
) {
38674 PyObject
*str
= PyString_FromString("(");
38675 swig_globalvar
*var
;
38676 for (var
= v
->vars
; var
; var
=var
->next
) {
38677 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38678 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38680 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38685 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38686 PyObject
*str
= swig_varlink_str(v
);
38687 fprintf(fp
,"Swig global variables ");
38688 fprintf(fp
,"%s\n", PyString_AsString(str
));
38694 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38695 swig_globalvar
*var
= v
->vars
;
38697 swig_globalvar
*n
= var
->next
;
38704 SWIGINTERN PyObject
*
38705 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38706 PyObject
*res
= NULL
;
38707 swig_globalvar
*var
= v
->vars
;
38709 if (strcmp(var
->name
,n
) == 0) {
38710 res
= (*var
->get_attr
)();
38715 if (res
== NULL
&& !PyErr_Occurred()) {
38716 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38722 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38724 swig_globalvar
*var
= v
->vars
;
38726 if (strcmp(var
->name
,n
) == 0) {
38727 res
= (*var
->set_attr
)(p
);
38732 if (res
== 1 && !PyErr_Occurred()) {
38733 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38738 SWIGINTERN PyTypeObject
*
38739 swig_varlink_type(void) {
38740 static char varlink__doc__
[] = "Swig var link object";
38741 static PyTypeObject varlink_type
;
38742 static int type_init
= 0;
38744 const PyTypeObject tmp
38746 PyObject_HEAD_INIT(NULL
)
38747 0, /* Number of items in variable part (ob_size) */
38748 (char *)"swigvarlink", /* Type name (tp_name) */
38749 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38750 0, /* Itemsize (tp_itemsize) */
38751 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38752 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38753 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38754 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38755 0, /* tp_compare */
38756 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38757 0, /* tp_as_number */
38758 0, /* tp_as_sequence */
38759 0, /* tp_as_mapping */
38762 (reprfunc
)swig_varlink_str
, /* tp_str */
38763 0, /* tp_getattro */
38764 0, /* tp_setattro */
38765 0, /* tp_as_buffer */
38767 varlink__doc__
, /* tp_doc */
38768 0, /* tp_traverse */
38770 0, /* tp_richcompare */
38771 0, /* tp_weaklistoffset */
38772 #if PY_VERSION_HEX >= 0x02020000
38773 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38775 #if PY_VERSION_HEX >= 0x02030000
38778 #ifdef COUNT_ALLOCS
38779 0,0,0,0 /* tp_alloc -> tp_next */
38782 varlink_type
= tmp
;
38783 varlink_type
.ob_type
= &PyType_Type
;
38786 return &varlink_type
;
38789 /* Create a variable linking object for use later */
38790 SWIGINTERN PyObject
*
38791 SWIG_Python_newvarlink(void) {
38792 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38796 return ((PyObject
*) result
);
38800 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38801 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38802 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38804 size_t size
= strlen(name
)+1;
38805 gv
->name
= (char *)malloc(size
);
38807 strncpy(gv
->name
,name
,size
);
38808 gv
->get_attr
= get_attr
;
38809 gv
->set_attr
= set_attr
;
38810 gv
->next
= v
->vars
;
38816 SWIGINTERN PyObject
*
38818 static PyObject
*_SWIG_globals
= 0;
38819 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38820 return _SWIG_globals
;
38823 /* -----------------------------------------------------------------------------
38824 * constants/methods manipulation
38825 * ----------------------------------------------------------------------------- */
38827 /* Install Constants */
38829 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38832 for (i
= 0; constants
[i
].type
; ++i
) {
38833 switch(constants
[i
].type
) {
38834 case SWIG_PY_POINTER
:
38835 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38837 case SWIG_PY_BINARY
:
38838 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38845 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38851 /* -----------------------------------------------------------------------------*/
38852 /* Fix SwigMethods to carry the callback ptrs when needed */
38853 /* -----------------------------------------------------------------------------*/
38856 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38857 swig_const_info
*const_table
,
38858 swig_type_info
**types
,
38859 swig_type_info
**types_initial
) {
38861 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38862 const char *c
= methods
[i
].ml_doc
;
38863 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38865 swig_const_info
*ci
= 0;
38866 const char *name
= c
+ 10;
38867 for (j
= 0; const_table
[j
].type
; ++j
) {
38868 if (strncmp(const_table
[j
].name
, name
,
38869 strlen(const_table
[j
].name
)) == 0) {
38870 ci
= &(const_table
[j
]);
38875 size_t shift
= (ci
->ptype
) - types
;
38876 swig_type_info
*ty
= types_initial
[shift
];
38877 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38878 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38879 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38882 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38884 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38886 strncpy(buff
, "swig_ptr: ", 10);
38888 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38889 methods
[i
].ml_doc
= ndoc
;
38901 /* -----------------------------------------------------------------------------*
38902 * Partial Init method
38903 * -----------------------------------------------------------------------------*/
38908 SWIGEXPORT
void SWIG_init(void) {
38911 /* Fix SwigMethods to carry the callback ptrs when needed */
38912 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38914 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38915 d
= PyModule_GetDict(m
);
38917 SWIG_InitializeModule(0);
38918 SWIG_InstallConstants(d
,swig_const_table
);
38921 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38922 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38923 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38924 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38925 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38926 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38927 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38928 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38929 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38930 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38931 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38932 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38933 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38934 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38967 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38968 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38969 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38970 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38971 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38972 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38973 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38974 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38975 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38976 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38977 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38978 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38979 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38980 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38981 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38982 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38983 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38984 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38985 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38986 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38987 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38988 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38989 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38990 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38991 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38992 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38993 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38994 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38995 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38996 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38997 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38998 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38999 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
39000 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
39001 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
39002 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
39003 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
39004 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
39005 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
39006 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
39007 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
39008 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
39009 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
39010 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
39011 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
39012 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
39013 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
39014 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
39015 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
39016 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
39017 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
39018 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
39019 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
39020 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
39021 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
39022 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
39023 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
39024 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
39025 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
39026 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
39027 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
39028 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
39029 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
39030 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
39031 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
39032 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
39033 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
39034 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
39035 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
39036 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
39037 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
39038 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
39039 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
39040 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
39041 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
39042 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
39043 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
39044 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
39045 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
39046 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
39047 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
39048 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
39049 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
39050 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
39051 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
39052 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
39053 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
39054 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
39055 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
39056 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
39057 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
39059 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
39061 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
39062 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
39063 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
39064 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
39065 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
39066 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
39067 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
39068 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
39069 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
39070 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
39071 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
39072 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
39073 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
39074 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
39075 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
39076 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
39077 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
39078 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
39079 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
39080 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
39081 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
39082 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
39083 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
39084 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
39085 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
39086 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
39087 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
39088 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
39089 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
39090 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
39091 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
39092 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
39093 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
39094 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
39095 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
39096 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
39097 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
39098 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
39099 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
39100 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
39101 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
39102 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
39103 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
39104 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
39105 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
39106 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
39107 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
39108 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
39109 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
39110 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
39111 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
39112 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
39113 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
39115 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
39117 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
39118 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
39119 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
39120 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
39121 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
39122 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
39123 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39124 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39125 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39126 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39127 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39128 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39129 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39130 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39131 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39132 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39133 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39134 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39135 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39136 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39192 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39194 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39196 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39197 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39198 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39199 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39200 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39201 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39202 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39203 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39204 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39205 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39206 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39207 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39210 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39211 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39212 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39213 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39214 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39215 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39216 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39217 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39218 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39219 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39220 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39221 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39222 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39223 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39224 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39225 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39226 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39227 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39228 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39229 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39230 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39231 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39232 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39233 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39234 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39235 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39236 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39237 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39238 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39239 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39240 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39241 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39242 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39243 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39244 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39245 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39246 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39247 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39248 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39249 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39250 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39251 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39252 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39253 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39254 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39255 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39256 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39257 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39258 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39259 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39260 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39261 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39277 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39278 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39279 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39285 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39286 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39287 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39288 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39293 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39321 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39322 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39324 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39325 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39326 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39327 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39328 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39329 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39330 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39331 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39332 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39333 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39334 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39335 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39336 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39337 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39338 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39339 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39340 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39341 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39342 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39343 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39344 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39345 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39346 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39347 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39348 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39349 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39350 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39351 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39352 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39353 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39354 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39355 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39356 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39357 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39358 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39359 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39360 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39361 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39362 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39363 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39364 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39365 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39366 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39367 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39368 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39369 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39370 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39371 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39372 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39373 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39374 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39375 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39376 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39377 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39378 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39379 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39380 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39381 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39382 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39383 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39384 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39385 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39386 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39387 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39388 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39389 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39390 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39391 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39392 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39393 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39394 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39395 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39397 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39398 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39399 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39400 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39402 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39403 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39404 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39405 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39406 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39407 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39408 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39409 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39410 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39411 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39412 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39413 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39414 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39415 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39416 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39417 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));