1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_form_ops_t swig_types[1]
2468 #define SWIGTYPE_p_int swig_types[2]
2469 #define SWIGTYPE_p_unsigned_char swig_types[3]
2470 #define SWIGTYPE_p_unsigned_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_long swig_types[5]
2472 #define SWIGTYPE_p_void swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxBusyCursor swig_types[15]
2482 #define SWIGTYPE_p_wxBusyInfo swig_types[16]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[17]
2484 #define SWIGTYPE_p_wxCaret swig_types[18]
2485 #define SWIGTYPE_p_wxChar swig_types[19]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2487 #define SWIGTYPE_p_wxClipboard swig_types[21]
2488 #define SWIGTYPE_p_wxClipboardLocker swig_types[22]
2489 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[23]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[24]
2491 #define SWIGTYPE_p_wxColour swig_types[25]
2492 #define SWIGTYPE_p_wxCommandEvent swig_types[26]
2493 #define SWIGTYPE_p_wxConfig swig_types[27]
2494 #define SWIGTYPE_p_wxConfigBase swig_types[28]
2495 #define SWIGTYPE_p_wxConfigPathChanger swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxCustomDataObject swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDataFormat swig_types[36]
2503 #define SWIGTYPE_p_wxDataObject swig_types[37]
2504 #define SWIGTYPE_p_wxDataObjectComposite swig_types[38]
2505 #define SWIGTYPE_p_wxDataObjectSimple swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDateSpan swig_types[41]
2508 #define SWIGTYPE_p_wxDateTime swig_types[42]
2509 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[43]
2510 #define SWIGTYPE_p_wxDisplay swig_types[44]
2511 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[45]
2512 #define SWIGTYPE_p_wxDropFilesEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDuplexMode swig_types[47]
2514 #define SWIGTYPE_p_wxEraseEvent swig_types[48]
2515 #define SWIGTYPE_p_wxEvent swig_types[49]
2516 #define SWIGTYPE_p_wxEvtHandler swig_types[50]
2517 #define SWIGTYPE_p_wxFSFile swig_types[51]
2518 #define SWIGTYPE_p_wxFileConfig swig_types[52]
2519 #define SWIGTYPE_p_wxFileDataObject swig_types[53]
2520 #define SWIGTYPE_p_wxFileHistory swig_types[54]
2521 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2522 #define SWIGTYPE_p_wxFileType swig_types[56]
2523 #define SWIGTYPE_p_wxFileTypeInfo swig_types[57]
2524 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2525 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2526 #define SWIGTYPE_p_wxFont swig_types[60]
2527 #define SWIGTYPE_p_wxFrame swig_types[61]
2528 #define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2529 #define SWIGTYPE_p_wxGIFHandler swig_types[63]
2530 #define SWIGTYPE_p_wxGridBagSizer swig_types[64]
2531 #define SWIGTYPE_p_wxGridSizer swig_types[65]
2532 #define SWIGTYPE_p_wxICOHandler swig_types[66]
2533 #define SWIGTYPE_p_wxIcon swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxJoystick swig_types[75]
2542 #define SWIGTYPE_p_wxJoystickEvent swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxKillError swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLog swig_types[80]
2547 #define SWIGTYPE_p_wxLogBuffer swig_types[81]
2548 #define SWIGTYPE_p_wxLogChain swig_types[82]
2549 #define SWIGTYPE_p_wxLogGui swig_types[83]
2550 #define SWIGTYPE_p_wxLogNull swig_types[84]
2551 #define SWIGTYPE_p_wxLogStderr swig_types[85]
2552 #define SWIGTYPE_p_wxLogTextCtrl swig_types[86]
2553 #define SWIGTYPE_p_wxLogWindow swig_types[87]
2554 #define SWIGTYPE_p_wxMaximizeEvent swig_types[88]
2555 #define SWIGTYPE_p_wxMenu swig_types[89]
2556 #define SWIGTYPE_p_wxMenuBar swig_types[90]
2557 #define SWIGTYPE_p_wxMenuEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMenuItem swig_types[92]
2559 #define SWIGTYPE_p_wxMetafileDataObject swig_types[93]
2560 #define SWIGTYPE_p_wxMimeTypesManager swig_types[94]
2561 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMouseEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMouseState swig_types[97]
2564 #define SWIGTYPE_p_wxMoveEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[99]
2566 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNcPaintEvent swig_types[101]
2568 #define SWIGTYPE_p_wxNotifyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxObject swig_types[103]
2570 #define SWIGTYPE_p_wxOutputStream swig_types[104]
2571 #define SWIGTYPE_p_wxPCXHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNGHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPNMHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaperSize swig_types[110]
2577 #define SWIGTYPE_p_wxPoint swig_types[111]
2578 #define SWIGTYPE_p_wxPowerEvent swig_types[112]
2579 #define SWIGTYPE_p_wxProcessEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyApp swig_types[114]
2581 #define SWIGTYPE_p_wxPyArtProvider swig_types[115]
2582 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
2583 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2584 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
2585 #define SWIGTYPE_p_wxPyDropSource swig_types[119]
2586 #define SWIGTYPE_p_wxPyDropTarget swig_types[120]
2587 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyLog swig_types[124]
2591 #define SWIGTYPE_p_wxPyProcess swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
2594 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
2595 #define SWIGTYPE_p_wxPyTimer swig_types[129]
2596 #define SWIGTYPE_p_wxPyTipProvider swig_types[130]
2597 #define SWIGTYPE_p_wxPyValidator swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSound swig_types[143]
2610 #define SWIGTYPE_p_wxStandardPaths swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStopWatch swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxSystemOptions swig_types[150]
2617 #define SWIGTYPE_p_wxSystemSettings swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTextCtrl swig_types[153]
2620 #define SWIGTYPE_p_wxTextDataObject swig_types[154]
2621 #define SWIGTYPE_p_wxTimeSpan swig_types[155]
2622 #define SWIGTYPE_p_wxTimer swig_types[156]
2623 #define SWIGTYPE_p_wxTimerEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTimerRunner swig_types[158]
2625 #define SWIGTYPE_p_wxTipProvider swig_types[159]
2626 #define SWIGTYPE_p_wxToolTip swig_types[160]
2627 #define SWIGTYPE_p_wxURLDataObject swig_types[161]
2628 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629 #define SWIGTYPE_p_wxValidator swig_types[163]
2630 #define SWIGTYPE_p_wxVideoMode swig_types[164]
2631 #define SWIGTYPE_p_wxWindow swig_types[165]
2632 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDisabler swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _misc_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_misc_
2663 #define SWIG_name "_misc_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737 #include "wx/wxPython/pyistream.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2743 #define SWIG_From_long PyInt_FromLong
2746 SWIGINTERNINLINE PyObject
*
2747 SWIG_From_int (int value
)
2749 return SWIG_From_long (value
);
2755 # define LLONG_MIN LONG_LONG_MIN
2758 # define LLONG_MAX LONG_LONG_MAX
2761 # define ULLONG_MAX ULONG_LONG_MAX
2766 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2768 if (PyNumber_Check(obj
)) {
2769 if (val
) *val
= PyInt_AsLong(obj
);
2772 return SWIG_TypeError
;
2777 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2780 int res
= SWIG_AsVal_long (obj
, &v
);
2781 if (SWIG_IsOK(res
)) {
2782 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2783 return SWIG_OverflowError
;
2785 if (val
) *val
= static_cast< int >(v
);
2791 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2793 #include <wx/stockitem.h>
2795 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2796 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2797 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2800 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2802 if (obj
== Py_True
) {
2803 if (val
) *val
= true;
2805 } else if (obj
== Py_False
) {
2806 if (val
) *val
= false;
2810 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2811 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2817 wxMemorySize
wxGetFreeMemory()
2818 { wxPyRaiseNotImplemented(); return 0; }
2822 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2825 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2826 return SWIG_TypeError
;
2829 *val
= (unsigned long)v
;
2834 SWIGINTERNINLINE PyObject
*
2835 SWIG_From_unsigned_SS_long (unsigned long value
)
2837 return (value
> LONG_MAX
) ?
2838 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2842 void* wxGetXDisplay()
2845 return wxGetDisplay();
2852 wxWindow
* FindWindowAtPointer() {
2854 return wxFindWindowAtPointer(unused
);
2858 void wxWakeUpMainThread() {}
2861 bool wxThread_IsMain() {
2862 #ifdef WXP_WITH_THREAD
2863 return wxThread::IsMain();
2869 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2873 #include <wx/snglinst.h>
2877 #include <wx/msw/private.h>
2878 #include <wx/dynload.h>
2883 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2894 // This one only partially works. Appears to be an undocumented
2895 // "standard" convention that not all widgets adhear to. For
2896 // example, for some widgets backgrounds or non-client areas may
2898 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2903 // This one works much better, nearly all widgets and their
2904 // children are captured correctly[**]. Prior to the big
2905 // background erase changes that Vadim did in 2004-2005 this
2906 // method failed badly on XP with Themes activated, most native
2907 // widgets draw only partially, if at all. Without themes it
2908 // worked just like on Win2k. After those changes this method
2911 // ** For example the radio buttons in a wxRadioBox are not its
2912 // children by default, but you can capture it via the panel
2913 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2914 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2915 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2916 PRF_ERASEBKGND
| PRF_OWNED
);
2922 // This one is only defined in the latest SDK and is only
2923 // available on XP. MSDN says it is similar to sending WM_PRINT
2924 // so I expect that it will work similar to the above. Since it
2925 // is avaialble only on XP, it can't be compiled like this and
2926 // will have to be loaded dynamically.
2927 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2932 // Use PrintWindow if available, or fallback to WM_PRINT
2933 // otherwise. Unfortunately using PrintWindow is even worse than
2934 // WM_PRINT. For most native widgets nothing is drawn to the dc
2935 // at all, with or without Themes.
2936 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2937 static bool s_triedToLoad
= false;
2938 static PrintWindow_t pfnPrintWindow
= NULL
;
2939 if ( !s_triedToLoad
)
2942 s_triedToLoad
= true;
2943 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2944 if ( dllUser32
.IsLoaded() )
2946 wxLogNull nolog
; // Don't report errors here
2947 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2952 //printf("Using PrintWindow\n");
2953 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2957 //printf("Using WM_PRINT\n");
2958 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2959 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2960 PRF_ERASEBKGND
| PRF_OWNED
);
2971 #include <wx/tipdlg.h>
2974 SWIGINTERNINLINE PyObject
*
2975 SWIG_From_size_t (size_t value
)
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2981 class wxPyTipProvider
: public wxTipProvider
{
2983 wxPyTipProvider(size_t currentTip
)
2984 : wxTipProvider(currentTip
) {}
2986 DEC_PYCALLBACK_STRING__pure(GetTip
);
2987 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2991 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2992 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2995 SWIGINTERNINLINE
int
2996 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2999 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3000 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3005 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3007 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3009 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3010 : wxTimer(owner
, id
)
3017 SWIGINTERN swig_type_info
*
3018 SWIG_pchar_descriptor()
3020 static int init
= 0;
3021 static swig_type_info
* info
= 0;
3023 info
= SWIG_TypeQuery("_p_char");
3030 SWIGINTERNINLINE PyObject
*
3031 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3034 if (size
> INT_MAX
) {
3035 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3036 return pchar_descriptor
?
3037 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3039 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3042 return SWIG_Py_Void();
3047 SWIGINTERNINLINE PyObject
*
3048 SWIG_FromCharPtr(const char *cptr
)
3050 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3055 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3058 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3059 if (SWIG_IsOK(res
)) {
3060 if ((v
> UINT_MAX
)) {
3061 return SWIG_OverflowError
;
3063 if (val
) *val
= static_cast< unsigned int >(v
);
3069 SWIGINTERN wxString
wxLog_TimeStamp(){
3071 wxLog::TimeStamp(&msg
);
3074 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3075 // Make some wrappers that double any % signs so they are 'escaped'
3076 void wxPyLogFatalError(const wxString
& msg
)
3079 m
.Replace(wxT("%"), wxT("%%"));
3083 void wxPyLogError(const wxString
& msg
)
3086 m
.Replace(wxT("%"), wxT("%%"));
3090 void wxPyLogWarning(const wxString
& msg
)
3093 m
.Replace(wxT("%"), wxT("%%"));
3097 void wxPyLogMessage(const wxString
& msg
)
3100 m
.Replace(wxT("%"), wxT("%%"));
3104 void wxPyLogInfo(const wxString
& msg
)
3107 m
.Replace(wxT("%"), wxT("%%"));
3111 void wxPyLogDebug(const wxString
& msg
)
3114 m
.Replace(wxT("%"), wxT("%%"));
3118 void wxPyLogVerbose(const wxString
& msg
)
3121 m
.Replace(wxT("%"), wxT("%%"));
3125 void wxPyLogStatus(const wxString
& msg
)
3128 m
.Replace(wxT("%"), wxT("%%"));
3132 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3135 m
.Replace(wxT("%"), wxT("%%"));
3136 wxLogStatus(pFrame
, m
);
3139 void wxPyLogSysError(const wxString
& msg
)
3142 m
.Replace(wxT("%"), wxT("%%"));
3146 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3149 m
.Replace(wxT("%"), wxT("%%"));
3150 wxLogGeneric(level
, m
);
3153 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3156 m
.Replace(wxT("%"), wxT("%%"));
3157 wxLogTrace(mask
, m
);
3160 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3163 m
.Replace(wxT("%"), wxT("%%"));
3164 wxLogTrace(mask
, m
);
3169 // A wxLog class that can be derived from in wxPython
3170 class wxPyLog
: public wxLog
{
3172 wxPyLog() : wxLog() {}
3174 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3176 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3177 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3178 PyObject
* s
= wx2PyString(szString
);
3179 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3182 wxPyEndBlockThreads(blocked
);
3184 wxLog::DoLog(level
, szString
, t
);
3187 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3189 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3190 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3191 PyObject
* s
= wx2PyString(szString
);
3192 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3195 wxPyEndBlockThreads(blocked
);
3197 wxLog::DoLogString(szString
, t
);
3200 DEC_PYCALLBACK_VOID_(Flush
);
3203 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3208 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3211 #include <wx/joystick.h>
3214 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3215 // A C++ stub class for wxJoystick for platforms that don't have it.
3216 class wxJoystick
: public wxObject
{
3218 wxJoystick(int joystick
= wxJOYSTICK1
) {
3219 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3220 PyErr_SetString(PyExc_NotImplementedError
,
3221 "wxJoystick is not available on this platform.");
3222 wxPyEndBlockThreads(blocked
);
3224 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3225 int GetZPosition() { return -1; }
3226 int GetButtonState() { return -1; }
3227 int GetPOVPosition() { return -1; }
3228 int GetPOVCTSPosition() { return -1; }
3229 int GetRudderPosition() { return -1; }
3230 int GetUPosition() { return -1; }
3231 int GetVPosition() { return -1; }
3232 int GetMovementThreshold() { return -1; }
3233 void SetMovementThreshold(int threshold
) {}
3235 bool IsOk(void) { return false; }
3236 int GetNumberJoysticks() { return -1; }
3237 int GetManufacturerId() { return -1; }
3238 int GetProductId() { return -1; }
3239 wxString
GetProductName() { return wxEmptyString
; }
3240 int GetXMin() { return -1; }
3241 int GetYMin() { return -1; }
3242 int GetZMin() { return -1; }
3243 int GetXMax() { return -1; }
3244 int GetYMax() { return -1; }
3245 int GetZMax() { return -1; }
3246 int GetNumberButtons() { return -1; }
3247 int GetNumberAxes() { return -1; }
3248 int GetMaxButtons() { return -1; }
3249 int GetMaxAxes() { return -1; }
3250 int GetPollingMin() { return -1; }
3251 int GetPollingMax() { return -1; }
3252 int GetRudderMin() { return -1; }
3253 int GetRudderMax() { return -1; }
3254 int GetUMin() { return -1; }
3255 int GetUMax() { return -1; }
3256 int GetVMin() { return -1; }
3257 int GetVMax() { return -1; }
3259 bool HasRudder() { return false; }
3260 bool HasZ() { return false; }
3261 bool HasU() { return false; }
3262 bool HasV() { return false; }
3263 bool HasPOV() { return false; }
3264 bool HasPOV4Dir() { return false; }
3265 bool HasPOVCTS() { return false; }
3267 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3268 bool ReleaseCapture() { return false; }
3273 #include <wx/sound.h>
3277 // A C++ stub class for wxWave for platforms that don't have it.
3278 class wxSound
: public wxObject
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 PyErr_SetString(PyExc_NotImplementedError
,
3284 "wxSound is not available on this platform.");
3285 wxPyEndBlockThreads(blocked
);
3287 wxSound(const wxString
&/*, bool*/) {
3288 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3289 PyErr_SetString(PyExc_NotImplementedError
,
3290 "wxSound is not available on this platform.");
3291 wxPyEndBlockThreads(blocked
);
3293 wxSound(int, const wxByte
*) {
3294 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3295 PyErr_SetString(PyExc_NotImplementedError
,
3296 "wxSound is not available on this platform.");
3297 wxPyEndBlockThreads(blocked
);
3302 bool Create(const wxString
&/*, bool*/) { return false; }
3303 bool Create(int, const wxByte
*) { return false; };
3304 bool IsOk() { return false; };
3305 bool Play(unsigned) const { return false; }
3306 static bool Play(const wxString
&, unsigned) { return false; }
3307 static void Stop() {}
3312 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3313 if (fileName
.Length() == 0)
3316 return new wxSound(fileName
);
3318 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3319 unsigned char* buffer
; int size
;
3320 wxSound
*sound
= NULL
;
3322 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3323 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3325 sound
= new wxSound(size
, buffer
);
3327 wxPyEndBlockThreads(blocked
);
3330 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3332 unsigned char* buffer
;
3336 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3337 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3339 rv
= self
->Create(size
, buffer
);
3341 wxPyEndBlockThreads(blocked
);
3344 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3345 PyErr_SetString(PyExc_NotImplementedError
,
3346 "Create from data is not available on this platform.");
3347 wxPyEndBlockThreads(blocked
);
3352 #include <wx/mimetype.h>
3354 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3356 if (self
->GetMimeType(&str
))
3357 return wx2PyString(str
);
3361 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3363 if (self
->GetMimeTypes(arr
))
3364 return wxArrayString2PyList_helper(arr
);
3368 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3370 if (self
->GetExtensions(arr
))
3371 return wxArrayString2PyList_helper(arr
);
3375 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3377 if (self
->GetIcon(&loc
))
3378 return new wxIcon(loc
);
3382 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3384 if (self
->GetIcon(&loc
)) {
3385 wxString iconFile
= loc
.GetFileName();
3390 // Make a tuple and put the values in it
3391 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3392 PyObject
* tuple
= PyTuple_New(3);
3393 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3394 wxT("wxIcon"), true));
3395 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3396 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3397 wxPyEndBlockThreads(blocked
);
3403 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3405 if (self
->GetDescription(&str
))
3406 return wx2PyString(str
);
3410 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3412 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3413 return wx2PyString(str
);
3417 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3419 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3420 return wx2PyString(str
);
3424 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3425 wxArrayString verbs
;
3426 wxArrayString commands
;
3427 if (self
->GetAllCommands(&verbs
, &commands
,
3428 wxFileType::MessageParameters(filename
, mimetype
))) {
3429 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3430 PyObject
* tuple
= PyTuple_New(2);
3431 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3432 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3433 wxPyEndBlockThreads(blocked
);
3439 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3440 return wxFileType::ExpandCommand(command
,
3441 wxFileType::MessageParameters(filename
, mimetype
));
3443 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3445 self
->EnumAllFileTypes(arr
);
3446 return wxArrayString2PyList_helper(arr
);
3449 #include <wx/artprov.h>
3451 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3452 static const wxString
wxPyART_MENU(wxART_MENU
);
3453 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3454 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3455 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3456 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3457 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3458 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3459 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3460 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3461 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3462 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3463 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3464 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3465 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3466 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3467 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3468 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3469 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3470 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3471 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3472 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3473 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3474 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3475 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3476 static const wxString
wxPyART_HELP(wxART_HELP
);
3477 static const wxString
wxPyART_TIP(wxART_TIP
);
3478 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3479 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3480 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3481 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3482 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3483 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3484 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3485 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3486 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3487 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3488 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3489 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3490 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3491 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3492 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3493 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3494 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3495 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3496 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3497 static const wxString
wxPyART_COPY(wxART_COPY
);
3498 static const wxString
wxPyART_CUT(wxART_CUT
);
3499 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3500 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3501 static const wxString
wxPyART_NEW(wxART_NEW
);
3502 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3503 static const wxString
wxPyART_REDO(wxART_REDO
);
3504 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3505 static const wxString
wxPyART_FIND(wxART_FIND
);
3506 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3507 // Python aware wxArtProvider
3508 class wxPyArtProvider
: public wxArtProvider
{
3511 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3512 const wxArtClient
& client
,
3513 const wxSize
& size
) {
3514 wxBitmap rval
= wxNullBitmap
;
3515 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3516 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3517 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3521 s1
= wx2PyString(id
);
3522 s2
= wx2PyString(client
);
3523 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3528 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3533 wxPyEndBlockThreads(blocked
);
3540 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3544 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3546 PyObject
* ret
= PyTuple_New(3);
3548 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3549 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3550 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3552 wxPyEndBlockThreads(blocked
);
3556 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3561 cont
= self
->GetFirstGroup(value
, index
);
3562 return __EnumerationHelper(cont
, value
, index
);
3564 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3568 cont
= self
->GetNextGroup(value
, index
);
3569 return __EnumerationHelper(cont
, value
, index
);
3571 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3576 cont
= self
->GetFirstEntry(value
, index
);
3577 return __EnumerationHelper(cont
, value
, index
);
3579 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3583 cont
= self
->GetNextEntry(value
, index
);
3584 return __EnumerationHelper(cont
, value
, index
);
3586 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3588 self
->Read(key
, &rv
, defaultVal
);
3593 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3595 if (PyNumber_Check(obj
)) {
3596 if (val
) *val
= PyFloat_AsDouble(obj
);
3599 return SWIG_TypeError
;
3602 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3604 self
->Read(key
, &rv
, defaultVal
);
3608 #define SWIG_From_double PyFloat_FromDouble
3610 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3612 self
->Read(key
, &rv
, defaultVal
);
3616 #include <wx/datetime.h>
3618 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3619 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3621 #define LOCAL_TZ wxDateTime::Local
3623 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3626 wxDateTime::GetAmPmStrings(&am
, &pm
);
3627 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3628 PyObject
* tup
= PyTuple_New(2);
3629 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3630 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3631 wxPyEndBlockThreads(blocked
);
3635 SWIGINTERNINLINE PyObject
*
3636 SWIG_From_unsigned_SS_int (unsigned int value
)
3638 return SWIG_From_unsigned_SS_long (value
);
3641 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3642 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3643 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3644 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3645 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3646 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3647 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3648 return (*self
< *other
);
3650 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3651 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3652 return (*self
<= *other
);
3654 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3655 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3656 return (*self
> *other
);
3658 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3659 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3660 return (*self
>= *other
);
3662 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3663 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3664 return (*self
== *other
);
3666 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3667 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3668 return (*self
!= *other
);
3670 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3672 const wxChar
* _date
= date
;
3673 rv
= self
->ParseRfc822Date(_date
);
3674 if (rv
== NULL
) return -1;
3677 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3679 const wxChar
* _date
= date
;
3680 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3681 if (rv
== NULL
) return -1;
3684 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3686 const wxChar
* _datetime
= datetime
;
3687 rv
= self
->ParseDateTime(_datetime
);
3688 if (rv
== NULL
) return -1;
3689 return rv
- _datetime
;
3691 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3693 const wxChar
* _date
= date
;
3694 rv
= self
->ParseDate(_date
);
3695 if (rv
== NULL
) return -1;
3698 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3700 const wxChar
* _time
= time
;
3701 rv
= self
->ParseTime(_time
);
3702 if (rv
== NULL
) return -1;
3705 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3706 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3707 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3708 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3709 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3710 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3711 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3712 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3713 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3714 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3715 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3716 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3717 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3718 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3719 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3720 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3722 #include <wx/dataobj.h>
3724 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3725 size_t count
= self
->GetFormatCount(dir
);
3726 wxDataFormat
* formats
= new wxDataFormat
[count
];
3727 self
->GetAllFormats(formats
, dir
);
3729 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3730 PyObject
* list
= PyList_New(count
);
3731 for (size_t i
=0; i
<count
; i
++) {
3732 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3733 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3734 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3736 wxPyEndBlockThreads(blocked
);
3740 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3741 PyObject
* rval
= NULL
;
3742 size_t size
= self
->GetDataSize(format
);
3743 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3745 char* buf
= new char[size
];
3746 if (self
->GetDataHere(format
, buf
))
3747 rval
= PyString_FromStringAndSize(buf
, size
);
3754 wxPyEndBlockThreads(blocked
);
3757 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3759 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3760 if (PyString_Check(data
)) {
3761 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3764 // raise a TypeError if not a string
3765 PyErr_SetString(PyExc_TypeError
, "String expected.");
3768 wxPyEndBlockThreads(blocked
);
3771 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3772 PyObject
* rval
= NULL
;
3773 size_t size
= self
->GetDataSize();
3774 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3776 char* buf
= new char[size
];
3777 if (self
->GetDataHere(buf
))
3778 rval
= PyString_FromStringAndSize(buf
, size
);
3785 wxPyEndBlockThreads(blocked
);
3788 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3790 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3791 if (PyString_Check(data
)) {
3792 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3795 // raise a TypeError if not a string
3796 PyErr_SetString(PyExc_TypeError
, "String expected.");
3799 wxPyEndBlockThreads(blocked
);
3802 // Create a new class for wxPython to use
3803 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3805 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3806 : wxDataObjectSimple(format
) {}
3808 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3809 bool GetDataHere(void *buf
) const;
3810 bool SetData(size_t len
, const void *buf
);
3814 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3816 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3817 // We need to get the data for this object and write it to buf. I think
3818 // the best way to do this for wxPython is to have the Python method
3819 // return either a string or None and then act appropriately with the
3823 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3824 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3826 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3828 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3830 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3834 wxPyEndBlockThreads(blocked
);
3838 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) {
3839 // For this one we simply need to make a string from buf and len
3840 // and send it to the Python method.
3842 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3843 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3844 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3845 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3848 wxPyEndBlockThreads(blocked
);
3852 // Create a new class for wxPython to use
3853 class wxPyTextDataObject
: public wxTextDataObject
{
3855 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3856 : wxTextDataObject(text
) {}
3858 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3859 DEC_PYCALLBACK_STRING__const(GetText
);
3860 DEC_PYCALLBACK__STRING(SetText
);
3864 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3865 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3866 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3869 // Create a new class for wxPython to use
3870 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3872 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3873 : wxBitmapDataObject(bitmap
) {}
3875 wxBitmap
GetBitmap() const;
3876 void SetBitmap(const wxBitmap
& bitmap
);
3880 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3881 wxBitmap
* rval
= &wxNullBitmap
;
3882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3883 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3886 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3888 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3893 wxPyEndBlockThreads(blocked
);
3897 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3898 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3899 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3900 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3901 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3904 wxPyEndBlockThreads(blocked
);
3907 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3908 return new wxCustomDataObject(wxDataFormat(formatName
));
3910 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3912 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3913 if (PyString_Check(data
)) {
3914 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3917 // raise a TypeError if not a string
3918 PyErr_SetString(PyExc_TypeError
, "String expected.");
3921 wxPyEndBlockThreads(blocked
);
3924 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3926 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3927 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3928 wxPyEndBlockThreads(blocked
);
3932 class wxMetafileDataObject
: public wxDataObjectSimple
3935 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
3939 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3942 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3943 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3944 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3945 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3946 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3949 class wxPyTextDropTarget
: public wxTextDropTarget
{
3951 wxPyTextDropTarget() {}
3953 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3955 DEC_PYCALLBACK__(OnLeave
);
3956 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3957 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3958 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3959 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3964 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3965 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3966 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3967 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3968 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3969 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3973 class wxPyFileDropTarget
: public wxFileDropTarget
{
3975 wxPyFileDropTarget() {}
3977 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3979 DEC_PYCALLBACK__(OnLeave
);
3980 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3981 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3982 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3983 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3988 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3989 const wxArrayString
& filenames
) {
3991 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3992 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3993 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3994 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3997 wxPyEndBlockThreads(blocked
);
4003 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
4004 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
4005 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
4006 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
4007 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4012 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4014 #include <wx/display.h>
4016 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4017 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4020 const wxVideoMode wxDefaultVideoMode
;
4023 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4025 PyObject
* pyList
= NULL
;
4026 wxArrayVideoModes arr
= self
->GetModes(mode
);
4027 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4028 pyList
= PyList_New(0);
4029 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4031 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4032 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4033 PyList_Append(pyList
, pyObj
);
4036 wxPyEndBlockThreads(blocked
);
4039 wxPyRaiseNotImplemented();
4043 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4045 return self
->GetCurrentMode();
4047 wxPyRaiseNotImplemented();
4048 return wxDefaultVideoMode
;
4051 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4053 return self
->ChangeMode(mode
);
4055 wxPyRaiseNotImplemented();
4059 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4063 wxPyRaiseNotImplemented();
4067 #include <wx/stdpaths.h>
4069 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4070 return (wxStandardPaths
*) &wxStandardPaths::Get();
4073 #ifndef wxHAS_POWER_EVENTS
4074 // Dummy class and other definitions for platforms that don't have them
4076 // See wxPython_int.h for wxPowerEvent
4079 wxEVT_POWER_SUSPENDING
,
4080 wxEVT_POWER_SUSPENDED
,
4081 wxEVT_POWER_SUSPEND_CANCEL
,
4085 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4086 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4093 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
= 0;
4095 wxSystemColour arg1
;
4099 PyObject
* obj0
= 0 ;
4100 char * kwnames
[] = {
4101 (char *) "index", NULL
4104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4105 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4106 if (!SWIG_IsOK(ecode1
)) {
4107 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4109 arg1
= static_cast< wxSystemColour
>(val1
);
4111 if (!wxPyCheckForApp()) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 result
= wxSystemSettings::GetColour(arg1
);
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4124 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
= 0;
4130 PyObject
* obj0
= 0 ;
4131 char * kwnames
[] = {
4132 (char *) "index", NULL
4135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4137 if (!SWIG_IsOK(ecode1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4140 arg1
= static_cast< wxSystemFont
>(val1
);
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= wxSystemSettings::GetFont(arg1
);
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxSystemMetric arg1
;
4158 wxWindow
*arg2
= (wxWindow
*) NULL
;
4164 PyObject
* obj0
= 0 ;
4165 PyObject
* obj1
= 0 ;
4166 char * kwnames
[] = {
4167 (char *) "index",(char *) "win", NULL
4170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4172 if (!SWIG_IsOK(ecode1
)) {
4173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4175 arg1
= static_cast< wxSystemMetric
>(val1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4184 if (!wxPyCheckForApp()) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= SWIG_From_int(static_cast< int >(result
));
4197 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
= 0;
4199 wxSystemFeature arg1
;
4203 PyObject
* obj0
= 0 ;
4204 char * kwnames
[] = {
4205 (char *) "index", NULL
4208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4209 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4210 if (!SWIG_IsOK(ecode1
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4213 arg1
= static_cast< wxSystemFeature
>(val1
);
4215 if (!wxPyCheckForApp()) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4230 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4231 PyObject
*resultobj
= 0;
4232 wxSystemScreenType result
;
4234 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4236 if (!wxPyCheckForApp()) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4239 wxPyEndAllowThreads(__tstate
);
4240 if (PyErr_Occurred()) SWIG_fail
;
4242 resultobj
= SWIG_From_int(static_cast< int >(result
));
4249 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxSystemScreenType arg1
;
4254 PyObject
* obj0
= 0 ;
4255 char * kwnames
[] = {
4256 (char *) "screen", NULL
4259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4260 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4261 if (!SWIG_IsOK(ecode1
)) {
4262 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4264 arg1
= static_cast< wxSystemScreenType
>(val1
);
4266 if (!wxPyCheckForApp()) SWIG_fail
;
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxSystemSettings::SetScreenType(arg1
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_Py_Void();
4279 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4282 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4283 return SWIG_Py_Void();
4286 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4287 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4292 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4293 PyObject
*pyobj
= 0;
4297 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4299 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4306 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4307 PyObject
*resultobj
= 0;
4308 wxSystemOptions
*result
= 0 ;
4310 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 result
= (wxSystemOptions
*)new wxSystemOptions();
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4324 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= 0;
4326 wxString
*arg1
= 0 ;
4327 wxString
*arg2
= 0 ;
4328 bool temp1
= false ;
4329 bool temp2
= false ;
4330 PyObject
* obj0
= 0 ;
4331 PyObject
* obj1
= 0 ;
4332 char * kwnames
[] = {
4333 (char *) "name",(char *) "value", NULL
4336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4338 arg1
= wxString_in_helper(obj0
);
4339 if (arg1
== NULL
) SWIG_fail
;
4343 arg2
= wxString_in_helper(obj1
);
4344 if (arg2
== NULL
) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4376 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
= 0;
4378 wxString
*arg1
= 0 ;
4380 bool temp1
= false ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4385 char * kwnames
[] = {
4386 (char *) "name",(char *) "value", NULL
4389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4391 arg1
= wxString_in_helper(obj0
);
4392 if (arg1
== NULL
) SWIG_fail
;
4395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4396 if (!SWIG_IsOK(ecode2
)) {
4397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4399 arg2
= static_cast< int >(val2
);
4401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4402 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4406 resultobj
= SWIG_Py_Void();
4421 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4422 PyObject
*resultobj
= 0;
4423 wxString
*arg1
= 0 ;
4425 bool temp1
= false ;
4426 PyObject
* obj0
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "name", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4433 arg1
= wxString_in_helper(obj0
);
4434 if (arg1
== NULL
) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4464 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
= 0;
4466 wxString
*arg1
= 0 ;
4468 bool temp1
= false ;
4469 PyObject
* obj0
= 0 ;
4470 char * kwnames
[] = {
4471 (char *) "name", NULL
4474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4476 arg1
= wxString_in_helper(obj0
);
4477 if (arg1
== NULL
) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_int(static_cast< int >(result
));
4501 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
= 0;
4503 wxString
*arg1
= 0 ;
4505 bool temp1
= false ;
4506 PyObject
* obj0
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "name", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4513 arg1
= wxString_in_helper(obj0
);
4514 if (arg1
== NULL
) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4520 wxPyEndAllowThreads(__tstate
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4540 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
= 0;
4542 wxString
*arg1
= 0 ;
4544 bool temp1
= false ;
4545 PyObject
* obj0
= 0 ;
4546 char * kwnames
[] = {
4547 (char *) "name", NULL
4550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4552 arg1
= wxString_in_helper(obj0
);
4553 if (arg1
== NULL
) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4579 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4581 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4582 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4583 return SWIG_Py_Void();
4586 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4587 return SWIG_Python_InitShadowInstance(args
);
4590 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4591 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4596 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4597 PyObject
*pyobj
= 0;
4601 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4603 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4610 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4611 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4616 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4617 PyObject
*pyobj
= 0;
4621 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4623 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4630 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4631 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4636 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4637 PyObject
*pyobj
= 0;
4641 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4643 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4650 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4651 PyObject
*resultobj
= 0;
4654 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 result
= (long)wxNewId();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_From_long(static_cast< long >(result
));
4668 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4673 PyObject
* obj0
= 0 ;
4674 char * kwnames
[] = {
4678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4679 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4680 if (!SWIG_IsOK(ecode1
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4683 arg1
= static_cast< long >(val1
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_Py_Void();
4697 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4698 PyObject
*resultobj
= 0;
4701 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (long)wxGetCurrentId();
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_From_long(static_cast< long >(result
));
4715 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
*resultobj
= 0;
4721 PyObject
* obj0
= 0 ;
4722 char * kwnames
[] = {
4726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4727 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4728 if (!SWIG_IsOK(ecode1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4731 arg1
= static_cast< int >(val1
);
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (bool)wxIsStockID(arg1
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
= 0;
4750 wxString
*arg2
= 0 ;
4754 bool temp2
= false ;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "id",(char *) "label", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4763 if (!SWIG_IsOK(ecode1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4766 arg1
= static_cast< int >(val1
);
4768 arg2
= wxString_in_helper(obj1
);
4769 if (arg2
== NULL
) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4795 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
= 0;
4798 bool arg2
= (bool) true ;
4799 wxString arg3
= (wxString
) wxPyEmptyString
;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj2
= 0 ;
4808 char * kwnames
[] = {
4809 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4814 if (!SWIG_IsOK(ecode1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4817 arg1
= static_cast< int >(val1
);
4819 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4820 if (!SWIG_IsOK(ecode2
)) {
4821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4823 arg2
= static_cast< bool >(val2
);
4827 wxString
* sptr
= wxString_in_helper(obj2
);
4828 if (sptr
== NULL
) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4852 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4853 PyObject
*resultobj
= 0;
4855 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4857 if (!wxPyCheckForApp()) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= SWIG_Py_Void();
4870 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4871 PyObject
*resultobj
= 0;
4873 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4875 if (!wxPyCheckForApp()) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_Py_Void();
4888 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
= 0;
4890 bool arg1
= (bool) true ;
4894 PyObject
* obj0
= 0 ;
4895 char * kwnames
[] = {
4896 (char *) "resetTimer", NULL
4899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4901 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4902 if (!SWIG_IsOK(ecode1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4905 arg1
= static_cast< bool >(val1
);
4908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4909 result
= (long)wxGetElapsedTime(arg1
);
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 resultobj
= SWIG_From_long(static_cast< long >(result
));
4920 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4921 PyObject
*resultobj
= 0;
4924 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (bool)wxIsBusy();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4940 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4941 PyObject
*resultobj
= 0;
4944 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4964 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
= 0;
4966 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4967 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4969 bool temp1
= false ;
4970 PyObject
* obj0
= 0 ;
4971 char * kwnames
[] = {
4972 (char *) "command", NULL
4975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4978 arg1
= wxString_in_helper(obj0
);
4979 if (arg1
== NULL
) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)wxShell((wxString
const &)*arg1
);
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5006 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5007 PyObject
*resultobj
= 0;
5009 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_Py_Void();
5023 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5024 PyObject
*resultobj
= 0;
5025 int *arg1
= (int *) 0 ;
5026 int *arg2
= (int *) 0 ;
5029 int res1
= SWIG_TMPOBJ
;
5031 int res2
= SWIG_TMPOBJ
;
5035 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (int)wxGetOsVersion(arg1
,arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_From_int(static_cast< int >(result
));
5043 if (SWIG_IsTmpObj(res1
)) {
5044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5046 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5047 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5049 if (SWIG_IsTmpObj(res2
)) {
5050 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5052 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5053 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5061 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5062 PyObject
*resultobj
= 0;
5065 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 result
= wxGetOsDescription();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5085 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5086 PyObject
*resultobj
= 0;
5087 wxMemorySize result
;
5089 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= wxGetFreeMemory();
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= PyLong_FromLongLong((&result
)->GetValue());
5100 resultobj
= PyInt_FromLong(result
);
5109 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= 0;
5111 wxShutdownFlags arg1
;
5115 PyObject
* obj0
= 0 ;
5116 char * kwnames
[] = {
5117 (char *) "wFlags", NULL
5120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5122 if (!SWIG_IsOK(ecode1
)) {
5123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5125 arg1
= static_cast< wxShutdownFlags
>(val1
);
5127 if (!wxPyCheckForApp()) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (bool)wxShutdown(arg1
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5142 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
= 0;
5147 PyObject
* obj0
= 0 ;
5148 char * kwnames
[] = {
5149 (char *) "secs", NULL
5152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5154 if (!SWIG_IsOK(ecode1
)) {
5155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5157 arg1
= static_cast< int >(val1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_Py_Void();
5171 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
= 0;
5173 unsigned long arg1
;
5174 unsigned long val1
;
5176 PyObject
* obj0
= 0 ;
5177 char * kwnames
[] = {
5178 (char *) "milliseconds", NULL
5181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5182 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5183 if (!SWIG_IsOK(ecode1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5186 arg1
= static_cast< unsigned long >(val1
);
5188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 resultobj
= SWIG_Py_Void();
5200 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
= 0;
5202 unsigned long arg1
;
5203 unsigned long val1
;
5205 PyObject
* obj0
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "microseconds", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5211 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5212 if (!SWIG_IsOK(ecode1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5215 arg1
= static_cast< unsigned long >(val1
);
5217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 resultobj
= SWIG_Py_Void();
5229 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
= 0;
5234 PyObject
* obj0
= 0 ;
5235 char * kwnames
[] = {
5236 (char *) "enable", NULL
5239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5240 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5241 if (!SWIG_IsOK(ecode1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5244 arg1
= static_cast< bool >(val1
);
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 wxEnableTopLevelWindows(arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 resultobj
= SWIG_Py_Void();
5258 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
= 0;
5260 wxString
*arg1
= 0 ;
5262 bool temp1
= false ;
5263 PyObject
* obj0
= 0 ;
5264 char * kwnames
[] = {
5268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5270 arg1
= wxString_in_helper(obj0
);
5271 if (arg1
== NULL
) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5301 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5302 PyObject
*resultobj
= 0;
5305 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 result
= wxGetEmailAddress();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5325 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5329 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5332 result
= wxGetHostName();
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5349 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5350 PyObject
*resultobj
= 0;
5353 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= wxGetFullHostName();
5357 wxPyEndAllowThreads(__tstate
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5373 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5374 PyObject
*resultobj
= 0;
5377 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= wxGetUserId();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5397 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5401 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= wxGetUserName();
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5421 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 PyObject
*resultobj
= 0;
5425 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= wxGetHomeDir();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5445 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5448 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5450 bool temp1
= false ;
5451 PyObject
* obj0
= 0 ;
5452 char * kwnames
[] = {
5453 (char *) "user", NULL
5456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5459 arg1
= wxString_in_helper(obj0
);
5460 if (arg1
== NULL
) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= wxGetUserHome((wxString
const &)*arg1
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5491 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5492 PyObject
*resultobj
= 0;
5493 unsigned long result
;
5495 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (unsigned long)wxGetProcessId();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5509 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 PyObject
*resultobj
= 0;
5512 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 resultobj
= SWIG_Py_Void();
5526 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
= 0;
5528 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5529 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5530 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5531 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5534 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5535 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5536 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5537 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5538 int arg6
= (int) 0 ;
5539 wxWindow
*arg7
= (wxWindow
*) NULL
;
5540 int arg8
= (int) -1 ;
5541 int arg9
= (int) -1 ;
5543 bool temp1
= false ;
5544 bool temp2
= false ;
5545 bool temp3
= false ;
5546 bool temp4
= false ;
5547 bool temp5
= false ;
5556 PyObject
* obj0
= 0 ;
5557 PyObject
* obj1
= 0 ;
5558 PyObject
* obj2
= 0 ;
5559 PyObject
* obj3
= 0 ;
5560 PyObject
* obj4
= 0 ;
5561 PyObject
* obj5
= 0 ;
5562 PyObject
* obj6
= 0 ;
5563 PyObject
* obj7
= 0 ;
5564 PyObject
* obj8
= 0 ;
5565 char * kwnames
[] = {
5566 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5572 arg1
= wxString_in_helper(obj0
);
5573 if (arg1
== NULL
) SWIG_fail
;
5579 arg2
= wxString_in_helper(obj1
);
5580 if (arg2
== NULL
) SWIG_fail
;
5586 arg3
= wxString_in_helper(obj2
);
5587 if (arg3
== NULL
) SWIG_fail
;
5593 arg4
= wxString_in_helper(obj3
);
5594 if (arg4
== NULL
) SWIG_fail
;
5600 arg5
= wxString_in_helper(obj4
);
5601 if (arg5
== NULL
) SWIG_fail
;
5606 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5607 if (!SWIG_IsOK(ecode6
)) {
5608 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5610 arg6
= static_cast< int >(val6
);
5613 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5614 if (!SWIG_IsOK(res7
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5617 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5620 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5621 if (!SWIG_IsOK(ecode8
)) {
5622 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5624 arg8
= static_cast< int >(val8
);
5627 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5628 if (!SWIG_IsOK(ecode9
)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5631 arg9
= static_cast< int >(val9
);
5634 if (!wxPyCheckForApp()) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5693 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
= 0;
5695 wxString
*arg1
= 0 ;
5696 wxString
*arg2
= 0 ;
5697 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5698 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5699 wxWindow
*arg4
= (wxWindow
*) NULL
;
5701 bool temp1
= false ;
5702 bool temp2
= false ;
5703 bool temp3
= false ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5709 PyObject
* obj3
= 0 ;
5710 char * kwnames
[] = {
5711 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5716 arg1
= wxString_in_helper(obj0
);
5717 if (arg1
== NULL
) SWIG_fail
;
5721 arg2
= wxString_in_helper(obj1
);
5722 if (arg2
== NULL
) SWIG_fail
;
5727 arg3
= wxString_in_helper(obj2
);
5728 if (arg3
== NULL
) SWIG_fail
;
5733 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5734 if (!SWIG_IsOK(res4
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5737 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5740 if (!wxPyCheckForApp()) SWIG_fail
;
5741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5742 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5783 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
= 0;
5785 wxString
*arg1
= 0 ;
5786 wxString
*arg2
= 0 ;
5787 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5788 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5789 wxWindow
*arg4
= (wxWindow
*) NULL
;
5791 bool temp1
= false ;
5792 bool temp2
= false ;
5793 bool temp3
= false ;
5796 PyObject
* obj0
= 0 ;
5797 PyObject
* obj1
= 0 ;
5798 PyObject
* obj2
= 0 ;
5799 PyObject
* obj3
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5806 arg1
= wxString_in_helper(obj0
);
5807 if (arg1
== NULL
) SWIG_fail
;
5811 arg2
= wxString_in_helper(obj1
);
5812 if (arg2
== NULL
) SWIG_fail
;
5817 arg3
= wxString_in_helper(obj2
);
5818 if (arg3
== NULL
) SWIG_fail
;
5823 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5824 if (!SWIG_IsOK(res4
)) {
5825 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5827 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5830 if (!wxPyCheckForApp()) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5873 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5876 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5877 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5879 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5882 wxWindow
*arg5
= (wxWindow
*) NULL
;
5884 bool temp1
= false ;
5885 bool temp2
= false ;
5891 PyObject
* obj0
= 0 ;
5892 PyObject
* obj1
= 0 ;
5893 PyObject
* obj2
= 0 ;
5894 PyObject
* obj3
= 0 ;
5895 PyObject
* obj4
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5903 arg1
= wxString_in_helper(obj0
);
5904 if (arg1
== NULL
) SWIG_fail
;
5910 arg2
= wxString_in_helper(obj1
);
5911 if (arg2
== NULL
) SWIG_fail
;
5916 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5917 if (!SWIG_IsOK(ecode3
)) {
5918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5920 arg3
= static_cast< long >(val3
);
5925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5929 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5930 if (!SWIG_IsOK(res5
)) {
5931 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5933 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5936 if (!wxPyCheckForApp()) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5971 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
= 0;
5973 wxString
*arg1
= 0 ;
5974 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5975 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5976 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5977 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5978 wxWindow
*arg4
= (wxWindow
*) NULL
;
5979 int arg5
= (int) -1 ;
5980 int arg6
= (int) -1 ;
5981 bool arg7
= (bool) true ;
5983 bool temp1
= false ;
5984 bool temp2
= false ;
5985 bool temp3
= false ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5996 PyObject
* obj2
= 0 ;
5997 PyObject
* obj3
= 0 ;
5998 PyObject
* obj4
= 0 ;
5999 PyObject
* obj5
= 0 ;
6000 PyObject
* obj6
= 0 ;
6001 char * kwnames
[] = {
6002 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
6005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6007 arg1
= wxString_in_helper(obj0
);
6008 if (arg1
== NULL
) SWIG_fail
;
6013 arg2
= wxString_in_helper(obj1
);
6014 if (arg2
== NULL
) SWIG_fail
;
6020 arg3
= wxString_in_helper(obj2
);
6021 if (arg3
== NULL
) SWIG_fail
;
6026 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6027 if (!SWIG_IsOK(res4
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6030 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6033 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6034 if (!SWIG_IsOK(ecode5
)) {
6035 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6037 arg5
= static_cast< int >(val5
);
6040 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6041 if (!SWIG_IsOK(ecode6
)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6044 arg6
= static_cast< int >(val6
);
6047 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6048 if (!SWIG_IsOK(ecode7
)) {
6049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6051 arg7
= static_cast< bool >(val7
);
6054 if (!wxPyCheckForApp()) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6097 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
= 0;
6099 wxString
*arg1
= 0 ;
6100 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6101 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6102 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6103 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6104 wxWindow
*arg4
= (wxWindow
*) NULL
;
6106 bool temp1
= false ;
6107 bool temp2
= false ;
6108 bool temp3
= false ;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6113 PyObject
* obj2
= 0 ;
6114 PyObject
* obj3
= 0 ;
6115 char * kwnames
[] = {
6116 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6121 arg1
= wxString_in_helper(obj0
);
6122 if (arg1
== NULL
) SWIG_fail
;
6127 arg2
= wxString_in_helper(obj1
);
6128 if (arg2
== NULL
) SWIG_fail
;
6134 arg3
= wxString_in_helper(obj2
);
6135 if (arg3
== NULL
) SWIG_fail
;
6140 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6141 if (!SWIG_IsOK(res4
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6144 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6147 if (!wxPyCheckForApp()) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6190 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
= 0;
6192 wxString
*arg1
= 0 ;
6193 wxString
*arg2
= 0 ;
6195 wxString
*arg4
= (wxString
*) 0 ;
6196 wxWindow
*arg5
= (wxWindow
*) NULL
;
6197 int arg6
= (int) -1 ;
6198 int arg7
= (int) -1 ;
6199 bool arg8
= (bool) true ;
6200 int arg9
= (int) 150 ;
6201 int arg10
= (int) 200 ;
6203 bool temp1
= false ;
6204 bool temp2
= false ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 PyObject
* obj2
= 0 ;
6220 PyObject
* obj3
= 0 ;
6221 PyObject
* obj4
= 0 ;
6222 PyObject
* obj5
= 0 ;
6223 PyObject
* obj6
= 0 ;
6224 PyObject
* obj7
= 0 ;
6225 PyObject
* obj8
= 0 ;
6226 char * kwnames
[] = {
6227 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6232 arg1
= wxString_in_helper(obj0
);
6233 if (arg1
== NULL
) SWIG_fail
;
6237 arg2
= wxString_in_helper(obj1
);
6238 if (arg2
== NULL
) SWIG_fail
;
6242 arg3
= PyList_Size(obj2
);
6243 arg4
= wxString_LIST_helper(obj2
);
6244 if (arg4
== NULL
) SWIG_fail
;
6247 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6248 if (!SWIG_IsOK(res5
)) {
6249 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6251 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6254 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6255 if (!SWIG_IsOK(ecode6
)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6258 arg6
= static_cast< int >(val6
);
6261 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6262 if (!SWIG_IsOK(ecode7
)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6265 arg7
= static_cast< int >(val7
);
6268 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6269 if (!SWIG_IsOK(ecode8
)) {
6270 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6272 arg8
= static_cast< bool >(val8
);
6275 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6276 if (!SWIG_IsOK(ecode9
)) {
6277 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6279 arg9
= static_cast< int >(val9
);
6282 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6283 if (!SWIG_IsOK(ecode10
)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6286 arg10
= static_cast< int >(val10
);
6289 if (!wxPyCheckForApp()) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6311 if (arg4
) delete [] arg4
;
6324 if (arg4
) delete [] arg4
;
6330 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
= 0;
6332 wxString
*arg1
= 0 ;
6333 wxString
*arg2
= 0 ;
6335 wxString
*arg4
= (wxString
*) 0 ;
6336 wxWindow
*arg5
= (wxWindow
*) NULL
;
6337 int arg6
= (int) -1 ;
6338 int arg7
= (int) -1 ;
6339 bool arg8
= (bool) true ;
6340 int arg9
= (int) 150 ;
6341 int arg10
= (int) 200 ;
6343 bool temp1
= false ;
6344 bool temp2
= false ;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6360 PyObject
* obj3
= 0 ;
6361 PyObject
* obj4
= 0 ;
6362 PyObject
* obj5
= 0 ;
6363 PyObject
* obj6
= 0 ;
6364 PyObject
* obj7
= 0 ;
6365 PyObject
* obj8
= 0 ;
6366 char * kwnames
[] = {
6367 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6372 arg1
= wxString_in_helper(obj0
);
6373 if (arg1
== NULL
) SWIG_fail
;
6377 arg2
= wxString_in_helper(obj1
);
6378 if (arg2
== NULL
) SWIG_fail
;
6382 arg3
= PyList_Size(obj2
);
6383 arg4
= wxString_LIST_helper(obj2
);
6384 if (arg4
== NULL
) SWIG_fail
;
6387 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6388 if (!SWIG_IsOK(res5
)) {
6389 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6391 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6394 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6395 if (!SWIG_IsOK(ecode6
)) {
6396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6398 arg6
= static_cast< int >(val6
);
6401 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6402 if (!SWIG_IsOK(ecode7
)) {
6403 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6405 arg7
= static_cast< int >(val7
);
6408 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6409 if (!SWIG_IsOK(ecode8
)) {
6410 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6412 arg8
= static_cast< bool >(val8
);
6415 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6416 if (!SWIG_IsOK(ecode9
)) {
6417 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6419 arg9
= static_cast< int >(val9
);
6422 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6423 if (!SWIG_IsOK(ecode10
)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6426 arg10
= static_cast< int >(val10
);
6429 if (!wxPyCheckForApp()) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 resultobj
= SWIG_From_int(static_cast< int >(result
));
6445 if (arg4
) delete [] arg4
;
6458 if (arg4
) delete [] arg4
;
6464 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
= 0;
6466 wxString
*arg1
= 0 ;
6467 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6468 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6469 int arg3
= (int) wxOK
|wxCENTRE
;
6470 wxWindow
*arg4
= (wxWindow
*) NULL
;
6471 int arg5
= (int) -1 ;
6472 int arg6
= (int) -1 ;
6474 bool temp1
= false ;
6475 bool temp2
= false ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 PyObject
* obj2
= 0 ;
6487 PyObject
* obj3
= 0 ;
6488 PyObject
* obj4
= 0 ;
6489 PyObject
* obj5
= 0 ;
6490 char * kwnames
[] = {
6491 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6496 arg1
= wxString_in_helper(obj0
);
6497 if (arg1
== NULL
) SWIG_fail
;
6502 arg2
= wxString_in_helper(obj1
);
6503 if (arg2
== NULL
) SWIG_fail
;
6508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6509 if (!SWIG_IsOK(ecode3
)) {
6510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6512 arg3
= static_cast< int >(val3
);
6515 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6516 if (!SWIG_IsOK(res4
)) {
6517 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6519 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6522 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6523 if (!SWIG_IsOK(ecode5
)) {
6524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6526 arg5
= static_cast< int >(val5
);
6529 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6530 if (!SWIG_IsOK(ecode6
)) {
6531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6533 arg6
= static_cast< int >(val6
);
6536 if (!wxPyCheckForApp()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_From_int(static_cast< int >(result
));
6565 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
= 0;
6567 wxString
*arg1
= 0 ;
6568 wxString
*arg2
= 0 ;
6569 wxString
*arg3
= 0 ;
6571 long arg5
= (long) 0 ;
6572 long arg6
= (long) 100 ;
6573 wxWindow
*arg7
= (wxWindow
*) NULL
;
6574 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6575 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6577 bool temp1
= false ;
6578 bool temp2
= false ;
6579 bool temp3
= false ;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6591 PyObject
* obj2
= 0 ;
6592 PyObject
* obj3
= 0 ;
6593 PyObject
* obj4
= 0 ;
6594 PyObject
* obj5
= 0 ;
6595 PyObject
* obj6
= 0 ;
6596 PyObject
* obj7
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6603 arg1
= wxString_in_helper(obj0
);
6604 if (arg1
== NULL
) SWIG_fail
;
6608 arg2
= wxString_in_helper(obj1
);
6609 if (arg2
== NULL
) SWIG_fail
;
6613 arg3
= wxString_in_helper(obj2
);
6614 if (arg3
== NULL
) SWIG_fail
;
6617 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6618 if (!SWIG_IsOK(ecode4
)) {
6619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6621 arg4
= static_cast< long >(val4
);
6623 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6624 if (!SWIG_IsOK(ecode5
)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6627 arg5
= static_cast< long >(val5
);
6630 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6631 if (!SWIG_IsOK(ecode6
)) {
6632 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6634 arg6
= static_cast< long >(val6
);
6637 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6638 if (!SWIG_IsOK(res7
)) {
6639 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6641 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6646 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6650 if (!wxPyCheckForApp()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_From_long(static_cast< long >(result
));
6687 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6688 PyObject
*resultobj
= 0;
6691 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6693 if (!wxPyCheckForApp()) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)wxColourDisplay();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6712 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6714 if (!wxPyCheckForApp()) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (int)wxDisplayDepth();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_From_int(static_cast< int >(result
));
6727 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6728 PyObject
*resultobj
= 0;
6731 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6733 if (!wxPyCheckForApp()) SWIG_fail
;
6734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 result
= (int)wxGetDisplayDepth();
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= SWIG_From_int(static_cast< int >(result
));
6746 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6747 PyObject
*resultobj
= 0;
6748 int *arg1
= (int *) 0 ;
6749 int *arg2
= (int *) 0 ;
6751 int res1
= SWIG_TMPOBJ
;
6753 int res2
= SWIG_TMPOBJ
;
6757 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6759 if (!wxPyCheckForApp()) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 wxDisplaySize(arg1
,arg2
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= SWIG_Py_Void();
6766 if (SWIG_IsTmpObj(res1
)) {
6767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6769 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6772 if (SWIG_IsTmpObj(res2
)) {
6773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6775 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6784 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6788 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6790 if (!wxPyCheckForApp()) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= wxGetDisplaySize();
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6803 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6804 PyObject
*resultobj
= 0;
6805 int *arg1
= (int *) 0 ;
6806 int *arg2
= (int *) 0 ;
6808 int res1
= SWIG_TMPOBJ
;
6810 int res2
= SWIG_TMPOBJ
;
6814 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 wxDisplaySizeMM(arg1
,arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= SWIG_Py_Void();
6823 if (SWIG_IsTmpObj(res1
)) {
6824 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6826 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6827 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6829 if (SWIG_IsTmpObj(res2
)) {
6830 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6832 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6833 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6841 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6842 PyObject
*resultobj
= 0;
6845 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= wxGetDisplaySizeMM();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6860 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6861 PyObject
*resultobj
= 0;
6862 int *arg1
= (int *) 0 ;
6863 int *arg2
= (int *) 0 ;
6864 int *arg3
= (int *) 0 ;
6865 int *arg4
= (int *) 0 ;
6867 int res1
= SWIG_TMPOBJ
;
6869 int res2
= SWIG_TMPOBJ
;
6871 int res3
= SWIG_TMPOBJ
;
6873 int res4
= SWIG_TMPOBJ
;
6879 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6881 if (!wxPyCheckForApp()) SWIG_fail
;
6882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6883 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_Py_Void();
6888 if (SWIG_IsTmpObj(res1
)) {
6889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6891 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6894 if (SWIG_IsTmpObj(res2
)) {
6895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6897 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6900 if (SWIG_IsTmpObj(res3
)) {
6901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6903 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6906 if (SWIG_IsTmpObj(res4
)) {
6907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6909 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6910 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6918 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6919 PyObject
*resultobj
= 0;
6922 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6924 if (!wxPyCheckForApp()) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= wxGetClientDisplayRect();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6937 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
= 0;
6939 wxCursor
*arg1
= 0 ;
6942 PyObject
* obj0
= 0 ;
6943 char * kwnames
[] = {
6944 (char *) "cursor", NULL
6947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6948 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6949 if (!SWIG_IsOK(res1
)) {
6950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6955 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6957 if (!wxPyCheckForApp()) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= SWIG_Py_Void();
6970 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6971 PyObject
*resultobj
= 0;
6974 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6976 if (!wxPyCheckForApp()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (void *)wxGetXDisplay();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6989 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
= 0;
6991 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6994 PyObject
* obj0
= 0 ;
6995 char * kwnames
[] = {
6996 (char *) "cursor", NULL
6999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
7001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
7002 if (!SWIG_IsOK(res1
)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
7005 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
7008 if (!wxPyCheckForApp()) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 wxBeginBusyCursor(arg1
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_Py_Void();
7021 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7022 PyObject
*resultobj
= 0;
7025 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7027 if (!wxPyCheckForApp()) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= wxGetMousePosition();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7040 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7041 PyObject
*resultobj
= 0;
7042 wxWindow
*result
= 0 ;
7044 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7046 if (!wxPyCheckForApp()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (wxWindow
*)FindWindowAtPointer();
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7053 resultobj
= wxPyMake_wxObject(result
, 0);
7061 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7062 PyObject
*resultobj
= 0;
7063 wxWindow
*result
= 0 ;
7065 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7067 if (!wxPyCheckForApp()) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (wxWindow
*)wxGetActiveWindow();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= wxPyMake_wxObject(result
, 0);
7082 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7085 wxWindow
*result
= 0 ;
7087 PyObject
* obj0
= 0 ;
7088 char * kwnames
[] = {
7092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7095 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7098 if (!wxPyCheckForApp()) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= wxPyMake_wxObject(result
, 0);
7113 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
= 0;
7116 wxWindow
*result
= 0 ;
7118 PyObject
* obj0
= 0 ;
7119 char * kwnames
[] = {
7123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7126 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7129 if (!wxPyCheckForApp()) SWIG_fail
;
7130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7131 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= wxPyMake_wxObject(result
, 0);
7144 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
= 0;
7146 wxWindow
*arg1
= (wxWindow
*) 0 ;
7147 wxWindow
*result
= 0 ;
7150 PyObject
* obj0
= 0 ;
7151 char * kwnames
[] = {
7152 (char *) "win", NULL
7155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7162 if (!wxPyCheckForApp()) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= wxPyMake_wxObject(result
, 0);
7177 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
*resultobj
= 0;
7179 wxString
*arg1
= 0 ;
7181 bool temp1
= false ;
7182 PyObject
* obj0
= 0 ;
7183 char * kwnames
[] = {
7184 (char *) "url", NULL
7187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7189 arg1
= wxString_in_helper(obj0
);
7190 if (arg1
== NULL
) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7216 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
= 0;
7222 PyObject
* obj0
= 0 ;
7223 char * kwnames
[] = {
7224 (char *) "key", NULL
7227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7229 if (!SWIG_IsOK(ecode1
)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7232 arg1
= static_cast< wxKeyCode
>(val1
);
7234 if (!wxPyCheckForApp()) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 result
= (bool)wxGetKeyState(arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7249 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7250 PyObject
*resultobj
= 0;
7251 wxMouseState
*result
= 0 ;
7253 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (wxMouseState
*)new wxMouseState();
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7267 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7268 PyObject
*resultobj
= 0;
7269 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7272 PyObject
*swig_obj
[1] ;
7274 if (!args
) SWIG_fail
;
7276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7277 if (!SWIG_IsOK(res1
)) {
7278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7280 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_Py_Void();
7295 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7296 PyObject
*resultobj
= 0;
7297 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7301 PyObject
*swig_obj
[1] ;
7303 if (!args
) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7309 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (int)(arg1
)->GetX();
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= SWIG_From_int(static_cast< int >(result
));
7323 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7324 PyObject
*resultobj
= 0;
7325 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7329 PyObject
*swig_obj
[1] ;
7331 if (!args
) SWIG_fail
;
7333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7334 if (!SWIG_IsOK(res1
)) {
7335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7337 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 result
= (int)(arg1
)->GetY();
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= SWIG_From_int(static_cast< int >(result
));
7351 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 PyObject
*resultobj
= 0;
7353 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7357 PyObject
*swig_obj
[1] ;
7359 if (!args
) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7365 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (bool)(arg1
)->LeftDown();
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7382 PyObject
*resultobj
= 0;
7383 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7387 PyObject
*swig_obj
[1] ;
7389 if (!args
) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7395 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (bool)(arg1
)->MiddleDown();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7412 PyObject
*resultobj
= 0;
7413 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7417 PyObject
*swig_obj
[1] ;
7419 if (!args
) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7425 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)(arg1
)->RightDown();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7441 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7442 PyObject
*resultobj
= 0;
7443 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7447 PyObject
*swig_obj
[1] ;
7449 if (!args
) SWIG_fail
;
7451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7452 if (!SWIG_IsOK(res1
)) {
7453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7455 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 result
= (bool)(arg1
)->ControlDown();
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7471 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7472 PyObject
*resultobj
= 0;
7473 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7477 PyObject
*swig_obj
[1] ;
7479 if (!args
) SWIG_fail
;
7481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7482 if (!SWIG_IsOK(res1
)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7485 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (bool)(arg1
)->ShiftDown();
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7501 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7502 PyObject
*resultobj
= 0;
7503 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7507 PyObject
*swig_obj
[1] ;
7509 if (!args
) SWIG_fail
;
7511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7512 if (!SWIG_IsOK(res1
)) {
7513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7515 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7518 result
= (bool)(arg1
)->AltDown();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7531 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7532 PyObject
*resultobj
= 0;
7533 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7537 PyObject
*swig_obj
[1] ;
7539 if (!args
) SWIG_fail
;
7541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7542 if (!SWIG_IsOK(res1
)) {
7543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7545 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (bool)(arg1
)->MetaDown();
7549 wxPyEndAllowThreads(__tstate
);
7550 if (PyErr_Occurred()) SWIG_fail
;
7553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7561 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7562 PyObject
*resultobj
= 0;
7563 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7567 PyObject
*swig_obj
[1] ;
7569 if (!args
) SWIG_fail
;
7571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7572 if (!SWIG_IsOK(res1
)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7575 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (bool)(arg1
)->CmdDown();
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7591 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= 0;
7593 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 char * kwnames
[] = {
7602 (char *) "self",(char *) "x", NULL
7605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7607 if (!SWIG_IsOK(res1
)) {
7608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7610 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7612 if (!SWIG_IsOK(ecode2
)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7615 arg2
= static_cast< int >(val2
);
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= SWIG_Py_Void();
7629 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7630 PyObject
*resultobj
= 0;
7631 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7637 PyObject
* obj0
= 0 ;
7638 PyObject
* obj1
= 0 ;
7639 char * kwnames
[] = {
7640 (char *) "self",(char *) "y", NULL
7643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7645 if (!SWIG_IsOK(res1
)) {
7646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7648 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7650 if (!SWIG_IsOK(ecode2
)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7653 arg2
= static_cast< int >(val2
);
7655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= SWIG_Py_Void();
7667 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
= 0;
7669 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7676 PyObject
* obj1
= 0 ;
7677 char * kwnames
[] = {
7678 (char *) "self",(char *) "down", NULL
7681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7686 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7687 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7688 if (!SWIG_IsOK(ecode2
)) {
7689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7691 arg2
= static_cast< bool >(val2
);
7693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7694 (arg1
)->SetLeftDown(arg2
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_Py_Void();
7705 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
= 0;
7707 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7713 PyObject
* obj0
= 0 ;
7714 PyObject
* obj1
= 0 ;
7715 char * kwnames
[] = {
7716 (char *) "self",(char *) "down", NULL
7719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7721 if (!SWIG_IsOK(res1
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7724 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7725 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7726 if (!SWIG_IsOK(ecode2
)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7729 arg2
= static_cast< bool >(val2
);
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->SetMiddleDown(arg2
);
7733 wxPyEndAllowThreads(__tstate
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= SWIG_Py_Void();
7743 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
= 0;
7745 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 char * kwnames
[] = {
7754 (char *) "self",(char *) "down", NULL
7757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7759 if (!SWIG_IsOK(res1
)) {
7760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7762 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7763 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7764 if (!SWIG_IsOK(ecode2
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7767 arg2
= static_cast< bool >(val2
);
7769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7770 (arg1
)->SetRightDown(arg2
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_Py_Void();
7781 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
= 0;
7783 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7790 PyObject
* obj1
= 0 ;
7791 char * kwnames
[] = {
7792 (char *) "self",(char *) "down", NULL
7795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7797 if (!SWIG_IsOK(res1
)) {
7798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7800 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7802 if (!SWIG_IsOK(ecode2
)) {
7803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7805 arg2
= static_cast< bool >(val2
);
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 (arg1
)->SetControlDown(arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_Py_Void();
7819 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
= 0;
7821 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7827 PyObject
* obj0
= 0 ;
7828 PyObject
* obj1
= 0 ;
7829 char * kwnames
[] = {
7830 (char *) "self",(char *) "down", NULL
7833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7838 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7840 if (!SWIG_IsOK(ecode2
)) {
7841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7843 arg2
= static_cast< bool >(val2
);
7845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7846 (arg1
)->SetShiftDown(arg2
);
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= SWIG_Py_Void();
7857 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
= 0;
7859 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 char * kwnames
[] = {
7868 (char *) "self",(char *) "down", NULL
7871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7873 if (!SWIG_IsOK(res1
)) {
7874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7876 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7878 if (!SWIG_IsOK(ecode2
)) {
7879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7881 arg2
= static_cast< bool >(val2
);
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 (arg1
)->SetAltDown(arg2
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7888 resultobj
= SWIG_Py_Void();
7895 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= 0;
7897 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 char * kwnames
[] = {
7906 (char *) "self",(char *) "down", NULL
7909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7914 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7916 if (!SWIG_IsOK(ecode2
)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7919 arg2
= static_cast< bool >(val2
);
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 (arg1
)->SetMetaDown(arg2
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_Py_Void();
7933 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7936 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7937 return SWIG_Py_Void();
7940 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7941 return SWIG_Python_InitShadowInstance(args
);
7944 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7945 PyObject
*resultobj
= 0;
7946 wxMouseState result
;
7948 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= wxGetMouseState();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7962 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7963 PyObject
*resultobj
= 0;
7965 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7967 if (!wxPyCheckForApp()) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 wxWakeUpMainThread();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_Py_Void();
7980 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7983 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7985 if (!wxPyCheckForApp()) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_Py_Void();
7998 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 PyObject
*resultobj
= 0;
8001 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
8003 if (!wxPyCheckForApp()) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_Py_Void();
8016 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8017 PyObject
*resultobj
= 0;
8018 wxMutexGuiLocker
*result
= 0 ;
8020 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8022 if (!wxPyCheckForApp()) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8035 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 PyObject
*resultobj
= 0;
8037 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8040 PyObject
*swig_obj
[1] ;
8042 if (!args
) SWIG_fail
;
8044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8045 if (!SWIG_IsOK(res1
)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8048 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= SWIG_Py_Void();
8063 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8066 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8067 return SWIG_Py_Void();
8070 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8071 return SWIG_Python_InitShadowInstance(args
);
8074 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8075 PyObject
*resultobj
= 0;
8078 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (bool)wxThread_IsMain();
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8094 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
= 0;
8096 wxString
*arg1
= 0 ;
8097 wxToolTip
*result
= 0 ;
8098 bool temp1
= false ;
8099 PyObject
* obj0
= 0 ;
8100 char * kwnames
[] = {
8101 (char *) "tip", NULL
8104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8106 arg1
= wxString_in_helper(obj0
);
8107 if (arg1
== NULL
) SWIG_fail
;
8111 if (!wxPyCheckForApp()) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8132 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8133 PyObject
*resultobj
= 0;
8134 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8137 PyObject
*swig_obj
[1] ;
8139 if (!args
) SWIG_fail
;
8141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8142 if (!SWIG_IsOK(res1
)) {
8143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8145 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= SWIG_Py_Void();
8160 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
= 0;
8162 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8163 wxString
*arg2
= 0 ;
8166 bool temp2
= false ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 char * kwnames
[] = {
8170 (char *) "self",(char *) "tip", NULL
8173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8175 if (!SWIG_IsOK(res1
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8178 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8180 arg2
= wxString_in_helper(obj1
);
8181 if (arg2
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->SetTip((wxString
const &)*arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 resultobj
= SWIG_Py_Void();
8205 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8206 PyObject
*resultobj
= 0;
8207 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8211 PyObject
*swig_obj
[1] ;
8213 if (!args
) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8219 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 result
= (arg1
)->GetTip();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8239 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8240 PyObject
*resultobj
= 0;
8241 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8242 wxWindow
*result
= 0 ;
8245 PyObject
*swig_obj
[1] ;
8247 if (!args
) SWIG_fail
;
8249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8250 if (!SWIG_IsOK(res1
)) {
8251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8253 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (wxWindow
*)(arg1
)->GetWindow();
8257 wxPyEndAllowThreads(__tstate
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= wxPyMake_wxObject(result
, 0);
8269 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
= 0;
8274 PyObject
* obj0
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "flag", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8280 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8281 if (!SWIG_IsOK(ecode1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8284 arg1
= static_cast< bool >(val1
);
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 wxToolTip::Enable(arg1
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= SWIG_Py_Void();
8298 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
*resultobj
= 0;
8303 PyObject
* obj0
= 0 ;
8304 char * kwnames
[] = {
8305 (char *) "milliseconds", NULL
8308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8309 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8310 if (!SWIG_IsOK(ecode1
)) {
8311 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8313 arg1
= static_cast< long >(val1
);
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 wxToolTip::SetDelay(arg1
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_Py_Void();
8327 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8330 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8331 return SWIG_Py_Void();
8334 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8335 return SWIG_Python_InitShadowInstance(args
);
8338 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
= 0;
8340 wxWindow
*arg1
= (wxWindow
*) 0 ;
8342 wxCaret
*result
= 0 ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 char * kwnames
[] = {
8349 (char *) "window",(char *) "size", NULL
8352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8363 if (!wxPyCheckForApp()) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8376 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8377 PyObject
*resultobj
= 0;
8378 wxCaret
*arg1
= (wxCaret
*) 0 ;
8381 PyObject
*swig_obj
[1] ;
8383 if (!args
) SWIG_fail
;
8385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8386 if (!SWIG_IsOK(res1
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8389 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8397 resultobj
= SWIG_Py_Void();
8404 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8405 PyObject
*resultobj
= 0;
8406 wxCaret
*arg1
= (wxCaret
*) 0 ;
8409 PyObject
*swig_obj
[1] ;
8411 if (!args
) SWIG_fail
;
8413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8414 if (!SWIG_IsOK(res1
)) {
8415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8417 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxCaret_Destroy(arg1
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_Py_Void();
8431 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8432 PyObject
*resultobj
= 0;
8433 wxCaret
*arg1
= (wxCaret
*) 0 ;
8437 PyObject
*swig_obj
[1] ;
8439 if (!args
) SWIG_fail
;
8441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8442 if (!SWIG_IsOK(res1
)) {
8443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8445 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->IsOk();
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8461 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8462 PyObject
*resultobj
= 0;
8463 wxCaret
*arg1
= (wxCaret
*) 0 ;
8467 PyObject
*swig_obj
[1] ;
8469 if (!args
) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8475 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8478 result
= (bool)(arg1
)->IsVisible();
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8491 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 PyObject
*resultobj
= 0;
8493 wxCaret
*arg1
= (wxCaret
*) 0 ;
8497 PyObject
*swig_obj
[1] ;
8499 if (!args
) SWIG_fail
;
8501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8502 if (!SWIG_IsOK(res1
)) {
8503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8505 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (arg1
)->GetPosition();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8520 PyObject
*resultobj
= 0;
8521 wxCaret
*arg1
= (wxCaret
*) 0 ;
8522 int *arg2
= (int *) 0 ;
8523 int *arg3
= (int *) 0 ;
8527 int res2
= SWIG_TMPOBJ
;
8529 int res3
= SWIG_TMPOBJ
;
8530 PyObject
*swig_obj
[1] ;
8534 if (!args
) SWIG_fail
;
8536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8537 if (!SWIG_IsOK(res1
)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8540 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 (arg1
)->GetPosition(arg2
,arg3
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_Py_Void();
8548 if (SWIG_IsTmpObj(res2
)) {
8549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8551 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8554 if (SWIG_IsTmpObj(res3
)) {
8555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8557 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8558 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8566 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8567 PyObject
*resultobj
= 0;
8568 wxCaret
*arg1
= (wxCaret
*) 0 ;
8572 PyObject
*swig_obj
[1] ;
8574 if (!args
) SWIG_fail
;
8576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8577 if (!SWIG_IsOK(res1
)) {
8578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8580 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (arg1
)->GetSize();
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8594 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8595 PyObject
*resultobj
= 0;
8596 wxCaret
*arg1
= (wxCaret
*) 0 ;
8597 int *arg2
= (int *) 0 ;
8598 int *arg3
= (int *) 0 ;
8602 int res2
= SWIG_TMPOBJ
;
8604 int res3
= SWIG_TMPOBJ
;
8605 PyObject
*swig_obj
[1] ;
8609 if (!args
) SWIG_fail
;
8611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8612 if (!SWIG_IsOK(res1
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8615 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 (arg1
)->GetSize(arg2
,arg3
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_Py_Void();
8623 if (SWIG_IsTmpObj(res2
)) {
8624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8626 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8629 if (SWIG_IsTmpObj(res3
)) {
8630 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8632 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8633 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8641 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 PyObject
*resultobj
= 0;
8643 wxCaret
*arg1
= (wxCaret
*) 0 ;
8644 wxWindow
*result
= 0 ;
8647 PyObject
*swig_obj
[1] ;
8649 if (!args
) SWIG_fail
;
8651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8652 if (!SWIG_IsOK(res1
)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8655 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxWindow
*)(arg1
)->GetWindow();
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= wxPyMake_wxObject(result
, 0);
8671 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
= 0;
8673 wxCaret
*arg1
= (wxCaret
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 PyObject
* obj2
= 0 ;
8685 char * kwnames
[] = {
8686 (char *) "self",(char *) "x",(char *) "y", NULL
8689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8691 if (!SWIG_IsOK(res1
)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8694 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8696 if (!SWIG_IsOK(ecode2
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8699 arg2
= static_cast< int >(val2
);
8700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8701 if (!SWIG_IsOK(ecode3
)) {
8702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8704 arg3
= static_cast< int >(val3
);
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 (arg1
)->Move(arg2
,arg3
);
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= SWIG_Py_Void();
8718 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
= 0;
8720 wxCaret
*arg1
= (wxCaret
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8727 char * kwnames
[] = {
8728 (char *) "self",(char *) "pt", NULL
8731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8733 if (!SWIG_IsOK(res1
)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8736 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->Move((wxPoint
const &)*arg2
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_Py_Void();
8754 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
= 0;
8756 wxCaret
*arg1
= (wxCaret
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8768 char * kwnames
[] = {
8769 (char *) "self",(char *) "width",(char *) "height", NULL
8772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8774 if (!SWIG_IsOK(res1
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8777 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8779 if (!SWIG_IsOK(ecode2
)) {
8780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8782 arg2
= static_cast< int >(val2
);
8783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8784 if (!SWIG_IsOK(ecode3
)) {
8785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8787 arg3
= static_cast< int >(val3
);
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 (arg1
)->SetSize(arg2
,arg3
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 resultobj
= SWIG_Py_Void();
8801 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
= 0;
8803 wxCaret
*arg1
= (wxCaret
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "self",(char *) "size", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8819 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8822 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 (arg1
)->SetSize((wxSize
const &)*arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_Py_Void();
8837 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
= 0;
8839 wxCaret
*arg1
= (wxCaret
*) 0 ;
8840 int arg2
= (int) true ;
8845 PyObject
* obj0
= 0 ;
8846 PyObject
* obj1
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "self",(char *) "show", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8856 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8859 if (!SWIG_IsOK(ecode2
)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8862 arg2
= static_cast< int >(val2
);
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 wxPyEndAllowThreads(__tstate
);
8868 if (PyErr_Occurred()) SWIG_fail
;
8870 resultobj
= SWIG_Py_Void();
8877 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8878 PyObject
*resultobj
= 0;
8879 wxCaret
*arg1
= (wxCaret
*) 0 ;
8882 PyObject
*swig_obj
[1] ;
8884 if (!args
) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8890 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_Py_Void();
8904 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8905 PyObject
*resultobj
= 0;
8908 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (int)wxCaret::GetBlinkTime();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= SWIG_From_int(static_cast< int >(result
));
8922 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
= 0;
8927 PyObject
* obj0
= 0 ;
8928 char * kwnames
[] = {
8929 (char *) "milliseconds", NULL
8932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8933 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8934 if (!SWIG_IsOK(ecode1
)) {
8935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8937 arg1
= static_cast< int >(val1
);
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 wxCaret::SetBlinkTime(arg1
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= SWIG_Py_Void();
8951 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8954 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8955 return SWIG_Py_Void();
8958 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8959 return SWIG_Python_InitShadowInstance(args
);
8962 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
= 0;
8964 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8965 wxBusyCursor
*result
= 0 ;
8968 PyObject
* obj0
= 0 ;
8969 char * kwnames
[] = {
8970 (char *) "cursor", NULL
8973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8979 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8982 if (!wxPyCheckForApp()) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8995 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
9000 PyObject
*swig_obj
[1] ;
9002 if (!args
) SWIG_fail
;
9004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
9005 if (!SWIG_IsOK(res1
)) {
9006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
9008 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_Py_Void();
9023 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9025 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9026 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9027 return SWIG_Py_Void();
9030 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9031 return SWIG_Python_InitShadowInstance(args
);
9034 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
= 0;
9036 wxWindow
*arg1
= (wxWindow
*) NULL
;
9037 wxWindowDisabler
*result
= 0 ;
9040 PyObject
* obj0
= 0 ;
9041 char * kwnames
[] = {
9042 (char *) "winToSkip", NULL
9045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9048 if (!SWIG_IsOK(res1
)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9054 if (!wxPyCheckForApp()) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9067 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9068 PyObject
*resultobj
= 0;
9069 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9072 PyObject
*swig_obj
[1] ;
9074 if (!args
) SWIG_fail
;
9076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9077 if (!SWIG_IsOK(res1
)) {
9078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9080 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9088 resultobj
= SWIG_Py_Void();
9095 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9098 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9099 return SWIG_Py_Void();
9102 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9103 return SWIG_Python_InitShadowInstance(args
);
9106 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
= 0;
9108 wxString
*arg1
= 0 ;
9109 wxBusyInfo
*result
= 0 ;
9110 bool temp1
= false ;
9111 PyObject
* obj0
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "message", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9118 arg1
= wxString_in_helper(obj0
);
9119 if (arg1
== NULL
) SWIG_fail
;
9123 if (!wxPyCheckForApp()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9144 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 PyObject
*resultobj
= 0;
9146 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9149 PyObject
*swig_obj
[1] ;
9151 if (!args
) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9157 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_Py_Void();
9172 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9175 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9176 return SWIG_Py_Void();
9179 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9180 return SWIG_Python_InitShadowInstance(args
);
9183 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9184 PyObject
*resultobj
= 0;
9185 wxStopWatch
*result
= 0 ;
9187 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxStopWatch
*)new wxStopWatch();
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9201 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
= 0;
9203 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9204 long arg2
= (long) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 char * kwnames
[] = {
9212 (char *) "self",(char *) "t0", NULL
9215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9217 if (!SWIG_IsOK(res1
)) {
9218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9220 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9222 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9223 if (!SWIG_IsOK(ecode2
)) {
9224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9226 arg2
= static_cast< long >(val2
);
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->Start(arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= SWIG_Py_Void();
9241 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9242 PyObject
*resultobj
= 0;
9243 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9246 PyObject
*swig_obj
[1] ;
9248 if (!args
) SWIG_fail
;
9250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9251 if (!SWIG_IsOK(res1
)) {
9252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9254 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_Py_Void();
9268 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9269 PyObject
*resultobj
= 0;
9270 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9273 PyObject
*swig_obj
[1] ;
9275 if (!args
) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9281 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 resultobj
= SWIG_Py_Void();
9295 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9301 PyObject
*swig_obj
[1] ;
9303 if (!args
) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9309 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_From_long(static_cast< long >(result
));
9323 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9326 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9327 return SWIG_Py_Void();
9330 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9331 return SWIG_Python_InitShadowInstance(args
);
9334 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
= 0;
9336 int arg1
= (int) 9 ;
9337 int arg2
= (int) wxID_FILE1
;
9338 wxFileHistory
*result
= 0 ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "maxFiles",(char *) "idBase", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9351 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9352 if (!SWIG_IsOK(ecode1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9355 arg1
= static_cast< int >(val1
);
9358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9359 if (!SWIG_IsOK(ecode2
)) {
9360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9362 arg2
= static_cast< int >(val2
);
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9377 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9378 PyObject
*resultobj
= 0;
9379 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9382 PyObject
*swig_obj
[1] ;
9384 if (!args
) SWIG_fail
;
9386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9387 if (!SWIG_IsOK(res1
)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9390 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= SWIG_Py_Void();
9405 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
= 0;
9407 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9408 wxString
*arg2
= 0 ;
9411 bool temp2
= false ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 char * kwnames
[] = {
9415 (char *) "self",(char *) "file", NULL
9418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9423 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9425 arg2
= wxString_in_helper(obj1
);
9426 if (arg2
== NULL
) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_Py_Void();
9450 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
= 0;
9452 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9458 PyObject
* obj0
= 0 ;
9459 PyObject
* obj1
= 0 ;
9460 char * kwnames
[] = {
9461 (char *) "self",(char *) "i", NULL
9464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9466 if (!SWIG_IsOK(res1
)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9469 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9471 if (!SWIG_IsOK(ecode2
)) {
9472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9474 arg2
= static_cast< int >(val2
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 (arg1
)->RemoveFileFromHistory(arg2
);
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= SWIG_Py_Void();
9488 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9489 PyObject
*resultobj
= 0;
9490 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9494 PyObject
*swig_obj
[1] ;
9496 if (!args
) SWIG_fail
;
9498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9499 if (!SWIG_IsOK(res1
)) {
9500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9502 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= SWIG_From_int(static_cast< int >(result
));
9516 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
= 0;
9518 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9519 wxMenu
*arg2
= (wxMenu
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9525 PyObject
* obj1
= 0 ;
9526 char * kwnames
[] = {
9527 (char *) "self",(char *) "menu", NULL
9530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9532 if (!SWIG_IsOK(res1
)) {
9533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9535 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9536 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9537 if (!SWIG_IsOK(res2
)) {
9538 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9540 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 (arg1
)->UseMenu(arg2
);
9544 wxPyEndAllowThreads(__tstate
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= SWIG_Py_Void();
9554 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
= 0;
9556 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9557 wxMenu
*arg2
= (wxMenu
*) 0 ;
9562 PyObject
* obj0
= 0 ;
9563 PyObject
* obj1
= 0 ;
9564 char * kwnames
[] = {
9565 (char *) "self",(char *) "menu", NULL
9568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9570 if (!SWIG_IsOK(res1
)) {
9571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9573 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9575 if (!SWIG_IsOK(res2
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9578 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 (arg1
)->RemoveMenu(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_Py_Void();
9592 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
= 0;
9594 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9595 wxConfigBase
*arg2
= 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9602 char * kwnames
[] = {
9603 (char *) "self",(char *) "config", NULL
9606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9608 if (!SWIG_IsOK(res1
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9611 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9612 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9613 if (!SWIG_IsOK(res2
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9617 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9619 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->Load(*arg2
);
9623 wxPyEndAllowThreads(__tstate
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9626 resultobj
= SWIG_Py_Void();
9633 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
= 0;
9635 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9636 wxConfigBase
*arg2
= 0 ;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 char * kwnames
[] = {
9644 (char *) "self",(char *) "config", NULL
9647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9649 if (!SWIG_IsOK(res1
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9652 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9654 if (!SWIG_IsOK(res2
)) {
9655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9660 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->Save(*arg2
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_Py_Void();
9674 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9675 PyObject
*resultobj
= 0;
9676 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9679 PyObject
*swig_obj
[1] ;
9681 if (!args
) SWIG_fail
;
9683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9684 if (!SWIG_IsOK(res1
)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9687 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 (arg1
)->AddFilesToMenu();
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9704 wxMenu
*arg2
= (wxMenu
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "menu", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9720 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9721 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9722 if (!SWIG_IsOK(res2
)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9725 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 (arg1
)->AddFilesToMenu(arg2
);
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= SWIG_Py_Void();
9739 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9740 PyObject
*resultobj
= 0;
9741 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 char * kwnames
[] = {
9751 (char *) "self",(char *) "i", NULL
9754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9756 if (!SWIG_IsOK(res1
)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9759 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9760 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9761 if (!SWIG_IsOK(ecode2
)) {
9762 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9764 arg2
= static_cast< int >(val2
);
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9784 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9785 PyObject
*resultobj
= 0;
9786 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9790 PyObject
*swig_obj
[1] ;
9792 if (!args
) SWIG_fail
;
9794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9795 if (!SWIG_IsOK(res1
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9798 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_From_int(static_cast< int >(result
));
9812 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9815 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9816 return SWIG_Py_Void();
9819 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9820 return SWIG_Python_InitShadowInstance(args
);
9823 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
= 0;
9825 wxString
*arg1
= 0 ;
9826 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9827 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9828 wxSingleInstanceChecker
*result
= 0 ;
9829 bool temp1
= false ;
9830 bool temp2
= false ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 char * kwnames
[] = {
9834 (char *) "name",(char *) "path", NULL
9837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9839 arg1
= wxString_in_helper(obj0
);
9840 if (arg1
== NULL
) SWIG_fail
;
9845 arg2
= wxString_in_helper(obj1
);
9846 if (arg2
== NULL
) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9879 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9880 PyObject
*resultobj
= 0;
9881 wxSingleInstanceChecker
*result
= 0 ;
9883 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9897 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9898 PyObject
*resultobj
= 0;
9899 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9902 PyObject
*swig_obj
[1] ;
9904 if (!args
) SWIG_fail
;
9906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9907 if (!SWIG_IsOK(res1
)) {
9908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9910 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_Py_Void();
9925 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
= 0;
9927 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9928 wxString
*arg2
= 0 ;
9929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9934 bool temp2
= false ;
9935 bool temp3
= false ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9938 PyObject
* obj2
= 0 ;
9939 char * kwnames
[] = {
9940 (char *) "self",(char *) "name",(char *) "path", NULL
9943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9945 if (!SWIG_IsOK(res1
)) {
9946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9948 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9950 arg2
= wxString_in_helper(obj1
);
9951 if (arg2
== NULL
) SWIG_fail
;
9956 arg3
= wxString_in_helper(obj2
);
9957 if (arg3
== NULL
) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9993 PyObject
*resultobj
= 0;
9994 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9998 PyObject
*swig_obj
[1] ;
10000 if (!args
) SWIG_fail
;
10001 swig_obj
[0] = args
;
10002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
10003 if (!SWIG_IsOK(res1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
10006 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
10010 wxPyEndAllowThreads(__tstate
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10022 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10025 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10026 return SWIG_Py_Void();
10029 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 return SWIG_Python_InitShadowInstance(args
);
10033 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
= 0;
10035 wxWindow
*arg1
= (wxWindow
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char * kwnames
[] = {
10045 (char *) "window",(char *) "dc", NULL
10048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10050 if (!SWIG_IsOK(res1
)) {
10051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10053 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10055 if (!SWIG_IsOK(res2
)) {
10056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10061 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10077 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10078 PyObject
*resultobj
= 0;
10079 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10082 PyObject
*swig_obj
[1] ;
10084 if (!args
) SWIG_fail
;
10085 swig_obj
[0] = args
;
10086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10087 if (!SWIG_IsOK(res1
)) {
10088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10090 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_Py_Void();
10105 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10106 PyObject
*resultobj
= 0;
10107 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10111 PyObject
*swig_obj
[1] ;
10113 if (!args
) SWIG_fail
;
10114 swig_obj
[0] = args
;
10115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10116 if (!SWIG_IsOK(res1
)) {
10117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10119 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (arg1
)->GetTip();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10139 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10140 PyObject
*resultobj
= 0;
10141 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10145 PyObject
*swig_obj
[1] ;
10147 if (!args
) SWIG_fail
;
10148 swig_obj
[0] = args
;
10149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10150 if (!SWIG_IsOK(res1
)) {
10151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10153 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (size_t)(arg1
)->GetCurrentTip();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10167 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10170 wxString
*arg2
= 0 ;
10174 bool temp2
= false ;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "self",(char *) "tip", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10186 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10188 arg2
= wxString_in_helper(obj1
);
10189 if (arg2
== NULL
) SWIG_fail
;
10193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10194 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10219 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10222 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10223 return SWIG_Py_Void();
10226 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
= 0;
10229 wxPyTipProvider
*result
= 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "currentTip", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10238 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10239 if (!SWIG_IsOK(ecode1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10242 arg1
= static_cast< size_t >(val1
);
10244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10245 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10256 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
= 0;
10258 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10259 PyObject
*arg2
= (PyObject
*) 0 ;
10260 PyObject
*arg3
= (PyObject
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 PyObject
* obj2
= 0 ;
10266 char * kwnames
[] = {
10267 (char *) "self",(char *) "self",(char *) "_class", NULL
10270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10275 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_Py_Void();
10291 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10294 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10295 return SWIG_Py_Void();
10298 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10299 return SWIG_Python_InitShadowInstance(args
);
10302 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxWindow
*arg1
= (wxWindow
*) 0 ;
10305 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10306 bool arg3
= (bool) true ;
10314 PyObject
* obj0
= 0 ;
10315 PyObject
* obj1
= 0 ;
10316 PyObject
* obj2
= 0 ;
10317 char * kwnames
[] = {
10318 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10323 if (!SWIG_IsOK(res1
)) {
10324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10326 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10328 if (!SWIG_IsOK(res2
)) {
10329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10331 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10333 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10334 if (!SWIG_IsOK(ecode3
)) {
10335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10337 arg3
= static_cast< bool >(val3
);
10340 if (!wxPyCheckForApp()) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10355 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10356 PyObject
*resultobj
= 0;
10357 wxString
*arg1
= 0 ;
10359 wxTipProvider
*result
= 0 ;
10360 bool temp1
= false ;
10363 PyObject
* obj0
= 0 ;
10364 PyObject
* obj1
= 0 ;
10365 char * kwnames
[] = {
10366 (char *) "filename",(char *) "currentTip", NULL
10369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10371 arg1
= wxString_in_helper(obj0
);
10372 if (arg1
== NULL
) SWIG_fail
;
10375 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10376 if (!SWIG_IsOK(ecode2
)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10379 arg2
= static_cast< size_t >(val2
);
10381 if (!wxPyCheckForApp()) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10402 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= 0;
10404 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10405 int arg2
= (int) wxID_ANY
;
10406 wxPyTimer
*result
= 0 ;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char * kwnames
[] = {
10414 (char *) "owner",(char *) "id", NULL
10417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10420 if (!SWIG_IsOK(res1
)) {
10421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10423 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10427 if (!SWIG_IsOK(ecode2
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10430 arg2
= static_cast< int >(val2
);
10433 if (!wxPyCheckForApp()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10446 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10447 PyObject
*resultobj
= 0;
10448 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10451 PyObject
*swig_obj
[1] ;
10453 if (!args
) SWIG_fail
;
10454 swig_obj
[0] = args
;
10455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10456 if (!SWIG_IsOK(res1
)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10459 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_Py_Void();
10474 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
= 0;
10476 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10477 PyObject
*arg2
= (PyObject
*) 0 ;
10478 PyObject
*arg3
= (PyObject
*) 0 ;
10479 int arg4
= (int) 1 ;
10484 PyObject
* obj0
= 0 ;
10485 PyObject
* obj1
= 0 ;
10486 PyObject
* obj2
= 0 ;
10487 PyObject
* obj3
= 0 ;
10488 char * kwnames
[] = {
10489 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10494 if (!SWIG_IsOK(res1
)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10497 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10501 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10502 if (!SWIG_IsOK(ecode4
)) {
10503 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10505 arg4
= static_cast< int >(val4
);
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_Py_Void();
10520 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
= 0;
10522 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10523 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10524 int arg3
= (int) wxID_ANY
;
10531 PyObject
* obj0
= 0 ;
10532 PyObject
* obj1
= 0 ;
10533 PyObject
* obj2
= 0 ;
10534 char * kwnames
[] = {
10535 (char *) "self",(char *) "owner",(char *) "id", NULL
10538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10540 if (!SWIG_IsOK(res1
)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10543 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10545 if (!SWIG_IsOK(res2
)) {
10546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10548 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10551 if (!SWIG_IsOK(ecode3
)) {
10552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10554 arg3
= static_cast< int >(val3
);
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 (arg1
)->SetOwner(arg2
,arg3
);
10559 wxPyEndAllowThreads(__tstate
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 resultobj
= SWIG_Py_Void();
10569 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10570 PyObject
*resultobj
= 0;
10571 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10572 wxEvtHandler
*result
= 0 ;
10575 PyObject
*swig_obj
[1] ;
10577 if (!args
) SWIG_fail
;
10578 swig_obj
[0] = args
;
10579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10580 if (!SWIG_IsOK(res1
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10583 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= wxPyMake_wxObject(result
, 0);
10599 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= 0;
10601 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10602 int arg2
= (int) -1 ;
10603 bool arg3
= (bool) false ;
10611 PyObject
* obj0
= 0 ;
10612 PyObject
* obj1
= 0 ;
10613 PyObject
* obj2
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10623 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10626 if (!SWIG_IsOK(ecode2
)) {
10627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10629 arg2
= static_cast< int >(val2
);
10632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10633 if (!SWIG_IsOK(ecode3
)) {
10634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10636 arg3
= static_cast< bool >(val3
);
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10653 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10654 PyObject
*resultobj
= 0;
10655 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10658 PyObject
*swig_obj
[1] ;
10660 if (!args
) SWIG_fail
;
10661 swig_obj
[0] = args
;
10662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10663 if (!SWIG_IsOK(res1
)) {
10664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10666 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 resultobj
= SWIG_Py_Void();
10680 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 PyObject
*resultobj
= 0;
10682 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10685 PyObject
*swig_obj
[1] ;
10687 if (!args
) SWIG_fail
;
10688 swig_obj
[0] = args
;
10689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10690 if (!SWIG_IsOK(res1
)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10693 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= SWIG_Py_Void();
10707 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10708 PyObject
*resultobj
= 0;
10709 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10713 PyObject
*swig_obj
[1] ;
10715 if (!args
) SWIG_fail
;
10716 swig_obj
[0] = args
;
10717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10718 if (!SWIG_IsOK(res1
)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10721 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10724 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10737 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10738 PyObject
*resultobj
= 0;
10739 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10743 PyObject
*swig_obj
[1] ;
10745 if (!args
) SWIG_fail
;
10746 swig_obj
[0] = args
;
10747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10748 if (!SWIG_IsOK(res1
)) {
10749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10751 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_From_int(static_cast< int >(result
));
10765 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10766 PyObject
*resultobj
= 0;
10767 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10771 PyObject
*swig_obj
[1] ;
10773 if (!args
) SWIG_fail
;
10774 swig_obj
[0] = args
;
10775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10776 if (!SWIG_IsOK(res1
)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10779 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_From_int(static_cast< int >(result
));
10793 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10794 PyObject
*resultobj
= 0;
10795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10799 PyObject
*swig_obj
[1] ;
10801 if (!args
) SWIG_fail
;
10802 swig_obj
[0] = args
;
10803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10807 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10826 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10827 return SWIG_Py_Void();
10830 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10831 return SWIG_Python_InitShadowInstance(args
);
10834 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
= 0;
10836 int arg1
= (int) 0 ;
10837 int arg2
= (int) 0 ;
10838 wxTimerEvent
*result
= 0 ;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "timerid",(char *) "interval", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10851 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10852 if (!SWIG_IsOK(ecode1
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10855 arg1
= static_cast< int >(val1
);
10858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10859 if (!SWIG_IsOK(ecode2
)) {
10860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10862 arg2
= static_cast< int >(val2
);
10865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10866 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10877 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10878 PyObject
*resultobj
= 0;
10879 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10883 PyObject
*swig_obj
[1] ;
10885 if (!args
) SWIG_fail
;
10886 swig_obj
[0] = args
;
10887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10888 if (!SWIG_IsOK(res1
)) {
10889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10891 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_From_int(static_cast< int >(result
));
10905 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10908 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10909 return SWIG_Py_Void();
10912 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10913 return SWIG_Python_InitShadowInstance(args
);
10916 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10917 PyObject
*resultobj
= 0;
10918 wxTimer
*arg1
= 0 ;
10919 wxTimerRunner
*result
= 0 ;
10923 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10925 if (!SWIG_IsOK(res1
)) {
10926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10931 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10933 if (!wxPyCheckForApp()) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10946 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10947 PyObject
*resultobj
= 0;
10948 wxTimer
*arg1
= 0 ;
10950 bool arg3
= (bool) false ;
10951 wxTimerRunner
*result
= 0 ;
10959 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10967 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10968 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10969 if (!SWIG_IsOK(ecode2
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10972 arg2
= static_cast< int >(val2
);
10974 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10975 if (!SWIG_IsOK(ecode3
)) {
10976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10978 arg3
= static_cast< bool >(val3
);
10981 if (!wxPyCheckForApp()) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10994 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10998 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
11001 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
11003 if ((argc
>= 2) && (argc
<= 3)) {
11004 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
11008 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11013 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11014 PyObject
*resultobj
= 0;
11015 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11018 PyObject
*swig_obj
[1] ;
11020 if (!args
) SWIG_fail
;
11021 swig_obj
[0] = args
;
11022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11023 if (!SWIG_IsOK(res1
)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11026 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_Py_Void();
11041 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11045 bool arg3
= (bool) false ;
11052 PyObject
* obj0
= 0 ;
11053 PyObject
* obj1
= 0 ;
11054 PyObject
* obj2
= 0 ;
11055 char * kwnames
[] = {
11056 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11064 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11066 if (!SWIG_IsOK(ecode2
)) {
11067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11069 arg2
= static_cast< int >(val2
);
11071 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11072 if (!SWIG_IsOK(ecode3
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11075 arg3
= static_cast< bool >(val3
);
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->Start(arg2
,arg3
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_Py_Void();
11090 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11093 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11094 return SWIG_Py_Void();
11097 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11098 return SWIG_Python_InitShadowInstance(args
);
11101 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11102 PyObject
*resultobj
= 0;
11103 wxLog
*result
= 0 ;
11105 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxLog
*)new wxLog();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
11119 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxLog
*arg1
= (wxLog
*) 0 ;
11124 PyObject
*swig_obj
[1] ;
11126 if (!args
) SWIG_fail
;
11127 swig_obj
[0] = args
;
11128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11129 if (!SWIG_IsOK(res1
)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11132 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_Py_Void();
11147 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11148 PyObject
*resultobj
= 0;
11151 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 result
= (bool)wxLog::IsEnabled();
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11167 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11168 PyObject
*resultobj
= 0;
11169 bool arg1
= (bool) true ;
11173 PyObject
* obj0
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "doIt", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11180 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11181 if (!SWIG_IsOK(ecode1
)) {
11182 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11184 arg1
= static_cast< bool >(val1
);
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (bool)wxLog::EnableLogging(arg1
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11201 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
= 0;
11204 wxChar
*arg2
= (wxChar
*) 0 ;
11206 unsigned long val1
;
11210 unsigned int val3
;
11212 PyObject
* obj0
= 0 ;
11213 PyObject
* obj1
= 0 ;
11214 PyObject
* obj2
= 0 ;
11215 char * kwnames
[] = {
11216 (char *) "level",(char *) "szString",(char *) "t", NULL
11219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11220 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11221 if (!SWIG_IsOK(ecode1
)) {
11222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11224 arg1
= static_cast< wxLogLevel
>(val1
);
11225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11226 if (!SWIG_IsOK(res2
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11229 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11230 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11231 if (!SWIG_IsOK(ecode3
)) {
11232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11234 arg3
= static_cast< time_t >(val3
);
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= SWIG_Py_Void();
11248 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11249 PyObject
*resultobj
= 0;
11250 wxLog
*arg1
= (wxLog
*) 0 ;
11253 PyObject
*swig_obj
[1] ;
11255 if (!args
) SWIG_fail
;
11256 swig_obj
[0] = args
;
11257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11258 if (!SWIG_IsOK(res1
)) {
11259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11261 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_Py_Void();
11275 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11276 PyObject
*resultobj
= 0;
11278 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 wxLog::FlushActive();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_Py_Void();
11292 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11293 PyObject
*resultobj
= 0;
11294 wxLog
*result
= 0 ;
11296 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (wxLog
*)wxLog::GetActiveTarget();
11300 wxPyEndAllowThreads(__tstate
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11310 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
= 0;
11312 wxLog
*arg1
= (wxLog
*) 0 ;
11313 wxLog
*result
= 0 ;
11315 PyObject
* obj0
= 0 ;
11316 char * kwnames
[] = {
11317 (char *) "pLogger", NULL
11320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11321 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11322 if (!SWIG_IsOK(res1
)) {
11323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11338 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11339 PyObject
*resultobj
= 0;
11341 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11348 resultobj
= SWIG_Py_Void();
11355 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11356 PyObject
*resultobj
= 0;
11358 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_Py_Void();
11372 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
= 0;
11374 bool arg1
= (bool) true ;
11377 PyObject
* obj0
= 0 ;
11378 char * kwnames
[] = {
11379 (char *) "bVerbose", NULL
11382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11384 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11385 if (!SWIG_IsOK(ecode1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11388 arg1
= static_cast< bool >(val1
);
11391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11392 wxLog::SetVerbose(arg1
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 resultobj
= SWIG_Py_Void();
11403 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
= 0;
11406 unsigned long val1
;
11408 PyObject
* obj0
= 0 ;
11409 char * kwnames
[] = {
11410 (char *) "logLevel", NULL
11413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11414 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11415 if (!SWIG_IsOK(ecode1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11418 arg1
= static_cast< wxLogLevel
>(val1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 wxLog::SetLogLevel(arg1
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_Py_Void();
11432 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11433 PyObject
*resultobj
= 0;
11435 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 wxLog::DontCreateOnDemand();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_Py_Void();
11449 SWIGINTERN PyObject
*_wrap_Log_SetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
= 0;
11451 bool arg1
= (bool) true ;
11454 PyObject
* obj0
= 0 ;
11455 char * kwnames
[] = {
11456 (char *) "bRepetCounting", NULL
11459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetRepetitionCounting",kwnames
,&obj0
)) SWIG_fail
;
11461 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11462 if (!SWIG_IsOK(ecode1
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetRepetitionCounting" "', expected argument " "1"" of type '" "bool""'");
11465 arg1
= static_cast< bool >(val1
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 wxLog::SetRepetitionCounting(arg1
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_Py_Void();
11480 SWIGINTERN PyObject
*_wrap_Log_GetRepetitionCounting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11481 PyObject
*resultobj
= 0;
11484 if (!SWIG_Python_UnpackTuple(args
,"Log_GetRepetitionCounting",0,0,0)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (bool)wxLog::GetRepetitionCounting();
11488 wxPyEndAllowThreads(__tstate
);
11489 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11500 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
= 0;
11503 unsigned long val1
;
11505 PyObject
* obj0
= 0 ;
11506 char * kwnames
[] = {
11507 (char *) "ulMask", NULL
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11511 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11512 if (!SWIG_IsOK(ecode1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11515 arg1
= static_cast< wxTraceMask
>(val1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxLog::SetTraceMask(arg1
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_Py_Void();
11529 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
= 0;
11531 wxString
*arg1
= 0 ;
11532 bool temp1
= false ;
11533 PyObject
* obj0
= 0 ;
11534 char * kwnames
[] = {
11535 (char *) "str", NULL
11538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11540 arg1
= wxString_in_helper(obj0
);
11541 if (arg1
== NULL
) SWIG_fail
;
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 wxLog::AddTraceMask((wxString
const &)*arg1
);
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_Py_Void();
11565 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
= 0;
11567 wxString
*arg1
= 0 ;
11568 bool temp1
= false ;
11569 PyObject
* obj0
= 0 ;
11570 char * kwnames
[] = {
11571 (char *) "str", NULL
11574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11576 arg1
= wxString_in_helper(obj0
);
11577 if (arg1
== NULL
) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_Py_Void();
11601 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11602 PyObject
*resultobj
= 0;
11604 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11607 wxLog::ClearTraceMasks();
11608 wxPyEndAllowThreads(__tstate
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= SWIG_Py_Void();
11618 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11619 PyObject
*resultobj
= 0;
11620 wxArrayString
*result
= 0 ;
11622 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11627 result
= (wxArrayString
*) &_result_ref
;
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= wxArrayString2PyList_helper(*result
);
11641 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
= 0;
11643 wxChar
*arg1
= (wxChar
*) 0 ;
11646 PyObject
* obj0
= 0 ;
11647 char * kwnames
[] = {
11648 (char *) "ts", NULL
11651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11656 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 wxLog::SetTimestamp((wxChar
const *)arg1
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_Py_Void();
11670 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11671 PyObject
*resultobj
= 0;
11674 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)wxLog::GetVerbose();
11678 wxPyEndAllowThreads(__tstate
);
11679 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11690 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11691 PyObject
*resultobj
= 0;
11692 wxTraceMask result
;
11694 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (wxTraceMask
)wxLog::GetTraceMask();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11708 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
= 0;
11710 wxChar
*arg1
= (wxChar
*) 0 ;
11714 PyObject
* obj0
= 0 ;
11715 char * kwnames
[] = {
11716 (char *) "mask", NULL
11719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11721 if (!SWIG_IsOK(res1
)) {
11722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11724 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11741 PyObject
*resultobj
= 0;
11744 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (wxLogLevel
)wxLog::GetLogLevel();
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11758 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11759 PyObject
*resultobj
= 0;
11760 wxChar
*result
= 0 ;
11762 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (wxChar
*)wxLog::GetTimestamp();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11776 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11777 PyObject
*resultobj
= 0;
11780 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= wxLog_TimeStamp();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11800 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11801 PyObject
*resultobj
= 0;
11802 wxLog
*arg1
= (wxLog
*) 0 ;
11805 PyObject
*swig_obj
[1] ;
11807 if (!args
) SWIG_fail
;
11808 swig_obj
[0] = args
;
11809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11810 if (!SWIG_IsOK(res1
)) {
11811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11813 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 wxLog_Destroy(arg1
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= SWIG_Py_Void();
11827 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11830 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11831 return SWIG_Py_Void();
11834 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 return SWIG_Python_InitShadowInstance(args
);
11838 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxLogStderr
*result
= 0 ;
11842 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxLogStderr
*)new wxLogStderr();
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11856 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11858 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11859 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11860 return SWIG_Py_Void();
11863 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 return SWIG_Python_InitShadowInstance(args
);
11867 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11868 PyObject
*resultobj
= 0;
11869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11870 wxLogTextCtrl
*result
= 0 ;
11873 PyObject
* obj0
= 0 ;
11874 char * kwnames
[] = {
11875 (char *) "pTextCtrl", NULL
11878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11883 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11897 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11900 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11901 return SWIG_Py_Void();
11904 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 return SWIG_Python_InitShadowInstance(args
);
11908 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11909 PyObject
*resultobj
= 0;
11910 wxLogGui
*result
= 0 ;
11912 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (wxLogGui
*)new wxLogGui();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11926 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11929 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11930 return SWIG_Py_Void();
11933 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11934 return SWIG_Python_InitShadowInstance(args
);
11937 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
= 0;
11939 wxFrame
*arg1
= (wxFrame
*) 0 ;
11940 wxString
*arg2
= 0 ;
11941 bool arg3
= (bool) true ;
11942 bool arg4
= (bool) true ;
11943 wxLogWindow
*result
= 0 ;
11946 bool temp2
= false ;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 char * kwnames
[] = {
11956 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11961 if (!SWIG_IsOK(res1
)) {
11962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11964 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11966 arg2
= wxString_in_helper(obj1
);
11967 if (arg2
== NULL
) SWIG_fail
;
11971 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11972 if (!SWIG_IsOK(ecode3
)) {
11973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11975 arg3
= static_cast< bool >(val3
);
11978 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11979 if (!SWIG_IsOK(ecode4
)) {
11980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11982 arg4
= static_cast< bool >(val4
);
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
12005 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
= 0;
12007 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12008 bool arg2
= (bool) true ;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 char * kwnames
[] = {
12016 (char *) "self",(char *) "bShow", NULL
12019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12021 if (!SWIG_IsOK(res1
)) {
12022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12024 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12026 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12027 if (!SWIG_IsOK(ecode2
)) {
12028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
12030 arg2
= static_cast< bool >(val2
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->Show(arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_Py_Void();
12045 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12046 PyObject
*resultobj
= 0;
12047 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12048 wxFrame
*result
= 0 ;
12051 PyObject
*swig_obj
[1] ;
12053 if (!args
) SWIG_fail
;
12054 swig_obj
[0] = args
;
12055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12056 if (!SWIG_IsOK(res1
)) {
12057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12059 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12062 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12075 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12076 PyObject
*resultobj
= 0;
12077 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12078 wxLog
*result
= 0 ;
12081 PyObject
*swig_obj
[1] ;
12083 if (!args
) SWIG_fail
;
12084 swig_obj
[0] = args
;
12085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12089 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12103 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12104 PyObject
*resultobj
= 0;
12105 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12109 PyObject
*swig_obj
[1] ;
12111 if (!args
) SWIG_fail
;
12112 swig_obj
[0] = args
;
12113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12114 if (!SWIG_IsOK(res1
)) {
12115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12117 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12133 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "bDoPass", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12152 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12153 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12154 if (!SWIG_IsOK(ecode2
)) {
12155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12157 arg2
= static_cast< bool >(val2
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->PassMessages(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12171 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12174 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
12175 return SWIG_Py_Void();
12178 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12179 return SWIG_Python_InitShadowInstance(args
);
12182 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
= 0;
12184 wxLog
*arg1
= (wxLog
*) 0 ;
12185 wxLogChain
*result
= 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char * kwnames
[] = {
12190 (char *) "logger", NULL
12193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12195 if (!SWIG_IsOK(res1
)) {
12196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12198 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (wxLogChain
*)new wxLogChain(arg1
);
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12212 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
= 0;
12214 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12215 wxLog
*arg2
= (wxLog
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 char * kwnames
[] = {
12223 (char *) "self",(char *) "logger", NULL
12226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12231 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12232 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12233 if (!SWIG_IsOK(res2
)) {
12234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12236 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetLog(arg2
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_Py_Void();
12250 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
= 0;
12252 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char * kwnames
[] = {
12261 (char *) "self",(char *) "bDoPass", NULL
12264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12269 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12270 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12271 if (!SWIG_IsOK(ecode2
)) {
12272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12274 arg2
= static_cast< bool >(val2
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->PassMessages(arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12288 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 PyObject
*resultobj
= 0;
12290 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12294 PyObject
*swig_obj
[1] ;
12296 if (!args
) SWIG_fail
;
12297 swig_obj
[0] = args
;
12298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12302 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (bool)(arg1
)->IsPassingMessages();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12318 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12319 PyObject
*resultobj
= 0;
12320 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12321 wxLog
*result
= 0 ;
12324 PyObject
*swig_obj
[1] ;
12326 if (!args
) SWIG_fail
;
12327 swig_obj
[0] = args
;
12328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12329 if (!SWIG_IsOK(res1
)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12332 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (wxLog
*)(arg1
)->GetOldLog();
12336 wxPyEndAllowThreads(__tstate
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12346 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12349 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12350 return SWIG_Py_Void();
12353 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12354 return SWIG_Python_InitShadowInstance(args
);
12357 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 PyObject
*resultobj
= 0;
12359 wxLogBuffer
*result
= 0 ;
12361 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (wxLogBuffer
*)new wxLogBuffer();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12375 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12376 PyObject
*resultobj
= 0;
12377 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12378 wxString
*result
= 0 ;
12381 PyObject
*swig_obj
[1] ;
12383 if (!args
) SWIG_fail
;
12384 swig_obj
[0] = args
;
12385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12389 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12394 result
= (wxString
*) &_result_ref
;
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12412 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12414 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12415 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12416 return SWIG_Py_Void();
12419 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12420 return SWIG_Python_InitShadowInstance(args
);
12423 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12424 PyObject
*resultobj
= 0;
12425 unsigned long result
;
12427 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (unsigned long)wxSysErrorCode();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12441 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
= 0;
12443 unsigned long arg1
= (unsigned long) 0 ;
12445 unsigned long val1
;
12447 PyObject
* obj0
= 0 ;
12448 char * kwnames
[] = {
12449 (char *) "nErrCode", NULL
12452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12454 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12455 if (!SWIG_IsOK(ecode1
)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12458 arg1
= static_cast< unsigned long >(val1
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= wxSysErrorMsg(arg1
);
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12470 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12479 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
= 0;
12481 wxString
*arg1
= 0 ;
12482 bool temp1
= false ;
12483 PyObject
* obj0
= 0 ;
12484 char * kwnames
[] = {
12485 (char *) "msg", NULL
12488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12490 arg1
= wxString_in_helper(obj0
);
12491 if (arg1
== NULL
) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 wxPyLogFatalError((wxString
const &)*arg1
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_Py_Void();
12515 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
= 0;
12517 wxString
*arg1
= 0 ;
12518 bool temp1
= false ;
12519 PyObject
* obj0
= 0 ;
12520 char * kwnames
[] = {
12521 (char *) "msg", NULL
12524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12526 arg1
= wxString_in_helper(obj0
);
12527 if (arg1
== NULL
) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 wxPyLogError((wxString
const &)*arg1
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_Py_Void();
12551 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
= 0;
12553 wxString
*arg1
= 0 ;
12554 bool temp1
= false ;
12555 PyObject
* obj0
= 0 ;
12556 char * kwnames
[] = {
12557 (char *) "msg", NULL
12560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12562 arg1
= wxString_in_helper(obj0
);
12563 if (arg1
== NULL
) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 wxPyLogWarning((wxString
const &)*arg1
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= SWIG_Py_Void();
12587 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
= 0;
12589 wxString
*arg1
= 0 ;
12590 bool temp1
= false ;
12591 PyObject
* obj0
= 0 ;
12592 char * kwnames
[] = {
12593 (char *) "msg", NULL
12596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12598 arg1
= wxString_in_helper(obj0
);
12599 if (arg1
== NULL
) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 wxPyLogMessage((wxString
const &)*arg1
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_Py_Void();
12623 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxString
*arg1
= 0 ;
12626 bool temp1
= false ;
12627 PyObject
* obj0
= 0 ;
12628 char * kwnames
[] = {
12629 (char *) "msg", NULL
12632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12634 arg1
= wxString_in_helper(obj0
);
12635 if (arg1
== NULL
) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 wxPyLogInfo((wxString
const &)*arg1
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= SWIG_Py_Void();
12659 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
= 0;
12661 wxString
*arg1
= 0 ;
12662 bool temp1
= false ;
12663 PyObject
* obj0
= 0 ;
12664 char * kwnames
[] = {
12665 (char *) "msg", NULL
12668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12670 arg1
= wxString_in_helper(obj0
);
12671 if (arg1
== NULL
) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 wxPyLogDebug((wxString
const &)*arg1
);
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_Py_Void();
12695 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12696 PyObject
*resultobj
= 0;
12697 wxString
*arg1
= 0 ;
12698 bool temp1
= false ;
12699 PyObject
* obj0
= 0 ;
12700 char * kwnames
[] = {
12701 (char *) "msg", NULL
12704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12706 arg1
= wxString_in_helper(obj0
);
12707 if (arg1
== NULL
) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 wxPyLogVerbose((wxString
const &)*arg1
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= SWIG_Py_Void();
12731 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
= 0;
12733 wxString
*arg1
= 0 ;
12734 bool temp1
= false ;
12735 PyObject
* obj0
= 0 ;
12736 char * kwnames
[] = {
12737 (char *) "msg", NULL
12740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12742 arg1
= wxString_in_helper(obj0
);
12743 if (arg1
== NULL
) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 wxPyLogStatus((wxString
const &)*arg1
);
12749 wxPyEndAllowThreads(__tstate
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12752 resultobj
= SWIG_Py_Void();
12767 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
= 0;
12769 wxFrame
*arg1
= (wxFrame
*) 0 ;
12770 wxString
*arg2
= 0 ;
12773 bool temp2
= false ;
12774 PyObject
* obj0
= 0 ;
12775 PyObject
* obj1
= 0 ;
12776 char * kwnames
[] = {
12777 (char *) "pFrame",(char *) "msg", NULL
12780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12782 if (!SWIG_IsOK(res1
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12785 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12787 arg2
= wxString_in_helper(obj1
);
12788 if (arg2
== NULL
) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_Py_Void();
12812 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
= 0;
12814 wxString
*arg1
= 0 ;
12815 bool temp1
= false ;
12816 PyObject
* obj0
= 0 ;
12817 char * kwnames
[] = {
12818 (char *) "msg", NULL
12821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12823 arg1
= wxString_in_helper(obj0
);
12824 if (arg1
== NULL
) SWIG_fail
;
12828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12829 wxPyLogSysError((wxString
const &)*arg1
);
12830 wxPyEndAllowThreads(__tstate
);
12831 if (PyErr_Occurred()) SWIG_fail
;
12833 resultobj
= SWIG_Py_Void();
12848 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
= 0;
12850 unsigned long arg1
;
12851 wxString
*arg2
= 0 ;
12852 unsigned long val1
;
12854 bool temp2
= false ;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char * kwnames
[] = {
12858 (char *) "level",(char *) "msg", NULL
12861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12862 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12863 if (!SWIG_IsOK(ecode1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12866 arg1
= static_cast< unsigned long >(val1
);
12868 arg2
= wxString_in_helper(obj1
);
12869 if (arg2
== NULL
) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12875 wxPyEndAllowThreads(__tstate
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= SWIG_Py_Void();
12893 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12894 PyObject
*resultobj
= 0;
12895 unsigned long arg1
;
12896 wxString
*arg2
= 0 ;
12897 unsigned long val1
;
12899 bool temp2
= false ;
12901 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12902 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12903 if (!SWIG_IsOK(ecode1
)) {
12904 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12906 arg1
= static_cast< unsigned long >(val1
);
12908 arg2
= wxString_in_helper(swig_obj
[1]);
12909 if (arg2
== NULL
) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12915 wxPyEndAllowThreads(__tstate
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= SWIG_Py_Void();
12933 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12934 PyObject
*resultobj
= 0;
12935 wxString
*arg1
= 0 ;
12936 wxString
*arg2
= 0 ;
12937 bool temp1
= false ;
12938 bool temp2
= false ;
12940 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12942 arg1
= wxString_in_helper(swig_obj
[0]);
12943 if (arg1
== NULL
) SWIG_fail
;
12947 arg2
= wxString_in_helper(swig_obj
[1]);
12948 if (arg2
== NULL
) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_Py_Void();
12980 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12984 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12990 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12993 if (!_v
) goto check_1
;
12994 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12999 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
13003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
13008 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
= 0;
13010 wxString
*arg1
= 0 ;
13011 wxString
*arg2
= 0 ;
13012 bool temp1
= false ;
13013 bool temp2
= false ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 char * kwnames
[] = {
13017 (char *) "title",(char *) "text", NULL
13020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13022 arg1
= wxString_in_helper(obj0
);
13023 if (arg1
== NULL
) SWIG_fail
;
13027 arg2
= wxString_in_helper(obj1
);
13028 if (arg2
== NULL
) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_Py_Void();
13060 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13061 PyObject
*resultobj
= 0;
13062 wxLogNull
*result
= 0 ;
13064 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (wxLogNull
*)new wxLogNull();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13078 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13079 PyObject
*resultobj
= 0;
13080 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13083 PyObject
*swig_obj
[1] ;
13085 if (!args
) SWIG_fail
;
13086 swig_obj
[0] = args
;
13087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13088 if (!SWIG_IsOK(res1
)) {
13089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13091 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_Py_Void();
13106 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13109 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13110 return SWIG_Py_Void();
13113 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 return SWIG_Python_InitShadowInstance(args
);
13117 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13118 PyObject
*resultobj
= 0;
13119 wxPyLog
*result
= 0 ;
13121 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 result
= (wxPyLog
*)new wxPyLog();
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
13135 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
13138 PyObject
*arg2
= (PyObject
*) 0 ;
13139 PyObject
*arg3
= (PyObject
*) 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "self",(char *) "_class", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
13154 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_Py_Void();
13170 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13173 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
13174 return SWIG_Py_Void();
13177 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13178 return SWIG_Python_InitShadowInstance(args
);
13181 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
= 0;
13184 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13185 int arg3
= (int) wxKILL_NOCHILDREN
;
13186 wxKillError result
;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13202 if (!SWIG_IsOK(ecode1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13205 arg1
= static_cast< int >(val1
);
13207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13208 if (!SWIG_IsOK(ecode2
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13211 arg2
= static_cast< wxSignal
>(val2
);
13214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13215 if (!SWIG_IsOK(ecode3
)) {
13216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13218 arg3
= static_cast< int >(val3
);
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13226 resultobj
= SWIG_From_int(static_cast< int >(result
));
13233 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
= 0;
13239 PyObject
* obj0
= 0 ;
13240 char * kwnames
[] = {
13241 (char *) "pid", NULL
13244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13245 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13246 if (!SWIG_IsOK(ecode1
)) {
13247 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13249 arg1
= static_cast< int >(val1
);
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (bool)wxPyProcess::Exists(arg1
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13265 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
= 0;
13267 wxString
*arg1
= 0 ;
13268 int arg2
= (int) wxEXEC_ASYNC
;
13269 wxPyProcess
*result
= 0 ;
13270 bool temp1
= false ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 char * kwnames
[] = {
13276 (char *) "cmd",(char *) "flags", NULL
13279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13281 arg1
= wxString_in_helper(obj0
);
13282 if (arg1
== NULL
) SWIG_fail
;
13286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13287 if (!SWIG_IsOK(ecode2
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13290 arg2
= static_cast< int >(val2
);
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13313 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
= 0;
13315 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13316 int arg2
= (int) -1 ;
13317 wxPyProcess
*result
= 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char * kwnames
[] = {
13325 (char *) "parent",(char *) "id", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13331 if (!SWIG_IsOK(res1
)) {
13332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13334 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13338 if (!SWIG_IsOK(ecode2
)) {
13339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13341 arg2
= static_cast< int >(val2
);
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13356 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
= 0;
13358 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13359 PyObject
*arg2
= (PyObject
*) 0 ;
13360 PyObject
*arg3
= (PyObject
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 PyObject
* obj1
= 0 ;
13365 PyObject
* obj2
= 0 ;
13366 char * kwnames
[] = {
13367 (char *) "self",(char *) "self",(char *) "_class", NULL
13370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13372 if (!SWIG_IsOK(res1
)) {
13373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13375 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
= 0;
13393 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 PyObject
* obj2
= 0 ;
13405 char * kwnames
[] = {
13406 (char *) "self",(char *) "pid",(char *) "status", NULL
13409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13411 if (!SWIG_IsOK(res1
)) {
13412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13414 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13416 if (!SWIG_IsOK(ecode2
)) {
13417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13419 arg2
= static_cast< int >(val2
);
13420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13421 if (!SWIG_IsOK(ecode3
)) {
13422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13424 arg3
= static_cast< int >(val3
);
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 (arg1
)->OnTerminate(arg2
,arg3
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_Py_Void();
13438 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13439 PyObject
*resultobj
= 0;
13440 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13443 PyObject
*swig_obj
[1] ;
13445 if (!args
) SWIG_fail
;
13446 swig_obj
[0] = args
;
13447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13451 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->Redirect();
13455 wxPyEndAllowThreads(__tstate
);
13456 if (PyErr_Occurred()) SWIG_fail
;
13458 resultobj
= SWIG_Py_Void();
13465 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13466 PyObject
*resultobj
= 0;
13467 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13471 PyObject
*swig_obj
[1] ;
13473 if (!args
) SWIG_fail
;
13474 swig_obj
[0] = args
;
13475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13476 if (!SWIG_IsOK(res1
)) {
13477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13479 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)(arg1
)->IsRedirected();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13496 PyObject
*resultobj
= 0;
13497 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13500 PyObject
*swig_obj
[1] ;
13502 if (!args
) SWIG_fail
;
13503 swig_obj
[0] = args
;
13504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13505 if (!SWIG_IsOK(res1
)) {
13506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13508 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_Py_Void();
13522 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13523 PyObject
*resultobj
= 0;
13524 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13525 wxInputStream
*result
= 0 ;
13528 PyObject
*swig_obj
[1] ;
13530 if (!args
) SWIG_fail
;
13531 swig_obj
[0] = args
;
13532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13533 if (!SWIG_IsOK(res1
)) {
13534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13536 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 wxPyInputStream
* _ptr
= NULL
;
13547 _ptr
= new wxPyInputStream(result
);
13549 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13557 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13558 PyObject
*resultobj
= 0;
13559 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13560 wxInputStream
*result
= 0 ;
13563 PyObject
*swig_obj
[1] ;
13565 if (!args
) SWIG_fail
;
13566 swig_obj
[0] = args
;
13567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13571 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13579 wxPyInputStream
* _ptr
= NULL
;
13582 _ptr
= new wxPyInputStream(result
);
13584 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13592 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13593 PyObject
*resultobj
= 0;
13594 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13595 wxOutputStream
*result
= 0 ;
13598 PyObject
*swig_obj
[1] ;
13600 if (!args
) SWIG_fail
;
13601 swig_obj
[0] = args
;
13602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13606 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13620 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13621 PyObject
*resultobj
= 0;
13622 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13625 PyObject
*swig_obj
[1] ;
13627 if (!args
) SWIG_fail
;
13628 swig_obj
[0] = args
;
13629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13630 if (!SWIG_IsOK(res1
)) {
13631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13633 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->CloseOutput();
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_Py_Void();
13647 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13648 PyObject
*resultobj
= 0;
13649 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13653 PyObject
*swig_obj
[1] ;
13655 if (!args
) SWIG_fail
;
13656 swig_obj
[0] = args
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13661 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13678 PyObject
*resultobj
= 0;
13679 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13683 PyObject
*swig_obj
[1] ;
13685 if (!args
) SWIG_fail
;
13686 swig_obj
[0] = args
;
13687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13691 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13707 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13708 PyObject
*resultobj
= 0;
13709 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13713 PyObject
*swig_obj
[1] ;
13715 if (!args
) SWIG_fail
;
13716 swig_obj
[0] = args
;
13717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13718 if (!SWIG_IsOK(res1
)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13721 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13739 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13741 return SWIG_Py_Void();
13744 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13745 return SWIG_Python_InitShadowInstance(args
);
13748 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
= 0;
13750 int arg1
= (int) 0 ;
13751 int arg2
= (int) 0 ;
13752 int arg3
= (int) 0 ;
13753 wxProcessEvent
*result
= 0 ;
13760 PyObject
* obj0
= 0 ;
13761 PyObject
* obj1
= 0 ;
13762 PyObject
* obj2
= 0 ;
13763 char * kwnames
[] = {
13764 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13769 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13770 if (!SWIG_IsOK(ecode1
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13773 arg1
= static_cast< int >(val1
);
13776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13777 if (!SWIG_IsOK(ecode2
)) {
13778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13780 arg2
= static_cast< int >(val2
);
13783 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13784 if (!SWIG_IsOK(ecode3
)) {
13785 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13787 arg3
= static_cast< int >(val3
);
13790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13791 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13792 wxPyEndAllowThreads(__tstate
);
13793 if (PyErr_Occurred()) SWIG_fail
;
13795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13802 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13803 PyObject
*resultobj
= 0;
13804 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13808 PyObject
*swig_obj
[1] ;
13810 if (!args
) SWIG_fail
;
13811 swig_obj
[0] = args
;
13812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13816 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (int)(arg1
)->GetPid();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= SWIG_From_int(static_cast< int >(result
));
13830 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13831 PyObject
*resultobj
= 0;
13832 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13836 PyObject
*swig_obj
[1] ;
13838 if (!args
) SWIG_fail
;
13839 swig_obj
[0] = args
;
13840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13841 if (!SWIG_IsOK(res1
)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13844 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (int)(arg1
)->GetExitCode();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_From_int(static_cast< int >(result
));
13858 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13859 PyObject
*resultobj
= 0;
13860 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13866 PyObject
*swig_obj
[2] ;
13868 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13870 if (!SWIG_IsOK(res1
)) {
13871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13873 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13874 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13875 if (!SWIG_IsOK(ecode2
)) {
13876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13878 arg2
= static_cast< int >(val2
);
13879 if (arg1
) (arg1
)->m_pid
= arg2
;
13881 resultobj
= SWIG_Py_Void();
13888 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13894 PyObject
*swig_obj
[1] ;
13896 if (!args
) SWIG_fail
;
13897 swig_obj
[0] = args
;
13898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13902 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13903 result
= (int) ((arg1
)->m_pid
);
13904 resultobj
= SWIG_From_int(static_cast< int >(result
));
13911 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13912 PyObject
*resultobj
= 0;
13913 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13919 PyObject
*swig_obj
[2] ;
13921 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13926 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13927 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13928 if (!SWIG_IsOK(ecode2
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13931 arg2
= static_cast< int >(val2
);
13932 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13934 resultobj
= SWIG_Py_Void();
13941 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13942 PyObject
*resultobj
= 0;
13943 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13947 PyObject
*swig_obj
[1] ;
13949 if (!args
) SWIG_fail
;
13950 swig_obj
[0] = args
;
13951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13952 if (!SWIG_IsOK(res1
)) {
13953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13955 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13956 result
= (int) ((arg1
)->m_exitcode
);
13957 resultobj
= SWIG_From_int(static_cast< int >(result
));
13964 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13967 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13968 return SWIG_Py_Void();
13971 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13972 return SWIG_Python_InitShadowInstance(args
);
13975 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
= 0;
13977 wxString
*arg1
= 0 ;
13978 int arg2
= (int) wxEXEC_ASYNC
;
13979 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13981 bool temp1
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 char * kwnames
[] = {
13990 (char *) "command",(char *) "flags",(char *) "process", NULL
13993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13995 arg1
= wxString_in_helper(obj0
);
13996 if (arg1
== NULL
) SWIG_fail
;
14000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14001 if (!SWIG_IsOK(ecode2
)) {
14002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
14004 arg2
= static_cast< int >(val2
);
14007 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
14008 if (!SWIG_IsOK(res3
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
14011 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
14014 if (!wxPyCheckForApp()) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
14017 wxPyEndAllowThreads(__tstate
);
14018 if (PyErr_Occurred()) SWIG_fail
;
14020 resultobj
= SWIG_From_long(static_cast< long >(result
));
14035 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
= 0;
14038 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
14039 wxKillError
*arg3
= (wxKillError
*) 0 ;
14040 int arg4
= (int) wxKILL_NOCHILDREN
;
14046 wxKillError temp3
;
14049 PyObject
* obj0
= 0 ;
14050 PyObject
* obj1
= 0 ;
14051 PyObject
* obj2
= 0 ;
14052 char * kwnames
[] = {
14053 (char *) "pid",(char *) "sig",(char *) "flags", NULL
14059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14060 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
14061 if (!SWIG_IsOK(ecode1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14064 arg1
= static_cast< long >(val1
);
14066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14067 if (!SWIG_IsOK(ecode2
)) {
14068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14070 arg2
= static_cast< wxSignal
>(val2
);
14073 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14074 if (!SWIG_IsOK(ecode4
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14077 arg4
= static_cast< int >(val4
);
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= SWIG_From_int(static_cast< int >(result
));
14088 o
= PyInt_FromLong((long) (*arg3
));
14092 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14101 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
= 0;
14103 int arg1
= (int) wxJOYSTICK1
;
14104 wxJoystick
*result
= 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char * kwnames
[] = {
14109 (char *) "joystick", NULL
14112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14115 if (!SWIG_IsOK(ecode1
)) {
14116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
14118 arg1
= static_cast< int >(val1
);
14121 if (!wxPyCheckForApp()) SWIG_fail
;
14122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14123 result
= (wxJoystick
*)new wxJoystick(arg1
);
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
14134 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14135 PyObject
*resultobj
= 0;
14136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14139 PyObject
*swig_obj
[1] ;
14141 if (!args
) SWIG_fail
;
14142 swig_obj
[0] = args
;
14143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
14144 if (!SWIG_IsOK(res1
)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
14147 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 wxPyEndAllowThreads(__tstate
);
14153 if (PyErr_Occurred()) SWIG_fail
;
14155 resultobj
= SWIG_Py_Void();
14162 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14163 PyObject
*resultobj
= 0;
14164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14168 PyObject
*swig_obj
[1] ;
14170 if (!args
) SWIG_fail
;
14171 swig_obj
[0] = args
;
14172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14173 if (!SWIG_IsOK(res1
)) {
14174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14176 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (arg1
)->GetPosition();
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14190 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 PyObject
*resultobj
= 0;
14192 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14196 PyObject
*swig_obj
[1] ;
14198 if (!args
) SWIG_fail
;
14199 swig_obj
[0] = args
;
14200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14201 if (!SWIG_IsOK(res1
)) {
14202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14204 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (int)(arg1
)->GetZPosition();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_From_int(static_cast< int >(result
));
14218 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14219 PyObject
*resultobj
= 0;
14220 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14224 PyObject
*swig_obj
[1] ;
14226 if (!args
) SWIG_fail
;
14227 swig_obj
[0] = args
;
14228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14229 if (!SWIG_IsOK(res1
)) {
14230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14232 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14235 result
= (int)(arg1
)->GetButtonState();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 resultobj
= SWIG_From_int(static_cast< int >(result
));
14246 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14247 PyObject
*resultobj
= 0;
14248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14252 PyObject
*swig_obj
[1] ;
14254 if (!args
) SWIG_fail
;
14255 swig_obj
[0] = args
;
14256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14257 if (!SWIG_IsOK(res1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14260 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (int)(arg1
)->GetPOVPosition();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= SWIG_From_int(static_cast< int >(result
));
14274 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 PyObject
*resultobj
= 0;
14276 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14280 PyObject
*swig_obj
[1] ;
14282 if (!args
) SWIG_fail
;
14283 swig_obj
[0] = args
;
14284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14285 if (!SWIG_IsOK(res1
)) {
14286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14288 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (int)(arg1
)->GetPOVCTSPosition();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int(static_cast< int >(result
));
14302 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14303 PyObject
*resultobj
= 0;
14304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14308 PyObject
*swig_obj
[1] ;
14310 if (!args
) SWIG_fail
;
14311 swig_obj
[0] = args
;
14312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14313 if (!SWIG_IsOK(res1
)) {
14314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14316 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)(arg1
)->GetRudderPosition();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_From_int(static_cast< int >(result
));
14330 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14331 PyObject
*resultobj
= 0;
14332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14336 PyObject
*swig_obj
[1] ;
14338 if (!args
) SWIG_fail
;
14339 swig_obj
[0] = args
;
14340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14341 if (!SWIG_IsOK(res1
)) {
14342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14344 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 result
= (int)(arg1
)->GetUPosition();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_From_int(static_cast< int >(result
));
14358 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14359 PyObject
*resultobj
= 0;
14360 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14364 PyObject
*swig_obj
[1] ;
14366 if (!args
) SWIG_fail
;
14367 swig_obj
[0] = args
;
14368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14369 if (!SWIG_IsOK(res1
)) {
14370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14372 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= (int)(arg1
)->GetVPosition();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_From_int(static_cast< int >(result
));
14386 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 PyObject
*resultobj
= 0;
14388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14392 PyObject
*swig_obj
[1] ;
14394 if (!args
) SWIG_fail
;
14395 swig_obj
[0] = args
;
14396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14397 if (!SWIG_IsOK(res1
)) {
14398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14400 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 result
= (int)(arg1
)->GetMovementThreshold();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_From_int(static_cast< int >(result
));
14414 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 PyObject
* obj1
= 0 ;
14424 char * kwnames
[] = {
14425 (char *) "self",(char *) "threshold", NULL
14428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14433 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14435 if (!SWIG_IsOK(ecode2
)) {
14436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14438 arg2
= static_cast< int >(val2
);
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 (arg1
)->SetMovementThreshold(arg2
);
14442 wxPyEndAllowThreads(__tstate
);
14443 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= SWIG_Py_Void();
14452 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14453 PyObject
*resultobj
= 0;
14454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14458 PyObject
*swig_obj
[1] ;
14460 if (!args
) SWIG_fail
;
14461 swig_obj
[0] = args
;
14462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14463 if (!SWIG_IsOK(res1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14466 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)(arg1
)->IsOk();
14470 wxPyEndAllowThreads(__tstate
);
14471 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14482 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14483 PyObject
*resultobj
= 0;
14484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14488 PyObject
*swig_obj
[1] ;
14490 if (!args
) SWIG_fail
;
14491 swig_obj
[0] = args
;
14492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14496 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)(arg1
)->GetNumberJoysticks();
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= SWIG_From_int(static_cast< int >(result
));
14510 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14511 PyObject
*resultobj
= 0;
14512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14516 PyObject
*swig_obj
[1] ;
14518 if (!args
) SWIG_fail
;
14519 swig_obj
[0] = args
;
14520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14521 if (!SWIG_IsOK(res1
)) {
14522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14524 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= (int)(arg1
)->GetManufacturerId();
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_From_int(static_cast< int >(result
));
14538 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 PyObject
*resultobj
= 0;
14540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14544 PyObject
*swig_obj
[1] ;
14546 if (!args
) SWIG_fail
;
14547 swig_obj
[0] = args
;
14548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14549 if (!SWIG_IsOK(res1
)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14552 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (int)(arg1
)->GetProductId();
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= SWIG_From_int(static_cast< int >(result
));
14566 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14567 PyObject
*resultobj
= 0;
14568 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14572 PyObject
*swig_obj
[1] ;
14574 if (!args
) SWIG_fail
;
14575 swig_obj
[0] = args
;
14576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14580 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (arg1
)->GetProductName();
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14600 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14601 PyObject
*resultobj
= 0;
14602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14606 PyObject
*swig_obj
[1] ;
14608 if (!args
) SWIG_fail
;
14609 swig_obj
[0] = args
;
14610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14614 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (int)(arg1
)->GetXMin();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14621 resultobj
= SWIG_From_int(static_cast< int >(result
));
14628 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14629 PyObject
*resultobj
= 0;
14630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14634 PyObject
*swig_obj
[1] ;
14636 if (!args
) SWIG_fail
;
14637 swig_obj
[0] = args
;
14638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14639 if (!SWIG_IsOK(res1
)) {
14640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14642 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (int)(arg1
)->GetYMin();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_From_int(static_cast< int >(result
));
14656 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14657 PyObject
*resultobj
= 0;
14658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14662 PyObject
*swig_obj
[1] ;
14664 if (!args
) SWIG_fail
;
14665 swig_obj
[0] = args
;
14666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14667 if (!SWIG_IsOK(res1
)) {
14668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14670 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 result
= (int)(arg1
)->GetZMin();
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_From_int(static_cast< int >(result
));
14684 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14685 PyObject
*resultobj
= 0;
14686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14690 PyObject
*swig_obj
[1] ;
14692 if (!args
) SWIG_fail
;
14693 swig_obj
[0] = args
;
14694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14698 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (int)(arg1
)->GetXMax();
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_From_int(static_cast< int >(result
));
14712 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14713 PyObject
*resultobj
= 0;
14714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14718 PyObject
*swig_obj
[1] ;
14720 if (!args
) SWIG_fail
;
14721 swig_obj
[0] = args
;
14722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14723 if (!SWIG_IsOK(res1
)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14726 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (int)(arg1
)->GetYMax();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= SWIG_From_int(static_cast< int >(result
));
14740 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14741 PyObject
*resultobj
= 0;
14742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14746 PyObject
*swig_obj
[1] ;
14748 if (!args
) SWIG_fail
;
14749 swig_obj
[0] = args
;
14750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14751 if (!SWIG_IsOK(res1
)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14754 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 result
= (int)(arg1
)->GetZMax();
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_From_int(static_cast< int >(result
));
14768 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14769 PyObject
*resultobj
= 0;
14770 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14774 PyObject
*swig_obj
[1] ;
14776 if (!args
) SWIG_fail
;
14777 swig_obj
[0] = args
;
14778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14779 if (!SWIG_IsOK(res1
)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14782 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (int)(arg1
)->GetNumberButtons();
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_From_int(static_cast< int >(result
));
14796 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14797 PyObject
*resultobj
= 0;
14798 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14802 PyObject
*swig_obj
[1] ;
14804 if (!args
) SWIG_fail
;
14805 swig_obj
[0] = args
;
14806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14807 if (!SWIG_IsOK(res1
)) {
14808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14810 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14813 result
= (int)(arg1
)->GetNumberAxes();
14814 wxPyEndAllowThreads(__tstate
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14817 resultobj
= SWIG_From_int(static_cast< int >(result
));
14824 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14825 PyObject
*resultobj
= 0;
14826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14830 PyObject
*swig_obj
[1] ;
14832 if (!args
) SWIG_fail
;
14833 swig_obj
[0] = args
;
14834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14835 if (!SWIG_IsOK(res1
)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14838 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (int)(arg1
)->GetMaxButtons();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_From_int(static_cast< int >(result
));
14852 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14858 PyObject
*swig_obj
[1] ;
14860 if (!args
) SWIG_fail
;
14861 swig_obj
[0] = args
;
14862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14863 if (!SWIG_IsOK(res1
)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14866 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14869 result
= (int)(arg1
)->GetMaxAxes();
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14873 resultobj
= SWIG_From_int(static_cast< int >(result
));
14880 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14881 PyObject
*resultobj
= 0;
14882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14886 PyObject
*swig_obj
[1] ;
14888 if (!args
) SWIG_fail
;
14889 swig_obj
[0] = args
;
14890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14891 if (!SWIG_IsOK(res1
)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14894 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (int)(arg1
)->GetPollingMin();
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_From_int(static_cast< int >(result
));
14908 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14909 PyObject
*resultobj
= 0;
14910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14914 PyObject
*swig_obj
[1] ;
14916 if (!args
) SWIG_fail
;
14917 swig_obj
[0] = args
;
14918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14922 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (int)(arg1
)->GetPollingMax();
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_From_int(static_cast< int >(result
));
14936 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14937 PyObject
*resultobj
= 0;
14938 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14942 PyObject
*swig_obj
[1] ;
14944 if (!args
) SWIG_fail
;
14945 swig_obj
[0] = args
;
14946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14947 if (!SWIG_IsOK(res1
)) {
14948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14950 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 result
= (int)(arg1
)->GetRudderMin();
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_From_int(static_cast< int >(result
));
14964 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14978 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (int)(arg1
)->GetRudderMax();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_From_int(static_cast< int >(result
));
14992 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14998 PyObject
*swig_obj
[1] ;
15000 if (!args
) SWIG_fail
;
15001 swig_obj
[0] = args
;
15002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15006 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (int)(arg1
)->GetUMin();
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 resultobj
= SWIG_From_int(static_cast< int >(result
));
15020 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15021 PyObject
*resultobj
= 0;
15022 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15026 PyObject
*swig_obj
[1] ;
15028 if (!args
) SWIG_fail
;
15029 swig_obj
[0] = args
;
15030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15031 if (!SWIG_IsOK(res1
)) {
15032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15034 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (int)(arg1
)->GetUMax();
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_From_int(static_cast< int >(result
));
15048 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15054 PyObject
*swig_obj
[1] ;
15056 if (!args
) SWIG_fail
;
15057 swig_obj
[0] = args
;
15058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
15062 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (int)(arg1
)->GetVMin();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_From_int(static_cast< int >(result
));
15076 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15082 PyObject
*swig_obj
[1] ;
15084 if (!args
) SWIG_fail
;
15085 swig_obj
[0] = args
;
15086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15087 if (!SWIG_IsOK(res1
)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15090 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (int)(arg1
)->GetVMax();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_From_int(static_cast< int >(result
));
15104 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15105 PyObject
*resultobj
= 0;
15106 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15110 PyObject
*swig_obj
[1] ;
15112 if (!args
) SWIG_fail
;
15113 swig_obj
[0] = args
;
15114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15115 if (!SWIG_IsOK(res1
)) {
15116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
15118 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (bool)(arg1
)->HasRudder();
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15134 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15135 PyObject
*resultobj
= 0;
15136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15140 PyObject
*swig_obj
[1] ;
15142 if (!args
) SWIG_fail
;
15143 swig_obj
[0] = args
;
15144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15145 if (!SWIG_IsOK(res1
)) {
15146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
15148 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)(arg1
)->HasZ();
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15164 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15170 PyObject
*swig_obj
[1] ;
15172 if (!args
) SWIG_fail
;
15173 swig_obj
[0] = args
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
15178 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 result
= (bool)(arg1
)->HasU();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15194 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15195 PyObject
*resultobj
= 0;
15196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15200 PyObject
*swig_obj
[1] ;
15202 if (!args
) SWIG_fail
;
15203 swig_obj
[0] = args
;
15204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15205 if (!SWIG_IsOK(res1
)) {
15206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15208 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15211 result
= (bool)(arg1
)->HasV();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15224 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15225 PyObject
*resultobj
= 0;
15226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15230 PyObject
*swig_obj
[1] ;
15232 if (!args
) SWIG_fail
;
15233 swig_obj
[0] = args
;
15234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15238 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (bool)(arg1
)->HasPOV();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15254 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15255 PyObject
*resultobj
= 0;
15256 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15260 PyObject
*swig_obj
[1] ;
15262 if (!args
) SWIG_fail
;
15263 swig_obj
[0] = args
;
15264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15265 if (!SWIG_IsOK(res1
)) {
15266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15268 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (bool)(arg1
)->HasPOV4Dir();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15284 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15285 PyObject
*resultobj
= 0;
15286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15290 PyObject
*swig_obj
[1] ;
15292 if (!args
) SWIG_fail
;
15293 swig_obj
[0] = args
;
15294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15295 if (!SWIG_IsOK(res1
)) {
15296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15298 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)(arg1
)->HasPOVCTS();
15302 wxPyEndAllowThreads(__tstate
);
15303 if (PyErr_Occurred()) SWIG_fail
;
15306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15314 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
= 0;
15316 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15317 wxWindow
*arg2
= (wxWindow
*) 0 ;
15318 int arg3
= (int) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 PyObject
* obj1
= 0 ;
15328 PyObject
* obj2
= 0 ;
15329 char * kwnames
[] = {
15330 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15335 if (!SWIG_IsOK(res1
)) {
15336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15338 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15339 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15340 if (!SWIG_IsOK(res2
)) {
15341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15343 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15346 if (!SWIG_IsOK(ecode3
)) {
15347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15349 arg3
= static_cast< int >(val3
);
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15372 PyObject
*swig_obj
[1] ;
15374 if (!args
) SWIG_fail
;
15375 swig_obj
[0] = args
;
15376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15380 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->ReleaseCapture();
15384 wxPyEndAllowThreads(__tstate
);
15385 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15396 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15399 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15400 return SWIG_Py_Void();
15403 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15404 return SWIG_Python_InitShadowInstance(args
);
15407 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
= 0;
15409 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15410 int arg2
= (int) 0 ;
15411 int arg3
= (int) wxJOYSTICK1
;
15412 int arg4
= (int) 0 ;
15413 wxJoystickEvent
*result
= 0 ;
15422 PyObject
* obj0
= 0 ;
15423 PyObject
* obj1
= 0 ;
15424 PyObject
* obj2
= 0 ;
15425 PyObject
* obj3
= 0 ;
15426 char * kwnames
[] = {
15427 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15432 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15433 if (!SWIG_IsOK(ecode1
)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15436 arg1
= static_cast< wxEventType
>(val1
);
15439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15440 if (!SWIG_IsOK(ecode2
)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15443 arg2
= static_cast< int >(val2
);
15446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15447 if (!SWIG_IsOK(ecode3
)) {
15448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15450 arg3
= static_cast< int >(val3
);
15453 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15454 if (!SWIG_IsOK(ecode4
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15457 arg4
= static_cast< int >(val4
);
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15472 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15473 PyObject
*resultobj
= 0;
15474 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15478 PyObject
*swig_obj
[1] ;
15480 if (!args
) SWIG_fail
;
15481 swig_obj
[0] = args
;
15482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15483 if (!SWIG_IsOK(res1
)) {
15484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15486 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15500 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15501 PyObject
*resultobj
= 0;
15502 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15506 PyObject
*swig_obj
[1] ;
15508 if (!args
) SWIG_fail
;
15509 swig_obj
[0] = args
;
15510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15511 if (!SWIG_IsOK(res1
)) {
15512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15514 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_From_int(static_cast< int >(result
));
15528 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15529 PyObject
*resultobj
= 0;
15530 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15534 PyObject
*swig_obj
[1] ;
15536 if (!args
) SWIG_fail
;
15537 swig_obj
[0] = args
;
15538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15542 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_From_int(static_cast< int >(result
));
15556 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15557 PyObject
*resultobj
= 0;
15558 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15562 PyObject
*swig_obj
[1] ;
15564 if (!args
) SWIG_fail
;
15565 swig_obj
[0] = args
;
15566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15567 if (!SWIG_IsOK(res1
)) {
15568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15570 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_From_int(static_cast< int >(result
));
15584 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15585 PyObject
*resultobj
= 0;
15586 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15590 PyObject
*swig_obj
[1] ;
15592 if (!args
) SWIG_fail
;
15593 swig_obj
[0] = args
;
15594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15598 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_From_int(static_cast< int >(result
));
15612 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char * kwnames
[] = {
15623 (char *) "self",(char *) "stick", NULL
15626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15628 if (!SWIG_IsOK(res1
)) {
15629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15631 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15633 if (!SWIG_IsOK(ecode2
)) {
15634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15636 arg2
= static_cast< int >(val2
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetJoystick(arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_Py_Void();
15650 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
= 0;
15652 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char * kwnames
[] = {
15661 (char *) "self",(char *) "state", NULL
15664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15666 if (!SWIG_IsOK(res1
)) {
15667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15669 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15671 if (!SWIG_IsOK(ecode2
)) {
15672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15674 arg2
= static_cast< int >(val2
);
15676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 (arg1
)->SetButtonState(arg2
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= SWIG_Py_Void();
15688 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
= 0;
15690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15696 PyObject
* obj0
= 0 ;
15697 PyObject
* obj1
= 0 ;
15698 char * kwnames
[] = {
15699 (char *) "self",(char *) "change", NULL
15702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15704 if (!SWIG_IsOK(res1
)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15707 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15709 if (!SWIG_IsOK(ecode2
)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15712 arg2
= static_cast< int >(val2
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 (arg1
)->SetButtonChange(arg2
);
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15719 resultobj
= SWIG_Py_Void();
15726 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
= 0;
15728 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15729 wxPoint
*arg2
= 0 ;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 char * kwnames
[] = {
15736 (char *) "self",(char *) "pos", NULL
15739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15741 if (!SWIG_IsOK(res1
)) {
15742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15744 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_Py_Void();
15762 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char * kwnames
[] = {
15773 (char *) "self",(char *) "zPos", NULL
15776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15778 if (!SWIG_IsOK(res1
)) {
15779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15781 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15783 if (!SWIG_IsOK(ecode2
)) {
15784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15786 arg2
= static_cast< int >(val2
);
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 (arg1
)->SetZPosition(arg2
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_Py_Void();
15800 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15802 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15806 PyObject
*swig_obj
[1] ;
15808 if (!args
) SWIG_fail
;
15809 swig_obj
[0] = args
;
15810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15811 if (!SWIG_IsOK(res1
)) {
15812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15814 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15830 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 PyObject
*resultobj
= 0;
15832 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15836 PyObject
*swig_obj
[1] ;
15838 if (!args
) SWIG_fail
;
15839 swig_obj
[0] = args
;
15840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15844 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15860 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15861 PyObject
*resultobj
= 0;
15862 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15866 PyObject
*swig_obj
[1] ;
15868 if (!args
) SWIG_fail
;
15869 swig_obj
[0] = args
;
15870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15871 if (!SWIG_IsOK(res1
)) {
15872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15874 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15890 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
= 0;
15892 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15893 int arg2
= (int) wxJOY_BUTTON_ANY
;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char * kwnames
[] = {
15902 (char *) "self",(char *) "but", NULL
15905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15910 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15913 if (!SWIG_IsOK(ecode2
)) {
15914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15916 arg2
= static_cast< int >(val2
);
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15921 wxPyEndAllowThreads(__tstate
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15933 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= 0;
15935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15936 int arg2
= (int) wxJOY_BUTTON_ANY
;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char * kwnames
[] = {
15945 (char *) "self",(char *) "but", NULL
15948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15950 if (!SWIG_IsOK(res1
)) {
15951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15953 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15956 if (!SWIG_IsOK(ecode2
)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15959 arg2
= static_cast< int >(val2
);
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15976 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15979 int arg2
= (int) wxJOY_BUTTON_ANY
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "self",(char *) "but", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15996 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15999 if (!SWIG_IsOK(ecode2
)) {
16000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
16002 arg2
= static_cast< int >(val2
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16022 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
16023 return SWIG_Py_Void();
16026 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16027 return SWIG_Python_InitShadowInstance(args
);
16030 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
= 0;
16032 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16033 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16034 wxSound
*result
= 0 ;
16035 bool temp1
= false ;
16036 PyObject
* obj0
= 0 ;
16037 char * kwnames
[] = {
16038 (char *) "fileName", NULL
16041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
16044 arg1
= wxString_in_helper(obj0
);
16045 if (arg1
== NULL
) SWIG_fail
;
16050 if (!wxPyCheckForApp()) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16071 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
= 0;
16073 PyObject
*arg1
= (PyObject
*) 0 ;
16074 wxSound
*result
= 0 ;
16075 PyObject
* obj0
= 0 ;
16076 char * kwnames
[] = {
16077 (char *) "data", NULL
16080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16083 if (!wxPyCheckForApp()) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (wxSound
*)new_wxSound(arg1
);
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16096 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16097 PyObject
*resultobj
= 0;
16098 wxSound
*arg1
= (wxSound
*) 0 ;
16101 PyObject
*swig_obj
[1] ;
16103 if (!args
) SWIG_fail
;
16104 swig_obj
[0] = args
;
16105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16106 if (!SWIG_IsOK(res1
)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16109 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
= 0;
16126 wxSound
*arg1
= (wxSound
*) 0 ;
16127 wxString
*arg2
= 0 ;
16131 bool temp2
= false ;
16132 PyObject
* obj0
= 0 ;
16133 PyObject
* obj1
= 0 ;
16134 char * kwnames
[] = {
16135 (char *) "self",(char *) "fileName", NULL
16138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16140 if (!SWIG_IsOK(res1
)) {
16141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
16143 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16145 arg2
= wxString_in_helper(obj1
);
16146 if (arg2
== NULL
) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= 0;
16174 wxSound
*arg1
= (wxSound
*) 0 ;
16175 PyObject
*arg2
= (PyObject
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "self",(char *) "data", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16187 if (!SWIG_IsOK(res1
)) {
16188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16190 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16207 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16208 PyObject
*resultobj
= 0;
16209 wxSound
*arg1
= (wxSound
*) 0 ;
16213 PyObject
*swig_obj
[1] ;
16215 if (!args
) SWIG_fail
;
16216 swig_obj
[0] = args
;
16217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16218 if (!SWIG_IsOK(res1
)) {
16219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16221 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (bool)(arg1
)->IsOk();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16237 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
= 0;
16239 wxSound
*arg1
= (wxSound
*) 0 ;
16240 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16244 unsigned int val2
;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char * kwnames
[] = {
16249 (char *) "self",(char *) "flags", NULL
16252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16254 if (!SWIG_IsOK(res1
)) {
16255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16257 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16259 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16260 if (!SWIG_IsOK(ecode2
)) {
16261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16263 arg2
= static_cast< unsigned int >(val2
);
16266 if (!wxPyCheckForApp()) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= 0;
16283 wxString
*arg1
= 0 ;
16284 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16286 bool temp1
= false ;
16287 unsigned int val2
;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 char * kwnames
[] = {
16292 (char *) "filename",(char *) "flags", NULL
16295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16297 arg1
= wxString_in_helper(obj0
);
16298 if (arg1
== NULL
) SWIG_fail
;
16302 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16303 if (!SWIG_IsOK(ecode2
)) {
16304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16306 arg2
= static_cast< unsigned int >(val2
);
16309 if (!wxPyCheckForApp()) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16312 wxPyEndAllowThreads(__tstate
);
16313 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16332 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16335 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16337 if (!wxPyCheckForApp()) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= SWIG_Py_Void();
16350 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16353 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16354 return SWIG_Py_Void();
16357 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16358 return SWIG_Python_InitShadowInstance(args
);
16361 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
= 0;
16363 wxString
*arg1
= 0 ;
16364 wxString
*arg2
= 0 ;
16365 wxString
*arg3
= 0 ;
16366 wxString
*arg4
= 0 ;
16367 wxFileTypeInfo
*result
= 0 ;
16368 bool temp1
= false ;
16369 bool temp2
= false ;
16370 bool temp3
= false ;
16371 bool temp4
= false ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 PyObject
* obj3
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16382 arg1
= wxString_in_helper(obj0
);
16383 if (arg1
== NULL
) SWIG_fail
;
16387 arg2
= wxString_in_helper(obj1
);
16388 if (arg2
== NULL
) SWIG_fail
;
16392 arg3
= wxString_in_helper(obj2
);
16393 if (arg3
== NULL
) SWIG_fail
;
16397 arg4
= wxString_in_helper(obj3
);
16398 if (arg4
== NULL
) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16446 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
= 0;
16448 wxArrayString
*arg1
= 0 ;
16449 wxFileTypeInfo
*result
= 0 ;
16450 bool temp1
= false ;
16451 PyObject
* obj0
= 0 ;
16452 char * kwnames
[] = {
16453 (char *) "sArray", NULL
16456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16458 if (! PySequence_Check(obj0
)) {
16459 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16462 arg1
= new wxArrayString
;
16464 int i
, len
=PySequence_Length(obj0
);
16465 for (i
=0; i
<len
; i
++) {
16466 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16467 wxString
* s
= wxString_in_helper(item
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16482 if (temp1
) delete arg1
;
16487 if (temp1
) delete arg1
;
16493 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16494 PyObject
*resultobj
= 0;
16495 wxFileTypeInfo
*result
= 0 ;
16497 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16511 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16512 PyObject
*resultobj
= 0;
16513 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16517 PyObject
*swig_obj
[1] ;
16519 if (!args
) SWIG_fail
;
16520 swig_obj
[0] = args
;
16521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16522 if (!SWIG_IsOK(res1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16525 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16541 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16544 wxString
*arg2
= 0 ;
16545 int arg3
= (int) 0 ;
16548 bool temp2
= false ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 PyObject
* obj2
= 0 ;
16554 char * kwnames
[] = {
16555 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16560 if (!SWIG_IsOK(res1
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16563 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16565 arg2
= wxString_in_helper(obj1
);
16566 if (arg2
== NULL
) SWIG_fail
;
16570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16571 if (!SWIG_IsOK(ecode3
)) {
16572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16574 arg3
= static_cast< int >(val3
);
16577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= SWIG_Py_Void();
16597 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
= 0;
16599 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16600 wxString
*arg2
= 0 ;
16603 bool temp2
= false ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char * kwnames
[] = {
16607 (char *) "self",(char *) "shortDesc", NULL
16610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16612 if (!SWIG_IsOK(res1
)) {
16613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16615 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16617 arg2
= wxString_in_helper(obj1
);
16618 if (arg2
== NULL
) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_Py_Void();
16642 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16643 PyObject
*resultobj
= 0;
16644 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16645 wxString
*result
= 0 ;
16648 PyObject
*swig_obj
[1] ;
16650 if (!args
) SWIG_fail
;
16651 swig_obj
[0] = args
;
16652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16653 if (!SWIG_IsOK(res1
)) {
16654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16656 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16661 result
= (wxString
*) &_result_ref
;
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16670 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16679 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16680 PyObject
*resultobj
= 0;
16681 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16682 wxString
*result
= 0 ;
16685 PyObject
*swig_obj
[1] ;
16687 if (!args
) SWIG_fail
;
16688 swig_obj
[0] = args
;
16689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16693 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16698 result
= (wxString
*) &_result_ref
;
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16707 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16716 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16717 PyObject
*resultobj
= 0;
16718 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16719 wxString
*result
= 0 ;
16722 PyObject
*swig_obj
[1] ;
16724 if (!args
) SWIG_fail
;
16725 swig_obj
[0] = args
;
16726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16727 if (!SWIG_IsOK(res1
)) {
16728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16730 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16735 result
= (wxString
*) &_result_ref
;
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16744 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16753 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16754 PyObject
*resultobj
= 0;
16755 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16756 wxString
*result
= 0 ;
16759 PyObject
*swig_obj
[1] ;
16761 if (!args
) SWIG_fail
;
16762 swig_obj
[0] = args
;
16763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16764 if (!SWIG_IsOK(res1
)) {
16765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16767 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16772 result
= (wxString
*) &_result_ref
;
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16790 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16791 PyObject
*resultobj
= 0;
16792 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16793 wxString
*result
= 0 ;
16796 PyObject
*swig_obj
[1] ;
16798 if (!args
) SWIG_fail
;
16799 swig_obj
[0] = args
;
16800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16801 if (!SWIG_IsOK(res1
)) {
16802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16804 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16809 result
= (wxString
*) &_result_ref
;
16811 wxPyEndAllowThreads(__tstate
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16827 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16828 PyObject
*resultobj
= 0;
16829 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16830 wxArrayString
*result
= 0 ;
16833 PyObject
*swig_obj
[1] ;
16835 if (!args
) SWIG_fail
;
16836 swig_obj
[0] = args
;
16837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16838 if (!SWIG_IsOK(res1
)) {
16839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16841 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16846 result
= (wxArrayString
*) &_result_ref
;
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= wxArrayString2PyList_helper(*result
);
16860 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16861 PyObject
*resultobj
= 0;
16862 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16866 PyObject
*swig_obj
[1] ;
16868 if (!args
) SWIG_fail
;
16869 swig_obj
[0] = args
;
16870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16871 if (!SWIG_IsOK(res1
)) {
16872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16874 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16888 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16889 PyObject
*resultobj
= 0;
16890 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16891 wxString
*result
= 0 ;
16894 PyObject
*swig_obj
[1] ;
16896 if (!args
) SWIG_fail
;
16897 swig_obj
[0] = args
;
16898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16899 if (!SWIG_IsOK(res1
)) {
16900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16902 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16907 result
= (wxString
*) &_result_ref
;
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16916 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16925 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 PyObject
*resultobj
= 0;
16927 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16931 PyObject
*swig_obj
[1] ;
16933 if (!args
) SWIG_fail
;
16934 swig_obj
[0] = args
;
16935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16939 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_From_int(static_cast< int >(result
));
16953 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16956 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16957 return SWIG_Py_Void();
16960 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16961 return SWIG_Python_InitShadowInstance(args
);
16964 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16965 PyObject
*resultobj
= 0;
16966 wxFileTypeInfo
*arg1
= 0 ;
16967 wxFileType
*result
= 0 ;
16970 PyObject
* obj0
= 0 ;
16971 char * kwnames
[] = {
16972 (char *) "ftInfo", NULL
16975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16976 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16977 if (!SWIG_IsOK(res1
)) {
16978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16983 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16997 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16998 PyObject
*resultobj
= 0;
16999 wxFileType
*arg1
= (wxFileType
*) 0 ;
17002 PyObject
*swig_obj
[1] ;
17004 if (!args
) SWIG_fail
;
17005 swig_obj
[0] = args
;
17006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
17007 if (!SWIG_IsOK(res1
)) {
17008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
17010 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_Py_Void();
17025 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17026 PyObject
*resultobj
= 0;
17027 wxFileType
*arg1
= (wxFileType
*) 0 ;
17028 PyObject
*result
= 0 ;
17031 PyObject
*swig_obj
[1] ;
17033 if (!args
) SWIG_fail
;
17034 swig_obj
[0] = args
;
17035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
17039 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= result
;
17053 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17054 PyObject
*resultobj
= 0;
17055 wxFileType
*arg1
= (wxFileType
*) 0 ;
17056 PyObject
*result
= 0 ;
17059 PyObject
*swig_obj
[1] ;
17061 if (!args
) SWIG_fail
;
17062 swig_obj
[0] = args
;
17063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17064 if (!SWIG_IsOK(res1
)) {
17065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17067 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= result
;
17081 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17082 PyObject
*resultobj
= 0;
17083 wxFileType
*arg1
= (wxFileType
*) 0 ;
17084 PyObject
*result
= 0 ;
17087 PyObject
*swig_obj
[1] ;
17089 if (!args
) SWIG_fail
;
17090 swig_obj
[0] = args
;
17091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17092 if (!SWIG_IsOK(res1
)) {
17093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17095 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= result
;
17109 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17110 PyObject
*resultobj
= 0;
17111 wxFileType
*arg1
= (wxFileType
*) 0 ;
17112 wxIcon
*result
= 0 ;
17115 PyObject
*swig_obj
[1] ;
17117 if (!args
) SWIG_fail
;
17118 swig_obj
[0] = args
;
17119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17123 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
17137 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17138 PyObject
*resultobj
= 0;
17139 wxFileType
*arg1
= (wxFileType
*) 0 ;
17140 PyObject
*result
= 0 ;
17143 PyObject
*swig_obj
[1] ;
17145 if (!args
) SWIG_fail
;
17146 swig_obj
[0] = args
;
17147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17148 if (!SWIG_IsOK(res1
)) {
17149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
17151 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17158 resultobj
= result
;
17165 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17166 PyObject
*resultobj
= 0;
17167 wxFileType
*arg1
= (wxFileType
*) 0 ;
17168 PyObject
*result
= 0 ;
17171 PyObject
*swig_obj
[1] ;
17173 if (!args
) SWIG_fail
;
17174 swig_obj
[0] = args
;
17175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17179 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
;
17193 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
= 0;
17195 wxFileType
*arg1
= (wxFileType
*) 0 ;
17196 wxString
*arg2
= 0 ;
17197 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17198 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17199 PyObject
*result
= 0 ;
17202 bool temp2
= false ;
17203 bool temp3
= false ;
17204 PyObject
* obj0
= 0 ;
17205 PyObject
* obj1
= 0 ;
17206 PyObject
* obj2
= 0 ;
17207 char * kwnames
[] = {
17208 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17216 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17218 arg2
= wxString_in_helper(obj1
);
17219 if (arg2
== NULL
) SWIG_fail
;
17224 arg3
= wxString_in_helper(obj2
);
17225 if (arg3
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
;
17258 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
= 0;
17260 wxFileType
*arg1
= (wxFileType
*) 0 ;
17261 wxString
*arg2
= 0 ;
17262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17264 PyObject
*result
= 0 ;
17267 bool temp2
= false ;
17268 bool temp3
= false ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 PyObject
* obj2
= 0 ;
17272 char * kwnames
[] = {
17273 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17278 if (!SWIG_IsOK(res1
)) {
17279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17281 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17283 arg2
= wxString_in_helper(obj1
);
17284 if (arg2
== NULL
) SWIG_fail
;
17289 arg3
= wxString_in_helper(obj2
);
17290 if (arg3
== NULL
) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17297 wxPyEndAllowThreads(__tstate
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
;
17323 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
= 0;
17325 wxFileType
*arg1
= (wxFileType
*) 0 ;
17326 wxString
*arg2
= 0 ;
17327 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17328 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17329 PyObject
*result
= 0 ;
17332 bool temp2
= false ;
17333 bool temp3
= false ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 PyObject
* obj2
= 0 ;
17337 char * kwnames
[] = {
17338 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17343 if (!SWIG_IsOK(res1
)) {
17344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17346 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17348 arg2
= wxString_in_helper(obj1
);
17349 if (arg2
== NULL
) SWIG_fail
;
17354 arg3
= wxString_in_helper(obj2
);
17355 if (arg3
== NULL
) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
;
17388 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
= 0;
17390 wxFileType
*arg1
= (wxFileType
*) 0 ;
17391 wxString
*arg2
= 0 ;
17392 wxString
*arg3
= 0 ;
17393 bool arg4
= (bool) true ;
17397 bool temp2
= false ;
17398 bool temp3
= false ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 PyObject
* obj2
= 0 ;
17404 PyObject
* obj3
= 0 ;
17405 char * kwnames
[] = {
17406 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17411 if (!SWIG_IsOK(res1
)) {
17412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17414 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17416 arg2
= wxString_in_helper(obj1
);
17417 if (arg2
== NULL
) SWIG_fail
;
17421 arg3
= wxString_in_helper(obj2
);
17422 if (arg3
== NULL
) SWIG_fail
;
17426 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17427 if (!SWIG_IsOK(ecode4
)) {
17428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17430 arg4
= static_cast< bool >(val4
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17463 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17464 PyObject
*resultobj
= 0;
17465 wxFileType
*arg1
= (wxFileType
*) 0 ;
17466 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17467 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17468 int arg3
= (int) 0 ;
17472 bool temp2
= false ;
17475 PyObject
* obj0
= 0 ;
17476 PyObject
* obj1
= 0 ;
17477 PyObject
* obj2
= 0 ;
17478 char * kwnames
[] = {
17479 (char *) "self",(char *) "cmd",(char *) "index", NULL
17482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17484 if (!SWIG_IsOK(res1
)) {
17485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17487 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17490 arg2
= wxString_in_helper(obj1
);
17491 if (arg2
== NULL
) SWIG_fail
;
17496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17497 if (!SWIG_IsOK(ecode3
)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17500 arg3
= static_cast< int >(val3
);
17503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17504 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17525 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17526 PyObject
*resultobj
= 0;
17527 wxFileType
*arg1
= (wxFileType
*) 0 ;
17531 PyObject
*swig_obj
[1] ;
17533 if (!args
) SWIG_fail
;
17534 swig_obj
[0] = args
;
17535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17536 if (!SWIG_IsOK(res1
)) {
17537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17539 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (bool)(arg1
)->Unassociate();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
= 0;
17557 wxString
*arg1
= 0 ;
17558 wxString
*arg2
= 0 ;
17559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17562 bool temp1
= false ;
17563 bool temp2
= false ;
17564 bool temp3
= false ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 char * kwnames
[] = {
17569 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17574 arg1
= wxString_in_helper(obj0
);
17575 if (arg1
== NULL
) SWIG_fail
;
17579 arg2
= wxString_in_helper(obj1
);
17580 if (arg2
== NULL
) SWIG_fail
;
17585 arg3
= wxString_in_helper(obj2
);
17586 if (arg3
== NULL
) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17633 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17636 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17637 return SWIG_Py_Void();
17640 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17641 return SWIG_Python_InitShadowInstance(args
);
17644 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17645 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17650 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17651 PyObject
*pyobj
= 0;
17653 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17658 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17659 PyObject
*resultobj
= 0;
17660 wxString
*arg1
= 0 ;
17661 wxString
*arg2
= 0 ;
17663 bool temp1
= false ;
17664 bool temp2
= false ;
17665 PyObject
* obj0
= 0 ;
17666 PyObject
* obj1
= 0 ;
17667 char * kwnames
[] = {
17668 (char *) "mimeType",(char *) "wildcard", NULL
17671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17673 arg1
= wxString_in_helper(obj0
);
17674 if (arg1
== NULL
) SWIG_fail
;
17678 arg2
= wxString_in_helper(obj1
);
17679 if (arg2
== NULL
) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17713 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17714 PyObject
*resultobj
= 0;
17715 wxMimeTypesManager
*result
= 0 ;
17717 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17731 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= 0;
17733 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17734 int arg2
= (int) wxMAILCAP_ALL
;
17735 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17736 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17741 bool temp3
= false ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 PyObject
* obj2
= 0 ;
17745 char * kwnames
[] = {
17746 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17751 if (!SWIG_IsOK(res1
)) {
17752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17754 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17757 if (!SWIG_IsOK(ecode2
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17760 arg2
= static_cast< int >(val2
);
17764 arg3
= wxString_in_helper(obj2
);
17765 if (arg3
== NULL
) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_Py_Void();
17790 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17795 PyObject
*swig_obj
[1] ;
17797 if (!args
) SWIG_fail
;
17798 swig_obj
[0] = args
;
17799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17803 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->ClearData();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= SWIG_Py_Void();
17817 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
= 0;
17819 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17820 wxString
*arg2
= 0 ;
17821 wxFileType
*result
= 0 ;
17824 bool temp2
= false ;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 char * kwnames
[] = {
17828 (char *) "self",(char *) "ext", NULL
17831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17833 if (!SWIG_IsOK(res1
)) {
17834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17836 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17838 arg2
= wxString_in_helper(obj1
);
17839 if (arg2
== NULL
) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17863 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
= 0;
17865 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17866 wxString
*arg2
= 0 ;
17867 wxFileType
*result
= 0 ;
17870 bool temp2
= false ;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj1
= 0 ;
17873 char * kwnames
[] = {
17874 (char *) "self",(char *) "mimeType", NULL
17877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17879 if (!SWIG_IsOK(res1
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17882 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17884 arg2
= wxString_in_helper(obj1
);
17885 if (arg2
== NULL
) SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17909 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
= 0;
17911 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17912 wxString
*arg2
= 0 ;
17913 bool arg3
= (bool) false ;
17917 bool temp2
= false ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 char * kwnames
[] = {
17924 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17932 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17934 arg2
= wxString_in_helper(obj1
);
17935 if (arg2
== NULL
) SWIG_fail
;
17939 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17940 if (!SWIG_IsOK(ecode3
)) {
17941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17943 arg3
= static_cast< bool >(val3
);
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17968 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17969 PyObject
*resultobj
= 0;
17970 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17971 wxString
*arg2
= 0 ;
17975 bool temp2
= false ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char * kwnames
[] = {
17979 (char *) "self",(char *) "filename", NULL
17982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17984 if (!SWIG_IsOK(res1
)) {
17985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17987 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17989 arg2
= wxString_in_helper(obj1
);
17990 if (arg2
== NULL
) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18016 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18017 PyObject
*resultobj
= 0;
18018 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18019 PyObject
*result
= 0 ;
18022 PyObject
*swig_obj
[1] ;
18024 if (!args
) SWIG_fail
;
18025 swig_obj
[0] = args
;
18026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18027 if (!SWIG_IsOK(res1
)) {
18028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18030 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= result
;
18044 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
= 0;
18046 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18047 wxFileTypeInfo
*arg2
= 0 ;
18052 PyObject
* obj0
= 0 ;
18053 PyObject
* obj1
= 0 ;
18054 char * kwnames
[] = {
18055 (char *) "self",(char *) "ft", NULL
18058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18060 if (!SWIG_IsOK(res1
)) {
18061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18063 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18064 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18065 if (!SWIG_IsOK(res2
)) {
18066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18069 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18071 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_Py_Void();
18085 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= 0;
18087 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18088 wxFileTypeInfo
*arg2
= 0 ;
18089 wxFileType
*result
= 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char * kwnames
[] = {
18097 (char *) "self",(char *) "ftInfo", NULL
18100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18102 if (!SWIG_IsOK(res1
)) {
18103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18105 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18106 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18107 if (!SWIG_IsOK(res2
)) {
18108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18111 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18113 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
18117 wxPyEndAllowThreads(__tstate
);
18118 if (PyErr_Occurred()) SWIG_fail
;
18120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18127 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= 0;
18129 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18130 wxFileType
*arg2
= (wxFileType
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 char * kwnames
[] = {
18139 (char *) "self",(char *) "ft", NULL
18142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18144 if (!SWIG_IsOK(res1
)) {
18145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18147 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18148 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18149 if (!SWIG_IsOK(res2
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
18152 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= (bool)(arg1
)->Unassociate(arg2
);
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18168 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18169 PyObject
*resultobj
= 0;
18170 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18173 PyObject
*swig_obj
[1] ;
18175 if (!args
) SWIG_fail
;
18176 swig_obj
[0] = args
;
18177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
18178 if (!SWIG_IsOK(res1
)) {
18179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18181 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18199 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18200 return SWIG_Py_Void();
18203 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18204 return SWIG_Python_InitShadowInstance(args
);
18207 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18208 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18213 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18214 PyObject
*pyobj
= 0;
18218 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18220 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18227 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18228 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18233 SWIGINTERN PyObject
*ART_MENU_get(void) {
18234 PyObject
*pyobj
= 0;
18238 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18240 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18247 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18248 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18253 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18254 PyObject
*pyobj
= 0;
18258 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18260 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18267 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18268 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18273 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18274 PyObject
*pyobj
= 0;
18278 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18280 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18287 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18288 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18293 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18294 PyObject
*pyobj
= 0;
18298 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18300 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18307 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18308 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18313 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18314 PyObject
*pyobj
= 0;
18318 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18320 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18327 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18328 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18333 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18334 PyObject
*pyobj
= 0;
18338 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18340 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18347 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18348 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18353 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18354 PyObject
*pyobj
= 0;
18358 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18360 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18367 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18368 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18373 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18374 PyObject
*pyobj
= 0;
18378 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18380 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18387 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18388 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18393 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18394 PyObject
*pyobj
= 0;
18398 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18400 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18407 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18408 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18413 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18414 PyObject
*pyobj
= 0;
18418 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18420 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18427 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18428 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18433 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18434 PyObject
*pyobj
= 0;
18438 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18440 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18447 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18448 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18453 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18454 PyObject
*pyobj
= 0;
18458 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18460 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18467 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18468 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18473 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18474 PyObject
*pyobj
= 0;
18478 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18480 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18487 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18488 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18493 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18494 PyObject
*pyobj
= 0;
18498 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18500 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18507 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18508 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18513 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18514 PyObject
*pyobj
= 0;
18518 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18520 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18527 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18528 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18533 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18534 PyObject
*pyobj
= 0;
18538 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18540 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18547 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18548 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18553 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18554 PyObject
*pyobj
= 0;
18558 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18560 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18567 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18568 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18573 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18574 PyObject
*pyobj
= 0;
18578 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18580 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18587 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18588 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18593 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18594 PyObject
*pyobj
= 0;
18598 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18600 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18607 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18608 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18613 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18614 PyObject
*pyobj
= 0;
18618 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18620 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18627 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18628 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18633 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18634 PyObject
*pyobj
= 0;
18638 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18640 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18647 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18648 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18653 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18654 PyObject
*pyobj
= 0;
18658 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18660 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18667 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18668 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18673 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18674 PyObject
*pyobj
= 0;
18678 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18680 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18687 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18688 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18693 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18694 PyObject
*pyobj
= 0;
18698 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18700 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18707 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18708 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18713 SWIGINTERN PyObject
*ART_HELP_get(void) {
18714 PyObject
*pyobj
= 0;
18718 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18720 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18727 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18728 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18733 SWIGINTERN PyObject
*ART_TIP_get(void) {
18734 PyObject
*pyobj
= 0;
18738 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18740 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18747 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18748 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18753 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18754 PyObject
*pyobj
= 0;
18758 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18760 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18767 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18768 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18773 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18774 PyObject
*pyobj
= 0;
18778 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18780 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18787 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18788 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18793 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18794 PyObject
*pyobj
= 0;
18798 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18800 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18807 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18808 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18813 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18814 PyObject
*pyobj
= 0;
18818 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18820 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18827 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18828 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18833 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18834 PyObject
*pyobj
= 0;
18838 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18840 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18847 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18848 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18853 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18854 PyObject
*pyobj
= 0;
18858 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18860 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18867 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18868 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18873 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18874 PyObject
*pyobj
= 0;
18878 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18880 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18887 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18888 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18893 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18894 PyObject
*pyobj
= 0;
18898 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18900 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18907 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18908 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18913 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18914 PyObject
*pyobj
= 0;
18918 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18920 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18927 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18928 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18933 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18934 PyObject
*pyobj
= 0;
18938 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18940 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18947 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18948 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18953 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18954 PyObject
*pyobj
= 0;
18958 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18960 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18967 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18968 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18973 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18974 PyObject
*pyobj
= 0;
18978 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18980 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18987 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18988 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18993 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18994 PyObject
*pyobj
= 0;
18998 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19000 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
19007 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
19008 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
19013 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
19014 PyObject
*pyobj
= 0;
19018 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19020 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
19027 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
19028 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
19033 SWIGINTERN PyObject
*ART_ERROR_get(void) {
19034 PyObject
*pyobj
= 0;
19038 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19040 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
19047 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
19048 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
19053 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
19054 PyObject
*pyobj
= 0;
19058 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19060 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19067 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19068 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19073 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19074 PyObject
*pyobj
= 0;
19078 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19080 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19087 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19088 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19093 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19094 PyObject
*pyobj
= 0;
19098 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19100 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19107 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19108 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19113 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19114 PyObject
*pyobj
= 0;
19118 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19120 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19127 SWIGINTERN
int ART_COPY_set(PyObject
*) {
19128 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
19133 SWIGINTERN PyObject
*ART_COPY_get(void) {
19134 PyObject
*pyobj
= 0;
19138 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19140 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19147 SWIGINTERN
int ART_CUT_set(PyObject
*) {
19148 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
19153 SWIGINTERN PyObject
*ART_CUT_get(void) {
19154 PyObject
*pyobj
= 0;
19158 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19160 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19167 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
19168 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
19173 SWIGINTERN PyObject
*ART_PASTE_get(void) {
19174 PyObject
*pyobj
= 0;
19178 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19180 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19187 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19188 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19193 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19194 PyObject
*pyobj
= 0;
19198 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19200 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19207 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19208 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19213 SWIGINTERN PyObject
*ART_NEW_get(void) {
19214 PyObject
*pyobj
= 0;
19218 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19220 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19227 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19228 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19233 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19234 PyObject
*pyobj
= 0;
19238 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19240 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19247 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19248 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19253 SWIGINTERN PyObject
*ART_REDO_get(void) {
19254 PyObject
*pyobj
= 0;
19258 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19260 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19267 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19268 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19273 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19274 PyObject
*pyobj
= 0;
19278 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19280 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19287 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19288 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19293 SWIGINTERN PyObject
*ART_FIND_get(void) {
19294 PyObject
*pyobj
= 0;
19298 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19300 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19307 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19308 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19313 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19314 PyObject
*pyobj
= 0;
19318 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19320 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19327 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19328 PyObject
*resultobj
= 0;
19329 wxPyArtProvider
*result
= 0 ;
19331 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19333 if (!wxPyCheckForApp()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19346 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19347 PyObject
*resultobj
= 0;
19348 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19351 PyObject
*swig_obj
[1] ;
19353 if (!args
) SWIG_fail
;
19354 swig_obj
[0] = args
;
19355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19359 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_Py_Void();
19374 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
= 0;
19376 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19377 PyObject
*arg2
= (PyObject
*) 0 ;
19378 PyObject
*arg3
= (PyObject
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 PyObject
* obj2
= 0 ;
19384 char * kwnames
[] = {
19385 (char *) "self",(char *) "self",(char *) "_class", NULL
19388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19390 if (!SWIG_IsOK(res1
)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19393 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 resultobj
= SWIG_Py_Void();
19409 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
= 0;
19411 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19413 PyObject
* obj0
= 0 ;
19414 char * kwnames
[] = {
19415 (char *) "provider", NULL
19418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19419 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19420 if (!SWIG_IsOK(res1
)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 wxPyArtProvider::PushProvider(arg1
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_Py_Void();
19436 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19440 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (bool)wxPyArtProvider::PopProvider();
19444 wxPyEndAllowThreads(__tstate
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19456 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
= 0;
19458 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19462 PyObject
* obj0
= 0 ;
19463 char * kwnames
[] = {
19464 (char *) "provider", NULL
19467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19469 if (!SWIG_IsOK(res1
)) {
19470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19472 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
= 0;
19490 wxString
*arg1
= 0 ;
19491 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19492 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19493 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19494 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19496 bool temp1
= false ;
19497 bool temp2
= false ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 PyObject
* obj2
= 0 ;
19502 char * kwnames
[] = {
19503 (char *) "id",(char *) "client",(char *) "size", NULL
19506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19508 arg1
= wxString_in_helper(obj0
);
19509 if (arg1
== NULL
) SWIG_fail
;
19514 arg2
= wxString_in_helper(obj1
);
19515 if (arg2
== NULL
) SWIG_fail
;
19522 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19526 if (!wxPyCheckForApp()) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19555 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxString
*arg1
= 0 ;
19558 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19559 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19560 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19561 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19563 bool temp1
= false ;
19564 bool temp2
= false ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 char * kwnames
[] = {
19570 (char *) "id",(char *) "client",(char *) "size", NULL
19573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19575 arg1
= wxString_in_helper(obj0
);
19576 if (arg1
== NULL
) SWIG_fail
;
19581 arg2
= wxString_in_helper(obj1
);
19582 if (arg2
== NULL
) SWIG_fail
;
19589 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19593 if (!wxPyCheckForApp()) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19622 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxString
*arg1
= 0 ;
19625 bool arg2
= (bool) false ;
19627 bool temp1
= false ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char * kwnames
[] = {
19633 (char *) "client",(char *) "platform_dependent", NULL
19636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19638 arg1
= wxString_in_helper(obj0
);
19639 if (arg1
== NULL
) SWIG_fail
;
19643 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19644 if (!SWIG_IsOK(ecode2
)) {
19645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19647 arg2
= static_cast< bool >(val2
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19670 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19671 PyObject
*resultobj
= 0;
19672 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19675 PyObject
*swig_obj
[1] ;
19677 if (!args
) SWIG_fail
;
19678 swig_obj
[0] = args
;
19679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19680 if (!SWIG_IsOK(res1
)) {
19681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19683 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 wxPyArtProvider_Destroy(arg1
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_Py_Void();
19697 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19699 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19700 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19701 return SWIG_Py_Void();
19704 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19705 return SWIG_Python_InitShadowInstance(args
);
19708 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19709 PyObject
*resultobj
= 0;
19710 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19713 PyObject
*swig_obj
[1] ;
19715 if (!args
) SWIG_fail
;
19716 swig_obj
[0] = args
;
19717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19718 if (!SWIG_IsOK(res1
)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19721 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_Py_Void();
19736 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
= 0;
19738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19739 wxConfigBase
*result
= 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char * kwnames
[] = {
19743 (char *) "config", NULL
19746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19747 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19764 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
= 0;
19766 bool arg1
= (bool) true ;
19767 wxConfigBase
*result
= 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char * kwnames
[] = {
19772 (char *) "createOnDemand", NULL
19775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19777 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19778 if (!SWIG_IsOK(ecode1
)) {
19779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19781 arg1
= static_cast< bool >(val1
);
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19796 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19797 PyObject
*resultobj
= 0;
19798 wxConfigBase
*result
= 0 ;
19800 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (wxConfigBase
*)wxConfigBase::Create();
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19814 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19815 PyObject
*resultobj
= 0;
19817 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxConfigBase::DontCreateOnDemand();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 resultobj
= SWIG_Py_Void();
19831 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
= 0;
19833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19834 wxString
*arg2
= 0 ;
19837 bool temp2
= false ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char * kwnames
[] = {
19841 (char *) "self",(char *) "path", NULL
19844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19846 if (!SWIG_IsOK(res1
)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19849 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19851 arg2
= wxString_in_helper(obj1
);
19852 if (arg2
== NULL
) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->SetPath((wxString
const &)*arg2
);
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= SWIG_Py_Void();
19876 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19877 PyObject
*resultobj
= 0;
19878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19879 wxString
*result
= 0 ;
19882 PyObject
*swig_obj
[1] ;
19884 if (!args
) SWIG_fail
;
19885 swig_obj
[0] = args
;
19886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19887 if (!SWIG_IsOK(res1
)) {
19888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19890 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19895 result
= (wxString
*) &_result_ref
;
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19904 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19913 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19914 PyObject
*resultobj
= 0;
19915 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19916 PyObject
*result
= 0 ;
19919 PyObject
*swig_obj
[1] ;
19921 if (!args
) SWIG_fail
;
19922 swig_obj
[0] = args
;
19923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19924 if (!SWIG_IsOK(res1
)) {
19925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19927 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
;
19941 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19942 PyObject
*resultobj
= 0;
19943 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19945 PyObject
*result
= 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char * kwnames
[] = {
19953 (char *) "self",(char *) "index", NULL
19956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19961 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19962 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19963 if (!SWIG_IsOK(ecode2
)) {
19964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19966 arg2
= static_cast< long >(val2
);
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= result
;
19980 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19981 PyObject
*resultobj
= 0;
19982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19983 PyObject
*result
= 0 ;
19986 PyObject
*swig_obj
[1] ;
19988 if (!args
) SWIG_fail
;
19989 swig_obj
[0] = args
;
19990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19994 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= result
;
20008 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
= 0;
20010 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20012 PyObject
*result
= 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char * kwnames
[] = {
20020 (char *) "self",(char *) "index", NULL
20023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20025 if (!SWIG_IsOK(res1
)) {
20026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20028 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20029 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20030 if (!SWIG_IsOK(ecode2
)) {
20031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
20033 arg2
= static_cast< long >(val2
);
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= result
;
20047 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20050 bool arg2
= (bool) false ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char * kwnames
[] = {
20059 (char *) "self",(char *) "recursive", NULL
20062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20067 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20069 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20070 if (!SWIG_IsOK(ecode2
)) {
20071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20073 arg2
= static_cast< bool >(val2
);
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20088 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
= 0;
20090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20091 bool arg2
= (bool) false ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char * kwnames
[] = {
20100 (char *) "self",(char *) "recursive", NULL
20103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20105 if (!SWIG_IsOK(res1
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20108 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20110 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20111 if (!SWIG_IsOK(ecode2
)) {
20112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20114 arg2
= static_cast< bool >(val2
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20129 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
= 0;
20131 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20132 wxString
*arg2
= 0 ;
20136 bool temp2
= false ;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20139 char * kwnames
[] = {
20140 (char *) "self",(char *) "name", NULL
20143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20145 if (!SWIG_IsOK(res1
)) {
20146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20148 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20150 arg2
= wxString_in_helper(obj1
);
20151 if (arg2
== NULL
) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20177 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= 0;
20179 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20180 wxString
*arg2
= 0 ;
20184 bool temp2
= false ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 char * kwnames
[] = {
20188 (char *) "self",(char *) "name", NULL
20191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20196 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20198 arg2
= wxString_in_helper(obj1
);
20199 if (arg2
== NULL
) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20225 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= 0;
20227 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20228 wxString
*arg2
= 0 ;
20232 bool temp2
= false ;
20233 PyObject
* obj0
= 0 ;
20234 PyObject
* obj1
= 0 ;
20235 char * kwnames
[] = {
20236 (char *) "self",(char *) "name", NULL
20239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20241 if (!SWIG_IsOK(res1
)) {
20242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20244 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20246 arg2
= wxString_in_helper(obj1
);
20247 if (arg2
== NULL
) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20276 wxString
*arg2
= 0 ;
20277 wxConfigBase::EntryType result
;
20280 bool temp2
= false ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char * kwnames
[] = {
20284 (char *) "self",(char *) "name", NULL
20287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20289 if (!SWIG_IsOK(res1
)) {
20290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20292 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20294 arg2
= wxString_in_helper(obj1
);
20295 if (arg2
== NULL
) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_From_int(static_cast< int >(result
));
20319 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20322 wxString
*arg2
= 0 ;
20323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20328 bool temp2
= false ;
20329 bool temp3
= false ;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 PyObject
* obj2
= 0 ;
20333 char * kwnames
[] = {
20334 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20339 if (!SWIG_IsOK(res1
)) {
20340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20342 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20344 arg2
= wxString_in_helper(obj1
);
20345 if (arg2
== NULL
) SWIG_fail
;
20350 arg3
= wxString_in_helper(obj2
);
20351 if (arg3
== NULL
) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20358 wxPyEndAllowThreads(__tstate
);
20359 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20390 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20393 wxString
*arg2
= 0 ;
20394 long arg3
= (long) 0 ;
20398 bool temp2
= false ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 PyObject
* obj2
= 0 ;
20404 char * kwnames
[] = {
20405 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20413 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20415 arg2
= wxString_in_helper(obj1
);
20416 if (arg2
== NULL
) SWIG_fail
;
20420 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20421 if (!SWIG_IsOK(ecode3
)) {
20422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20424 arg3
= static_cast< long >(val3
);
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 resultobj
= SWIG_From_long(static_cast< long >(result
));
20447 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20448 PyObject
*resultobj
= 0;
20449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20450 wxString
*arg2
= 0 ;
20451 double arg3
= (double) 0.0 ;
20455 bool temp2
= false ;
20458 PyObject
* obj0
= 0 ;
20459 PyObject
* obj1
= 0 ;
20460 PyObject
* obj2
= 0 ;
20461 char * kwnames
[] = {
20462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20470 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20472 arg2
= wxString_in_helper(obj1
);
20473 if (arg2
== NULL
) SWIG_fail
;
20477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20478 if (!SWIG_IsOK(ecode3
)) {
20479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20481 arg3
= static_cast< double >(val3
);
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= SWIG_From_double(static_cast< double >(result
));
20504 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
= 0;
20506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20507 wxString
*arg2
= 0 ;
20508 bool arg3
= (bool) false ;
20512 bool temp2
= false ;
20515 PyObject
* obj0
= 0 ;
20516 PyObject
* obj1
= 0 ;
20517 PyObject
* obj2
= 0 ;
20518 char * kwnames
[] = {
20519 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20527 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20529 arg2
= wxString_in_helper(obj1
);
20530 if (arg2
== NULL
) SWIG_fail
;
20534 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20535 if (!SWIG_IsOK(ecode3
)) {
20536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20538 arg3
= static_cast< bool >(val3
);
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20563 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
= 0;
20565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20566 wxString
*arg2
= 0 ;
20567 wxString
*arg3
= 0 ;
20571 bool temp2
= false ;
20572 bool temp3
= false ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 PyObject
* obj2
= 0 ;
20576 char * kwnames
[] = {
20577 (char *) "self",(char *) "key",(char *) "value", NULL
20580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20582 if (!SWIG_IsOK(res1
)) {
20583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20585 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20587 arg2
= wxString_in_helper(obj1
);
20588 if (arg2
== NULL
) SWIG_fail
;
20592 arg3
= wxString_in_helper(obj2
);
20593 if (arg3
== NULL
) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20627 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20628 PyObject
*resultobj
= 0;
20629 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20630 wxString
*arg2
= 0 ;
20635 bool temp2
= false ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 PyObject
* obj2
= 0 ;
20641 char * kwnames
[] = {
20642 (char *) "self",(char *) "key",(char *) "value", NULL
20645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20647 if (!SWIG_IsOK(res1
)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20650 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20652 arg2
= wxString_in_helper(obj1
);
20653 if (arg2
== NULL
) SWIG_fail
;
20656 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20657 if (!SWIG_IsOK(ecode3
)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20660 arg3
= static_cast< long >(val3
);
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20684 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
= 0;
20686 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20687 wxString
*arg2
= 0 ;
20692 bool temp2
= false ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 PyObject
* obj2
= 0 ;
20698 char * kwnames
[] = {
20699 (char *) "self",(char *) "key",(char *) "value", NULL
20702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20707 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20709 arg2
= wxString_in_helper(obj1
);
20710 if (arg2
== NULL
) SWIG_fail
;
20713 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20714 if (!SWIG_IsOK(ecode3
)) {
20715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20717 arg3
= static_cast< double >(val3
);
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20741 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
= 0;
20743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20744 wxString
*arg2
= 0 ;
20749 bool temp2
= false ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 PyObject
* obj2
= 0 ;
20755 char * kwnames
[] = {
20756 (char *) "self",(char *) "key",(char *) "value", NULL
20759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20761 if (!SWIG_IsOK(res1
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20764 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20766 arg2
= wxString_in_helper(obj1
);
20767 if (arg2
== NULL
) SWIG_fail
;
20770 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20771 if (!SWIG_IsOK(ecode3
)) {
20772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20774 arg3
= static_cast< bool >(val3
);
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
= 0;
20800 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20801 bool arg2
= (bool) false ;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 char * kwnames
[] = {
20810 (char *) "self",(char *) "currentOnly", NULL
20813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20815 if (!SWIG_IsOK(res1
)) {
20816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20818 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20820 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20821 if (!SWIG_IsOK(ecode2
)) {
20822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20824 arg2
= static_cast< bool >(val2
);
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (bool)(arg1
)->Flush(arg2
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20841 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= 0;
20843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20844 wxString
*arg2
= 0 ;
20845 wxString
*arg3
= 0 ;
20849 bool temp2
= false ;
20850 bool temp3
= false ;
20851 PyObject
* obj0
= 0 ;
20852 PyObject
* obj1
= 0 ;
20853 PyObject
* obj2
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20863 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20865 arg2
= wxString_in_helper(obj1
);
20866 if (arg2
== NULL
) SWIG_fail
;
20870 arg3
= wxString_in_helper(obj2
);
20871 if (arg3
== NULL
) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20905 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
= 0;
20907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20908 wxString
*arg2
= 0 ;
20909 wxString
*arg3
= 0 ;
20913 bool temp2
= false ;
20914 bool temp3
= false ;
20915 PyObject
* obj0
= 0 ;
20916 PyObject
* obj1
= 0 ;
20917 PyObject
* obj2
= 0 ;
20918 char * kwnames
[] = {
20919 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20924 if (!SWIG_IsOK(res1
)) {
20925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20927 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20929 arg2
= wxString_in_helper(obj1
);
20930 if (arg2
== NULL
) SWIG_fail
;
20934 arg3
= wxString_in_helper(obj2
);
20935 if (arg3
== NULL
) SWIG_fail
;
20939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20940 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20969 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
= 0;
20971 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20972 wxString
*arg2
= 0 ;
20973 bool arg3
= (bool) true ;
20977 bool temp2
= false ;
20980 PyObject
* obj0
= 0 ;
20981 PyObject
* obj1
= 0 ;
20982 PyObject
* obj2
= 0 ;
20983 char * kwnames
[] = {
20984 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20989 if (!SWIG_IsOK(res1
)) {
20990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20992 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20994 arg2
= wxString_in_helper(obj1
);
20995 if (arg2
== NULL
) SWIG_fail
;
20999 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21000 if (!SWIG_IsOK(ecode3
)) {
21001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
21003 arg3
= static_cast< bool >(val3
);
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21028 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= 0;
21030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21031 wxString
*arg2
= 0 ;
21035 bool temp2
= false ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "key", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21047 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21049 arg2
= wxString_in_helper(obj1
);
21050 if (arg2
== NULL
) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21076 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21077 PyObject
*resultobj
= 0;
21078 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21082 PyObject
*swig_obj
[1] ;
21084 if (!args
) SWIG_fail
;
21085 swig_obj
[0] = args
;
21086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21087 if (!SWIG_IsOK(res1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21090 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (bool)(arg1
)->DeleteAll();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21106 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21109 bool arg2
= (bool) true ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "doIt", NULL
21120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21122 if (!SWIG_IsOK(res1
)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21125 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21128 if (!SWIG_IsOK(ecode2
)) {
21129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
21131 arg2
= static_cast< bool >(val2
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 (arg1
)->SetExpandEnvVars(arg2
);
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_Py_Void();
21146 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21147 PyObject
*resultobj
= 0;
21148 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21152 PyObject
*swig_obj
[1] ;
21154 if (!args
) SWIG_fail
;
21155 swig_obj
[0] = args
;
21156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21160 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
= 0;
21178 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21179 bool arg2
= (bool) true ;
21184 PyObject
* obj0
= 0 ;
21185 PyObject
* obj1
= 0 ;
21186 char * kwnames
[] = {
21187 (char *) "self",(char *) "doIt", NULL
21190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21192 if (!SWIG_IsOK(res1
)) {
21193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21195 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21197 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21198 if (!SWIG_IsOK(ecode2
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21201 arg2
= static_cast< bool >(val2
);
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 (arg1
)->SetRecordDefaults(arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 resultobj
= SWIG_Py_Void();
21216 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21217 PyObject
*resultobj
= 0;
21218 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21222 PyObject
*swig_obj
[1] ;
21224 if (!args
) SWIG_fail
;
21225 swig_obj
[0] = args
;
21226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21227 if (!SWIG_IsOK(res1
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21230 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21246 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
= 0;
21248 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21249 wxString
*arg2
= 0 ;
21253 bool temp2
= false ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 char * kwnames
[] = {
21257 (char *) "self",(char *) "str", NULL
21260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21265 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21267 arg2
= wxString_in_helper(obj1
);
21268 if (arg2
== NULL
) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21298 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21299 PyObject
*resultobj
= 0;
21300 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21304 PyObject
*swig_obj
[1] ;
21306 if (!args
) SWIG_fail
;
21307 swig_obj
[0] = args
;
21308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21309 if (!SWIG_IsOK(res1
)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21312 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21315 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21323 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21332 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21333 PyObject
*resultobj
= 0;
21334 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21338 PyObject
*swig_obj
[1] ;
21340 if (!args
) SWIG_fail
;
21341 swig_obj
[0] = args
;
21342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21343 if (!SWIG_IsOK(res1
)) {
21344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21346 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21366 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
= 0;
21368 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21369 wxString
*arg2
= 0 ;
21372 bool temp2
= false ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char * kwnames
[] = {
21376 (char *) "self",(char *) "appName", NULL
21379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21381 if (!SWIG_IsOK(res1
)) {
21382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21384 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21386 arg2
= wxString_in_helper(obj1
);
21387 if (arg2
== NULL
) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 (arg1
)->SetAppName((wxString
const &)*arg2
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_Py_Void();
21411 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
= 0;
21413 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21414 wxString
*arg2
= 0 ;
21417 bool temp2
= false ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 char * kwnames
[] = {
21421 (char *) "self",(char *) "vendorName", NULL
21424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21426 if (!SWIG_IsOK(res1
)) {
21427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21429 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21431 arg2
= wxString_in_helper(obj1
);
21432 if (arg2
== NULL
) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_Py_Void();
21456 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
= 0;
21458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 char * kwnames
[] = {
21467 (char *) "self",(char *) "style", NULL
21470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21475 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21476 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21477 if (!SWIG_IsOK(ecode2
)) {
21478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21480 arg2
= static_cast< long >(val2
);
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 (arg1
)->SetStyle(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= SWIG_Py_Void();
21494 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21495 PyObject
*resultobj
= 0;
21496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21500 PyObject
*swig_obj
[1] ;
21502 if (!args
) SWIG_fail
;
21503 swig_obj
[0] = args
;
21504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21505 if (!SWIG_IsOK(res1
)) {
21506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21508 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 resultobj
= SWIG_From_long(static_cast< long >(result
));
21522 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21525 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21526 return SWIG_Py_Void();
21529 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
= 0;
21531 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21532 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21533 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21534 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21535 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21536 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21537 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21538 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21539 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21540 wxConfig
*result
= 0 ;
21541 bool temp1
= false ;
21542 bool temp2
= false ;
21543 bool temp3
= false ;
21544 bool temp4
= false ;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 PyObject
* obj2
= 0 ;
21550 PyObject
* obj3
= 0 ;
21551 PyObject
* obj4
= 0 ;
21552 char * kwnames
[] = {
21553 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21559 arg1
= wxString_in_helper(obj0
);
21560 if (arg1
== NULL
) SWIG_fail
;
21566 arg2
= wxString_in_helper(obj1
);
21567 if (arg2
== NULL
) SWIG_fail
;
21573 arg3
= wxString_in_helper(obj2
);
21574 if (arg3
== NULL
) SWIG_fail
;
21580 arg4
= wxString_in_helper(obj3
);
21581 if (arg4
== NULL
) SWIG_fail
;
21586 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21587 if (!SWIG_IsOK(ecode5
)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21590 arg5
= static_cast< long >(val5
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21637 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 PyObject
*resultobj
= 0;
21639 wxConfig
*arg1
= (wxConfig
*) 0 ;
21642 PyObject
*swig_obj
[1] ;
21644 if (!args
) SWIG_fail
;
21645 swig_obj
[0] = args
;
21646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21647 if (!SWIG_IsOK(res1
)) {
21648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21650 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_Py_Void();
21665 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21667 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21668 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21669 return SWIG_Py_Void();
21672 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21673 return SWIG_Python_InitShadowInstance(args
);
21676 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
= 0;
21678 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21679 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21680 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21681 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21686 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21687 wxFileConfig
*result
= 0 ;
21688 bool temp1
= false ;
21689 bool temp2
= false ;
21690 bool temp3
= false ;
21691 bool temp4
= false ;
21694 PyObject
* obj0
= 0 ;
21695 PyObject
* obj1
= 0 ;
21696 PyObject
* obj2
= 0 ;
21697 PyObject
* obj3
= 0 ;
21698 PyObject
* obj4
= 0 ;
21699 char * kwnames
[] = {
21700 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21706 arg1
= wxString_in_helper(obj0
);
21707 if (arg1
== NULL
) SWIG_fail
;
21713 arg2
= wxString_in_helper(obj1
);
21714 if (arg2
== NULL
) SWIG_fail
;
21720 arg3
= wxString_in_helper(obj2
);
21721 if (arg3
== NULL
) SWIG_fail
;
21727 arg4
= wxString_in_helper(obj3
);
21728 if (arg4
== NULL
) SWIG_fail
;
21733 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21734 if (!SWIG_IsOK(ecode5
)) {
21735 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21737 arg5
= static_cast< long >(val5
);
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21784 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21785 PyObject
*resultobj
= 0;
21786 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21789 PyObject
*swig_obj
[1] ;
21791 if (!args
) SWIG_fail
;
21792 swig_obj
[0] = args
;
21793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21797 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= SWIG_Py_Void();
21812 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21814 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21815 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21816 return SWIG_Py_Void();
21819 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21820 return SWIG_Python_InitShadowInstance(args
);
21823 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21826 wxString
*arg2
= 0 ;
21827 wxConfigPathChanger
*result
= 0 ;
21830 bool temp2
= false ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char * kwnames
[] = {
21834 (char *) "config",(char *) "entry", NULL
21837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21842 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21844 arg2
= wxString_in_helper(obj1
);
21845 if (arg2
== NULL
) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21869 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21870 PyObject
*resultobj
= 0;
21871 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21874 PyObject
*swig_obj
[1] ;
21876 if (!args
) SWIG_fail
;
21877 swig_obj
[0] = args
;
21878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21882 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 wxPyEndAllowThreads(__tstate
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 resultobj
= SWIG_Py_Void();
21897 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21898 PyObject
*resultobj
= 0;
21899 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21900 wxString
*result
= 0 ;
21903 PyObject
*swig_obj
[1] ;
21905 if (!args
) SWIG_fail
;
21906 swig_obj
[0] = args
;
21907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21908 if (!SWIG_IsOK(res1
)) {
21909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21911 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21916 result
= (wxString
*) &_result_ref
;
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21925 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21934 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21937 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21938 return SWIG_Py_Void();
21941 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21942 return SWIG_Python_InitShadowInstance(args
);
21945 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
= 0;
21947 wxString
*arg1
= 0 ;
21949 bool temp1
= false ;
21950 PyObject
* obj0
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "sz", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21957 arg1
= wxString_in_helper(obj0
);
21958 if (arg1
== NULL
) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21988 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21989 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21994 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21995 PyObject
*pyobj
= 0;
21999 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22001 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
22008 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
22009 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
22014 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
22015 PyObject
*pyobj
= 0;
22019 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22021 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
22028 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
= 0;
22030 wxDateTime::Country arg1
;
22033 PyObject
* obj0
= 0 ;
22034 char * kwnames
[] = {
22035 (char *) "country", NULL
22038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
22039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22040 if (!SWIG_IsOK(ecode1
)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22043 arg1
= static_cast< wxDateTime::Country
>(val1
);
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 wxDateTime::SetCountry(arg1
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= SWIG_Py_Void();
22057 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22058 PyObject
*resultobj
= 0;
22059 wxDateTime::Country result
;
22061 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_From_int(static_cast< int >(result
));
22075 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
= 0;
22077 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22081 PyObject
* obj0
= 0 ;
22082 char * kwnames
[] = {
22083 (char *) "country", NULL
22086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22089 if (!SWIG_IsOK(ecode1
)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22092 arg1
= static_cast< wxDateTime::Country
>(val1
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22115 PyObject
* obj0
= 0 ;
22116 char * kwnames
[] = {
22117 (char *) "cal", NULL
22120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
22122 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22123 if (!SWIG_IsOK(ecode1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22126 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (int)wxDateTime::GetCurrentYear(arg1
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_From_int(static_cast< int >(result
));
22141 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
= 0;
22147 PyObject
* obj0
= 0 ;
22148 char * kwnames
[] = {
22149 (char *) "year", NULL
22152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
22153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22154 if (!SWIG_IsOK(ecode1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
22157 arg1
= static_cast< int >(val1
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_From_int(static_cast< int >(result
));
22171 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22174 wxDateTime::Month result
;
22177 PyObject
* obj0
= 0 ;
22178 char * kwnames
[] = {
22179 (char *) "cal", NULL
22182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22185 if (!SWIG_IsOK(ecode1
)) {
22186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22188 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_From_int(static_cast< int >(result
));
22203 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 int arg1
= (int) wxDateTime::Inv_Year
;
22206 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22212 PyObject
* obj0
= 0 ;
22213 PyObject
* obj1
= 0 ;
22214 char * kwnames
[] = {
22215 (char *) "year",(char *) "cal", NULL
22218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22220 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22221 if (!SWIG_IsOK(ecode1
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22224 arg1
= static_cast< int >(val1
);
22227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22228 if (!SWIG_IsOK(ecode2
)) {
22229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22231 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22248 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
= 0;
22250 int arg1
= (int) wxDateTime::Inv_Year
;
22254 PyObject
* obj0
= 0 ;
22255 char * kwnames
[] = {
22256 (char *) "year", NULL
22259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22261 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22262 if (!SWIG_IsOK(ecode1
)) {
22263 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22265 arg1
= static_cast< int >(val1
);
22268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22269 result
= (int)wxDateTime::GetCentury(arg1
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= SWIG_From_int(static_cast< int >(result
));
22280 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
= 0;
22283 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22289 PyObject
* obj0
= 0 ;
22290 PyObject
* obj1
= 0 ;
22291 char * kwnames
[] = {
22292 (char *) "year",(char *) "cal", NULL
22295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22296 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22297 if (!SWIG_IsOK(ecode1
)) {
22298 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22300 arg1
= static_cast< int >(val1
);
22302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22303 if (!SWIG_IsOK(ecode2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22306 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= SWIG_From_int(static_cast< int >(result
));
22321 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxDateTime::Month arg1
;
22324 int arg2
= (int) wxDateTime::Inv_Year
;
22325 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 PyObject
* obj2
= 0 ;
22336 char * kwnames
[] = {
22337 (char *) "month",(char *) "year",(char *) "cal", NULL
22340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22342 if (!SWIG_IsOK(ecode1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22345 arg1
= static_cast< wxDateTime::Month
>(val1
);
22347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22348 if (!SWIG_IsOK(ecode2
)) {
22349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22351 arg2
= static_cast< int >(val2
);
22354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22355 if (!SWIG_IsOK(ecode3
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22358 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_From_int(static_cast< int >(result
));
22373 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
= 0;
22375 wxDateTime::Month arg1
;
22376 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22382 PyObject
* obj0
= 0 ;
22383 PyObject
* obj1
= 0 ;
22384 char * kwnames
[] = {
22385 (char *) "month",(char *) "flags", NULL
22388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22390 if (!SWIG_IsOK(ecode1
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22393 arg1
= static_cast< wxDateTime::Month
>(val1
);
22395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22396 if (!SWIG_IsOK(ecode2
)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22399 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22403 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22404 wxPyEndAllowThreads(__tstate
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22420 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
= 0;
22422 wxDateTime::WeekDay arg1
;
22423 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char * kwnames
[] = {
22432 (char *) "weekday",(char *) "flags", NULL
22435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22437 if (!SWIG_IsOK(ecode1
)) {
22438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22440 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22443 if (!SWIG_IsOK(ecode2
)) {
22444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22446 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22467 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 PyObject
*resultobj
= 0;
22469 PyObject
*result
= 0 ;
22471 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= result
;
22485 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
= 0;
22487 int arg1
= (int) wxDateTime::Inv_Year
;
22488 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 char * kwnames
[] = {
22497 (char *) "year",(char *) "country", NULL
22500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22503 if (!SWIG_IsOK(ecode1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22506 arg1
= static_cast< int >(val1
);
22509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22510 if (!SWIG_IsOK(ecode2
)) {
22511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22513 arg2
= static_cast< wxDateTime::Country
>(val2
);
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22530 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22531 PyObject
*resultobj
= 0;
22532 int arg1
= (int) wxDateTime::Inv_Year
;
22533 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char * kwnames
[] = {
22542 (char *) "year",(char *) "country", NULL
22545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22547 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22548 if (!SWIG_IsOK(ecode1
)) {
22549 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22551 arg1
= static_cast< int >(val1
);
22554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22555 if (!SWIG_IsOK(ecode2
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22558 arg2
= static_cast< wxDateTime::Country
>(val2
);
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22573 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
= 0;
22575 int arg1
= (int) wxDateTime::Inv_Year
;
22576 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char * kwnames
[] = {
22585 (char *) "year",(char *) "country", NULL
22588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22590 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22591 if (!SWIG_IsOK(ecode1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22594 arg1
= static_cast< int >(val1
);
22597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22598 if (!SWIG_IsOK(ecode2
)) {
22599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22601 arg2
= static_cast< wxDateTime::Country
>(val2
);
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22616 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22617 PyObject
*resultobj
= 0;
22620 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 result
= wxDateTime::Now();
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22634 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22635 PyObject
*resultobj
= 0;
22638 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= wxDateTime::UNow();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22652 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22653 PyObject
*resultobj
= 0;
22656 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= wxDateTime::Today();
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22670 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 PyObject
*resultobj
= 0;
22672 wxDateTime
*result
= 0 ;
22674 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (wxDateTime
*)new wxDateTime();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22688 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
= 0;
22691 wxDateTime
*result
= 0 ;
22692 unsigned int val1
;
22694 PyObject
* obj0
= 0 ;
22695 char * kwnames
[] = {
22696 (char *) "timet", NULL
22699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22700 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22701 if (!SWIG_IsOK(ecode1
)) {
22702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22704 arg1
= static_cast< time_t >(val1
);
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 result
= (wxDateTime
*)new wxDateTime(arg1
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22718 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
= 0;
22721 wxDateTime
*result
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 char * kwnames
[] = {
22726 (char *) "jdn", NULL
22729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22730 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22731 if (!SWIG_IsOK(ecode1
)) {
22732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22734 arg1
= static_cast< double >(val1
);
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= (wxDateTime
*)new wxDateTime(arg1
);
22738 wxPyEndAllowThreads(__tstate
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22748 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22749 PyObject
*resultobj
= 0;
22751 int arg2
= (int) 0 ;
22752 int arg3
= (int) 0 ;
22753 int arg4
= (int) 0 ;
22754 wxDateTime
*result
= 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 PyObject
* obj3
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22772 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22773 if (!SWIG_IsOK(ecode1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22776 arg1
= static_cast< int >(val1
);
22778 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22779 if (!SWIG_IsOK(ecode2
)) {
22780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22782 arg2
= static_cast< int >(val2
);
22785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22786 if (!SWIG_IsOK(ecode3
)) {
22787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22789 arg3
= static_cast< int >(val3
);
22792 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22793 if (!SWIG_IsOK(ecode4
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22796 arg4
= static_cast< int >(val4
);
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22811 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
= 0;
22814 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22815 int arg3
= (int) wxDateTime::Inv_Year
;
22816 int arg4
= (int) 0 ;
22817 int arg5
= (int) 0 ;
22818 int arg6
= (int) 0 ;
22819 int arg7
= (int) 0 ;
22820 wxDateTime
*result
= 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 PyObject
* obj2
= 0 ;
22838 PyObject
* obj3
= 0 ;
22839 PyObject
* obj4
= 0 ;
22840 PyObject
* obj5
= 0 ;
22841 PyObject
* obj6
= 0 ;
22842 char * kwnames
[] = {
22843 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22847 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22848 if (!SWIG_IsOK(ecode1
)) {
22849 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22851 arg1
= static_cast< int >(val1
);
22853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22854 if (!SWIG_IsOK(ecode2
)) {
22855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22857 arg2
= static_cast< wxDateTime::Month
>(val2
);
22860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22861 if (!SWIG_IsOK(ecode3
)) {
22862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22864 arg3
= static_cast< int >(val3
);
22867 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22868 if (!SWIG_IsOK(ecode4
)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22871 arg4
= static_cast< int >(val4
);
22874 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22875 if (!SWIG_IsOK(ecode5
)) {
22876 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22878 arg5
= static_cast< int >(val5
);
22881 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22882 if (!SWIG_IsOK(ecode6
)) {
22883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22885 arg6
= static_cast< int >(val6
);
22888 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22889 if (!SWIG_IsOK(ecode7
)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22892 arg7
= static_cast< int >(val7
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22907 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
= 0;
22909 wxDateTime
*arg1
= 0 ;
22910 wxDateTime
*result
= 0 ;
22913 PyObject
* obj0
= 0 ;
22914 char * kwnames
[] = {
22915 (char *) "date", NULL
22918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22919 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22926 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22940 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22941 PyObject
*resultobj
= 0;
22942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22945 PyObject
*swig_obj
[1] ;
22947 if (!args
) SWIG_fail
;
22948 swig_obj
[0] = args
;
22949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22950 if (!SWIG_IsOK(res1
)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22953 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_Py_Void();
22968 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22969 PyObject
*resultobj
= 0;
22970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22971 wxDateTime
*result
= 0 ;
22974 PyObject
*swig_obj
[1] ;
22976 if (!args
) SWIG_fail
;
22977 swig_obj
[0] = args
;
22978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22979 if (!SWIG_IsOK(res1
)) {
22980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22982 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22987 result
= (wxDateTime
*) &_result_ref
;
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22999 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23003 wxDateTime
*result
= 0 ;
23006 unsigned int val2
;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 char * kwnames
[] = {
23011 (char *) "self",(char *) "timet", NULL
23014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23016 if (!SWIG_IsOK(res1
)) {
23017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
23019 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23020 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
23021 if (!SWIG_IsOK(ecode2
)) {
23022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
23024 arg2
= static_cast< time_t >(val2
);
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23029 result
= (wxDateTime
*) &_result_ref
;
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23041 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
= 0;
23043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23045 wxDateTime
*result
= 0 ;
23050 PyObject
* obj0
= 0 ;
23051 PyObject
* obj1
= 0 ;
23052 char * kwnames
[] = {
23053 (char *) "self",(char *) "jdn", NULL
23056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23058 if (!SWIG_IsOK(res1
)) {
23059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
23061 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23062 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
23063 if (!SWIG_IsOK(ecode2
)) {
23064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23066 arg2
= static_cast< double >(val2
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23071 result
= (wxDateTime
*) &_result_ref
;
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23083 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
= 0;
23085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23087 int arg3
= (int) 0 ;
23088 int arg4
= (int) 0 ;
23089 int arg5
= (int) 0 ;
23090 wxDateTime
*result
= 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 PyObject
* obj2
= 0 ;
23104 PyObject
* obj3
= 0 ;
23105 PyObject
* obj4
= 0 ;
23106 char * kwnames
[] = {
23107 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23112 if (!SWIG_IsOK(res1
)) {
23113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
23115 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23117 if (!SWIG_IsOK(ecode2
)) {
23118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
23120 arg2
= static_cast< int >(val2
);
23122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23123 if (!SWIG_IsOK(ecode3
)) {
23124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
23126 arg3
= static_cast< int >(val3
);
23129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23130 if (!SWIG_IsOK(ecode4
)) {
23131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
23133 arg4
= static_cast< int >(val4
);
23136 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23137 if (!SWIG_IsOK(ecode5
)) {
23138 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
23140 arg5
= static_cast< int >(val5
);
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
23146 result
= (wxDateTime
*) &_result_ref
;
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23158 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
= 0;
23160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23162 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23163 int arg4
= (int) wxDateTime::Inv_Year
;
23164 int arg5
= (int) 0 ;
23165 int arg6
= (int) 0 ;
23166 int arg7
= (int) 0 ;
23167 int arg8
= (int) 0 ;
23168 wxDateTime
*result
= 0 ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 PyObject
* obj2
= 0 ;
23188 PyObject
* obj3
= 0 ;
23189 PyObject
* obj4
= 0 ;
23190 PyObject
* obj5
= 0 ;
23191 PyObject
* obj6
= 0 ;
23192 PyObject
* obj7
= 0 ;
23193 char * kwnames
[] = {
23194 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23199 if (!SWIG_IsOK(res1
)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23202 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23204 if (!SWIG_IsOK(ecode2
)) {
23205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23207 arg2
= static_cast< int >(val2
);
23209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23210 if (!SWIG_IsOK(ecode3
)) {
23211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23213 arg3
= static_cast< wxDateTime::Month
>(val3
);
23216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23217 if (!SWIG_IsOK(ecode4
)) {
23218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23220 arg4
= static_cast< int >(val4
);
23223 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23224 if (!SWIG_IsOK(ecode5
)) {
23225 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23227 arg5
= static_cast< int >(val5
);
23230 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23231 if (!SWIG_IsOK(ecode6
)) {
23232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23234 arg6
= static_cast< int >(val6
);
23237 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23238 if (!SWIG_IsOK(ecode7
)) {
23239 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23241 arg7
= static_cast< int >(val7
);
23244 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23245 if (!SWIG_IsOK(ecode8
)) {
23246 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23248 arg8
= static_cast< int >(val8
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23254 result
= (wxDateTime
*) &_result_ref
;
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23266 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23267 PyObject
*resultobj
= 0;
23268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23269 wxDateTime
*result
= 0 ;
23272 PyObject
*swig_obj
[1] ;
23274 if (!args
) SWIG_fail
;
23275 swig_obj
[0] = args
;
23276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23277 if (!SWIG_IsOK(res1
)) {
23278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23280 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23285 result
= (wxDateTime
*) &_result_ref
;
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23297 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
= 0;
23299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23301 wxDateTime
*result
= 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char * kwnames
[] = {
23309 (char *) "self",(char *) "year", NULL
23312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23314 if (!SWIG_IsOK(res1
)) {
23315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23317 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23319 if (!SWIG_IsOK(ecode2
)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23322 arg2
= static_cast< int >(val2
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23327 result
= (wxDateTime
*) &_result_ref
;
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23339 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
= 0;
23341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23342 wxDateTime::Month arg2
;
23343 wxDateTime
*result
= 0 ;
23348 PyObject
* obj0
= 0 ;
23349 PyObject
* obj1
= 0 ;
23350 char * kwnames
[] = {
23351 (char *) "self",(char *) "month", NULL
23354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23356 if (!SWIG_IsOK(res1
)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23359 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23361 if (!SWIG_IsOK(ecode2
)) {
23362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23364 arg2
= static_cast< wxDateTime::Month
>(val2
);
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23369 result
= (wxDateTime
*) &_result_ref
;
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23381 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
= 0;
23383 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23385 wxDateTime
*result
= 0 ;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char * kwnames
[] = {
23393 (char *) "self",(char *) "day", NULL
23396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23401 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23403 if (!SWIG_IsOK(ecode2
)) {
23404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23406 arg2
= static_cast< int >(val2
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23411 result
= (wxDateTime
*) &_result_ref
;
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23423 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
= 0;
23425 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23427 wxDateTime
*result
= 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char * kwnames
[] = {
23435 (char *) "self",(char *) "hour", NULL
23438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23440 if (!SWIG_IsOK(res1
)) {
23441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23443 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23445 if (!SWIG_IsOK(ecode2
)) {
23446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23448 arg2
= static_cast< int >(val2
);
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23453 result
= (wxDateTime
*) &_result_ref
;
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23465 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
= 0;
23467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23469 wxDateTime
*result
= 0 ;
23474 PyObject
* obj0
= 0 ;
23475 PyObject
* obj1
= 0 ;
23476 char * kwnames
[] = {
23477 (char *) "self",(char *) "minute", NULL
23480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23482 if (!SWIG_IsOK(res1
)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23485 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23487 if (!SWIG_IsOK(ecode2
)) {
23488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23490 arg2
= static_cast< int >(val2
);
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23495 result
= (wxDateTime
*) &_result_ref
;
23497 wxPyEndAllowThreads(__tstate
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23507 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23508 PyObject
*resultobj
= 0;
23509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23511 wxDateTime
*result
= 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char * kwnames
[] = {
23519 (char *) "self",(char *) "second", NULL
23522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23524 if (!SWIG_IsOK(res1
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23527 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23529 if (!SWIG_IsOK(ecode2
)) {
23530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23532 arg2
= static_cast< int >(val2
);
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23537 result
= (wxDateTime
*) &_result_ref
;
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23549 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
= 0;
23551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23553 wxDateTime
*result
= 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "self",(char *) "millisecond", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23569 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23571 if (!SWIG_IsOK(ecode2
)) {
23572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23574 arg2
= static_cast< int >(val2
);
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23579 result
= (wxDateTime
*) &_result_ref
;
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23591 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
= 0;
23593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23594 wxDateTime::WeekDay arg2
;
23595 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23596 wxDateTime
*result
= 0 ;
23603 PyObject
* obj0
= 0 ;
23604 PyObject
* obj1
= 0 ;
23605 PyObject
* obj2
= 0 ;
23606 char * kwnames
[] = {
23607 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23612 if (!SWIG_IsOK(res1
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23615 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23617 if (!SWIG_IsOK(ecode2
)) {
23618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23620 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23623 if (!SWIG_IsOK(ecode3
)) {
23624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23626 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23631 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23632 result
= (wxDateTime
*) &_result_ref
;
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23644 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23647 wxDateTime::WeekDay arg2
;
23648 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 PyObject
* obj2
= 0 ;
23659 char * kwnames
[] = {
23660 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23668 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23670 if (!SWIG_IsOK(ecode2
)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23673 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23676 if (!SWIG_IsOK(ecode3
)) {
23677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23679 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23694 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
= 0;
23696 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23697 wxDateTime::WeekDay arg2
;
23698 wxDateTime
*result
= 0 ;
23703 PyObject
* obj0
= 0 ;
23704 PyObject
* obj1
= 0 ;
23705 char * kwnames
[] = {
23706 (char *) "self",(char *) "weekday", NULL
23709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23714 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23716 if (!SWIG_IsOK(ecode2
)) {
23717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23719 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23724 result
= (wxDateTime
*) &_result_ref
;
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23736 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23737 PyObject
*resultobj
= 0;
23738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23739 wxDateTime::WeekDay arg2
;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "self",(char *) "weekday", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23756 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23758 if (!SWIG_IsOK(ecode2
)) {
23759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23761 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 result
= (arg1
)->GetNextWeekDay(arg2
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23775 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
= 0;
23777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23778 wxDateTime::WeekDay arg2
;
23779 wxDateTime
*result
= 0 ;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 char * kwnames
[] = {
23787 (char *) "self",(char *) "weekday", NULL
23790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23792 if (!SWIG_IsOK(res1
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23795 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23797 if (!SWIG_IsOK(ecode2
)) {
23798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23800 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23805 result
= (wxDateTime
*) &_result_ref
;
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23817 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
= 0;
23819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23820 wxDateTime::WeekDay arg2
;
23826 PyObject
* obj0
= 0 ;
23827 PyObject
* obj1
= 0 ;
23828 char * kwnames
[] = {
23829 (char *) "self",(char *) "weekday", NULL
23832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23834 if (!SWIG_IsOK(res1
)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23837 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23839 if (!SWIG_IsOK(ecode2
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23842 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (arg1
)->GetPrevWeekDay(arg2
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23856 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
= 0;
23858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23859 wxDateTime::WeekDay arg2
;
23860 int arg3
= (int) 1 ;
23861 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23862 int arg5
= (int) wxDateTime::Inv_Year
;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 PyObject
* obj3
= 0 ;
23878 PyObject
* obj4
= 0 ;
23879 char * kwnames
[] = {
23880 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23885 if (!SWIG_IsOK(res1
)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23888 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23890 if (!SWIG_IsOK(ecode2
)) {
23891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23893 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23896 if (!SWIG_IsOK(ecode3
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23899 arg3
= static_cast< int >(val3
);
23902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23903 if (!SWIG_IsOK(ecode4
)) {
23904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23906 arg4
= static_cast< wxDateTime::Month
>(val4
);
23909 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23910 if (!SWIG_IsOK(ecode5
)) {
23911 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23913 arg5
= static_cast< int >(val5
);
23916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23917 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23930 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23931 PyObject
*resultobj
= 0;
23932 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23933 wxDateTime::WeekDay arg2
;
23934 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23935 int arg4
= (int) wxDateTime::Inv_Year
;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 PyObject
* obj2
= 0 ;
23948 PyObject
* obj3
= 0 ;
23949 char * kwnames
[] = {
23950 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23955 if (!SWIG_IsOK(res1
)) {
23956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23958 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23960 if (!SWIG_IsOK(ecode2
)) {
23961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23963 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23966 if (!SWIG_IsOK(ecode3
)) {
23967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23969 arg3
= static_cast< wxDateTime::Month
>(val3
);
23972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23973 if (!SWIG_IsOK(ecode4
)) {
23974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23976 arg4
= static_cast< int >(val4
);
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23993 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23994 PyObject
*resultobj
= 0;
23995 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23996 wxDateTime::WeekDay arg2
;
23997 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23998 int arg4
= (int) wxDateTime::Inv_Year
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 PyObject
* obj2
= 0 ;
24011 PyObject
* obj3
= 0 ;
24012 char * kwnames
[] = {
24013 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
24016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24018 if (!SWIG_IsOK(res1
)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24021 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24023 if (!SWIG_IsOK(ecode2
)) {
24024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
24026 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
24028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24029 if (!SWIG_IsOK(ecode3
)) {
24030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
24032 arg3
= static_cast< wxDateTime::Month
>(val3
);
24035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24036 if (!SWIG_IsOK(ecode4
)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
24039 arg4
= static_cast< int >(val4
);
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24054 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
= 0;
24056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24058 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24059 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 PyObject
* obj2
= 0 ;
24072 PyObject
* obj3
= 0 ;
24073 char * kwnames
[] = {
24074 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24079 if (!SWIG_IsOK(res1
)) {
24080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24082 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24084 if (!SWIG_IsOK(ecode2
)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24087 arg2
= static_cast< int >(val2
);
24089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24090 if (!SWIG_IsOK(ecode3
)) {
24091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24093 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24097 if (!SWIG_IsOK(ecode4
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24100 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24117 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24118 PyObject
*resultobj
= 0;
24119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24121 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24122 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 PyObject
* obj2
= 0 ;
24135 PyObject
* obj3
= 0 ;
24136 char * kwnames
[] = {
24137 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24145 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24147 if (!SWIG_IsOK(ecode2
)) {
24148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
24150 arg2
= static_cast< int >(val2
);
24152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24153 if (!SWIG_IsOK(ecode3
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24156 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24159 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24160 if (!SWIG_IsOK(ecode4
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24163 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24178 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
= 0;
24182 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24190 PyObject
* obj0
= 0 ;
24191 PyObject
* obj1
= 0 ;
24192 PyObject
* obj2
= 0 ;
24193 char * kwnames
[] = {
24194 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24198 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24199 if (!SWIG_IsOK(ecode1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24202 arg1
= static_cast< int >(val1
);
24203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24204 if (!SWIG_IsOK(ecode2
)) {
24205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24207 arg2
= static_cast< int >(val2
);
24209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24210 if (!SWIG_IsOK(ecode3
)) {
24211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24213 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24228 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
= 0;
24230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24231 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24232 int arg3
= (int) wxDateTime::Inv_Year
;
24233 wxDateTime
*result
= 0 ;
24240 PyObject
* obj0
= 0 ;
24241 PyObject
* obj1
= 0 ;
24242 PyObject
* obj2
= 0 ;
24243 char * kwnames
[] = {
24244 (char *) "self",(char *) "month",(char *) "year", NULL
24247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24252 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24255 if (!SWIG_IsOK(ecode2
)) {
24256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24258 arg2
= static_cast< wxDateTime::Month
>(val2
);
24261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24262 if (!SWIG_IsOK(ecode3
)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24265 arg3
= static_cast< int >(val3
);
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24270 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24271 result
= (wxDateTime
*) &_result_ref
;
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24283 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
= 0;
24285 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24286 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24287 int arg3
= (int) wxDateTime::Inv_Year
;
24295 PyObject
* obj0
= 0 ;
24296 PyObject
* obj1
= 0 ;
24297 PyObject
* obj2
= 0 ;
24298 char * kwnames
[] = {
24299 (char *) "self",(char *) "month",(char *) "year", NULL
24302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24304 if (!SWIG_IsOK(res1
)) {
24305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24307 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24310 if (!SWIG_IsOK(ecode2
)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24313 arg2
= static_cast< wxDateTime::Month
>(val2
);
24316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24317 if (!SWIG_IsOK(ecode3
)) {
24318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24320 arg3
= static_cast< int >(val3
);
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24335 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
= 0;
24337 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24339 wxDateTime
*result
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "yday", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24355 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24360 arg2
= static_cast< int >(val2
);
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24365 result
= (wxDateTime
*) &_result_ref
;
24367 wxPyEndAllowThreads(__tstate
);
24368 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24377 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
= 0;
24379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 char * kwnames
[] = {
24389 (char *) "self",(char *) "yday", NULL
24392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24394 if (!SWIG_IsOK(res1
)) {
24395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24397 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24399 if (!SWIG_IsOK(ecode2
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24402 arg2
= static_cast< int >(val2
);
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (arg1
)->GetYearDay(arg2
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24416 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24417 PyObject
*resultobj
= 0;
24418 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24422 PyObject
*swig_obj
[1] ;
24424 if (!args
) SWIG_fail
;
24425 swig_obj
[0] = args
;
24426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24430 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24433 result
= (double)(arg1
)->GetJulianDayNumber();
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_From_double(static_cast< double >(result
));
24444 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24445 PyObject
*resultobj
= 0;
24446 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24450 PyObject
*swig_obj
[1] ;
24452 if (!args
) SWIG_fail
;
24453 swig_obj
[0] = args
;
24454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24455 if (!SWIG_IsOK(res1
)) {
24456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24458 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (double)(arg1
)->GetJDN();
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= SWIG_From_double(static_cast< double >(result
));
24472 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24473 PyObject
*resultobj
= 0;
24474 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24478 PyObject
*swig_obj
[1] ;
24480 if (!args
) SWIG_fail
;
24481 swig_obj
[0] = args
;
24482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24483 if (!SWIG_IsOK(res1
)) {
24484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24486 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= SWIG_From_double(static_cast< double >(result
));
24500 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24501 PyObject
*resultobj
= 0;
24502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24506 PyObject
*swig_obj
[1] ;
24508 if (!args
) SWIG_fail
;
24509 swig_obj
[0] = args
;
24510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24511 if (!SWIG_IsOK(res1
)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24514 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 result
= (double)(arg1
)->GetMJD();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_From_double(static_cast< double >(result
));
24528 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24529 PyObject
*resultobj
= 0;
24530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24534 PyObject
*swig_obj
[1] ;
24536 if (!args
) SWIG_fail
;
24537 swig_obj
[0] = args
;
24538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24542 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (double)(arg1
)->GetRataDie();
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_From_double(static_cast< double >(result
));
24556 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
= 0;
24558 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24559 wxDateTime::TimeZone
*arg2
= 0 ;
24560 bool arg3
= (bool) false ;
24564 bool temp2
= false ;
24567 PyObject
* obj0
= 0 ;
24568 PyObject
* obj1
= 0 ;
24569 PyObject
* obj2
= 0 ;
24570 char * kwnames
[] = {
24571 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24576 if (!SWIG_IsOK(res1
)) {
24577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24579 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24581 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24585 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24586 if (!SWIG_IsOK(ecode3
)) {
24587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24589 arg3
= static_cast< bool >(val3
);
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24599 if (temp2
) delete arg2
;
24604 if (temp2
) delete arg2
;
24610 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24613 wxDateTime::TimeZone
*arg2
= 0 ;
24614 bool arg3
= (bool) false ;
24615 wxDateTime
*result
= 0 ;
24618 bool temp2
= false ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 PyObject
* obj2
= 0 ;
24624 char * kwnames
[] = {
24625 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24633 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24635 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24639 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24640 if (!SWIG_IsOK(ecode3
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24643 arg3
= static_cast< bool >(val3
);
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24649 result
= (wxDateTime
*) &_result_ref
;
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24656 if (temp2
) delete arg2
;
24661 if (temp2
) delete arg2
;
24667 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
= 0;
24669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24670 wxDateTime::TimeZone
*arg2
= 0 ;
24671 bool arg3
= (bool) false ;
24675 bool temp2
= false ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 PyObject
* obj2
= 0 ;
24681 char * kwnames
[] = {
24682 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24687 if (!SWIG_IsOK(res1
)) {
24688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24690 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24692 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24696 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24697 if (!SWIG_IsOK(ecode3
)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24700 arg3
= static_cast< bool >(val3
);
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24708 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24710 if (temp2
) delete arg2
;
24715 if (temp2
) delete arg2
;
24721 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
= 0;
24723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24724 wxDateTime::TimeZone
*arg2
= 0 ;
24725 bool arg3
= (bool) false ;
24726 wxDateTime
*result
= 0 ;
24729 bool temp2
= false ;
24732 PyObject
* obj0
= 0 ;
24733 PyObject
* obj1
= 0 ;
24734 PyObject
* obj2
= 0 ;
24735 char * kwnames
[] = {
24736 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24741 if (!SWIG_IsOK(res1
)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24744 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24746 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24750 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24751 if (!SWIG_IsOK(ecode3
)) {
24752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24754 arg3
= static_cast< bool >(val3
);
24757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24760 result
= (wxDateTime
*) &_result_ref
;
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24767 if (temp2
) delete arg2
;
24772 if (temp2
) delete arg2
;
24778 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
= 0;
24780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24781 bool arg2
= (bool) false ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char * kwnames
[] = {
24790 (char *) "self",(char *) "noDST", NULL
24793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24795 if (!SWIG_IsOK(res1
)) {
24796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24798 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24801 if (!SWIG_IsOK(ecode2
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24804 arg2
= static_cast< bool >(val2
);
24807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24808 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24809 wxPyEndAllowThreads(__tstate
);
24810 if (PyErr_Occurred()) SWIG_fail
;
24812 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24819 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
= 0;
24821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24822 bool arg2
= (bool) false ;
24823 wxDateTime
*result
= 0 ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 char * kwnames
[] = {
24831 (char *) "self",(char *) "noDST", NULL
24834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24839 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24842 if (!SWIG_IsOK(ecode2
)) {
24843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24845 arg2
= static_cast< bool >(val2
);
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24851 result
= (wxDateTime
*) &_result_ref
;
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24863 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
= 0;
24865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24866 bool arg2
= (bool) false ;
24872 PyObject
* obj0
= 0 ;
24873 PyObject
* obj1
= 0 ;
24874 char * kwnames
[] = {
24875 (char *) "self",(char *) "noDST", NULL
24878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24880 if (!SWIG_IsOK(res1
)) {
24881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24883 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24886 if (!SWIG_IsOK(ecode2
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24889 arg2
= static_cast< bool >(val2
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24904 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24907 bool arg2
= (bool) false ;
24908 wxDateTime
*result
= 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 char * kwnames
[] = {
24916 (char *) "self",(char *) "noDST", NULL
24919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24921 if (!SWIG_IsOK(res1
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24924 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24926 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24927 if (!SWIG_IsOK(ecode2
)) {
24928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24930 arg2
= static_cast< bool >(val2
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24936 result
= (wxDateTime
*) &_result_ref
;
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24948 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
= 0;
24950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24951 bool arg2
= (bool) false ;
24957 PyObject
* obj0
= 0 ;
24958 PyObject
* obj1
= 0 ;
24959 char * kwnames
[] = {
24960 (char *) "self",(char *) "noDST", NULL
24963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24965 if (!SWIG_IsOK(res1
)) {
24966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24968 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24970 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24971 if (!SWIG_IsOK(ecode2
)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24974 arg2
= static_cast< bool >(val2
);
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24979 wxPyEndAllowThreads(__tstate
);
24980 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24989 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24990 PyObject
*resultobj
= 0;
24991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24992 bool arg2
= (bool) false ;
24993 wxDateTime
*result
= 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 char * kwnames
[] = {
25001 (char *) "self",(char *) "noDST", NULL
25004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25006 if (!SWIG_IsOK(res1
)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
25009 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25012 if (!SWIG_IsOK(ecode2
)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
25015 arg2
= static_cast< bool >(val2
);
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
25021 result
= (wxDateTime
*) &_result_ref
;
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
25033 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
= 0;
25035 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25036 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj1
= 0 ;
25044 char * kwnames
[] = {
25045 (char *) "self",(char *) "country", NULL
25048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25050 if (!SWIG_IsOK(res1
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
25053 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25056 if (!SWIG_IsOK(ecode2
)) {
25057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25059 arg2
= static_cast< wxDateTime::Country
>(val2
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= (int)(arg1
)->IsDST(arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_From_int(static_cast< int >(result
));
25074 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25075 PyObject
*resultobj
= 0;
25076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25080 PyObject
*swig_obj
[1] ;
25082 if (!args
) SWIG_fail
;
25083 swig_obj
[0] = args
;
25084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25088 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25104 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25105 PyObject
*resultobj
= 0;
25106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25110 PyObject
*swig_obj
[1] ;
25112 if (!args
) SWIG_fail
;
25113 swig_obj
[0] = args
;
25114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25115 if (!SWIG_IsOK(res1
)) {
25116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25118 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25132 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= 0;
25134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25135 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25136 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25140 bool temp2
= false ;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 char * kwnames
[] = {
25144 (char *) "self",(char *) "tz", NULL
25147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25149 if (!SWIG_IsOK(res1
)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25152 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25155 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= SWIG_From_int(static_cast< int >(result
));
25167 if (temp2
) delete arg2
;
25172 if (temp2
) delete arg2
;
25178 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25179 PyObject
*resultobj
= 0;
25180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25181 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25182 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25183 wxDateTime::Month result
;
25186 bool temp2
= false ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 char * kwnames
[] = {
25190 (char *) "self",(char *) "tz", NULL
25193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25195 if (!SWIG_IsOK(res1
)) {
25196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25198 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25201 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_From_int(static_cast< int >(result
));
25213 if (temp2
) delete arg2
;
25218 if (temp2
) delete arg2
;
25224 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
= 0;
25226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25227 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25228 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25232 bool temp2
= false ;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 char * kwnames
[] = {
25236 (char *) "self",(char *) "tz", NULL
25239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25244 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25247 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 resultobj
= SWIG_From_int(static_cast< int >(result
));
25259 if (temp2
) delete arg2
;
25264 if (temp2
) delete arg2
;
25270 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
= 0;
25272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25273 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25274 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25275 wxDateTime::WeekDay result
;
25278 bool temp2
= false ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char * kwnames
[] = {
25282 (char *) "self",(char *) "tz", NULL
25285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25290 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25293 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_From_int(static_cast< int >(result
));
25305 if (temp2
) delete arg2
;
25310 if (temp2
) delete arg2
;
25316 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25319 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25320 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25324 bool temp2
= false ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char * kwnames
[] = {
25328 (char *) "self",(char *) "tz", NULL
25331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25333 if (!SWIG_IsOK(res1
)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25336 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25339 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_From_int(static_cast< int >(result
));
25351 if (temp2
) delete arg2
;
25356 if (temp2
) delete arg2
;
25362 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25365 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25366 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25370 bool temp2
= false ;
25371 PyObject
* obj0
= 0 ;
25372 PyObject
* obj1
= 0 ;
25373 char * kwnames
[] = {
25374 (char *) "self",(char *) "tz", NULL
25377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25379 if (!SWIG_IsOK(res1
)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25382 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25385 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25392 wxPyEndAllowThreads(__tstate
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25395 resultobj
= SWIG_From_int(static_cast< int >(result
));
25397 if (temp2
) delete arg2
;
25402 if (temp2
) delete arg2
;
25408 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
= 0;
25410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25411 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25412 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25416 bool temp2
= false ;
25417 PyObject
* obj0
= 0 ;
25418 PyObject
* obj1
= 0 ;
25419 char * kwnames
[] = {
25420 (char *) "self",(char *) "tz", NULL
25423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25425 if (!SWIG_IsOK(res1
)) {
25426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25428 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25431 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_From_int(static_cast< int >(result
));
25443 if (temp2
) delete arg2
;
25448 if (temp2
) delete arg2
;
25454 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
= 0;
25456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25457 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25458 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25462 bool temp2
= false ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char * kwnames
[] = {
25466 (char *) "self",(char *) "tz", NULL
25469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25471 if (!SWIG_IsOK(res1
)) {
25472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25474 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25477 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 resultobj
= SWIG_From_int(static_cast< int >(result
));
25489 if (temp2
) delete arg2
;
25494 if (temp2
) delete arg2
;
25500 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
= 0;
25502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25503 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25504 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25508 bool temp2
= false ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char * kwnames
[] = {
25512 (char *) "self",(char *) "tz", NULL
25515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25520 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25523 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25533 resultobj
= SWIG_From_int(static_cast< int >(result
));
25535 if (temp2
) delete arg2
;
25540 if (temp2
) delete arg2
;
25546 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
= 0;
25548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25549 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25550 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25551 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25557 bool temp3
= false ;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 PyObject
* obj2
= 0 ;
25561 char * kwnames
[] = {
25562 (char *) "self",(char *) "flags",(char *) "tz", NULL
25565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25570 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25573 if (!SWIG_IsOK(ecode2
)) {
25574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25576 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25580 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= SWIG_From_int(static_cast< int >(result
));
25592 if (temp3
) delete arg3
;
25597 if (temp3
) delete arg3
;
25603 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
= 0;
25605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25606 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25607 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25608 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25614 bool temp3
= false ;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 PyObject
* obj2
= 0 ;
25618 char * kwnames
[] = {
25619 (char *) "self",(char *) "flags",(char *) "tz", NULL
25622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25624 if (!SWIG_IsOK(res1
)) {
25625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25627 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25630 if (!SWIG_IsOK(ecode2
)) {
25631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25633 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25637 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_From_int(static_cast< int >(result
));
25649 if (temp3
) delete arg3
;
25654 if (temp3
) delete arg3
;
25660 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
= 0;
25662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25663 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "self",(char *) "country", NULL
25675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25683 if (!SWIG_IsOK(ecode2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25686 arg2
= static_cast< wxDateTime::Country
>(val2
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25703 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
= 0;
25705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25706 wxDateTime
*arg2
= 0 ;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char * kwnames
[] = {
25715 (char *) "self",(char *) "datetime", NULL
25718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25720 if (!SWIG_IsOK(res1
)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25723 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25725 if (!SWIG_IsOK(res2
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25731 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25734 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
= 0;
25749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25750 wxDateTime
*arg2
= 0 ;
25756 PyObject
* obj0
= 0 ;
25757 PyObject
* obj1
= 0 ;
25758 char * kwnames
[] = {
25759 (char *) "self",(char *) "datetime", NULL
25762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25764 if (!SWIG_IsOK(res1
)) {
25765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25767 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25768 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25769 if (!SWIG_IsOK(res2
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25773 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25775 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25779 wxPyEndAllowThreads(__tstate
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25791 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
= 0;
25793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25794 wxDateTime
*arg2
= 0 ;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 char * kwnames
[] = {
25803 (char *) "self",(char *) "datetime", NULL
25806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25811 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25812 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25813 if (!SWIG_IsOK(res2
)) {
25814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25817 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25819 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25835 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
= 0;
25837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25838 wxDateTime
*arg2
= 0 ;
25839 wxDateTime
*arg3
= 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 PyObject
* obj2
= 0 ;
25850 char * kwnames
[] = {
25851 (char *) "self",(char *) "t1",(char *) "t2", NULL
25854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25859 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25860 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25861 if (!SWIG_IsOK(res2
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25867 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25868 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25869 if (!SWIG_IsOK(res3
)) {
25870 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25875 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25891 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
= 0;
25893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25894 wxDateTime
*arg2
= 0 ;
25895 wxDateTime
*arg3
= 0 ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 char * kwnames
[] = {
25907 (char *) "self",(char *) "t1",(char *) "t2", NULL
25910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25912 if (!SWIG_IsOK(res1
)) {
25913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25915 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25916 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25917 if (!SWIG_IsOK(res2
)) {
25918 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25923 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25924 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25925 if (!SWIG_IsOK(res3
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25929 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25931 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25947 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25948 PyObject
*resultobj
= 0;
25949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25950 wxDateTime
*arg2
= 0 ;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char * kwnames
[] = {
25959 (char *) "self",(char *) "dt", NULL
25962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25964 if (!SWIG_IsOK(res1
)) {
25965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25967 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25969 if (!SWIG_IsOK(res2
)) {
25970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25975 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25991 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
= 0;
25993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25994 wxDateTime
*arg2
= 0 ;
26000 PyObject
* obj0
= 0 ;
26001 PyObject
* obj1
= 0 ;
26002 char * kwnames
[] = {
26003 (char *) "self",(char *) "dt", NULL
26006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26008 if (!SWIG_IsOK(res1
)) {
26009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26011 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26013 if (!SWIG_IsOK(res2
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26019 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26035 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26038 wxDateTime
*arg2
= 0 ;
26039 wxTimeSpan
*arg3
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 PyObject
* obj2
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "dt",(char *) "ts", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26059 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26061 if (!SWIG_IsOK(res2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26067 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26068 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26069 if (!SWIG_IsOK(res3
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26075 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26091 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26092 PyObject
*resultobj
= 0;
26093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26094 wxTimeSpan
*arg2
= 0 ;
26095 wxDateTime
*result
= 0 ;
26100 PyObject
* obj0
= 0 ;
26101 PyObject
* obj1
= 0 ;
26102 char * kwnames
[] = {
26103 (char *) "self",(char *) "diff", NULL
26106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26108 if (!SWIG_IsOK(res1
)) {
26109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26111 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26113 if (!SWIG_IsOK(res2
)) {
26114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26119 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
26124 result
= (wxDateTime
*) &_result_ref
;
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26136 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= 0;
26138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26139 wxDateSpan
*arg2
= 0 ;
26140 wxDateTime
*result
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char * kwnames
[] = {
26148 (char *) "self",(char *) "diff", NULL
26151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26153 if (!SWIG_IsOK(res1
)) {
26154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26156 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26158 if (!SWIG_IsOK(res2
)) {
26159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26164 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26169 result
= (wxDateTime
*) &_result_ref
;
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26181 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26184 wxTimeSpan
*arg2
= 0 ;
26185 wxDateTime
*result
= 0 ;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 char * kwnames
[] = {
26193 (char *) "self",(char *) "diff", NULL
26196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26198 if (!SWIG_IsOK(res1
)) {
26199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26201 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26203 if (!SWIG_IsOK(res2
)) {
26204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26209 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26214 result
= (wxDateTime
*) &_result_ref
;
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26226 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26229 wxDateSpan
*arg2
= 0 ;
26230 wxDateTime
*result
= 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 char * kwnames
[] = {
26238 (char *) "self",(char *) "diff", NULL
26241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26243 if (!SWIG_IsOK(res1
)) {
26244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26246 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26247 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26248 if (!SWIG_IsOK(res2
)) {
26249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26252 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26254 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26258 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26259 result
= (wxDateTime
*) &_result_ref
;
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26271 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
= 0;
26273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26274 wxDateTime
*arg2
= 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char * kwnames
[] = {
26283 (char *) "self",(char *) "dt", NULL
26286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26288 if (!SWIG_IsOK(res1
)) {
26289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26293 if (!SWIG_IsOK(res2
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26299 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26313 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26314 PyObject
*resultobj
= 0;
26315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26316 wxTimeSpan
*arg2
= 0 ;
26317 wxDateTime
*result
= 0 ;
26323 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26325 if (!SWIG_IsOK(res1
)) {
26326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26328 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26329 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26330 if (!SWIG_IsOK(res2
)) {
26331 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26334 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26336 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26341 result
= (wxDateTime
*) &_result_ref
;
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26353 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26354 PyObject
*resultobj
= 0;
26355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26356 wxDateSpan
*arg2
= 0 ;
26357 wxDateTime
*result
= 0 ;
26363 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26368 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26369 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26370 if (!SWIG_IsOK(res2
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26376 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26381 result
= (wxDateTime
*) &_result_ref
;
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26393 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26397 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26402 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26403 _v
= SWIG_CheckState(res
);
26405 if (!_v
) goto check_1
;
26406 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26411 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26415 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26420 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26421 PyObject
*resultobj
= 0;
26422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26423 wxTimeSpan
*arg2
= 0 ;
26424 wxDateTime
*result
= 0 ;
26430 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26435 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26436 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26437 if (!SWIG_IsOK(res2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26443 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26448 result
= (wxDateTime
*) &_result_ref
;
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26460 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26461 PyObject
*resultobj
= 0;
26462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26463 wxDateSpan
*arg2
= 0 ;
26464 wxDateTime
*result
= 0 ;
26470 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26472 if (!SWIG_IsOK(res1
)) {
26473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26475 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26476 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26477 if (!SWIG_IsOK(res2
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26483 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26488 result
= (wxDateTime
*) &_result_ref
;
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26500 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26504 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26509 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26510 _v
= SWIG_CheckState(res
);
26512 if (!_v
) goto check_1
;
26513 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26518 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26522 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26527 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26528 PyObject
*resultobj
= 0;
26529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26530 wxTimeSpan
*arg2
= 0 ;
26537 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26542 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26543 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26544 if (!SWIG_IsOK(res2
)) {
26545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26550 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26564 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26565 PyObject
*resultobj
= 0;
26566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26567 wxDateSpan
*arg2
= 0 ;
26574 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26576 if (!SWIG_IsOK(res1
)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26579 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26581 if (!SWIG_IsOK(res2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26587 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26601 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26605 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26610 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26611 _v
= SWIG_CheckState(res
);
26613 if (!_v
) goto check_1
;
26614 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26619 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26623 Py_INCREF(Py_NotImplemented
);
26624 return Py_NotImplemented
;
26628 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26629 PyObject
*resultobj
= 0;
26630 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26631 wxDateTime
*arg2
= 0 ;
26638 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26640 if (!SWIG_IsOK(res1
)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26643 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26644 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26645 if (!SWIG_IsOK(res2
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26651 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26665 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26666 PyObject
*resultobj
= 0;
26667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26668 wxTimeSpan
*arg2
= 0 ;
26675 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26681 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26682 if (!SWIG_IsOK(res2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26686 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26688 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26702 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26703 PyObject
*resultobj
= 0;
26704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26705 wxDateSpan
*arg2
= 0 ;
26712 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26714 if (!SWIG_IsOK(res1
)) {
26715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26717 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26718 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26719 if (!SWIG_IsOK(res2
)) {
26720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26725 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26739 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26743 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26748 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26749 _v
= SWIG_CheckState(res
);
26751 if (!_v
) goto check_1
;
26752 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26759 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26760 _v
= SWIG_CheckState(res
);
26762 if (!_v
) goto check_2
;
26763 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26768 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26772 Py_INCREF(Py_NotImplemented
);
26773 return Py_NotImplemented
;
26777 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
= 0;
26779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26780 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26786 PyObject
* obj0
= 0 ;
26787 PyObject
* obj1
= 0 ;
26788 char * kwnames
[] = {
26789 (char *) "self",(char *) "other", NULL
26792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26794 if (!SWIG_IsOK(res1
)) {
26795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26797 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26799 if (!SWIG_IsOK(res2
)) {
26800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26802 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26806 wxPyEndAllowThreads(__tstate
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26818 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26819 PyObject
*resultobj
= 0;
26820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26821 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 char * kwnames
[] = {
26830 (char *) "self",(char *) "other", NULL
26833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26838 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26840 if (!SWIG_IsOK(res2
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26843 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26859 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
= 0;
26861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26862 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char * kwnames
[] = {
26871 (char *) "self",(char *) "other", NULL
26874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26876 if (!SWIG_IsOK(res1
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26879 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26881 if (!SWIG_IsOK(res2
)) {
26882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26884 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26900 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
= 0;
26902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26903 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "other", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26920 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26922 if (!SWIG_IsOK(res2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26925 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= 0;
26943 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26944 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char * kwnames
[] = {
26953 (char *) "self",(char *) "other", NULL
26956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26958 if (!SWIG_IsOK(res1
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26961 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26963 if (!SWIG_IsOK(res2
)) {
26964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26966 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26970 wxPyEndAllowThreads(__tstate
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26982 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26985 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "self",(char *) "other", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26999 if (!SWIG_IsOK(res1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
27002 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27004 if (!SWIG_IsOK(res2
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
27007 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27023 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27024 PyObject
*resultobj
= 0;
27025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27026 wxString
*arg2
= 0 ;
27030 bool temp2
= false ;
27031 PyObject
* obj0
= 0 ;
27032 PyObject
* obj1
= 0 ;
27033 char * kwnames
[] = {
27034 (char *) "self",(char *) "date", NULL
27037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
27042 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27044 arg2
= wxString_in_helper(obj1
);
27045 if (arg2
== NULL
) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_From_int(static_cast< int >(result
));
27069 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
= 0;
27071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27072 wxString
*arg2
= 0 ;
27073 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27075 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27076 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27080 bool temp2
= false ;
27081 bool temp3
= false ;
27084 PyObject
* obj0
= 0 ;
27085 PyObject
* obj1
= 0 ;
27086 PyObject
* obj2
= 0 ;
27087 PyObject
* obj3
= 0 ;
27088 char * kwnames
[] = {
27089 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27094 if (!SWIG_IsOK(res1
)) {
27095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27097 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27099 arg2
= wxString_in_helper(obj1
);
27100 if (arg2
== NULL
) SWIG_fail
;
27105 arg3
= wxString_in_helper(obj2
);
27106 if (arg3
== NULL
) SWIG_fail
;
27111 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27112 if (!SWIG_IsOK(res4
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27118 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
27121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27122 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= SWIG_From_int(static_cast< int >(result
));
27149 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
= 0;
27151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27152 wxString
*arg2
= 0 ;
27156 bool temp2
= false ;
27157 PyObject
* obj0
= 0 ;
27158 PyObject
* obj1
= 0 ;
27159 char * kwnames
[] = {
27160 (char *) "self",(char *) "datetime", NULL
27163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27165 if (!SWIG_IsOK(res1
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27168 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27170 arg2
= wxString_in_helper(obj1
);
27171 if (arg2
== NULL
) SWIG_fail
;
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27180 resultobj
= SWIG_From_int(static_cast< int >(result
));
27195 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
= 0;
27197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27198 wxString
*arg2
= 0 ;
27202 bool temp2
= false ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 char * kwnames
[] = {
27206 (char *) "self",(char *) "date", NULL
27209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27211 if (!SWIG_IsOK(res1
)) {
27212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27214 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27216 arg2
= wxString_in_helper(obj1
);
27217 if (arg2
== NULL
) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 resultobj
= SWIG_From_int(static_cast< int >(result
));
27241 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
= 0;
27243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27244 wxString
*arg2
= 0 ;
27248 bool temp2
= false ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 char * kwnames
[] = {
27252 (char *) "self",(char *) "time", NULL
27255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27257 if (!SWIG_IsOK(res1
)) {
27258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27260 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27262 arg2
= wxString_in_helper(obj1
);
27263 if (arg2
== NULL
) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= SWIG_From_int(static_cast< int >(result
));
27287 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
= 0;
27289 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27290 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27291 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27292 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27293 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27297 bool temp2
= false ;
27298 bool temp3
= false ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 PyObject
* obj2
= 0 ;
27302 char * kwnames
[] = {
27303 (char *) "self",(char *) "format",(char *) "tz", NULL
27306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27308 if (!SWIG_IsOK(res1
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27311 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27314 arg2
= wxString_in_helper(obj1
);
27315 if (arg2
== NULL
) SWIG_fail
;
27321 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27343 if (temp3
) delete arg3
;
27352 if (temp3
) delete arg3
;
27358 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27364 PyObject
*swig_obj
[1] ;
27366 if (!args
) SWIG_fail
;
27367 swig_obj
[0] = args
;
27368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27369 if (!SWIG_IsOK(res1
)) {
27370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27372 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27392 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27393 PyObject
*resultobj
= 0;
27394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27398 PyObject
*swig_obj
[1] ;
27400 if (!args
) SWIG_fail
;
27401 swig_obj
[0] = args
;
27402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27403 if (!SWIG_IsOK(res1
)) {
27404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27406 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27410 wxPyEndAllowThreads(__tstate
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27426 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27427 PyObject
*resultobj
= 0;
27428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27432 PyObject
*swig_obj
[1] ;
27434 if (!args
) SWIG_fail
;
27435 swig_obj
[0] = args
;
27436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27440 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27460 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27461 PyObject
*resultobj
= 0;
27462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27466 PyObject
*swig_obj
[1] ;
27468 if (!args
) SWIG_fail
;
27469 swig_obj
[0] = args
;
27470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27471 if (!SWIG_IsOK(res1
)) {
27472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27474 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27494 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27497 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27498 return SWIG_Py_Void();
27501 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 return SWIG_Python_InitShadowInstance(args
);
27505 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
= 0;
27511 PyObject
* obj0
= 0 ;
27512 char * kwnames
[] = {
27513 (char *) "ms", NULL
27516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27517 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27518 if (!SWIG_IsOK(ecode1
)) {
27519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27521 arg1
= static_cast< long >(val1
);
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 result
= wxTimeSpan::Milliseconds(arg1
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27535 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27536 PyObject
*resultobj
= 0;
27539 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= wxTimeSpan::Millisecond();
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27553 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
= 0;
27559 PyObject
* obj0
= 0 ;
27560 char * kwnames
[] = {
27561 (char *) "sec", NULL
27564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27565 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27566 if (!SWIG_IsOK(ecode1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27569 arg1
= static_cast< long >(val1
);
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 result
= wxTimeSpan::Seconds(arg1
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27583 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27584 PyObject
*resultobj
= 0;
27587 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 result
= wxTimeSpan::Second();
27591 wxPyEndAllowThreads(__tstate
);
27592 if (PyErr_Occurred()) SWIG_fail
;
27594 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27601 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
= 0;
27607 PyObject
* obj0
= 0 ;
27608 char * kwnames
[] = {
27609 (char *) "min", NULL
27612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27613 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27614 if (!SWIG_IsOK(ecode1
)) {
27615 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27617 arg1
= static_cast< long >(val1
);
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= wxTimeSpan::Minutes(arg1
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27624 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27631 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27635 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= wxTimeSpan::Minute();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27649 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
= 0;
27655 PyObject
* obj0
= 0 ;
27656 char * kwnames
[] = {
27657 (char *) "hours", NULL
27660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27661 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27662 if (!SWIG_IsOK(ecode1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27665 arg1
= static_cast< long >(val1
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= wxTimeSpan::Hours(arg1
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27679 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27680 PyObject
*resultobj
= 0;
27683 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= wxTimeSpan::Hour();
27687 wxPyEndAllowThreads(__tstate
);
27688 if (PyErr_Occurred()) SWIG_fail
;
27690 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27697 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
= 0;
27703 PyObject
* obj0
= 0 ;
27704 char * kwnames
[] = {
27705 (char *) "days", NULL
27708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27709 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27710 if (!SWIG_IsOK(ecode1
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27713 arg1
= static_cast< long >(val1
);
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= wxTimeSpan::Days(arg1
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27727 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27728 PyObject
*resultobj
= 0;
27731 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= wxTimeSpan::Day();
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27745 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27746 PyObject
*resultobj
= 0;
27751 PyObject
* obj0
= 0 ;
27752 char * kwnames
[] = {
27753 (char *) "days", NULL
27756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27757 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27758 if (!SWIG_IsOK(ecode1
)) {
27759 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27761 arg1
= static_cast< long >(val1
);
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= wxTimeSpan::Weeks(arg1
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27775 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27779 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= wxTimeSpan::Week();
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27793 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 long arg1
= (long) 0 ;
27796 long arg2
= (long) 0 ;
27797 long arg3
= (long) 0 ;
27798 long arg4
= (long) 0 ;
27799 wxTimeSpan
*result
= 0 ;
27808 PyObject
* obj0
= 0 ;
27809 PyObject
* obj1
= 0 ;
27810 PyObject
* obj2
= 0 ;
27811 PyObject
* obj3
= 0 ;
27812 char * kwnames
[] = {
27813 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27818 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27819 if (!SWIG_IsOK(ecode1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27822 arg1
= static_cast< long >(val1
);
27825 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27826 if (!SWIG_IsOK(ecode2
)) {
27827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27829 arg2
= static_cast< long >(val2
);
27832 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27833 if (!SWIG_IsOK(ecode3
)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27836 arg3
= static_cast< long >(val3
);
27839 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27840 if (!SWIG_IsOK(ecode4
)) {
27841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27843 arg4
= static_cast< long >(val4
);
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27858 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27859 PyObject
*resultobj
= 0;
27860 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27863 PyObject
*swig_obj
[1] ;
27865 if (!args
) SWIG_fail
;
27866 swig_obj
[0] = args
;
27867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27868 if (!SWIG_IsOK(res1
)) {
27869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27871 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= SWIG_Py_Void();
27886 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
= 0;
27888 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27889 wxTimeSpan
*arg2
= 0 ;
27890 wxTimeSpan
*result
= 0 ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 char * kwnames
[] = {
27898 (char *) "self",(char *) "diff", NULL
27901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27903 if (!SWIG_IsOK(res1
)) {
27904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27906 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27907 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27908 if (!SWIG_IsOK(res2
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27912 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27914 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27919 result
= (wxTimeSpan
*) &_result_ref
;
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27931 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
= 0;
27933 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27934 wxTimeSpan
*arg2
= 0 ;
27935 wxTimeSpan
*result
= 0 ;
27940 PyObject
* obj0
= 0 ;
27941 PyObject
* obj1
= 0 ;
27942 char * kwnames
[] = {
27943 (char *) "self",(char *) "diff", NULL
27946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27948 if (!SWIG_IsOK(res1
)) {
27949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27951 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27952 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27953 if (!SWIG_IsOK(res2
)) {
27954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27957 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27959 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27964 result
= (wxTimeSpan
*) &_result_ref
;
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27976 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
= 0;
27978 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27980 wxTimeSpan
*result
= 0 ;
27985 PyObject
* obj0
= 0 ;
27986 PyObject
* obj1
= 0 ;
27987 char * kwnames
[] = {
27988 (char *) "self",(char *) "n", NULL
27991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27993 if (!SWIG_IsOK(res1
)) {
27994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27996 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27998 if (!SWIG_IsOK(ecode2
)) {
27999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
28001 arg2
= static_cast< int >(val2
);
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
28006 result
= (wxTimeSpan
*) &_result_ref
;
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28018 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28021 wxTimeSpan
*result
= 0 ;
28024 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28032 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
28037 result
= (wxTimeSpan
*) &_result_ref
;
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28049 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28050 PyObject
*resultobj
= 0;
28051 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28055 PyObject
*swig_obj
[1] ;
28057 if (!args
) SWIG_fail
;
28058 swig_obj
[0] = args
;
28059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28060 if (!SWIG_IsOK(res1
)) {
28061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28063 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28070 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28077 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
= 0;
28079 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28080 wxTimeSpan
*arg2
= 0 ;
28081 wxTimeSpan
*result
= 0 ;
28086 PyObject
* obj0
= 0 ;
28087 PyObject
* obj1
= 0 ;
28088 char * kwnames
[] = {
28089 (char *) "self",(char *) "diff", NULL
28092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28094 if (!SWIG_IsOK(res1
)) {
28095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28097 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28099 if (!SWIG_IsOK(res2
)) {
28100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28105 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28110 result
= (wxTimeSpan
*) &_result_ref
;
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28122 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
= 0;
28124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28125 wxTimeSpan
*arg2
= 0 ;
28126 wxTimeSpan
*result
= 0 ;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char * kwnames
[] = {
28134 (char *) "self",(char *) "diff", NULL
28137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28142 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28143 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28144 if (!SWIG_IsOK(res2
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28150 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28154 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
28155 result
= (wxTimeSpan
*) &_result_ref
;
28157 wxPyEndAllowThreads(__tstate
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28167 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28168 PyObject
*resultobj
= 0;
28169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28171 wxTimeSpan
*result
= 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 char * kwnames
[] = {
28179 (char *) "self",(char *) "n", NULL
28182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28184 if (!SWIG_IsOK(res1
)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28187 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28189 if (!SWIG_IsOK(ecode2
)) {
28190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28192 arg2
= static_cast< int >(val2
);
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28197 result
= (wxTimeSpan
*) &_result_ref
;
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28209 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 PyObject
*resultobj
= 0;
28211 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28212 wxTimeSpan
*result
= 0 ;
28215 PyObject
*swig_obj
[1] ;
28217 if (!args
) SWIG_fail
;
28218 swig_obj
[0] = args
;
28219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28220 if (!SWIG_IsOK(res1
)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28223 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28228 result
= (wxTimeSpan
*) &_result_ref
;
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28240 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
= 0;
28242 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28243 wxTimeSpan
*arg2
= 0 ;
28249 PyObject
* obj0
= 0 ;
28250 PyObject
* obj1
= 0 ;
28251 char * kwnames
[] = {
28252 (char *) "self",(char *) "other", NULL
28255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28257 if (!SWIG_IsOK(res1
)) {
28258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28260 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28262 if (!SWIG_IsOK(res2
)) {
28263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28268 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28282 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
= 0;
28284 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28285 wxTimeSpan
*arg2
= 0 ;
28291 PyObject
* obj0
= 0 ;
28292 PyObject
* obj1
= 0 ;
28293 char * kwnames
[] = {
28294 (char *) "self",(char *) "other", NULL
28297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28299 if (!SWIG_IsOK(res1
)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28302 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28303 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28304 if (!SWIG_IsOK(res2
)) {
28305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28308 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28310 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28324 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
= 0;
28326 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 char * kwnames
[] = {
28336 (char *) "self",(char *) "n", NULL
28339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28344 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28346 if (!SWIG_IsOK(ecode2
)) {
28347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28349 arg2
= static_cast< int >(val2
);
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= wxTimeSpan___mul__(arg1
,arg2
);
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28363 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28364 PyObject
*resultobj
= 0;
28365 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28372 PyObject
* obj0
= 0 ;
28373 PyObject
* obj1
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "self",(char *) "n", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28383 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28385 if (!SWIG_IsOK(ecode2
)) {
28386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28388 arg2
= static_cast< int >(val2
);
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28402 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
= 0;
28404 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28405 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 PyObject
* obj1
= 0 ;
28413 char * kwnames
[] = {
28414 (char *) "self",(char *) "other", NULL
28417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28419 if (!SWIG_IsOK(res1
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28422 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28423 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28424 if (!SWIG_IsOK(res2
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28427 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28443 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
= 0;
28445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28446 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "self",(char *) "other", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28463 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28465 if (!SWIG_IsOK(res2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28468 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28484 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
= 0;
28486 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28487 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 char * kwnames
[] = {
28496 (char *) "self",(char *) "other", NULL
28499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28501 if (!SWIG_IsOK(res1
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28504 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28506 if (!SWIG_IsOK(res2
)) {
28507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28509 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28513 wxPyEndAllowThreads(__tstate
);
28514 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28525 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28526 PyObject
*resultobj
= 0;
28527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28528 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28534 PyObject
* obj0
= 0 ;
28535 PyObject
* obj1
= 0 ;
28536 char * kwnames
[] = {
28537 (char *) "self",(char *) "other", NULL
28540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28542 if (!SWIG_IsOK(res1
)) {
28543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28545 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28547 if (!SWIG_IsOK(res2
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28550 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28553 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28566 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
= 0;
28568 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28569 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char * kwnames
[] = {
28578 (char *) "self",(char *) "other", NULL
28581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28586 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28588 if (!SWIG_IsOK(res2
)) {
28589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28591 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28607 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28608 PyObject
*resultobj
= 0;
28609 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28610 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char * kwnames
[] = {
28619 (char *) "self",(char *) "other", NULL
28622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28624 if (!SWIG_IsOK(res1
)) {
28625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28627 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28629 if (!SWIG_IsOK(res2
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28632 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28635 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28636 wxPyEndAllowThreads(__tstate
);
28637 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28648 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28649 PyObject
*resultobj
= 0;
28650 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28654 PyObject
*swig_obj
[1] ;
28656 if (!args
) SWIG_fail
;
28657 swig_obj
[0] = args
;
28658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28659 if (!SWIG_IsOK(res1
)) {
28660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28662 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28678 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28679 PyObject
*resultobj
= 0;
28680 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28684 PyObject
*swig_obj
[1] ;
28686 if (!args
) SWIG_fail
;
28687 swig_obj
[0] = args
;
28688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28689 if (!SWIG_IsOK(res1
)) {
28690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28692 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28695 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28696 wxPyEndAllowThreads(__tstate
);
28697 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28708 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28709 PyObject
*resultobj
= 0;
28710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28714 PyObject
*swig_obj
[1] ;
28716 if (!args
) SWIG_fail
;
28717 swig_obj
[0] = args
;
28718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28719 if (!SWIG_IsOK(res1
)) {
28720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28722 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28725 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28726 wxPyEndAllowThreads(__tstate
);
28727 if (PyErr_Occurred()) SWIG_fail
;
28730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28738 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28741 wxTimeSpan
*arg2
= 0 ;
28747 PyObject
* obj0
= 0 ;
28748 PyObject
* obj1
= 0 ;
28749 char * kwnames
[] = {
28750 (char *) "self",(char *) "ts", NULL
28753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28758 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28759 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28760 if (!SWIG_IsOK(res2
)) {
28761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28764 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28766 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28782 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
= 0;
28784 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28785 wxTimeSpan
*arg2
= 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 char * kwnames
[] = {
28794 (char *) "self",(char *) "ts", NULL
28797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28799 if (!SWIG_IsOK(res1
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28802 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28804 if (!SWIG_IsOK(res2
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28810 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28826 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
= 0;
28828 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28829 wxTimeSpan
*arg2
= 0 ;
28835 PyObject
* obj0
= 0 ;
28836 PyObject
* obj1
= 0 ;
28837 char * kwnames
[] = {
28838 (char *) "self",(char *) "t", NULL
28841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28846 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28847 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28848 if (!SWIG_IsOK(res2
)) {
28849 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28854 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28858 wxPyEndAllowThreads(__tstate
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28870 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28871 PyObject
*resultobj
= 0;
28872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28876 PyObject
*swig_obj
[1] ;
28878 if (!args
) SWIG_fail
;
28879 swig_obj
[0] = args
;
28880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28881 if (!SWIG_IsOK(res1
)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28884 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_From_int(static_cast< int >(result
));
28898 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 PyObject
*resultobj
= 0;
28900 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28904 PyObject
*swig_obj
[1] ;
28906 if (!args
) SWIG_fail
;
28907 swig_obj
[0] = args
;
28908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28909 if (!SWIG_IsOK(res1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28912 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_From_int(static_cast< int >(result
));
28926 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 PyObject
*resultobj
= 0;
28928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28932 PyObject
*swig_obj
[1] ;
28934 if (!args
) SWIG_fail
;
28935 swig_obj
[0] = args
;
28936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28940 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28944 wxPyEndAllowThreads(__tstate
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 resultobj
= SWIG_From_int(static_cast< int >(result
));
28954 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28955 PyObject
*resultobj
= 0;
28956 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28960 PyObject
*swig_obj
[1] ;
28962 if (!args
) SWIG_fail
;
28963 swig_obj
[0] = args
;
28964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28965 if (!SWIG_IsOK(res1
)) {
28966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28968 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28971 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28972 wxPyEndAllowThreads(__tstate
);
28973 if (PyErr_Occurred()) SWIG_fail
;
28975 resultobj
= SWIG_From_int(static_cast< int >(result
));
28982 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28983 PyObject
*resultobj
= 0;
28984 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28988 PyObject
*swig_obj
[1] ;
28990 if (!args
) SWIG_fail
;
28991 swig_obj
[0] = args
;
28992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28996 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29004 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29005 hi
= PyLong_FromLong( (&result
)->GetHi() );
29006 lo
= PyLong_FromLong( (&result
)->GetLo() );
29007 shifter
= PyLong_FromLong(32);
29008 shifted
= PyNumber_Lshift(hi
, shifter
);
29009 resultobj
= PyNumber_Or(shifted
, lo
);
29012 Py_DECREF(shifter
);
29013 Py_DECREF(shifted
);
29021 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29022 PyObject
*resultobj
= 0;
29023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29027 PyObject
*swig_obj
[1] ;
29029 if (!args
) SWIG_fail
;
29030 swig_obj
[0] = args
;
29031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29032 if (!SWIG_IsOK(res1
)) {
29033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29035 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29038 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 PyObject
*hi
, *lo
, *shifter
, *shifted
;
29044 hi
= PyLong_FromLong( (&result
)->GetHi() );
29045 lo
= PyLong_FromLong( (&result
)->GetLo() );
29046 shifter
= PyLong_FromLong(32);
29047 shifted
= PyNumber_Lshift(hi
, shifter
);
29048 resultobj
= PyNumber_Or(shifted
, lo
);
29051 Py_DECREF(shifter
);
29052 Py_DECREF(shifted
);
29060 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
= 0;
29062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
29063 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29064 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29068 bool temp2
= false ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "format", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29080 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29083 arg2
= wxString_in_helper(obj1
);
29084 if (arg2
== NULL
) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29096 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29098 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29115 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29118 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
29119 return SWIG_Py_Void();
29122 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29123 return SWIG_Python_InitShadowInstance(args
);
29126 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
= 0;
29128 int arg1
= (int) 0 ;
29129 int arg2
= (int) 0 ;
29130 int arg3
= (int) 0 ;
29131 int arg4
= (int) 0 ;
29132 wxDateSpan
*result
= 0 ;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 PyObject
* obj2
= 0 ;
29144 PyObject
* obj3
= 0 ;
29145 char * kwnames
[] = {
29146 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
29149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29152 if (!SWIG_IsOK(ecode1
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
29155 arg1
= static_cast< int >(val1
);
29158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29159 if (!SWIG_IsOK(ecode2
)) {
29160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
29162 arg2
= static_cast< int >(val2
);
29165 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29166 if (!SWIG_IsOK(ecode3
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
29169 arg3
= static_cast< int >(val3
);
29172 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29173 if (!SWIG_IsOK(ecode4
)) {
29174 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
29176 arg4
= static_cast< int >(val4
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29191 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29196 PyObject
*swig_obj
[1] ;
29198 if (!args
) SWIG_fail
;
29199 swig_obj
[0] = args
;
29200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29204 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29225 PyObject
* obj0
= 0 ;
29226 char * kwnames
[] = {
29227 (char *) "days", NULL
29230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29231 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29232 if (!SWIG_IsOK(ecode1
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29235 arg1
= static_cast< int >(val1
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= wxDateSpan::Days(arg1
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29242 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29249 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29250 PyObject
*resultobj
= 0;
29253 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 result
= wxDateSpan::Day();
29257 wxPyEndAllowThreads(__tstate
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29267 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
= 0;
29273 PyObject
* obj0
= 0 ;
29274 char * kwnames
[] = {
29275 (char *) "weeks", NULL
29278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29279 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29280 if (!SWIG_IsOK(ecode1
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29283 arg1
= static_cast< int >(val1
);
29285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29286 result
= wxDateSpan::Weeks(arg1
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29297 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29298 PyObject
*resultobj
= 0;
29301 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 result
= wxDateSpan::Week();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29315 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
= 0;
29321 PyObject
* obj0
= 0 ;
29322 char * kwnames
[] = {
29323 (char *) "mon", NULL
29326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29327 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29328 if (!SWIG_IsOK(ecode1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29331 arg1
= static_cast< int >(val1
);
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= wxDateSpan::Months(arg1
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29345 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29349 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 result
= wxDateSpan::Month();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29363 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
= 0;
29369 PyObject
* obj0
= 0 ;
29370 char * kwnames
[] = {
29371 (char *) "years", NULL
29374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29375 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29376 if (!SWIG_IsOK(ecode1
)) {
29377 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29379 arg1
= static_cast< int >(val1
);
29381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29382 result
= wxDateSpan::Years(arg1
);
29383 wxPyEndAllowThreads(__tstate
);
29384 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29393 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29394 PyObject
*resultobj
= 0;
29397 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29400 result
= wxDateSpan::Year();
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29411 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
= 0;
29413 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29415 wxDateSpan
*result
= 0 ;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 char * kwnames
[] = {
29423 (char *) "self",(char *) "n", NULL
29426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29428 if (!SWIG_IsOK(res1
)) {
29429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29431 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29433 if (!SWIG_IsOK(ecode2
)) {
29434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29436 arg2
= static_cast< int >(val2
);
29438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29441 result
= (wxDateSpan
*) &_result_ref
;
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29453 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
= 0;
29455 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29457 wxDateSpan
*result
= 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 char * kwnames
[] = {
29465 (char *) "self",(char *) "n", NULL
29468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29470 if (!SWIG_IsOK(res1
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29473 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29474 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29475 if (!SWIG_IsOK(ecode2
)) {
29476 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29478 arg2
= static_cast< int >(val2
);
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29482 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29483 result
= (wxDateSpan
*) &_result_ref
;
29485 wxPyEndAllowThreads(__tstate
);
29486 if (PyErr_Occurred()) SWIG_fail
;
29488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29495 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
= 0;
29497 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29499 wxDateSpan
*result
= 0 ;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj1
= 0 ;
29506 char * kwnames
[] = {
29507 (char *) "self",(char *) "n", NULL
29510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29515 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29517 if (!SWIG_IsOK(ecode2
)) {
29518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29520 arg2
= static_cast< int >(val2
);
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29524 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29525 result
= (wxDateSpan
*) &_result_ref
;
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29537 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
= 0;
29539 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29541 wxDateSpan
*result
= 0 ;
29546 PyObject
* obj0
= 0 ;
29547 PyObject
* obj1
= 0 ;
29548 char * kwnames
[] = {
29549 (char *) "self",(char *) "n", NULL
29552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29557 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29559 if (!SWIG_IsOK(ecode2
)) {
29560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29562 arg2
= static_cast< int >(val2
);
29564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29567 result
= (wxDateSpan
*) &_result_ref
;
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29579 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29580 PyObject
*resultobj
= 0;
29581 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29585 PyObject
*swig_obj
[1] ;
29587 if (!args
) SWIG_fail
;
29588 swig_obj
[0] = args
;
29589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29590 if (!SWIG_IsOK(res1
)) {
29591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29593 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_From_int(static_cast< int >(result
));
29607 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29608 PyObject
*resultobj
= 0;
29609 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29613 PyObject
*swig_obj
[1] ;
29615 if (!args
) SWIG_fail
;
29616 swig_obj
[0] = args
;
29617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29618 if (!SWIG_IsOK(res1
)) {
29619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29621 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= SWIG_From_int(static_cast< int >(result
));
29635 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29636 PyObject
*resultobj
= 0;
29637 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29649 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= SWIG_From_int(static_cast< int >(result
));
29663 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29664 PyObject
*resultobj
= 0;
29665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29669 PyObject
*swig_obj
[1] ;
29671 if (!args
) SWIG_fail
;
29672 swig_obj
[0] = args
;
29673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29674 if (!SWIG_IsOK(res1
)) {
29675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29677 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= SWIG_From_int(static_cast< int >(result
));
29691 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29692 PyObject
*resultobj
= 0;
29693 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29697 PyObject
*swig_obj
[1] ;
29699 if (!args
) SWIG_fail
;
29700 swig_obj
[0] = args
;
29701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29702 if (!SWIG_IsOK(res1
)) {
29703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29705 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29709 wxPyEndAllowThreads(__tstate
);
29710 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= SWIG_From_int(static_cast< int >(result
));
29719 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
= 0;
29721 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29722 wxDateSpan
*arg2
= 0 ;
29723 wxDateSpan
*result
= 0 ;
29728 PyObject
* obj0
= 0 ;
29729 PyObject
* obj1
= 0 ;
29730 char * kwnames
[] = {
29731 (char *) "self",(char *) "other", NULL
29734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29736 if (!SWIG_IsOK(res1
)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29739 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29741 if (!SWIG_IsOK(res2
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29747 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29752 result
= (wxDateSpan
*) &_result_ref
;
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29764 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
= 0;
29766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29767 wxDateSpan
*arg2
= 0 ;
29768 wxDateSpan
*result
= 0 ;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "other", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29784 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29786 if (!SWIG_IsOK(res2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29792 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29797 result
= (wxDateSpan
*) &_result_ref
;
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29809 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29810 PyObject
*resultobj
= 0;
29811 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29812 wxDateSpan
*result
= 0 ;
29815 PyObject
*swig_obj
[1] ;
29817 if (!args
) SWIG_fail
;
29818 swig_obj
[0] = args
;
29819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29823 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29828 result
= (wxDateSpan
*) &_result_ref
;
29830 wxPyEndAllowThreads(__tstate
);
29831 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29840 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29841 PyObject
*resultobj
= 0;
29842 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29844 wxDateSpan
*result
= 0 ;
29849 PyObject
* obj0
= 0 ;
29850 PyObject
* obj1
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "factor", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29860 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29862 if (!SWIG_IsOK(ecode2
)) {
29863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29865 arg2
= static_cast< int >(val2
);
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29870 result
= (wxDateSpan
*) &_result_ref
;
29872 wxPyEndAllowThreads(__tstate
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29882 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29883 PyObject
*resultobj
= 0;
29884 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29885 wxDateSpan
*arg2
= 0 ;
29886 wxDateSpan
*result
= 0 ;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 char * kwnames
[] = {
29894 (char *) "self",(char *) "other", NULL
29897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29899 if (!SWIG_IsOK(res1
)) {
29900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29902 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29903 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29904 if (!SWIG_IsOK(res2
)) {
29905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29910 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29914 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29915 result
= (wxDateSpan
*) &_result_ref
;
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29927 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29928 PyObject
*resultobj
= 0;
29929 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29930 wxDateSpan
*arg2
= 0 ;
29931 wxDateSpan
*result
= 0 ;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char * kwnames
[] = {
29939 (char *) "self",(char *) "other", NULL
29942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29944 if (!SWIG_IsOK(res1
)) {
29945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29947 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29949 if (!SWIG_IsOK(res2
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29955 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29960 result
= (wxDateSpan
*) &_result_ref
;
29962 wxPyEndAllowThreads(__tstate
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29972 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29973 PyObject
*resultobj
= 0;
29974 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29975 wxDateSpan
*result
= 0 ;
29978 PyObject
*swig_obj
[1] ;
29980 if (!args
) SWIG_fail
;
29981 swig_obj
[0] = args
;
29982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29983 if (!SWIG_IsOK(res1
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29986 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29991 result
= (wxDateSpan
*) &_result_ref
;
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30003 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
= 0;
30005 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30007 wxDateSpan
*result
= 0 ;
30012 PyObject
* obj0
= 0 ;
30013 PyObject
* obj1
= 0 ;
30014 char * kwnames
[] = {
30015 (char *) "self",(char *) "factor", NULL
30018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
30020 if (!SWIG_IsOK(res1
)) {
30021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30023 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30025 if (!SWIG_IsOK(ecode2
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
30028 arg2
= static_cast< int >(val2
);
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
30033 result
= (wxDateSpan
*) &_result_ref
;
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30045 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
= 0;
30047 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30048 wxDateSpan
*arg2
= 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 char * kwnames
[] = {
30057 (char *) "self",(char *) "other", NULL
30060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30062 if (!SWIG_IsOK(res1
)) {
30063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30065 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30067 if (!SWIG_IsOK(res2
)) {
30068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30073 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30087 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
= 0;
30089 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30090 wxDateSpan
*arg2
= 0 ;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 char * kwnames
[] = {
30099 (char *) "self",(char *) "other", NULL
30102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30104 if (!SWIG_IsOK(res1
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30107 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30109 if (!SWIG_IsOK(res2
)) {
30110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30115 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30118 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
30119 wxPyEndAllowThreads(__tstate
);
30120 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30129 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
= 0;
30131 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30138 PyObject
* obj0
= 0 ;
30139 PyObject
* obj1
= 0 ;
30140 char * kwnames
[] = {
30141 (char *) "self",(char *) "n", NULL
30144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30146 if (!SWIG_IsOK(res1
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30149 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30151 if (!SWIG_IsOK(ecode2
)) {
30152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
30154 arg2
= static_cast< int >(val2
);
30156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30157 result
= wxDateSpan___mul__(arg1
,arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30161 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30168 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30169 PyObject
*resultobj
= 0;
30170 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 char * kwnames
[] = {
30180 (char *) "self",(char *) "n", NULL
30183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30185 if (!SWIG_IsOK(res1
)) {
30186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30188 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30190 if (!SWIG_IsOK(ecode2
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30193 arg2
= static_cast< int >(val2
);
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= wxDateSpan___rmul__(arg1
,arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30207 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
= 0;
30209 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30210 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char * kwnames
[] = {
30219 (char *) "self",(char *) "other", NULL
30222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30224 if (!SWIG_IsOK(res1
)) {
30225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30227 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30228 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30229 if (!SWIG_IsOK(res2
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30232 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30248 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30251 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30257 PyObject
* obj0
= 0 ;
30258 PyObject
* obj1
= 0 ;
30259 char * kwnames
[] = {
30260 (char *) "self",(char *) "other", NULL
30263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30268 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30270 if (!SWIG_IsOK(res2
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30273 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30289 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30292 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30293 return SWIG_Py_Void();
30296 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30297 return SWIG_Python_InitShadowInstance(args
);
30300 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30301 PyObject
*resultobj
= 0;
30304 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 result
= (long)wxGetLocalTime();
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= SWIG_From_long(static_cast< long >(result
));
30318 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30319 PyObject
*resultobj
= 0;
30322 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (long)wxGetUTCTime();
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_From_long(static_cast< long >(result
));
30336 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30337 PyObject
*resultobj
= 0;
30340 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= (long)wxGetCurrentTime();
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_From_long(static_cast< long >(result
));
30354 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30355 PyObject
*resultobj
= 0;
30358 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30361 result
= wxGetLocalTimeMillis();
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30366 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30367 hi
= PyLong_FromLong( (&result
)->GetHi() );
30368 lo
= PyLong_FromLong( (&result
)->GetLo() );
30369 shifter
= PyLong_FromLong(32);
30370 shifted
= PyNumber_Lshift(hi
, shifter
);
30371 resultobj
= PyNumber_Or(shifted
, lo
);
30374 Py_DECREF(shifter
);
30375 Py_DECREF(shifted
);
30383 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30384 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30389 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30390 PyObject
*pyobj
= 0;
30392 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30397 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
= 0;
30399 wxDataFormatId arg1
;
30400 wxDataFormat
*result
= 0 ;
30403 PyObject
* obj0
= 0 ;
30404 char * kwnames
[] = {
30405 (char *) "type", NULL
30408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30410 if (!SWIG_IsOK(ecode1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30413 arg1
= static_cast< wxDataFormatId
>(val1
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30427 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxString
*arg1
= 0 ;
30430 wxDataFormat
*result
= 0 ;
30431 bool temp1
= false ;
30432 PyObject
* obj0
= 0 ;
30433 char * kwnames
[] = {
30434 (char *) "format", NULL
30437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30439 arg1
= wxString_in_helper(obj0
);
30440 if (arg1
== NULL
) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30464 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30465 PyObject
*resultobj
= 0;
30466 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30469 PyObject
*swig_obj
[1] ;
30471 if (!args
) SWIG_fail
;
30472 swig_obj
[0] = args
;
30473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30474 if (!SWIG_IsOK(res1
)) {
30475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30477 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 wxPyEndAllowThreads(__tstate
);
30483 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= SWIG_Py_Void();
30492 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30493 PyObject
*resultobj
= 0;
30494 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30495 wxDataFormatId arg2
;
30502 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30507 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30508 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30509 if (!SWIG_IsOK(ecode2
)) {
30510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30512 arg2
= static_cast< wxDataFormatId
>(val2
);
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30528 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30529 PyObject
*resultobj
= 0;
30530 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30531 wxDataFormatId arg2
;
30538 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30540 if (!SWIG_IsOK(res1
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30543 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30544 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30545 if (!SWIG_IsOK(ecode2
)) {
30546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30548 arg2
= static_cast< wxDataFormatId
>(val2
);
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30564 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30565 PyObject
*resultobj
= 0;
30566 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30567 wxDataFormat
*arg2
= 0 ;
30574 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30576 if (!SWIG_IsOK(res1
)) {
30577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30579 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30581 if (!SWIG_IsOK(res2
)) {
30582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30587 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30591 wxPyEndAllowThreads(__tstate
);
30592 if (PyErr_Occurred()) SWIG_fail
;
30595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30603 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30607 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30612 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30613 _v
= SWIG_CheckState(res
);
30615 if (!_v
) goto check_1
;
30616 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30621 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30625 Py_INCREF(Py_NotImplemented
);
30626 return Py_NotImplemented
;
30630 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30631 PyObject
*resultobj
= 0;
30632 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30633 wxDataFormat
*arg2
= 0 ;
30640 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30642 if (!SWIG_IsOK(res1
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30645 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30646 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30647 if (!SWIG_IsOK(res2
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30653 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30669 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30673 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30678 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30679 _v
= SWIG_CheckState(res
);
30681 if (!_v
) goto check_1
;
30682 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30687 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30691 Py_INCREF(Py_NotImplemented
);
30692 return Py_NotImplemented
;
30696 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
= 0;
30698 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30699 wxDataFormatId arg2
;
30704 PyObject
* obj0
= 0 ;
30705 PyObject
* obj1
= 0 ;
30706 char * kwnames
[] = {
30707 (char *) "self",(char *) "format", NULL
30710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30712 if (!SWIG_IsOK(res1
)) {
30713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30715 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30717 if (!SWIG_IsOK(ecode2
)) {
30718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30720 arg2
= static_cast< wxDataFormatId
>(val2
);
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 (arg1
)->SetType(arg2
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 resultobj
= SWIG_Py_Void();
30734 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30735 PyObject
*resultobj
= 0;
30736 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30737 wxDataFormatId result
;
30740 PyObject
*swig_obj
[1] ;
30742 if (!args
) SWIG_fail
;
30743 swig_obj
[0] = args
;
30744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30745 if (!SWIG_IsOK(res1
)) {
30746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30748 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_From_int(static_cast< int >(result
));
30762 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30763 PyObject
*resultobj
= 0;
30764 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30768 PyObject
*swig_obj
[1] ;
30770 if (!args
) SWIG_fail
;
30771 swig_obj
[0] = args
;
30772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30776 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= ((wxDataFormat
const *)arg1
)->GetId();
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30796 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
= 0;
30798 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30799 wxString
*arg2
= 0 ;
30802 bool temp2
= false ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char * kwnames
[] = {
30806 (char *) "self",(char *) "format", NULL
30809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30811 if (!SWIG_IsOK(res1
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30814 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30816 arg2
= wxString_in_helper(obj1
);
30817 if (arg2
== NULL
) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 (arg1
)->SetId((wxString
const &)*arg2
);
30823 wxPyEndAllowThreads(__tstate
);
30824 if (PyErr_Occurred()) SWIG_fail
;
30826 resultobj
= SWIG_Py_Void();
30841 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30844 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30845 return SWIG_Py_Void();
30848 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30849 return SWIG_Python_InitShadowInstance(args
);
30852 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30853 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30858 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30859 PyObject
*pyobj
= 0;
30861 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30866 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30867 PyObject
*resultobj
= 0;
30868 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30871 PyObject
*swig_obj
[1] ;
30873 if (!args
) SWIG_fail
;
30874 swig_obj
[0] = args
;
30875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30876 if (!SWIG_IsOK(res1
)) {
30877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30879 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_Py_Void();
30894 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
= 0;
30896 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30897 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30898 SwigValueWrapper
<wxDataFormat
> result
;
30903 PyObject
* obj0
= 0 ;
30904 PyObject
* obj1
= 0 ;
30905 char * kwnames
[] = {
30906 (char *) "self",(char *) "dir", NULL
30909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30911 if (!SWIG_IsOK(res1
)) {
30912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30914 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30917 if (!SWIG_IsOK(ecode2
)) {
30918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30920 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30935 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
= 0;
30937 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30938 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30944 PyObject
* obj0
= 0 ;
30945 PyObject
* obj1
= 0 ;
30946 char * kwnames
[] = {
30947 (char *) "self",(char *) "dir", NULL
30950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30952 if (!SWIG_IsOK(res1
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30955 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30958 if (!SWIG_IsOK(ecode2
)) {
30959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30961 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30976 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30979 wxDataFormat
*arg2
= 0 ;
30980 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30988 PyObject
* obj0
= 0 ;
30989 PyObject
* obj1
= 0 ;
30990 PyObject
* obj2
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "format",(char *) "dir", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31000 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31002 if (!SWIG_IsOK(res2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31008 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31011 if (!SWIG_IsOK(ecode3
)) {
31012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
31014 arg3
= static_cast< wxDataObject::Direction
>(val3
);
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31031 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31032 PyObject
*resultobj
= 0;
31033 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31034 wxDataFormat
*arg2
= 0 ;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 char * kwnames
[] = {
31043 (char *) "self",(char *) "format", NULL
31046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
31051 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31053 if (!SWIG_IsOK(res2
)) {
31054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31059 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31062 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31066 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31073 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31074 PyObject
*resultobj
= 0;
31075 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31076 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31077 PyObject
*result
= 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 char * kwnames
[] = {
31085 (char *) "self",(char *) "dir", NULL
31088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31090 if (!SWIG_IsOK(res1
)) {
31091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31093 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31096 if (!SWIG_IsOK(ecode2
)) {
31097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31099 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= result
;
31114 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
= 0;
31116 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31117 wxDataFormat
*arg2
= 0 ;
31118 PyObject
*result
= 0 ;
31123 PyObject
* obj0
= 0 ;
31124 PyObject
* obj1
= 0 ;
31125 char * kwnames
[] = {
31126 (char *) "self",(char *) "format", NULL
31129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31131 if (!SWIG_IsOK(res1
)) {
31132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
31134 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31136 if (!SWIG_IsOK(res2
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31142 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= result
;
31156 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
= 0;
31158 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31159 wxDataFormat
*arg2
= 0 ;
31160 PyObject
*arg3
= (PyObject
*) 0 ;
31166 PyObject
* obj0
= 0 ;
31167 PyObject
* obj1
= 0 ;
31168 PyObject
* obj2
= 0 ;
31169 char * kwnames
[] = {
31170 (char *) "self",(char *) "format",(char *) "data", NULL
31173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
31178 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31180 if (!SWIG_IsOK(res2
)) {
31181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31186 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31203 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31206 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31207 return SWIG_Py_Void();
31210 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
= 0;
31212 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31213 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31214 wxDataObjectSimple
*result
= 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "format", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31231 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31246 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31247 PyObject
*resultobj
= 0;
31248 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31249 wxDataFormat
*result
= 0 ;
31252 PyObject
*swig_obj
[1] ;
31254 if (!args
) SWIG_fail
;
31255 swig_obj
[0] = args
;
31256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31260 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31264 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31265 result
= (wxDataFormat
*) &_result_ref
;
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31277 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31278 PyObject
*resultobj
= 0;
31279 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31280 wxDataFormat
*arg2
= 0 ;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 char * kwnames
[] = {
31288 (char *) "self",(char *) "format", NULL
31291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31296 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31298 if (!SWIG_IsOK(res2
)) {
31299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31304 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 resultobj
= SWIG_Py_Void();
31318 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31319 PyObject
*resultobj
= 0;
31320 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31324 PyObject
*swig_obj
[1] ;
31326 if (!args
) SWIG_fail
;
31327 swig_obj
[0] = args
;
31328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31329 if (!SWIG_IsOK(res1
)) {
31330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31332 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31336 wxPyEndAllowThreads(__tstate
);
31337 if (PyErr_Occurred()) SWIG_fail
;
31339 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31346 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31347 PyObject
*resultobj
= 0;
31348 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31349 PyObject
*result
= 0 ;
31352 PyObject
*swig_obj
[1] ;
31354 if (!args
) SWIG_fail
;
31355 swig_obj
[0] = args
;
31356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31357 if (!SWIG_IsOK(res1
)) {
31358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31360 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31364 wxPyEndAllowThreads(__tstate
);
31365 if (PyErr_Occurred()) SWIG_fail
;
31367 resultobj
= result
;
31374 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
= 0;
31376 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31377 PyObject
*arg2
= (PyObject
*) 0 ;
31381 PyObject
* obj0
= 0 ;
31382 PyObject
* obj1
= 0 ;
31383 char * kwnames
[] = {
31384 (char *) "self",(char *) "data", NULL
31387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31389 if (!SWIG_IsOK(res1
)) {
31390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31392 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31409 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31412 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31413 return SWIG_Py_Void();
31416 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31417 return SWIG_Python_InitShadowInstance(args
);
31420 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
= 0;
31422 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31423 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31424 wxPyDataObjectSimple
*result
= 0 ;
31427 PyObject
* obj0
= 0 ;
31428 char * kwnames
[] = {
31429 (char *) "format", NULL
31432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31434 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31435 if (!SWIG_IsOK(res1
)) {
31436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31441 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31456 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
= 0;
31458 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31459 PyObject
*arg2
= (PyObject
*) 0 ;
31460 PyObject
*arg3
= (PyObject
*) 0 ;
31463 PyObject
* obj0
= 0 ;
31464 PyObject
* obj1
= 0 ;
31465 PyObject
* obj2
= 0 ;
31466 char * kwnames
[] = {
31467 (char *) "self",(char *) "self",(char *) "_class", NULL
31470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31472 if (!SWIG_IsOK(res1
)) {
31473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31475 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 resultobj
= SWIG_Py_Void();
31491 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31495 return SWIG_Py_Void();
31498 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31499 return SWIG_Python_InitShadowInstance(args
);
31502 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31503 PyObject
*resultobj
= 0;
31504 wxDataObjectComposite
*result
= 0 ;
31506 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31510 wxPyEndAllowThreads(__tstate
);
31511 if (PyErr_Occurred()) SWIG_fail
;
31513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31520 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31521 PyObject
*resultobj
= 0;
31522 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31523 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31524 bool arg3
= (bool) false ;
31530 PyObject
* obj0
= 0 ;
31531 PyObject
* obj1
= 0 ;
31532 PyObject
* obj2
= 0 ;
31533 char * kwnames
[] = {
31534 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31539 if (!SWIG_IsOK(res1
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31542 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31543 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31544 if (!SWIG_IsOK(res2
)) {
31545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31548 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31549 if (!SWIG_IsOK(ecode3
)) {
31550 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31552 arg3
= static_cast< bool >(val3
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 (arg1
)->Add(arg2
,arg3
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_Py_Void();
31567 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31568 PyObject
*resultobj
= 0;
31569 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31570 SwigValueWrapper
<wxDataFormat
> result
;
31573 PyObject
*swig_obj
[1] ;
31575 if (!args
) SWIG_fail
;
31576 swig_obj
[0] = args
;
31577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31578 if (!SWIG_IsOK(res1
)) {
31579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31581 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31595 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31598 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31599 return SWIG_Py_Void();
31602 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31603 return SWIG_Python_InitShadowInstance(args
);
31606 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31607 PyObject
*resultobj
= 0;
31608 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31609 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31610 wxTextDataObject
*result
= 0 ;
31611 bool temp1
= false ;
31612 PyObject
* obj0
= 0 ;
31613 char * kwnames
[] = {
31614 (char *) "text", NULL
31617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31620 arg1
= wxString_in_helper(obj0
);
31621 if (arg1
== NULL
) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31646 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31647 PyObject
*resultobj
= 0;
31648 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31652 PyObject
*swig_obj
[1] ;
31654 if (!args
) SWIG_fail
;
31655 swig_obj
[0] = args
;
31656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31657 if (!SWIG_IsOK(res1
)) {
31658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31660 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (size_t)(arg1
)->GetTextLength();
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31674 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31675 PyObject
*resultobj
= 0;
31676 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31680 PyObject
*swig_obj
[1] ;
31682 if (!args
) SWIG_fail
;
31683 swig_obj
[0] = args
;
31684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31685 if (!SWIG_IsOK(res1
)) {
31686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31688 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (arg1
)->GetText();
31692 wxPyEndAllowThreads(__tstate
);
31693 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31708 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31709 PyObject
*resultobj
= 0;
31710 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31711 wxString
*arg2
= 0 ;
31714 bool temp2
= false ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "text", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31726 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31728 arg2
= wxString_in_helper(obj1
);
31729 if (arg2
== NULL
) SWIG_fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 (arg1
)->SetText((wxString
const &)*arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_Py_Void();
31753 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31756 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31757 return SWIG_Py_Void();
31760 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31761 return SWIG_Python_InitShadowInstance(args
);
31764 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
= 0;
31766 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31767 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31768 wxPyTextDataObject
*result
= 0 ;
31769 bool temp1
= false ;
31770 PyObject
* obj0
= 0 ;
31771 char * kwnames
[] = {
31772 (char *) "text", NULL
31775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31778 arg1
= wxString_in_helper(obj0
);
31779 if (arg1
== NULL
) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31804 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31805 PyObject
*resultobj
= 0;
31806 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31807 PyObject
*arg2
= (PyObject
*) 0 ;
31808 PyObject
*arg3
= (PyObject
*) 0 ;
31811 PyObject
* obj0
= 0 ;
31812 PyObject
* obj1
= 0 ;
31813 PyObject
* obj2
= 0 ;
31814 char * kwnames
[] = {
31815 (char *) "self",(char *) "self",(char *) "_class", NULL
31818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31820 if (!SWIG_IsOK(res1
)) {
31821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31823 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31828 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= SWIG_Py_Void();
31839 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31842 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31843 return SWIG_Py_Void();
31846 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31847 return SWIG_Python_InitShadowInstance(args
);
31850 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31853 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31854 wxBitmapDataObject
*result
= 0 ;
31857 PyObject
* obj0
= 0 ;
31858 char * kwnames
[] = {
31859 (char *) "bitmap", NULL
31862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31864 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31865 if (!SWIG_IsOK(res1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31886 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 PyObject
*resultobj
= 0;
31888 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31892 PyObject
*swig_obj
[1] ;
31894 if (!args
) SWIG_fail
;
31895 swig_obj
[0] = args
;
31896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31897 if (!SWIG_IsOK(res1
)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31900 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31914 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31915 PyObject
*resultobj
= 0;
31916 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31917 wxBitmap
*arg2
= 0 ;
31922 PyObject
* obj0
= 0 ;
31923 PyObject
* obj1
= 0 ;
31924 char * kwnames
[] = {
31925 (char *) "self",(char *) "bitmap", NULL
31928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31930 if (!SWIG_IsOK(res1
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31933 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31934 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31935 if (!SWIG_IsOK(res2
)) {
31936 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31941 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31945 wxPyEndAllowThreads(__tstate
);
31946 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= SWIG_Py_Void();
31955 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31958 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31959 return SWIG_Py_Void();
31962 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31963 return SWIG_Python_InitShadowInstance(args
);
31966 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
= 0;
31968 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31969 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31970 wxPyBitmapDataObject
*result
= 0 ;
31973 PyObject
* obj0
= 0 ;
31974 char * kwnames
[] = {
31975 (char *) "bitmap", NULL
31978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31980 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31981 if (!SWIG_IsOK(res1
)) {
31982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31987 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
32002 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
= 0;
32004 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
32005 PyObject
*arg2
= (PyObject
*) 0 ;
32006 PyObject
*arg3
= (PyObject
*) 0 ;
32009 PyObject
* obj0
= 0 ;
32010 PyObject
* obj1
= 0 ;
32011 PyObject
* obj2
= 0 ;
32012 char * kwnames
[] = {
32013 (char *) "self",(char *) "self",(char *) "_class", NULL
32016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
32018 if (!SWIG_IsOK(res1
)) {
32019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
32021 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
32025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32026 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32027 wxPyEndAllowThreads(__tstate
);
32028 if (PyErr_Occurred()) SWIG_fail
;
32030 resultobj
= SWIG_Py_Void();
32037 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
32041 return SWIG_Py_Void();
32044 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32045 return SWIG_Python_InitShadowInstance(args
);
32048 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32049 PyObject
*resultobj
= 0;
32050 wxFileDataObject
*result
= 0 ;
32052 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
32054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32055 result
= (wxFileDataObject
*)new wxFileDataObject();
32056 wxPyEndAllowThreads(__tstate
);
32057 if (PyErr_Occurred()) SWIG_fail
;
32059 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32066 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32067 PyObject
*resultobj
= 0;
32068 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32069 wxArrayString
*result
= 0 ;
32072 PyObject
*swig_obj
[1] ;
32074 if (!args
) SWIG_fail
;
32075 swig_obj
[0] = args
;
32076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32077 if (!SWIG_IsOK(res1
)) {
32078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32080 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32085 result
= (wxArrayString
*) &_result_ref
;
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= wxArrayString2PyList_helper(*result
);
32099 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32100 PyObject
*resultobj
= 0;
32101 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32102 wxString
*arg2
= 0 ;
32105 bool temp2
= false ;
32106 PyObject
* obj0
= 0 ;
32107 PyObject
* obj1
= 0 ;
32108 char * kwnames
[] = {
32109 (char *) "self",(char *) "filename", NULL
32112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32114 if (!SWIG_IsOK(res1
)) {
32115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32117 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32119 arg2
= wxString_in_helper(obj1
);
32120 if (arg2
== NULL
) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 (arg1
)->AddFile((wxString
const &)*arg2
);
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= SWIG_Py_Void();
32144 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32147 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
32148 return SWIG_Py_Void();
32151 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32152 return SWIG_Python_InitShadowInstance(args
);
32155 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32156 PyObject
*resultobj
= 0;
32157 wxDataFormat
*arg1
= 0 ;
32158 wxCustomDataObject
*result
= 0 ;
32162 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32164 if (!SWIG_IsOK(res1
)) {
32165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32170 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32184 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32185 PyObject
*resultobj
= 0;
32186 wxString
*arg1
= 0 ;
32187 wxCustomDataObject
*result
= 0 ;
32188 bool temp1
= false ;
32190 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32192 arg1
= wxString_in_helper(swig_obj
[0]);
32193 if (arg1
== NULL
) SWIG_fail
;
32197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32198 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32199 wxPyEndAllowThreads(__tstate
);
32200 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32217 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32218 PyObject
*resultobj
= 0;
32219 wxCustomDataObject
*result
= 0 ;
32221 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32235 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32239 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32242 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32248 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32251 if (!_v
) goto check_2
;
32252 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32257 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32261 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32266 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
= 0;
32268 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32269 PyObject
*arg2
= (PyObject
*) 0 ;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 char * kwnames
[] = {
32276 (char *) "self",(char *) "data", NULL
32279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32281 if (!SWIG_IsOK(res1
)) {
32282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32284 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32301 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32302 PyObject
*resultobj
= 0;
32303 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32307 PyObject
*swig_obj
[1] ;
32309 if (!args
) SWIG_fail
;
32310 swig_obj
[0] = args
;
32311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32312 if (!SWIG_IsOK(res1
)) {
32313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32315 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 result
= (size_t)(arg1
)->GetSize();
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32329 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32330 PyObject
*resultobj
= 0;
32331 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32332 PyObject
*result
= 0 ;
32335 PyObject
*swig_obj
[1] ;
32337 if (!args
) SWIG_fail
;
32338 swig_obj
[0] = args
;
32339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32340 if (!SWIG_IsOK(res1
)) {
32341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32343 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
;
32357 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32360 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32361 return SWIG_Py_Void();
32364 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32365 return SWIG_Python_InitShadowInstance(args
);
32368 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32369 PyObject
*resultobj
= 0;
32370 wxURLDataObject
*result
= 0 ;
32372 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (wxURLDataObject
*)new wxURLDataObject();
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32386 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32387 PyObject
*resultobj
= 0;
32388 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32392 PyObject
*swig_obj
[1] ;
32394 if (!args
) SWIG_fail
;
32395 swig_obj
[0] = args
;
32396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32397 if (!SWIG_IsOK(res1
)) {
32398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32400 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 result
= (arg1
)->GetURL();
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32420 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
= 0;
32422 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32423 wxString
*arg2
= 0 ;
32426 bool temp2
= false ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 char * kwnames
[] = {
32430 (char *) "self",(char *) "url", NULL
32433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32435 if (!SWIG_IsOK(res1
)) {
32436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32438 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32440 arg2
= wxString_in_helper(obj1
);
32441 if (arg2
== NULL
) SWIG_fail
;
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 (arg1
)->SetURL((wxString
const &)*arg2
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_Py_Void();
32465 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32468 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32469 return SWIG_Py_Void();
32472 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32473 return SWIG_Python_InitShadowInstance(args
);
32476 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32477 PyObject
*resultobj
= 0;
32478 wxMetafileDataObject
*result
= 0 ;
32480 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32494 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32497 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32498 return SWIG_Py_Void();
32501 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32502 return SWIG_Python_InitShadowInstance(args
);
32505 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
= 0;
32507 wxDragResult arg1
;
32511 PyObject
* obj0
= 0 ;
32512 char * kwnames
[] = {
32513 (char *) "res", NULL
32516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32518 if (!SWIG_IsOK(ecode1
)) {
32519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32521 arg1
= static_cast< wxDragResult
>(val1
);
32523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32524 result
= (bool)wxIsDragResultOk(arg1
);
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32537 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32538 PyObject
*resultobj
= 0;
32539 wxWindow
*arg1
= (wxWindow
*) 0 ;
32540 wxIcon
const &arg2_defvalue
= wxNullIcon
;
32541 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
32542 wxIcon
const &arg3_defvalue
= wxNullIcon
;
32543 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
32544 wxIcon
const &arg4_defvalue
= wxNullIcon
;
32545 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
32546 wxPyDropSource
*result
= 0 ;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 PyObject
* obj2
= 0 ;
32558 PyObject
* obj3
= 0 ;
32559 char * kwnames
[] = {
32560 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32571 if (!SWIG_IsOK(res2
)) {
32572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxIcon const &""'");
32577 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32580 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIcon
, 0 | 0);
32581 if (!SWIG_IsOK(res3
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxIcon const &""'");
32587 arg3
= reinterpret_cast< wxIcon
* >(argp3
);
32590 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxIcon
, 0 | 0);
32591 if (!SWIG_IsOK(res4
)) {
32592 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxIcon const &""'");
32597 arg4
= reinterpret_cast< wxIcon
* >(argp4
);
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32612 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
= 0;
32614 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32615 PyObject
*arg2
= (PyObject
*) 0 ;
32616 PyObject
*arg3
= (PyObject
*) 0 ;
32622 PyObject
* obj0
= 0 ;
32623 PyObject
* obj1
= 0 ;
32624 PyObject
* obj2
= 0 ;
32625 PyObject
* obj3
= 0 ;
32626 char * kwnames
[] = {
32627 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32632 if (!SWIG_IsOK(res1
)) {
32633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32635 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32638 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32639 if (!SWIG_IsOK(ecode4
)) {
32640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32642 arg4
= static_cast< int >(val4
);
32644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32645 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32646 wxPyEndAllowThreads(__tstate
);
32647 if (PyErr_Occurred()) SWIG_fail
;
32649 resultobj
= SWIG_Py_Void();
32656 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32657 PyObject
*resultobj
= 0;
32658 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32661 PyObject
*swig_obj
[1] ;
32663 if (!args
) SWIG_fail
;
32664 swig_obj
[0] = args
;
32665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32666 if (!SWIG_IsOK(res1
)) {
32667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32669 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_Py_Void();
32684 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
= 0;
32686 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32687 wxDataObject
*arg2
= 0 ;
32692 PyObject
* obj0
= 0 ;
32693 PyObject
* obj1
= 0 ;
32694 char * kwnames
[] = {
32695 (char *) "self",(char *) "data", NULL
32698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32700 if (!SWIG_IsOK(res1
)) {
32701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32703 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32705 if (!SWIG_IsOK(res2
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32711 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->SetData(*arg2
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 resultobj
= SWIG_Py_Void();
32725 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32726 PyObject
*resultobj
= 0;
32727 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32728 wxDataObject
*result
= 0 ;
32731 PyObject
*swig_obj
[1] ;
32733 if (!args
) SWIG_fail
;
32734 swig_obj
[0] = args
;
32735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32736 if (!SWIG_IsOK(res1
)) {
32737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32739 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32742 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32743 wxPyEndAllowThreads(__tstate
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32753 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
= 0;
32755 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32756 wxDragResult arg2
;
32757 wxCursor
*arg3
= 0 ;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 PyObject
* obj2
= 0 ;
32767 char * kwnames
[] = {
32768 (char *) "self",(char *) "res",(char *) "cursor", NULL
32771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32776 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32778 if (!SWIG_IsOK(ecode2
)) {
32779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32781 arg2
= static_cast< wxDragResult
>(val2
);
32782 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32783 if (!SWIG_IsOK(res3
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32789 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32796 resultobj
= SWIG_Py_Void();
32803 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32804 PyObject
*resultobj
= 0;
32805 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32806 int arg2
= (int) wxDrag_CopyOnly
;
32807 wxDragResult result
;
32812 PyObject
* obj0
= 0 ;
32813 PyObject
* obj1
= 0 ;
32814 char * kwnames
[] = {
32815 (char *) "self",(char *) "flags", NULL
32818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32820 if (!SWIG_IsOK(res1
)) {
32821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32823 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32826 if (!SWIG_IsOK(ecode2
)) {
32827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32829 arg2
= static_cast< int >(val2
);
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32834 wxPyEndAllowThreads(__tstate
);
32835 if (PyErr_Occurred()) SWIG_fail
;
32837 resultobj
= SWIG_From_int(static_cast< int >(result
));
32844 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32845 PyObject
*resultobj
= 0;
32846 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32847 wxDragResult arg2
;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char * kwnames
[] = {
32856 (char *) "self",(char *) "effect", NULL
32859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32861 if (!SWIG_IsOK(res1
)) {
32862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32864 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32866 if (!SWIG_IsOK(ecode2
)) {
32867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32869 arg2
= static_cast< wxDragResult
>(val2
);
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32885 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32887 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32888 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32889 return SWIG_Py_Void();
32892 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32893 return SWIG_Python_InitShadowInstance(args
);
32896 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32897 PyObject
*resultobj
= 0;
32898 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32899 wxPyDropTarget
*result
= 0 ;
32901 PyObject
* obj0
= 0 ;
32902 char * kwnames
[] = {
32903 (char *) "dataObject", NULL
32906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32908 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32909 if (!SWIG_IsOK(res1
)) {
32910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32926 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32927 PyObject
*resultobj
= 0;
32928 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32929 PyObject
*arg2
= (PyObject
*) 0 ;
32930 PyObject
*arg3
= (PyObject
*) 0 ;
32933 PyObject
* obj0
= 0 ;
32934 PyObject
* obj1
= 0 ;
32935 PyObject
* obj2
= 0 ;
32936 char * kwnames
[] = {
32937 (char *) "self",(char *) "self",(char *) "_class", NULL
32940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32942 if (!SWIG_IsOK(res1
)) {
32943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32945 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32951 wxPyEndAllowThreads(__tstate
);
32952 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= SWIG_Py_Void();
32961 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32962 PyObject
*resultobj
= 0;
32963 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32966 PyObject
*swig_obj
[1] ;
32968 if (!args
) SWIG_fail
;
32969 swig_obj
[0] = args
;
32970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32971 if (!SWIG_IsOK(res1
)) {
32972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32974 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_Py_Void();
32989 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32990 PyObject
*resultobj
= 0;
32991 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32992 wxDataObject
*result
= 0 ;
32995 PyObject
*swig_obj
[1] ;
32997 if (!args
) SWIG_fail
;
32998 swig_obj
[0] = args
;
32999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33000 if (!SWIG_IsOK(res1
)) {
33001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33003 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33017 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
= 0;
33019 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33020 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "dataObject", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33032 if (!SWIG_IsOK(res1
)) {
33033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33035 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33036 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33037 if (!SWIG_IsOK(res2
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->SetDataObject(arg2
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33058 wxDragResult arg4
;
33059 wxDragResult result
;
33068 PyObject
* obj0
= 0 ;
33069 PyObject
* obj1
= 0 ;
33070 PyObject
* obj2
= 0 ;
33071 PyObject
* obj3
= 0 ;
33072 char * kwnames
[] = {
33073 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33078 if (!SWIG_IsOK(res1
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33081 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33083 if (!SWIG_IsOK(ecode2
)) {
33084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33086 arg2
= static_cast< int >(val2
);
33087 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33088 if (!SWIG_IsOK(ecode3
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33091 arg3
= static_cast< int >(val3
);
33092 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33093 if (!SWIG_IsOK(ecode4
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33096 arg4
= static_cast< wxDragResult
>(val4
);
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33103 resultobj
= SWIG_From_int(static_cast< int >(result
));
33110 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33111 PyObject
*resultobj
= 0;
33112 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33115 wxDragResult arg4
;
33116 wxDragResult result
;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 PyObject
* obj2
= 0 ;
33128 PyObject
* obj3
= 0 ;
33129 char * kwnames
[] = {
33130 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33135 if (!SWIG_IsOK(res1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33138 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33140 if (!SWIG_IsOK(ecode2
)) {
33141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33143 arg2
= static_cast< int >(val2
);
33144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33145 if (!SWIG_IsOK(ecode3
)) {
33146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33148 arg3
= static_cast< int >(val3
);
33149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33150 if (!SWIG_IsOK(ecode4
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33153 arg4
= static_cast< wxDragResult
>(val4
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= SWIG_From_int(static_cast< int >(result
));
33167 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33168 PyObject
*resultobj
= 0;
33169 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33172 PyObject
*swig_obj
[1] ;
33174 if (!args
) SWIG_fail
;
33175 swig_obj
[0] = args
;
33176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33177 if (!SWIG_IsOK(res1
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33180 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33187 resultobj
= SWIG_Py_Void();
33194 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
= 0;
33196 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33206 PyObject
* obj0
= 0 ;
33207 PyObject
* obj1
= 0 ;
33208 PyObject
* obj2
= 0 ;
33209 char * kwnames
[] = {
33210 (char *) "self",(char *) "x",(char *) "y", NULL
33213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33215 if (!SWIG_IsOK(res1
)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33218 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33220 if (!SWIG_IsOK(ecode2
)) {
33221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33223 arg2
= static_cast< int >(val2
);
33224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33225 if (!SWIG_IsOK(ecode3
)) {
33226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33228 arg3
= static_cast< int >(val3
);
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33244 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33245 PyObject
*resultobj
= 0;
33246 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33250 PyObject
*swig_obj
[1] ;
33252 if (!args
) SWIG_fail
;
33253 swig_obj
[0] = args
;
33254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33255 if (!SWIG_IsOK(res1
)) {
33256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33258 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 result
= (bool)(arg1
)->GetData();
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33274 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
= 0;
33276 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33277 wxDragResult arg2
;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "action", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33293 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33295 if (!SWIG_IsOK(ecode2
)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33298 arg2
= static_cast< wxDragResult
>(val2
);
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 (arg1
)->SetDefaultAction(arg2
);
33302 wxPyEndAllowThreads(__tstate
);
33303 if (PyErr_Occurred()) SWIG_fail
;
33305 resultobj
= SWIG_Py_Void();
33312 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33313 PyObject
*resultobj
= 0;
33314 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33315 wxDragResult result
;
33318 PyObject
*swig_obj
[1] ;
33320 if (!args
) SWIG_fail
;
33321 swig_obj
[0] = args
;
33322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33323 if (!SWIG_IsOK(res1
)) {
33324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33326 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_From_int(static_cast< int >(result
));
33340 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33344 return SWIG_Py_Void();
33347 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33348 return SWIG_Python_InitShadowInstance(args
);
33351 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33352 PyObject
*resultobj
= 0;
33353 wxPyTextDropTarget
*result
= 0 ;
33355 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33358 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33359 wxPyEndAllowThreads(__tstate
);
33360 if (PyErr_Occurred()) SWIG_fail
;
33362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33369 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33370 PyObject
*resultobj
= 0;
33371 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33372 PyObject
*arg2
= (PyObject
*) 0 ;
33373 PyObject
*arg3
= (PyObject
*) 0 ;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33378 PyObject
* obj2
= 0 ;
33379 char * kwnames
[] = {
33380 (char *) "self",(char *) "self",(char *) "_class", NULL
33383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33385 if (!SWIG_IsOK(res1
)) {
33386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33388 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33394 wxPyEndAllowThreads(__tstate
);
33395 if (PyErr_Occurred()) SWIG_fail
;
33397 resultobj
= SWIG_Py_Void();
33404 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33405 PyObject
*resultobj
= 0;
33406 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33409 wxString
*arg4
= 0 ;
33417 bool temp4
= false ;
33418 PyObject
* obj0
= 0 ;
33419 PyObject
* obj1
= 0 ;
33420 PyObject
* obj2
= 0 ;
33421 PyObject
* obj3
= 0 ;
33422 char * kwnames
[] = {
33423 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33428 if (!SWIG_IsOK(res1
)) {
33429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33431 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33433 if (!SWIG_IsOK(ecode2
)) {
33434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33436 arg2
= static_cast< int >(val2
);
33437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33438 if (!SWIG_IsOK(ecode3
)) {
33439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33441 arg3
= static_cast< int >(val3
);
33443 arg4
= wxString_in_helper(obj3
);
33444 if (arg4
== NULL
) SWIG_fail
;
33448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33449 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33470 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
= 0;
33472 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33475 wxDragResult arg4
;
33476 wxDragResult result
;
33485 PyObject
* obj0
= 0 ;
33486 PyObject
* obj1
= 0 ;
33487 PyObject
* obj2
= 0 ;
33488 PyObject
* obj3
= 0 ;
33489 char * kwnames
[] = {
33490 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33498 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33500 if (!SWIG_IsOK(ecode2
)) {
33501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33503 arg2
= static_cast< int >(val2
);
33504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33505 if (!SWIG_IsOK(ecode3
)) {
33506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33508 arg3
= static_cast< int >(val3
);
33509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33510 if (!SWIG_IsOK(ecode4
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33513 arg4
= static_cast< wxDragResult
>(val4
);
33515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33516 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= SWIG_From_int(static_cast< int >(result
));
33527 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
= 0;
33529 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33532 wxDragResult arg4
;
33533 wxDragResult result
;
33542 PyObject
* obj0
= 0 ;
33543 PyObject
* obj1
= 0 ;
33544 PyObject
* obj2
= 0 ;
33545 PyObject
* obj3
= 0 ;
33546 char * kwnames
[] = {
33547 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33552 if (!SWIG_IsOK(res1
)) {
33553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33555 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33557 if (!SWIG_IsOK(ecode2
)) {
33558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33560 arg2
= static_cast< int >(val2
);
33561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33562 if (!SWIG_IsOK(ecode3
)) {
33563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33565 arg3
= static_cast< int >(val3
);
33566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33567 if (!SWIG_IsOK(ecode4
)) {
33568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33570 arg4
= static_cast< wxDragResult
>(val4
);
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33574 wxPyEndAllowThreads(__tstate
);
33575 if (PyErr_Occurred()) SWIG_fail
;
33577 resultobj
= SWIG_From_int(static_cast< int >(result
));
33584 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33585 PyObject
*resultobj
= 0;
33586 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33589 PyObject
*swig_obj
[1] ;
33591 if (!args
) SWIG_fail
;
33592 swig_obj
[0] = args
;
33593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33594 if (!SWIG_IsOK(res1
)) {
33595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33597 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= SWIG_Py_Void();
33611 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
= 0;
33613 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33623 PyObject
* obj0
= 0 ;
33624 PyObject
* obj1
= 0 ;
33625 PyObject
* obj2
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "self",(char *) "x",(char *) "y", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33635 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33637 if (!SWIG_IsOK(ecode2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33640 arg2
= static_cast< int >(val2
);
33641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33642 if (!SWIG_IsOK(ecode3
)) {
33643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33645 arg3
= static_cast< int >(val3
);
33647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33648 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33661 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33662 PyObject
*resultobj
= 0;
33663 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33666 wxDragResult arg4
;
33667 wxDragResult result
;
33676 PyObject
* obj0
= 0 ;
33677 PyObject
* obj1
= 0 ;
33678 PyObject
* obj2
= 0 ;
33679 PyObject
* obj3
= 0 ;
33680 char * kwnames
[] = {
33681 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33686 if (!SWIG_IsOK(res1
)) {
33687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33689 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33691 if (!SWIG_IsOK(ecode2
)) {
33692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33694 arg2
= static_cast< int >(val2
);
33695 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33696 if (!SWIG_IsOK(ecode3
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33699 arg3
= static_cast< int >(val3
);
33700 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33701 if (!SWIG_IsOK(ecode4
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33704 arg4
= static_cast< wxDragResult
>(val4
);
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33708 wxPyEndAllowThreads(__tstate
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 resultobj
= SWIG_From_int(static_cast< int >(result
));
33718 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33722 return SWIG_Py_Void();
33725 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33726 return SWIG_Python_InitShadowInstance(args
);
33729 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33730 PyObject
*resultobj
= 0;
33731 wxPyFileDropTarget
*result
= 0 ;
33733 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33736 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33747 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
= 0;
33749 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33750 PyObject
*arg2
= (PyObject
*) 0 ;
33751 PyObject
*arg3
= (PyObject
*) 0 ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 PyObject
* obj2
= 0 ;
33757 char * kwnames
[] = {
33758 (char *) "self",(char *) "self",(char *) "_class", NULL
33761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33763 if (!SWIG_IsOK(res1
)) {
33764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33766 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= SWIG_Py_Void();
33782 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
= 0;
33784 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33787 wxArrayString
*arg4
= 0 ;
33795 bool temp4
= false ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 PyObject
* obj2
= 0 ;
33799 PyObject
* obj3
= 0 ;
33800 char * kwnames
[] = {
33801 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33806 if (!SWIG_IsOK(res1
)) {
33807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33809 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33811 if (!SWIG_IsOK(ecode2
)) {
33812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33814 arg2
= static_cast< int >(val2
);
33815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33816 if (!SWIG_IsOK(ecode3
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33819 arg3
= static_cast< int >(val3
);
33821 if (! PySequence_Check(obj3
)) {
33822 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33825 arg4
= new wxArrayString
;
33827 int i
, len
=PySequence_Length(obj3
);
33828 for (i
=0; i
<len
; i
++) {
33829 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33830 wxString
* s
= wxString_in_helper(item
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33840 wxPyEndAllowThreads(__tstate
);
33841 if (PyErr_Occurred()) SWIG_fail
;
33844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33847 if (temp4
) delete arg4
;
33852 if (temp4
) delete arg4
;
33858 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33859 PyObject
*resultobj
= 0;
33860 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33863 wxDragResult arg4
;
33864 wxDragResult result
;
33873 PyObject
* obj0
= 0 ;
33874 PyObject
* obj1
= 0 ;
33875 PyObject
* obj2
= 0 ;
33876 PyObject
* obj3
= 0 ;
33877 char * kwnames
[] = {
33878 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33883 if (!SWIG_IsOK(res1
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33886 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33888 if (!SWIG_IsOK(ecode2
)) {
33889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33891 arg2
= static_cast< int >(val2
);
33892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33893 if (!SWIG_IsOK(ecode3
)) {
33894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33896 arg3
= static_cast< int >(val3
);
33897 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33898 if (!SWIG_IsOK(ecode4
)) {
33899 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33901 arg4
= static_cast< wxDragResult
>(val4
);
33903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33904 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33905 wxPyEndAllowThreads(__tstate
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33908 resultobj
= SWIG_From_int(static_cast< int >(result
));
33915 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33916 PyObject
*resultobj
= 0;
33917 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33920 wxDragResult arg4
;
33921 wxDragResult result
;
33930 PyObject
* obj0
= 0 ;
33931 PyObject
* obj1
= 0 ;
33932 PyObject
* obj2
= 0 ;
33933 PyObject
* obj3
= 0 ;
33934 char * kwnames
[] = {
33935 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33940 if (!SWIG_IsOK(res1
)) {
33941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33943 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33945 if (!SWIG_IsOK(ecode2
)) {
33946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33948 arg2
= static_cast< int >(val2
);
33949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33950 if (!SWIG_IsOK(ecode3
)) {
33951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33953 arg3
= static_cast< int >(val3
);
33954 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33955 if (!SWIG_IsOK(ecode4
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33958 arg4
= static_cast< wxDragResult
>(val4
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_From_int(static_cast< int >(result
));
33972 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33973 PyObject
*resultobj
= 0;
33974 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33977 PyObject
*swig_obj
[1] ;
33979 if (!args
) SWIG_fail
;
33980 swig_obj
[0] = args
;
33981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33982 if (!SWIG_IsOK(res1
)) {
33983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33985 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 wxPyEndAllowThreads(__tstate
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33992 resultobj
= SWIG_Py_Void();
33999 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34000 PyObject
*resultobj
= 0;
34001 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34011 PyObject
* obj0
= 0 ;
34012 PyObject
* obj1
= 0 ;
34013 PyObject
* obj2
= 0 ;
34014 char * kwnames
[] = {
34015 (char *) "self",(char *) "x",(char *) "y", NULL
34018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34020 if (!SWIG_IsOK(res1
)) {
34021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34023 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34025 if (!SWIG_IsOK(ecode2
)) {
34026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34028 arg2
= static_cast< int >(val2
);
34029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34030 if (!SWIG_IsOK(ecode3
)) {
34031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34033 arg3
= static_cast< int >(val3
);
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34049 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= 0;
34051 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34054 wxDragResult arg4
;
34055 wxDragResult result
;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 PyObject
* obj2
= 0 ;
34067 PyObject
* obj3
= 0 ;
34068 char * kwnames
[] = {
34069 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34074 if (!SWIG_IsOK(res1
)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34077 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34079 if (!SWIG_IsOK(ecode2
)) {
34080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34082 arg2
= static_cast< int >(val2
);
34083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34084 if (!SWIG_IsOK(ecode3
)) {
34085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34087 arg3
= static_cast< int >(val3
);
34088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34089 if (!SWIG_IsOK(ecode4
)) {
34090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34092 arg4
= static_cast< wxDragResult
>(val4
);
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_From_int(static_cast< int >(result
));
34106 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34110 return SWIG_Py_Void();
34113 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34114 return SWIG_Python_InitShadowInstance(args
);
34117 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34118 PyObject
*resultobj
= 0;
34119 wxClipboard
*result
= 0 ;
34121 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (wxClipboard
*)new wxClipboard();
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34135 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34136 PyObject
*resultobj
= 0;
34137 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34140 PyObject
*swig_obj
[1] ;
34142 if (!args
) SWIG_fail
;
34143 swig_obj
[0] = args
;
34144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34148 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 wxPyEndAllowThreads(__tstate
);
34154 if (PyErr_Occurred()) SWIG_fail
;
34156 resultobj
= SWIG_Py_Void();
34163 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34164 PyObject
*resultobj
= 0;
34165 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34169 PyObject
*swig_obj
[1] ;
34171 if (!args
) SWIG_fail
;
34172 swig_obj
[0] = args
;
34173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34174 if (!SWIG_IsOK(res1
)) {
34175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34177 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (bool)(arg1
)->Open();
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34193 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34194 PyObject
*resultobj
= 0;
34195 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34198 PyObject
*swig_obj
[1] ;
34200 if (!args
) SWIG_fail
;
34201 swig_obj
[0] = args
;
34202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34203 if (!SWIG_IsOK(res1
)) {
34204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34206 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 resultobj
= SWIG_Py_Void();
34220 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34221 PyObject
*resultobj
= 0;
34222 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34226 PyObject
*swig_obj
[1] ;
34228 if (!args
) SWIG_fail
;
34229 swig_obj
[0] = args
;
34230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34231 if (!SWIG_IsOK(res1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34234 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34237 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34250 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34251 PyObject
*resultobj
= 0;
34252 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34253 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 char * kwnames
[] = {
34261 (char *) "self",(char *) "data", NULL
34264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34266 if (!SWIG_IsOK(res1
)) {
34267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34269 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34270 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34271 if (!SWIG_IsOK(res2
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34276 result
= (bool)(arg1
)->AddData(arg2
);
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34289 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34290 PyObject
*resultobj
= 0;
34291 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34292 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34297 PyObject
* obj0
= 0 ;
34298 PyObject
* obj1
= 0 ;
34299 char * kwnames
[] = {
34300 (char *) "self",(char *) "data", NULL
34303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34305 if (!SWIG_IsOK(res1
)) {
34306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34308 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34309 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34310 if (!SWIG_IsOK(res2
)) {
34311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 result
= (bool)(arg1
)->SetData(arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34328 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
= 0;
34330 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34331 wxDataFormat
*arg2
= 0 ;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 char * kwnames
[] = {
34340 (char *) "self",(char *) "format", NULL
34343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34348 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34350 if (!SWIG_IsOK(res2
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34356 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34360 wxPyEndAllowThreads(__tstate
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34372 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
= 0;
34374 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34375 wxDataObject
*arg2
= 0 ;
34381 PyObject
* obj0
= 0 ;
34382 PyObject
* obj1
= 0 ;
34383 char * kwnames
[] = {
34384 (char *) "self",(char *) "data", NULL
34387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34389 if (!SWIG_IsOK(res1
)) {
34390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34392 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34394 if (!SWIG_IsOK(res2
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34400 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 result
= (bool)(arg1
)->GetData(*arg2
);
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34416 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34417 PyObject
*resultobj
= 0;
34418 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34421 PyObject
*swig_obj
[1] ;
34423 if (!args
) SWIG_fail
;
34424 swig_obj
[0] = args
;
34425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34426 if (!SWIG_IsOK(res1
)) {
34427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34429 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= SWIG_Py_Void();
34443 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34444 PyObject
*resultobj
= 0;
34445 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34449 PyObject
*swig_obj
[1] ;
34451 if (!args
) SWIG_fail
;
34452 swig_obj
[0] = args
;
34453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34454 if (!SWIG_IsOK(res1
)) {
34455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34457 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 result
= (bool)(arg1
)->Flush();
34461 wxPyEndAllowThreads(__tstate
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34473 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34474 PyObject
*resultobj
= 0;
34475 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34476 bool arg2
= (bool) true ;
34481 PyObject
* obj0
= 0 ;
34482 PyObject
* obj1
= 0 ;
34483 char * kwnames
[] = {
34484 (char *) "self",(char *) "primary", NULL
34487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34489 if (!SWIG_IsOK(res1
)) {
34490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34492 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34494 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34495 if (!SWIG_IsOK(ecode2
)) {
34496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34498 arg2
= static_cast< bool >(val2
);
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 (arg1
)->UsePrimarySelection(arg2
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= SWIG_Py_Void();
34513 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34514 PyObject
*resultobj
= 0;
34515 wxClipboard
*result
= 0 ;
34517 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 result
= (wxClipboard
*)wxClipboard::Get();
34521 wxPyEndAllowThreads(__tstate
);
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34531 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34534 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34535 return SWIG_Py_Void();
34538 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34539 return SWIG_Python_InitShadowInstance(args
);
34542 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
= 0;
34544 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34545 wxClipboardLocker
*result
= 0 ;
34548 PyObject
* obj0
= 0 ;
34549 char * kwnames
[] = {
34550 (char *) "clipboard", NULL
34553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34556 if (!SWIG_IsOK(res1
)) {
34557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34559 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34564 wxPyEndAllowThreads(__tstate
);
34565 if (PyErr_Occurred()) SWIG_fail
;
34567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34574 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34575 PyObject
*resultobj
= 0;
34576 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34579 PyObject
*swig_obj
[1] ;
34581 if (!args
) SWIG_fail
;
34582 swig_obj
[0] = args
;
34583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34584 if (!SWIG_IsOK(res1
)) {
34585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34587 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_Py_Void();
34602 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34603 PyObject
*resultobj
= 0;
34604 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34608 PyObject
*swig_obj
[1] ;
34610 if (!args
) SWIG_fail
;
34611 swig_obj
[0] = args
;
34612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34613 if (!SWIG_IsOK(res1
)) {
34614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34616 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34632 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34635 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34636 return SWIG_Py_Void();
34639 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34640 return SWIG_Python_InitShadowInstance(args
);
34643 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
= 0;
34645 int arg1
= (int) 0 ;
34646 int arg2
= (int) 0 ;
34647 int arg3
= (int) 0 ;
34648 int arg4
= (int) 0 ;
34649 wxVideoMode
*result
= 0 ;
34658 PyObject
* obj0
= 0 ;
34659 PyObject
* obj1
= 0 ;
34660 PyObject
* obj2
= 0 ;
34661 PyObject
* obj3
= 0 ;
34662 char * kwnames
[] = {
34663 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34668 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34669 if (!SWIG_IsOK(ecode1
)) {
34670 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34672 arg1
= static_cast< int >(val1
);
34675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34676 if (!SWIG_IsOK(ecode2
)) {
34677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34679 arg2
= static_cast< int >(val2
);
34682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34683 if (!SWIG_IsOK(ecode3
)) {
34684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34686 arg3
= static_cast< int >(val3
);
34689 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34690 if (!SWIG_IsOK(ecode4
)) {
34691 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34693 arg4
= static_cast< int >(val4
);
34696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34697 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34698 wxPyEndAllowThreads(__tstate
);
34699 if (PyErr_Occurred()) SWIG_fail
;
34701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34708 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34709 PyObject
*resultobj
= 0;
34710 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34713 PyObject
*swig_obj
[1] ;
34715 if (!args
) SWIG_fail
;
34716 swig_obj
[0] = args
;
34717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34718 if (!SWIG_IsOK(res1
)) {
34719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34721 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34729 resultobj
= SWIG_Py_Void();
34736 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34737 PyObject
*resultobj
= 0;
34738 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34739 wxVideoMode
*arg2
= 0 ;
34745 PyObject
* obj0
= 0 ;
34746 PyObject
* obj1
= 0 ;
34747 char * kwnames
[] = {
34748 (char *) "self",(char *) "other", NULL
34751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34753 if (!SWIG_IsOK(res1
)) {
34754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34756 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34758 if (!SWIG_IsOK(res2
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34764 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34767 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34780 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34781 PyObject
*resultobj
= 0;
34782 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34786 PyObject
*swig_obj
[1] ;
34788 if (!args
) SWIG_fail
;
34789 swig_obj
[0] = args
;
34790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34791 if (!SWIG_IsOK(res1
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34794 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34798 wxPyEndAllowThreads(__tstate
);
34799 if (PyErr_Occurred()) SWIG_fail
;
34801 resultobj
= SWIG_From_int(static_cast< int >(result
));
34808 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34809 PyObject
*resultobj
= 0;
34810 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34814 PyObject
*swig_obj
[1] ;
34816 if (!args
) SWIG_fail
;
34817 swig_obj
[0] = args
;
34818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34819 if (!SWIG_IsOK(res1
)) {
34820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34822 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34826 wxPyEndAllowThreads(__tstate
);
34827 if (PyErr_Occurred()) SWIG_fail
;
34829 resultobj
= SWIG_From_int(static_cast< int >(result
));
34836 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34837 PyObject
*resultobj
= 0;
34838 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34842 PyObject
*swig_obj
[1] ;
34844 if (!args
) SWIG_fail
;
34845 swig_obj
[0] = args
;
34846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34847 if (!SWIG_IsOK(res1
)) {
34848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34850 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= SWIG_From_int(static_cast< int >(result
));
34864 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34865 PyObject
*resultobj
= 0;
34866 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34870 PyObject
*swig_obj
[1] ;
34872 if (!args
) SWIG_fail
;
34873 swig_obj
[0] = args
;
34874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34875 if (!SWIG_IsOK(res1
)) {
34876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34878 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34881 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34882 wxPyEndAllowThreads(__tstate
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34894 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
= 0;
34896 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34897 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34903 PyObject
* obj0
= 0 ;
34904 PyObject
* obj1
= 0 ;
34905 char * kwnames
[] = {
34906 (char *) "self",(char *) "other", NULL
34909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34914 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34915 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34916 if (!SWIG_IsOK(res2
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34919 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34923 wxPyEndAllowThreads(__tstate
);
34924 if (PyErr_Occurred()) SWIG_fail
;
34927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34935 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34936 PyObject
*resultobj
= 0;
34937 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34938 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34944 PyObject
* obj0
= 0 ;
34945 PyObject
* obj1
= 0 ;
34946 char * kwnames
[] = {
34947 (char *) "self",(char *) "other", NULL
34950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34952 if (!SWIG_IsOK(res1
)) {
34953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34955 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34957 if (!SWIG_IsOK(res2
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34960 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34963 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34976 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34977 PyObject
*resultobj
= 0;
34978 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34984 PyObject
*swig_obj
[2] ;
34986 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34988 if (!SWIG_IsOK(res1
)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34991 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34992 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34993 if (!SWIG_IsOK(ecode2
)) {
34994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
34996 arg2
= static_cast< int >(val2
);
34997 if (arg1
) (arg1
)->w
= arg2
;
34999 resultobj
= SWIG_Py_Void();
35006 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35007 PyObject
*resultobj
= 0;
35008 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35012 PyObject
*swig_obj
[1] ;
35014 if (!args
) SWIG_fail
;
35015 swig_obj
[0] = args
;
35016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35017 if (!SWIG_IsOK(res1
)) {
35018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35020 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35021 result
= (int) ((arg1
)->w
);
35022 resultobj
= SWIG_From_int(static_cast< int >(result
));
35029 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35030 PyObject
*resultobj
= 0;
35031 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35037 PyObject
*swig_obj
[2] ;
35039 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
35040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35041 if (!SWIG_IsOK(res1
)) {
35042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35044 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35045 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35046 if (!SWIG_IsOK(ecode2
)) {
35047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
35049 arg2
= static_cast< int >(val2
);
35050 if (arg1
) (arg1
)->h
= arg2
;
35052 resultobj
= SWIG_Py_Void();
35059 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35060 PyObject
*resultobj
= 0;
35061 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35065 PyObject
*swig_obj
[1] ;
35067 if (!args
) SWIG_fail
;
35068 swig_obj
[0] = args
;
35069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35070 if (!SWIG_IsOK(res1
)) {
35071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35073 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35074 result
= (int) ((arg1
)->h
);
35075 resultobj
= SWIG_From_int(static_cast< int >(result
));
35082 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35083 PyObject
*resultobj
= 0;
35084 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35090 PyObject
*swig_obj
[2] ;
35092 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
35093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35094 if (!SWIG_IsOK(res1
)) {
35095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35097 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35098 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35099 if (!SWIG_IsOK(ecode2
)) {
35100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
35102 arg2
= static_cast< int >(val2
);
35103 if (arg1
) (arg1
)->bpp
= arg2
;
35105 resultobj
= SWIG_Py_Void();
35112 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35113 PyObject
*resultobj
= 0;
35114 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35118 PyObject
*swig_obj
[1] ;
35120 if (!args
) SWIG_fail
;
35121 swig_obj
[0] = args
;
35122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35123 if (!SWIG_IsOK(res1
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35126 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35127 result
= (int) ((arg1
)->bpp
);
35128 resultobj
= SWIG_From_int(static_cast< int >(result
));
35135 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35136 PyObject
*resultobj
= 0;
35137 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35143 PyObject
*swig_obj
[2] ;
35145 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35150 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35151 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35152 if (!SWIG_IsOK(ecode2
)) {
35153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35155 arg2
= static_cast< int >(val2
);
35156 if (arg1
) (arg1
)->refresh
= arg2
;
35158 resultobj
= SWIG_Py_Void();
35165 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35166 PyObject
*resultobj
= 0;
35167 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35171 PyObject
*swig_obj
[1] ;
35173 if (!args
) SWIG_fail
;
35174 swig_obj
[0] = args
;
35175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35176 if (!SWIG_IsOK(res1
)) {
35177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35179 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35180 result
= (int) ((arg1
)->refresh
);
35181 resultobj
= SWIG_From_int(static_cast< int >(result
));
35188 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35191 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35192 return SWIG_Py_Void();
35195 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35196 return SWIG_Python_InitShadowInstance(args
);
35199 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35200 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35205 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35206 PyObject
*pyobj
= 0;
35208 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35213 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
= 0;
35215 size_t arg1
= (size_t) 0 ;
35216 wxDisplay
*result
= 0 ;
35219 PyObject
* obj0
= 0 ;
35220 char * kwnames
[] = {
35221 (char *) "index", NULL
35224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35226 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35227 if (!SWIG_IsOK(ecode1
)) {
35228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35230 arg1
= static_cast< size_t >(val1
);
35233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35234 result
= (wxDisplay
*)new wxDisplay(arg1
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35245 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35246 PyObject
*resultobj
= 0;
35247 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35250 PyObject
*swig_obj
[1] ;
35252 if (!args
) SWIG_fail
;
35253 swig_obj
[0] = args
;
35254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35255 if (!SWIG_IsOK(res1
)) {
35256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35258 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35266 resultobj
= SWIG_Py_Void();
35273 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35274 PyObject
*resultobj
= 0;
35277 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35280 result
= (size_t)wxDisplay::GetCount();
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35284 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35291 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35292 PyObject
*resultobj
= 0;
35293 wxPoint
*arg1
= 0 ;
35296 PyObject
* obj0
= 0 ;
35297 char * kwnames
[] = {
35298 (char *) "pt", NULL
35301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35304 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35309 wxPyEndAllowThreads(__tstate
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= SWIG_From_int(static_cast< int >(result
));
35319 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35320 PyObject
*resultobj
= 0;
35321 wxWindow
*arg1
= (wxWindow
*) 0 ;
35325 PyObject
* obj0
= 0 ;
35326 char * kwnames
[] = {
35327 (char *) "window", NULL
35330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35332 if (!SWIG_IsOK(res1
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35338 result
= (int)wxDisplay::GetFromWindow(arg1
);
35339 wxPyEndAllowThreads(__tstate
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35342 resultobj
= SWIG_From_int(static_cast< int >(result
));
35349 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35350 PyObject
*resultobj
= 0;
35351 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35355 PyObject
*swig_obj
[1] ;
35357 if (!args
) SWIG_fail
;
35358 swig_obj
[0] = args
;
35359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35360 if (!SWIG_IsOK(res1
)) {
35361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35363 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35366 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35367 wxPyEndAllowThreads(__tstate
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35379 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35380 PyObject
*resultobj
= 0;
35381 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35385 PyObject
*swig_obj
[1] ;
35387 if (!args
) SWIG_fail
;
35388 swig_obj
[0] = args
;
35389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35393 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35407 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35408 PyObject
*resultobj
= 0;
35409 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35413 PyObject
*swig_obj
[1] ;
35415 if (!args
) SWIG_fail
;
35416 swig_obj
[0] = args
;
35417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35418 if (!SWIG_IsOK(res1
)) {
35419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35421 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35424 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35425 wxPyEndAllowThreads(__tstate
);
35426 if (PyErr_Occurred()) SWIG_fail
;
35428 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35435 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35436 PyObject
*resultobj
= 0;
35437 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35441 PyObject
*swig_obj
[1] ;
35443 if (!args
) SWIG_fail
;
35444 swig_obj
[0] = args
;
35445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35446 if (!SWIG_IsOK(res1
)) {
35447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35449 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35452 result
= ((wxDisplay
const *)arg1
)->GetName();
35453 wxPyEndAllowThreads(__tstate
);
35454 if (PyErr_Occurred()) SWIG_fail
;
35458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35469 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35470 PyObject
*resultobj
= 0;
35471 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35475 PyObject
*swig_obj
[1] ;
35477 if (!args
) SWIG_fail
;
35478 swig_obj
[0] = args
;
35479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35480 if (!SWIG_IsOK(res1
)) {
35481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35483 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35487 wxPyEndAllowThreads(__tstate
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35499 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
= 0;
35501 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35502 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35503 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35504 PyObject
*result
= 0 ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 char * kwnames
[] = {
35512 (char *) "self",(char *) "mode", NULL
35515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35517 if (!SWIG_IsOK(res1
)) {
35518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35520 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35522 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35523 if (!SWIG_IsOK(res2
)) {
35524 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35529 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35534 wxPyEndAllowThreads(__tstate
);
35535 if (PyErr_Occurred()) SWIG_fail
;
35537 resultobj
= result
;
35544 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35545 PyObject
*resultobj
= 0;
35546 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35547 wxVideoMode result
;
35550 PyObject
*swig_obj
[1] ;
35552 if (!args
) SWIG_fail
;
35553 swig_obj
[0] = args
;
35554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35555 if (!SWIG_IsOK(res1
)) {
35556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35558 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35561 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35562 wxPyEndAllowThreads(__tstate
);
35563 if (PyErr_Occurred()) SWIG_fail
;
35565 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35572 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35573 PyObject
*resultobj
= 0;
35574 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35575 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35576 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35582 PyObject
* obj0
= 0 ;
35583 PyObject
* obj1
= 0 ;
35584 char * kwnames
[] = {
35585 (char *) "self",(char *) "mode", NULL
35588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35590 if (!SWIG_IsOK(res1
)) {
35591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35593 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35596 if (!SWIG_IsOK(res2
)) {
35597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35602 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35606 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35607 wxPyEndAllowThreads(__tstate
);
35608 if (PyErr_Occurred()) SWIG_fail
;
35611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35619 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35620 PyObject
*resultobj
= 0;
35621 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35624 PyObject
*swig_obj
[1] ;
35626 if (!args
) SWIG_fail
;
35627 swig_obj
[0] = args
;
35628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35629 if (!SWIG_IsOK(res1
)) {
35630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35632 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 wxDisplay_ResetMode(arg1
);
35636 wxPyEndAllowThreads(__tstate
);
35637 if (PyErr_Occurred()) SWIG_fail
;
35639 resultobj
= SWIG_Py_Void();
35646 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35648 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35649 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35650 return SWIG_Py_Void();
35653 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35654 return SWIG_Python_InitShadowInstance(args
);
35657 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35658 PyObject
*resultobj
= 0;
35659 wxStandardPaths
*result
= 0 ;
35661 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35664 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35675 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35676 PyObject
*resultobj
= 0;
35677 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35681 PyObject
*swig_obj
[1] ;
35683 if (!args
) SWIG_fail
;
35684 swig_obj
[0] = args
;
35685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35686 if (!SWIG_IsOK(res1
)) {
35687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35689 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35692 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35709 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35710 PyObject
*resultobj
= 0;
35711 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35715 PyObject
*swig_obj
[1] ;
35717 if (!args
) SWIG_fail
;
35718 swig_obj
[0] = args
;
35719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35720 if (!SWIG_IsOK(res1
)) {
35721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35723 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35727 wxPyEndAllowThreads(__tstate
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35743 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35744 PyObject
*resultobj
= 0;
35745 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35749 PyObject
*swig_obj
[1] ;
35751 if (!args
) SWIG_fail
;
35752 swig_obj
[0] = args
;
35753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35754 if (!SWIG_IsOK(res1
)) {
35755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35757 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35760 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35761 wxPyEndAllowThreads(__tstate
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35777 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35778 PyObject
*resultobj
= 0;
35779 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35783 PyObject
*swig_obj
[1] ;
35785 if (!args
) SWIG_fail
;
35786 swig_obj
[0] = args
;
35787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35788 if (!SWIG_IsOK(res1
)) {
35789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35791 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35811 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35812 PyObject
*resultobj
= 0;
35813 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35817 PyObject
*swig_obj
[1] ;
35819 if (!args
) SWIG_fail
;
35820 swig_obj
[0] = args
;
35821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35822 if (!SWIG_IsOK(res1
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35825 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35828 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35845 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35846 PyObject
*resultobj
= 0;
35847 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35851 PyObject
*swig_obj
[1] ;
35853 if (!args
) SWIG_fail
;
35854 swig_obj
[0] = args
;
35855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35856 if (!SWIG_IsOK(res1
)) {
35857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35859 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35879 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35880 PyObject
*resultobj
= 0;
35881 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35885 PyObject
*swig_obj
[1] ;
35887 if (!args
) SWIG_fail
;
35888 swig_obj
[0] = args
;
35889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35890 if (!SWIG_IsOK(res1
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35893 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35896 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35913 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35914 PyObject
*resultobj
= 0;
35915 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35919 PyObject
*swig_obj
[1] ;
35921 if (!args
) SWIG_fail
;
35922 swig_obj
[0] = args
;
35923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35924 if (!SWIG_IsOK(res1
)) {
35925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35927 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35947 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
= 0;
35949 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35950 wxString
*arg2
= 0 ;
35951 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35955 bool temp2
= false ;
35958 PyObject
* obj0
= 0 ;
35959 PyObject
* obj1
= 0 ;
35960 PyObject
* obj2
= 0 ;
35961 char * kwnames
[] = {
35962 (char *) "self",(char *) "lang",(char *) "category", NULL
35965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35967 if (!SWIG_IsOK(res1
)) {
35968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35970 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35972 arg2
= wxString_in_helper(obj1
);
35973 if (arg2
== NULL
) SWIG_fail
;
35977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35978 if (!SWIG_IsOK(ecode3
)) {
35979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35981 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35986 wxPyEndAllowThreads(__tstate
);
35987 if (PyErr_Occurred()) SWIG_fail
;
35991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36010 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36011 PyObject
*resultobj
= 0;
36012 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36016 PyObject
*swig_obj
[1] ;
36018 if (!args
) SWIG_fail
;
36019 swig_obj
[0] = args
;
36020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36021 if (!SWIG_IsOK(res1
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36024 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
36028 wxPyEndAllowThreads(__tstate
);
36029 if (PyErr_Occurred()) SWIG_fail
;
36033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36044 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
= 0;
36046 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36047 wxString
*arg2
= 0 ;
36050 bool temp2
= false ;
36051 PyObject
* obj0
= 0 ;
36052 PyObject
* obj1
= 0 ;
36053 char * kwnames
[] = {
36054 (char *) "self",(char *) "prefix", NULL
36057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36059 if (!SWIG_IsOK(res1
)) {
36060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36062 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36064 arg2
= wxString_in_helper(obj1
);
36065 if (arg2
== NULL
) SWIG_fail
;
36069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36070 (arg1
)->SetInstallPrefix((wxString
const &)*arg2
);
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_Py_Void();
36089 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36090 PyObject
*resultobj
= 0;
36091 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36095 PyObject
*swig_obj
[1] ;
36097 if (!args
) SWIG_fail
;
36098 swig_obj
[0] = args
;
36099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36100 if (!SWIG_IsOK(res1
)) {
36101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36103 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36106 result
= ((wxStandardPaths
const *)arg1
)->GetInstallPrefix();
36107 wxPyEndAllowThreads(__tstate
);
36108 if (PyErr_Occurred()) SWIG_fail
;
36112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36123 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36126 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36127 return SWIG_Py_Void();
36130 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
= 0;
36133 wxPowerEvent
*result
= 0 ;
36136 PyObject
* obj0
= 0 ;
36137 char * kwnames
[] = {
36138 (char *) "evtType", NULL
36141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36143 if (!SWIG_IsOK(ecode1
)) {
36144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36146 arg1
= static_cast< wxEventType
>(val1
);
36148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36149 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36150 wxPyEndAllowThreads(__tstate
);
36151 if (PyErr_Occurred()) SWIG_fail
;
36153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36160 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36161 PyObject
*resultobj
= 0;
36162 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36165 PyObject
*swig_obj
[1] ;
36167 if (!args
) SWIG_fail
;
36168 swig_obj
[0] = args
;
36169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36170 if (!SWIG_IsOK(res1
)) {
36171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36173 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36180 resultobj
= SWIG_Py_Void();
36187 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36188 PyObject
*resultobj
= 0;
36189 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36193 PyObject
*swig_obj
[1] ;
36195 if (!args
) SWIG_fail
;
36196 swig_obj
[0] = args
;
36197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36198 if (!SWIG_IsOK(res1
)) {
36199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36201 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36204 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36217 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36221 return SWIG_Py_Void();
36224 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36225 return SWIG_Python_InitShadowInstance(args
);
36228 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36229 PyObject
*resultobj
= 0;
36230 wxPowerType result
;
36232 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 result
= (wxPowerType
)wxGetPowerType();
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= SWIG_From_int(static_cast< int >(result
));
36246 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36247 PyObject
*resultobj
= 0;
36248 wxBatteryState result
;
36250 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36253 result
= (wxBatteryState
)wxGetBatteryState();
36254 wxPyEndAllowThreads(__tstate
);
36255 if (PyErr_Occurred()) SWIG_fail
;
36257 resultobj
= SWIG_From_int(static_cast< int >(result
));
36264 static PyMethodDef SwigMethods
[] = {
36265 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36266 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36267 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36268 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36269 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36270 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36272 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36273 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36275 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36277 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36278 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36280 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36281 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36282 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36284 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36285 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36286 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36287 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36288 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36289 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36291 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36292 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36293 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36294 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36295 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36296 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36297 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36299 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36300 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36301 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36302 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36304 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36305 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36306 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36307 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36308 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36309 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36310 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36311 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36312 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36313 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36314 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36316 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36317 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36323 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36324 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36325 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36326 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36327 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36328 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36329 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36330 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36331 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36332 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36333 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36334 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36335 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36336 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36337 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36338 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36340 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36341 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36342 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36343 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36344 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36345 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36346 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36347 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36348 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36349 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36350 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36351 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36352 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36353 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36354 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36355 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36356 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36357 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36358 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36359 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36364 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36365 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36366 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36367 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36368 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36369 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36370 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36371 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36372 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36373 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36374 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36375 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36376 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36377 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36378 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36379 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36381 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36382 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36383 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36384 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36385 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36386 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36387 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36388 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36389 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36390 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36391 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36392 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36393 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36394 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36395 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36396 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36397 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36398 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36399 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36400 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36402 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36403 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36404 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36405 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36406 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36407 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36408 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36409 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36410 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36411 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36412 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36413 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36414 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36415 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36416 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36418 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36419 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36420 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36421 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36422 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36423 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36424 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36425 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36426 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36427 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36429 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36432 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36435 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36436 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36437 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36439 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36440 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36441 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36442 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36443 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36444 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36445 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36446 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36447 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36448 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36449 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36450 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36451 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36452 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36453 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36454 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36455 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36458 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36459 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36461 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36463 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36464 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36465 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36466 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36467 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36468 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36469 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36470 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36471 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36472 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36473 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36474 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36475 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36476 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36477 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36478 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36479 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36480 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36481 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36482 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36483 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36484 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36485 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36486 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36487 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36489 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36490 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36491 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36492 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36493 { (char *)"Log_SetRepetitionCounting", (PyCFunction
) _wrap_Log_SetRepetitionCounting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36494 { (char *)"Log_GetRepetitionCounting", (PyCFunction
)_wrap_Log_GetRepetitionCounting
, METH_NOARGS
, NULL
},
36495 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36498 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36499 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36500 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36502 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36503 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36505 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36506 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36507 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36508 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36509 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36510 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36511 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36512 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36513 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36514 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36515 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36516 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36517 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36518 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36519 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36520 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36521 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36522 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36523 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36524 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36525 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36526 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36527 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36529 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36530 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36531 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36532 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36533 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36534 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36535 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36536 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36537 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36538 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36539 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36540 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36541 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36542 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36552 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36554 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36555 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36556 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36557 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36558 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36559 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36560 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36561 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36563 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36564 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36568 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36569 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36570 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36571 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36572 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36573 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36574 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36575 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36576 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36577 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36578 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36579 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36580 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36581 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36582 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36583 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36584 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36585 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36586 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36587 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36588 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36589 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36590 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36591 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36592 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36593 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36594 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36595 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36596 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36597 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36598 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36599 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36600 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36601 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36602 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36603 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36604 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36605 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36606 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36607 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36608 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36609 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36610 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36611 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36612 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36613 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36614 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36615 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36616 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36617 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36618 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36619 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36620 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36621 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36622 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36623 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36624 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36625 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36626 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36627 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36628 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36629 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36630 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36631 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36632 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36633 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36634 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36635 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36636 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36637 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36638 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36639 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36640 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36641 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36642 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36643 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36644 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36645 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36648 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36649 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36650 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36651 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36652 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36653 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36654 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36655 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36657 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36658 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36661 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36664 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36665 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36666 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36667 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36668 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36669 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36670 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36672 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36673 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36674 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36675 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36676 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36677 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36678 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36679 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36680 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36681 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36682 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36683 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36684 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36685 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36686 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36687 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36688 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36689 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36690 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36691 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36692 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36693 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36694 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36697 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36699 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36700 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36702 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36703 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36704 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36705 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36707 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36709 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36712 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36713 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36714 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36715 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36716 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36717 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36718 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36719 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36720 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36723 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36725 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36726 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36727 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36728 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36729 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36730 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36731 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36732 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36734 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36735 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36737 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36738 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36740 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36758 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36760 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36761 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36762 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36763 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36764 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36765 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36767 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36768 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36769 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36770 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36772 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36773 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36774 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36775 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36776 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36777 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36778 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36779 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36780 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36781 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36782 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36783 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36784 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36785 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36786 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36789 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36797 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36800 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36801 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36802 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36803 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36804 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36805 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36806 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36807 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36810 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36811 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36813 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36814 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36816 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36819 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36840 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36841 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36842 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36843 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36844 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36845 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36846 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36847 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36856 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36857 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36859 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36860 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36883 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36884 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36885 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36886 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36887 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36888 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36889 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36899 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36900 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36901 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36902 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36903 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36904 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36905 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36906 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36907 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36908 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36909 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36910 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36911 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36912 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36913 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36914 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36915 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36916 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36917 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36918 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36919 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36921 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36922 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36923 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36925 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36926 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36927 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36930 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36938 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36939 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36940 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36941 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36942 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36943 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36944 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36945 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36946 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36947 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36948 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36949 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36950 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36951 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36952 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36954 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36955 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36956 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36957 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36958 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36959 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36960 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36961 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36962 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36963 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36965 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36967 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36968 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36969 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36970 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36971 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36972 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36973 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36974 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36977 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36978 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36981 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36986 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36987 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36988 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36989 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36990 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36991 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36992 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36993 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36994 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36995 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36996 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36997 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
36998 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
36999 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
37001 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
37002 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
37003 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37004 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37005 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37006 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
37011 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
37013 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37014 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
37015 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
37016 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37018 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37019 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37021 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37022 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37023 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
37024 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37025 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
37026 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
37027 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
37028 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37029 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
37030 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
37031 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
37033 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
37034 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37036 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
37037 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
37038 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
37040 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37041 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37042 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37043 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37045 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37046 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37047 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
37048 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
37049 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37050 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
37051 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
37052 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
37053 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37054 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
37055 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
37056 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
37057 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
37058 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
37059 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
37060 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37061 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
37062 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
37063 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
37064 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
37065 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
37066 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37067 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37069 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
37070 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37071 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
37072 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37075 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
37076 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
37077 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
37080 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
37081 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37082 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
37085 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37086 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
37087 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
37089 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
37090 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
37091 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
37092 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37094 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37095 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37096 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
37097 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
37100 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
37101 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
37102 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37105 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37106 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
37107 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
37110 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37111 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37112 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37113 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37114 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37115 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37116 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37117 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37118 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37119 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37120 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37121 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37122 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37124 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37125 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37126 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37127 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37128 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37129 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37130 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37131 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37133 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37134 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37135 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37136 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37137 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37138 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37140 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37141 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37142 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37143 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37144 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37145 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37146 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37147 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37148 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37149 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37150 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37151 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37152 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37153 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37154 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37155 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37156 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37157 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37158 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37159 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37160 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37161 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37162 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37163 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37164 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37165 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37166 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37167 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37168 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37169 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37170 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37171 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37172 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37173 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37174 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37175 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37176 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37177 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37178 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37179 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37180 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37182 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37183 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37184 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37185 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37186 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37187 { NULL
, NULL
, 0, NULL
}
37191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37193 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37196 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37197 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37199 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37200 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37202 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37203 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37205 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37206 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37208 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37209 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37211 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37212 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37214 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37215 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37217 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37218 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37220 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37223 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37226 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37227 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37229 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37230 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37232 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37233 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37235 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37238 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37239 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37241 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37242 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37244 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37245 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37247 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37248 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37250 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37251 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37253 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37254 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37256 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37257 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37259 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37262 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37263 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37265 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37266 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37268 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37271 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37272 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37274 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37275 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37277 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37278 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37280 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37281 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37283 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37284 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37286 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37287 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37289 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37292 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37293 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37295 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37296 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37298 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37299 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37301 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37304 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37307 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37308 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37310 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37311 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37313 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37314 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37316 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37317 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37319 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37320 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37322 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37323 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37325 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37326 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37328 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37329 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37331 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37332 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37334 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37335 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37337 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37338 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37340 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37341 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37343 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37344 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37346 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37347 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37349 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37350 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37352 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37353 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37355 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37356 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37358 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37359 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37361 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37362 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37364 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37365 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37367 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37368 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37370 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37371 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37373 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37374 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37376 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37377 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37379 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37380 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37382 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37383 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37385 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37386 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37388 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37389 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37391 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37394 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37395 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37397 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37398 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37400 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37401 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37403 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37404 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37406 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37407 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37409 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37410 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37412 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37413 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37415 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37416 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37418 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37419 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37421 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37422 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37424 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37425 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37427 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37430 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37431 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37433 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37434 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37436 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37437 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37439 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37440 return (void *)((wxObject
*) ((wxSizer
*) x
));
37442 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37443 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37445 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37446 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37448 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37449 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37451 static void *_p_wxEventTo_p_wxObject(void *x
) {
37452 return (void *)((wxObject
*) ((wxEvent
*) x
));
37454 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37455 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37457 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37458 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37460 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37461 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37463 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37464 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37466 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37467 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37469 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37470 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37472 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37473 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37475 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37476 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37478 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37479 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37481 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37482 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37484 static void *_p_wxControlTo_p_wxObject(void *x
) {
37485 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37487 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37488 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37490 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37491 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37493 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37494 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37496 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37497 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37499 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37500 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37502 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37503 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37505 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37506 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37508 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37511 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37512 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37514 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37515 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37517 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37518 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37520 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37523 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37524 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37526 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37527 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37529 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37530 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37532 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37533 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37535 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37536 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37538 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37539 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37541 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37542 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37544 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37545 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37547 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37550 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37553 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37556 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37559 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37562 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37565 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37568 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37569 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37571 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37574 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37575 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37577 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37578 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37580 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37583 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37584 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37586 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37587 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37589 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37590 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37592 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37593 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37595 static void *_p_wxImageTo_p_wxObject(void *x
) {
37596 return (void *)((wxObject
*) ((wxImage
*) x
));
37598 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37599 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37601 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37602 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37604 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37605 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37607 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37608 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37610 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37611 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37613 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37614 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37616 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37617 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37619 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37620 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37622 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37625 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37626 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37628 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37629 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37631 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37634 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37635 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37637 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37640 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37641 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37643 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37644 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37646 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37647 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37649 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37650 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37652 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37653 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37655 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37656 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37658 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37659 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37661 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37662 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37664 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37665 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37667 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37668 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37670 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37671 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37673 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37674 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37676 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37677 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37679 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37680 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37682 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37683 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37685 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37686 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37688 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37689 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37691 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37692 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37694 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37695 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37697 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37698 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37700 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37701 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37703 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37704 return (void *)((wxWindow
*) ((wxControl
*) x
));
37706 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37707 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37709 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37710 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37712 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37713 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37715 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37716 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37718 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37719 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};
37720 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37721 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37722 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37723 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37724 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37725 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37726 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37727 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37728 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37729 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37730 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37731 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37732 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37733 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37734 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37735 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37736 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37737 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37752 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37753 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37754 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37755 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37756 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37757 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37758 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37759 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37760 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37761 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37762 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37763 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37764 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37765 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37766 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37767 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37768 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37769 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37770 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37771 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37772 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37773 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37774 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37775 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37776 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37777 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37778 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37779 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37780 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37781 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37782 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37783 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37784 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37785 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37786 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37787 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37788 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37789 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37790 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37791 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37792 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37793 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37794 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37795 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37796 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37797 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37798 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37799 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37800 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37801 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37802 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37803 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37804 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37805 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37806 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37807 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37808 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37809 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37810 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37811 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37812 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37813 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37814 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37815 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37816 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37817 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37818 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37819 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37820 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37821 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37822 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37823 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37824 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37825 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37826 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37827 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37828 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37829 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37830 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37831 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37832 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37833 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37834 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37835 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37836 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37837 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37838 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37839 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37840 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37841 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37842 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37843 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37844 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37845 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37846 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37847 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37848 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37849 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37850 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37851 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37852 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37853 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37854 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37855 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37856 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37857 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37858 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37859 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37860 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37861 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37862 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37863 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37864 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37865 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37866 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37867 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37868 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37869 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37870 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37871 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37872 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37873 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37874 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37875 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37876 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37877 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37878 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37879 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37880 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37881 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37882 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37883 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37884 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37885 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37886 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37887 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37889 static swig_type_info
*swig_type_initial
[] = {
37891 &_swigt__p_form_ops_t
,
37893 &_swigt__p_unsigned_char
,
37894 &_swigt__p_unsigned_int
,
37895 &_swigt__p_unsigned_long
,
37897 &_swigt__p_wxANIHandler
,
37898 &_swigt__p_wxAcceleratorTable
,
37899 &_swigt__p_wxActivateEvent
,
37900 &_swigt__p_wxArrayString
,
37901 &_swigt__p_wxBMPHandler
,
37902 &_swigt__p_wxBitmap
,
37903 &_swigt__p_wxBitmapDataObject
,
37904 &_swigt__p_wxBoxSizer
,
37905 &_swigt__p_wxBusyCursor
,
37906 &_swigt__p_wxBusyInfo
,
37907 &_swigt__p_wxCURHandler
,
37908 &_swigt__p_wxCaret
,
37910 &_swigt__p_wxChildFocusEvent
,
37911 &_swigt__p_wxClipboard
,
37912 &_swigt__p_wxClipboardLocker
,
37913 &_swigt__p_wxClipboardTextEvent
,
37914 &_swigt__p_wxCloseEvent
,
37915 &_swigt__p_wxColour
,
37916 &_swigt__p_wxCommandEvent
,
37917 &_swigt__p_wxConfig
,
37918 &_swigt__p_wxConfigBase
,
37919 &_swigt__p_wxConfigPathChanger
,
37920 &_swigt__p_wxContextMenuEvent
,
37921 &_swigt__p_wxControl
,
37922 &_swigt__p_wxControlWithItems
,
37923 &_swigt__p_wxCursor
,
37924 &_swigt__p_wxCustomDataObject
,
37926 &_swigt__p_wxDataFormat
,
37927 &_swigt__p_wxDataObject
,
37928 &_swigt__p_wxDataObjectComposite
,
37929 &_swigt__p_wxDataObjectSimple
,
37930 &_swigt__p_wxDateEvent
,
37931 &_swigt__p_wxDateSpan
,
37932 &_swigt__p_wxDateTime
,
37933 &_swigt__p_wxDateTime__TimeZone
,
37934 &_swigt__p_wxDisplay
,
37935 &_swigt__p_wxDisplayChangedEvent
,
37936 &_swigt__p_wxDropFilesEvent
,
37937 &_swigt__p_wxDuplexMode
,
37938 &_swigt__p_wxEraseEvent
,
37939 &_swigt__p_wxEvent
,
37940 &_swigt__p_wxEvtHandler
,
37941 &_swigt__p_wxFSFile
,
37942 &_swigt__p_wxFileConfig
,
37943 &_swigt__p_wxFileDataObject
,
37944 &_swigt__p_wxFileHistory
,
37945 &_swigt__p_wxFileSystem
,
37946 &_swigt__p_wxFileType
,
37947 &_swigt__p_wxFileTypeInfo
,
37948 &_swigt__p_wxFlexGridSizer
,
37949 &_swigt__p_wxFocusEvent
,
37951 &_swigt__p_wxFrame
,
37952 &_swigt__p_wxGBSizerItem
,
37953 &_swigt__p_wxGIFHandler
,
37954 &_swigt__p_wxGridBagSizer
,
37955 &_swigt__p_wxGridSizer
,
37956 &_swigt__p_wxICOHandler
,
37958 &_swigt__p_wxIconizeEvent
,
37959 &_swigt__p_wxIdleEvent
,
37960 &_swigt__p_wxImage
,
37961 &_swigt__p_wxImageHandler
,
37962 &_swigt__p_wxIndividualLayoutConstraint
,
37963 &_swigt__p_wxInitDialogEvent
,
37964 &_swigt__p_wxJPEGHandler
,
37965 &_swigt__p_wxJoystick
,
37966 &_swigt__p_wxJoystickEvent
,
37967 &_swigt__p_wxKeyEvent
,
37968 &_swigt__p_wxKillError
,
37969 &_swigt__p_wxLayoutConstraints
,
37971 &_swigt__p_wxLogBuffer
,
37972 &_swigt__p_wxLogChain
,
37973 &_swigt__p_wxLogGui
,
37974 &_swigt__p_wxLogNull
,
37975 &_swigt__p_wxLogStderr
,
37976 &_swigt__p_wxLogTextCtrl
,
37977 &_swigt__p_wxLogWindow
,
37978 &_swigt__p_wxMaximizeEvent
,
37980 &_swigt__p_wxMenuBar
,
37981 &_swigt__p_wxMenuEvent
,
37982 &_swigt__p_wxMenuItem
,
37983 &_swigt__p_wxMetafileDataObject
,
37984 &_swigt__p_wxMimeTypesManager
,
37985 &_swigt__p_wxMouseCaptureChangedEvent
,
37986 &_swigt__p_wxMouseEvent
,
37987 &_swigt__p_wxMouseState
,
37988 &_swigt__p_wxMoveEvent
,
37989 &_swigt__p_wxMutexGuiLocker
,
37990 &_swigt__p_wxNavigationKeyEvent
,
37991 &_swigt__p_wxNcPaintEvent
,
37992 &_swigt__p_wxNotifyEvent
,
37993 &_swigt__p_wxObject
,
37994 &_swigt__p_wxOutputStream
,
37995 &_swigt__p_wxPCXHandler
,
37996 &_swigt__p_wxPNGHandler
,
37997 &_swigt__p_wxPNMHandler
,
37998 &_swigt__p_wxPaintEvent
,
37999 &_swigt__p_wxPaletteChangedEvent
,
38000 &_swigt__p_wxPaperSize
,
38001 &_swigt__p_wxPoint
,
38002 &_swigt__p_wxPowerEvent
,
38003 &_swigt__p_wxProcessEvent
,
38004 &_swigt__p_wxPyApp
,
38005 &_swigt__p_wxPyArtProvider
,
38006 &_swigt__p_wxPyBitmapDataObject
,
38007 &_swigt__p_wxPyCommandEvent
,
38008 &_swigt__p_wxPyDataObjectSimple
,
38009 &_swigt__p_wxPyDropSource
,
38010 &_swigt__p_wxPyDropTarget
,
38011 &_swigt__p_wxPyEvent
,
38012 &_swigt__p_wxPyFileDropTarget
,
38013 &_swigt__p_wxPyImageHandler
,
38014 &_swigt__p_wxPyLog
,
38015 &_swigt__p_wxPyProcess
,
38016 &_swigt__p_wxPySizer
,
38017 &_swigt__p_wxPyTextDataObject
,
38018 &_swigt__p_wxPyTextDropTarget
,
38019 &_swigt__p_wxPyTimer
,
38020 &_swigt__p_wxPyTipProvider
,
38021 &_swigt__p_wxPyValidator
,
38022 &_swigt__p_wxQueryNewPaletteEvent
,
38024 &_swigt__p_wxScrollEvent
,
38025 &_swigt__p_wxScrollWinEvent
,
38026 &_swigt__p_wxSetCursorEvent
,
38027 &_swigt__p_wxShowEvent
,
38028 &_swigt__p_wxSingleInstanceChecker
,
38030 &_swigt__p_wxSizeEvent
,
38031 &_swigt__p_wxSizer
,
38032 &_swigt__p_wxSizerItem
,
38033 &_swigt__p_wxSound
,
38034 &_swigt__p_wxStandardPaths
,
38035 &_swigt__p_wxStaticBoxSizer
,
38036 &_swigt__p_wxStdDialogButtonSizer
,
38037 &_swigt__p_wxStopWatch
,
38038 &_swigt__p_wxString
,
38039 &_swigt__p_wxSysColourChangedEvent
,
38040 &_swigt__p_wxSystemOptions
,
38041 &_swigt__p_wxSystemSettings
,
38042 &_swigt__p_wxTIFFHandler
,
38043 &_swigt__p_wxTextCtrl
,
38044 &_swigt__p_wxTextDataObject
,
38045 &_swigt__p_wxTimeSpan
,
38046 &_swigt__p_wxTimer
,
38047 &_swigt__p_wxTimerEvent
,
38048 &_swigt__p_wxTimerRunner
,
38049 &_swigt__p_wxTipProvider
,
38050 &_swigt__p_wxToolTip
,
38051 &_swigt__p_wxURLDataObject
,
38052 &_swigt__p_wxUpdateUIEvent
,
38053 &_swigt__p_wxValidator
,
38054 &_swigt__p_wxVideoMode
,
38055 &_swigt__p_wxWindow
,
38056 &_swigt__p_wxWindowCreateEvent
,
38057 &_swigt__p_wxWindowDestroyEvent
,
38058 &_swigt__p_wxWindowDisabler
,
38059 &_swigt__p_wxXPMHandler
,
38062 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38063 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38064 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38065 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38066 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38067 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38068 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38069 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38070 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38071 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}};
38072 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
38080 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}};
38081 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
38082 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38083 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
38086 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}};
38087 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
38088 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}};
38089 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
38090 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
38092 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38095 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38096 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38097 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38098 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38099 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38110 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38114 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38115 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38116 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38118 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38119 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38120 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38121 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38122 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38123 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38124 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38125 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38126 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38127 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38129 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38130 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38131 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}};
38132 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38133 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38134 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38135 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38136 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38137 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38138 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}};
38139 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38140 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38141 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38142 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38143 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38144 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38145 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38146 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38147 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38148 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38149 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38150 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}};
38151 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38152 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38153 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38154 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38155 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38156 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38157 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38158 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38159 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38160 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38161 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38162 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38163 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38164 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38165 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38166 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38167 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38168 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38169 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38170 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38171 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38172 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38173 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38174 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38175 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38176 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38177 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38178 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38179 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38180 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38181 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38182 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38183 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38184 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38185 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38186 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38187 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38188 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38189 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38190 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38191 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38192 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38193 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}};
38194 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38195 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38196 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38197 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38198 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38199 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38200 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38201 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38202 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38203 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}};
38204 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38205 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38206 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38207 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38208 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38209 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38210 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38211 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38212 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38213 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38214 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38215 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38216 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38217 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38218 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38219 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38220 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38221 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}};
38222 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38223 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38224 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38225 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38226 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}};
38227 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38228 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38229 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38230 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}};
38231 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38233 static swig_cast_info
*swig_cast_initial
[] = {
38235 _swigc__p_form_ops_t
,
38237 _swigc__p_unsigned_char
,
38238 _swigc__p_unsigned_int
,
38239 _swigc__p_unsigned_long
,
38241 _swigc__p_wxANIHandler
,
38242 _swigc__p_wxAcceleratorTable
,
38243 _swigc__p_wxActivateEvent
,
38244 _swigc__p_wxArrayString
,
38245 _swigc__p_wxBMPHandler
,
38246 _swigc__p_wxBitmap
,
38247 _swigc__p_wxBitmapDataObject
,
38248 _swigc__p_wxBoxSizer
,
38249 _swigc__p_wxBusyCursor
,
38250 _swigc__p_wxBusyInfo
,
38251 _swigc__p_wxCURHandler
,
38254 _swigc__p_wxChildFocusEvent
,
38255 _swigc__p_wxClipboard
,
38256 _swigc__p_wxClipboardLocker
,
38257 _swigc__p_wxClipboardTextEvent
,
38258 _swigc__p_wxCloseEvent
,
38259 _swigc__p_wxColour
,
38260 _swigc__p_wxCommandEvent
,
38261 _swigc__p_wxConfig
,
38262 _swigc__p_wxConfigBase
,
38263 _swigc__p_wxConfigPathChanger
,
38264 _swigc__p_wxContextMenuEvent
,
38265 _swigc__p_wxControl
,
38266 _swigc__p_wxControlWithItems
,
38267 _swigc__p_wxCursor
,
38268 _swigc__p_wxCustomDataObject
,
38270 _swigc__p_wxDataFormat
,
38271 _swigc__p_wxDataObject
,
38272 _swigc__p_wxDataObjectComposite
,
38273 _swigc__p_wxDataObjectSimple
,
38274 _swigc__p_wxDateEvent
,
38275 _swigc__p_wxDateSpan
,
38276 _swigc__p_wxDateTime
,
38277 _swigc__p_wxDateTime__TimeZone
,
38278 _swigc__p_wxDisplay
,
38279 _swigc__p_wxDisplayChangedEvent
,
38280 _swigc__p_wxDropFilesEvent
,
38281 _swigc__p_wxDuplexMode
,
38282 _swigc__p_wxEraseEvent
,
38284 _swigc__p_wxEvtHandler
,
38285 _swigc__p_wxFSFile
,
38286 _swigc__p_wxFileConfig
,
38287 _swigc__p_wxFileDataObject
,
38288 _swigc__p_wxFileHistory
,
38289 _swigc__p_wxFileSystem
,
38290 _swigc__p_wxFileType
,
38291 _swigc__p_wxFileTypeInfo
,
38292 _swigc__p_wxFlexGridSizer
,
38293 _swigc__p_wxFocusEvent
,
38296 _swigc__p_wxGBSizerItem
,
38297 _swigc__p_wxGIFHandler
,
38298 _swigc__p_wxGridBagSizer
,
38299 _swigc__p_wxGridSizer
,
38300 _swigc__p_wxICOHandler
,
38302 _swigc__p_wxIconizeEvent
,
38303 _swigc__p_wxIdleEvent
,
38305 _swigc__p_wxImageHandler
,
38306 _swigc__p_wxIndividualLayoutConstraint
,
38307 _swigc__p_wxInitDialogEvent
,
38308 _swigc__p_wxJPEGHandler
,
38309 _swigc__p_wxJoystick
,
38310 _swigc__p_wxJoystickEvent
,
38311 _swigc__p_wxKeyEvent
,
38312 _swigc__p_wxKillError
,
38313 _swigc__p_wxLayoutConstraints
,
38315 _swigc__p_wxLogBuffer
,
38316 _swigc__p_wxLogChain
,
38317 _swigc__p_wxLogGui
,
38318 _swigc__p_wxLogNull
,
38319 _swigc__p_wxLogStderr
,
38320 _swigc__p_wxLogTextCtrl
,
38321 _swigc__p_wxLogWindow
,
38322 _swigc__p_wxMaximizeEvent
,
38324 _swigc__p_wxMenuBar
,
38325 _swigc__p_wxMenuEvent
,
38326 _swigc__p_wxMenuItem
,
38327 _swigc__p_wxMetafileDataObject
,
38328 _swigc__p_wxMimeTypesManager
,
38329 _swigc__p_wxMouseCaptureChangedEvent
,
38330 _swigc__p_wxMouseEvent
,
38331 _swigc__p_wxMouseState
,
38332 _swigc__p_wxMoveEvent
,
38333 _swigc__p_wxMutexGuiLocker
,
38334 _swigc__p_wxNavigationKeyEvent
,
38335 _swigc__p_wxNcPaintEvent
,
38336 _swigc__p_wxNotifyEvent
,
38337 _swigc__p_wxObject
,
38338 _swigc__p_wxOutputStream
,
38339 _swigc__p_wxPCXHandler
,
38340 _swigc__p_wxPNGHandler
,
38341 _swigc__p_wxPNMHandler
,
38342 _swigc__p_wxPaintEvent
,
38343 _swigc__p_wxPaletteChangedEvent
,
38344 _swigc__p_wxPaperSize
,
38346 _swigc__p_wxPowerEvent
,
38347 _swigc__p_wxProcessEvent
,
38349 _swigc__p_wxPyArtProvider
,
38350 _swigc__p_wxPyBitmapDataObject
,
38351 _swigc__p_wxPyCommandEvent
,
38352 _swigc__p_wxPyDataObjectSimple
,
38353 _swigc__p_wxPyDropSource
,
38354 _swigc__p_wxPyDropTarget
,
38355 _swigc__p_wxPyEvent
,
38356 _swigc__p_wxPyFileDropTarget
,
38357 _swigc__p_wxPyImageHandler
,
38359 _swigc__p_wxPyProcess
,
38360 _swigc__p_wxPySizer
,
38361 _swigc__p_wxPyTextDataObject
,
38362 _swigc__p_wxPyTextDropTarget
,
38363 _swigc__p_wxPyTimer
,
38364 _swigc__p_wxPyTipProvider
,
38365 _swigc__p_wxPyValidator
,
38366 _swigc__p_wxQueryNewPaletteEvent
,
38368 _swigc__p_wxScrollEvent
,
38369 _swigc__p_wxScrollWinEvent
,
38370 _swigc__p_wxSetCursorEvent
,
38371 _swigc__p_wxShowEvent
,
38372 _swigc__p_wxSingleInstanceChecker
,
38374 _swigc__p_wxSizeEvent
,
38376 _swigc__p_wxSizerItem
,
38378 _swigc__p_wxStandardPaths
,
38379 _swigc__p_wxStaticBoxSizer
,
38380 _swigc__p_wxStdDialogButtonSizer
,
38381 _swigc__p_wxStopWatch
,
38382 _swigc__p_wxString
,
38383 _swigc__p_wxSysColourChangedEvent
,
38384 _swigc__p_wxSystemOptions
,
38385 _swigc__p_wxSystemSettings
,
38386 _swigc__p_wxTIFFHandler
,
38387 _swigc__p_wxTextCtrl
,
38388 _swigc__p_wxTextDataObject
,
38389 _swigc__p_wxTimeSpan
,
38391 _swigc__p_wxTimerEvent
,
38392 _swigc__p_wxTimerRunner
,
38393 _swigc__p_wxTipProvider
,
38394 _swigc__p_wxToolTip
,
38395 _swigc__p_wxURLDataObject
,
38396 _swigc__p_wxUpdateUIEvent
,
38397 _swigc__p_wxValidator
,
38398 _swigc__p_wxVideoMode
,
38399 _swigc__p_wxWindow
,
38400 _swigc__p_wxWindowCreateEvent
,
38401 _swigc__p_wxWindowDestroyEvent
,
38402 _swigc__p_wxWindowDisabler
,
38403 _swigc__p_wxXPMHandler
,
38407 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38409 static swig_const_info swig_const_table
[] = {
38410 {0, 0, 0, 0.0, 0, 0}};
38415 /* -----------------------------------------------------------------------------
38416 * Type initialization:
38417 * This problem is tough by the requirement that no dynamic
38418 * memory is used. Also, since swig_type_info structures store pointers to
38419 * swig_cast_info structures and swig_cast_info structures store pointers back
38420 * to swig_type_info structures, we need some lookup code at initialization.
38421 * The idea is that swig generates all the structures that are needed.
38422 * The runtime then collects these partially filled structures.
38423 * The SWIG_InitializeModule function takes these initial arrays out of
38424 * swig_module, and does all the lookup, filling in the swig_module.types
38425 * array with the correct data and linking the correct swig_cast_info
38426 * structures together.
38428 * The generated swig_type_info structures are assigned staticly to an initial
38429 * array. We just loop though that array, and handle each type individually.
38430 * First we lookup if this type has been already loaded, and if so, use the
38431 * loaded structure instead of the generated one. Then we have to fill in the
38432 * cast linked list. The cast data is initially stored in something like a
38433 * two-dimensional array. Each row corresponds to a type (there are the same
38434 * number of rows as there are in the swig_type_initial array). Each entry in
38435 * a column is one of the swig_cast_info structures for that type.
38436 * The cast_initial array is actually an array of arrays, because each row has
38437 * a variable number of columns. So to actually build the cast linked list,
38438 * we find the array of casts associated with the type, and loop through it
38439 * adding the casts to the list. The one last trick we need to do is making
38440 * sure the type pointer in the swig_cast_info struct is correct.
38442 * First off, we lookup the cast->type name to see if it is already loaded.
38443 * There are three cases to handle:
38444 * 1) If the cast->type has already been loaded AND the type we are adding
38445 * casting info to has not been loaded (it is in this module), THEN we
38446 * replace the cast->type pointer with the type pointer that has already
38448 * 2) If BOTH types (the one we are adding casting info to, and the
38449 * cast->type) are loaded, THEN the cast info has already been loaded by
38450 * the previous module so we just ignore it.
38451 * 3) Finally, if cast->type has not already been loaded, then we add that
38452 * swig_cast_info to the linked list (because the cast->type) pointer will
38454 * ----------------------------------------------------------------------------- */
38464 #define SWIGRUNTIME_DEBUG
38468 SWIG_InitializeModule(void *clientdata
) {
38470 swig_module_info
*module_head
;
38471 static int init_run
= 0;
38473 clientdata
= clientdata
;
38475 if (init_run
) return;
38478 /* Initialize the swig_module */
38479 swig_module
.type_initial
= swig_type_initial
;
38480 swig_module
.cast_initial
= swig_cast_initial
;
38482 /* Try and load any already created modules */
38483 module_head
= SWIG_GetModule(clientdata
);
38485 swig_module
.next
= module_head
->next
;
38486 module_head
->next
= &swig_module
;
38488 /* This is the first module loaded */
38489 swig_module
.next
= &swig_module
;
38490 SWIG_SetModule(clientdata
, &swig_module
);
38493 /* Now work on filling in swig_module.types */
38494 #ifdef SWIGRUNTIME_DEBUG
38495 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38497 for (i
= 0; i
< swig_module
.size
; ++i
) {
38498 swig_type_info
*type
= 0;
38499 swig_type_info
*ret
;
38500 swig_cast_info
*cast
;
38502 #ifdef SWIGRUNTIME_DEBUG
38503 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38506 /* if there is another module already loaded */
38507 if (swig_module
.next
!= &swig_module
) {
38508 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38511 /* Overwrite clientdata field */
38512 #ifdef SWIGRUNTIME_DEBUG
38513 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38515 if (swig_module
.type_initial
[i
]->clientdata
) {
38516 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38517 #ifdef SWIGRUNTIME_DEBUG
38518 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38522 type
= swig_module
.type_initial
[i
];
38525 /* Insert casting types */
38526 cast
= swig_module
.cast_initial
[i
];
38527 while (cast
->type
) {
38528 /* Don't need to add information already in the list */
38530 #ifdef SWIGRUNTIME_DEBUG
38531 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38533 if (swig_module
.next
!= &swig_module
) {
38534 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38535 #ifdef SWIGRUNTIME_DEBUG
38536 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38540 if (type
== swig_module
.type_initial
[i
]) {
38541 #ifdef SWIGRUNTIME_DEBUG
38542 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38547 /* Check for casting already in the list */
38548 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38549 #ifdef SWIGRUNTIME_DEBUG
38550 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38552 if (!ocast
) ret
= 0;
38557 #ifdef SWIGRUNTIME_DEBUG
38558 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38561 type
->cast
->prev
= cast
;
38562 cast
->next
= type
->cast
;
38568 /* Set entry in modules->types array equal to the type */
38569 swig_module
.types
[i
] = type
;
38571 swig_module
.types
[i
] = 0;
38573 #ifdef SWIGRUNTIME_DEBUG
38574 printf("**** SWIG_InitializeModule: Cast List ******\n");
38575 for (i
= 0; i
< swig_module
.size
; ++i
) {
38577 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38578 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38579 while (cast
->type
) {
38580 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38584 printf("---- Total casts: %d\n",j
);
38586 printf("**** SWIG_InitializeModule: Cast List ******\n");
38590 /* This function will propagate the clientdata field of type to
38591 * any new swig_type_info structures that have been added into the list
38592 * of equivalent types. It is like calling
38593 * SWIG_TypeClientData(type, clientdata) a second time.
38596 SWIG_PropagateClientData(void) {
38598 swig_cast_info
*equiv
;
38599 static int init_run
= 0;
38601 if (init_run
) return;
38604 for (i
= 0; i
< swig_module
.size
; i
++) {
38605 if (swig_module
.types
[i
]->clientdata
) {
38606 equiv
= swig_module
.types
[i
]->cast
;
38608 if (!equiv
->converter
) {
38609 if (equiv
->type
&& !equiv
->type
->clientdata
)
38610 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38612 equiv
= equiv
->next
;
38632 /* Python-specific SWIG API */
38633 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38634 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38635 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38637 /* -----------------------------------------------------------------------------
38638 * global variable support code.
38639 * ----------------------------------------------------------------------------- */
38641 typedef struct swig_globalvar
{
38642 char *name
; /* Name of global variable */
38643 PyObject
*(*get_attr
)(void); /* Return the current value */
38644 int (*set_attr
)(PyObject
*); /* Set the value */
38645 struct swig_globalvar
*next
;
38648 typedef struct swig_varlinkobject
{
38650 swig_globalvar
*vars
;
38651 } swig_varlinkobject
;
38653 SWIGINTERN PyObject
*
38654 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38655 return PyString_FromString("<Swig global variables>");
38658 SWIGINTERN PyObject
*
38659 swig_varlink_str(swig_varlinkobject
*v
) {
38660 PyObject
*str
= PyString_FromString("(");
38661 swig_globalvar
*var
;
38662 for (var
= v
->vars
; var
; var
=var
->next
) {
38663 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38664 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38666 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38671 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38672 PyObject
*str
= swig_varlink_str(v
);
38673 fprintf(fp
,"Swig global variables ");
38674 fprintf(fp
,"%s\n", PyString_AsString(str
));
38680 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38681 swig_globalvar
*var
= v
->vars
;
38683 swig_globalvar
*n
= var
->next
;
38690 SWIGINTERN PyObject
*
38691 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38692 PyObject
*res
= NULL
;
38693 swig_globalvar
*var
= v
->vars
;
38695 if (strcmp(var
->name
,n
) == 0) {
38696 res
= (*var
->get_attr
)();
38701 if (res
== NULL
&& !PyErr_Occurred()) {
38702 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38708 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38710 swig_globalvar
*var
= v
->vars
;
38712 if (strcmp(var
->name
,n
) == 0) {
38713 res
= (*var
->set_attr
)(p
);
38718 if (res
== 1 && !PyErr_Occurred()) {
38719 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38724 SWIGINTERN PyTypeObject
*
38725 swig_varlink_type(void) {
38726 static char varlink__doc__
[] = "Swig var link object";
38727 static PyTypeObject varlink_type
;
38728 static int type_init
= 0;
38730 const PyTypeObject tmp
38732 PyObject_HEAD_INIT(NULL
)
38733 0, /* Number of items in variable part (ob_size) */
38734 (char *)"swigvarlink", /* Type name (tp_name) */
38735 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38736 0, /* Itemsize (tp_itemsize) */
38737 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38738 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38739 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38740 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38741 0, /* tp_compare */
38742 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38743 0, /* tp_as_number */
38744 0, /* tp_as_sequence */
38745 0, /* tp_as_mapping */
38748 (reprfunc
)swig_varlink_str
, /* tp_str */
38749 0, /* tp_getattro */
38750 0, /* tp_setattro */
38751 0, /* tp_as_buffer */
38753 varlink__doc__
, /* tp_doc */
38754 0, /* tp_traverse */
38756 0, /* tp_richcompare */
38757 0, /* tp_weaklistoffset */
38758 #if PY_VERSION_HEX >= 0x02020000
38759 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38761 #if PY_VERSION_HEX >= 0x02030000
38764 #ifdef COUNT_ALLOCS
38765 0,0,0,0 /* tp_alloc -> tp_next */
38768 varlink_type
= tmp
;
38769 varlink_type
.ob_type
= &PyType_Type
;
38772 return &varlink_type
;
38775 /* Create a variable linking object for use later */
38776 SWIGINTERN PyObject
*
38777 SWIG_Python_newvarlink(void) {
38778 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38782 return ((PyObject
*) result
);
38786 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38787 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38788 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38790 size_t size
= strlen(name
)+1;
38791 gv
->name
= (char *)malloc(size
);
38793 strncpy(gv
->name
,name
,size
);
38794 gv
->get_attr
= get_attr
;
38795 gv
->set_attr
= set_attr
;
38796 gv
->next
= v
->vars
;
38802 SWIGINTERN PyObject
*
38804 static PyObject
*_SWIG_globals
= 0;
38805 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38806 return _SWIG_globals
;
38809 /* -----------------------------------------------------------------------------
38810 * constants/methods manipulation
38811 * ----------------------------------------------------------------------------- */
38813 /* Install Constants */
38815 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38818 for (i
= 0; constants
[i
].type
; ++i
) {
38819 switch(constants
[i
].type
) {
38820 case SWIG_PY_POINTER
:
38821 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38823 case SWIG_PY_BINARY
:
38824 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38831 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38837 /* -----------------------------------------------------------------------------*/
38838 /* Fix SwigMethods to carry the callback ptrs when needed */
38839 /* -----------------------------------------------------------------------------*/
38842 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38843 swig_const_info
*const_table
,
38844 swig_type_info
**types
,
38845 swig_type_info
**types_initial
) {
38847 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38848 const char *c
= methods
[i
].ml_doc
;
38849 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38851 swig_const_info
*ci
= 0;
38852 const char *name
= c
+ 10;
38853 for (j
= 0; const_table
[j
].type
; ++j
) {
38854 if (strncmp(const_table
[j
].name
, name
,
38855 strlen(const_table
[j
].name
)) == 0) {
38856 ci
= &(const_table
[j
]);
38861 size_t shift
= (ci
->ptype
) - types
;
38862 swig_type_info
*ty
= types_initial
[shift
];
38863 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38864 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38865 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38868 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38870 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38872 strncpy(buff
, "swig_ptr: ", 10);
38874 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38875 methods
[i
].ml_doc
= ndoc
;
38887 /* -----------------------------------------------------------------------------*
38888 * Partial Init method
38889 * -----------------------------------------------------------------------------*/
38894 SWIGEXPORT
void SWIG_init(void) {
38897 /* Fix SwigMethods to carry the callback ptrs when needed */
38898 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38900 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38901 d
= PyModule_GetDict(m
);
38903 SWIG_InitializeModule(0);
38904 SWIG_InstallConstants(d
,swig_const_table
);
38907 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38908 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38909 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38910 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38911 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38912 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38913 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38914 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38915 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38916 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38917 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38918 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38919 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38920 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38921 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38922 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38923 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38924 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38925 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38926 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38927 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38928 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38929 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38930 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38931 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38932 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38933 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38934 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38954 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38955 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38956 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38957 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38958 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38959 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38960 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38961 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38962 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38963 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38964 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38965 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38966 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38967 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38968 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38969 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38970 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38971 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38972 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38973 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38974 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38975 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38976 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38977 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38978 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38979 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38980 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38981 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38982 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38983 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38984 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38985 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38986 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
38987 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
38988 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
38989 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
38990 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
38991 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
38992 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
38993 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
38994 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
38995 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
38996 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
38997 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
38998 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
38999 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
39000 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
39001 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
39002 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
39003 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
39004 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
39005 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
39006 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
39007 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
39008 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
39009 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
39010 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
39011 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
39012 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
39013 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
39014 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
39015 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
39016 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
39017 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
39018 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
39019 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
39020 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
39021 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
39022 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
39023 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
39024 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
39025 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
39026 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
39027 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
39028 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
39029 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
39030 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
39031 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
39032 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
39033 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
39034 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
39035 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
39036 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
39037 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
39038 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
39039 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
39040 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
39041 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
39042 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
39043 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
39045 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
39047 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
39048 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
39049 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
39050 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
39051 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
39052 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
39053 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
39054 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
39055 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
39056 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
39057 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
39058 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
39059 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
39060 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
39061 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
39062 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
39063 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
39064 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
39065 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
39066 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
39067 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
39068 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
39069 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
39070 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
39071 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
39072 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
39073 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
39074 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
39075 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
39076 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
39077 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
39078 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
39079 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
39080 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
39081 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
39082 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
39083 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
39084 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
39085 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
39086 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
39087 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
39088 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
39089 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
39090 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
39091 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
39092 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
39093 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
39094 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
39095 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
39096 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
39097 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
39098 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
39099 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
39101 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
39103 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
39104 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
39105 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
39106 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
39107 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
39108 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
39109 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39110 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39111 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39112 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39113 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39114 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39115 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39116 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39117 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39118 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39119 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39120 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39121 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39122 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39123 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39124 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39125 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39126 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39127 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39128 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39129 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39130 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39131 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39132 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39133 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39134 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39135 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39180 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39182 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39183 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39184 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39185 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39186 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39187 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39188 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39189 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39190 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39191 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39192 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39193 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39194 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39195 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39196 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39197 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39198 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39199 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39200 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39201 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39202 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39203 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39204 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39205 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39206 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39207 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39210 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39211 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39212 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39213 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39214 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39215 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39216 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39217 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39218 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39219 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39220 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39221 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39222 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39223 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39224 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39225 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39226 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39227 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39228 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39229 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39230 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39231 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39232 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39233 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39234 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39235 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39236 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39237 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39238 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39239 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39240 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39241 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39242 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39243 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39244 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39245 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39246 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39247 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39248 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39249 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39250 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39251 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39252 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39253 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39254 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39255 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39256 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39257 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39258 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39259 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39260 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39261 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39263 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39264 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39265 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39271 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39272 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39273 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39274 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39276 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39277 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39278 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39279 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39284 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39285 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39286 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39287 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39292 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39308 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39311 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39312 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39313 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39314 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39315 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39316 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39317 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39318 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39319 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39320 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39321 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39322 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39323 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39324 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39325 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39326 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39327 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39328 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39329 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39330 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39331 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39332 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39333 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39334 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39335 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39336 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39337 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39338 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39339 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39340 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39341 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39342 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39343 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39344 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39345 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39346 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39347 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39348 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39349 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39350 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39351 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39352 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39353 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39354 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39355 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39356 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39357 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39358 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39359 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39360 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39361 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39362 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39363 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39364 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39365 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39366 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39367 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39368 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39369 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39370 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39371 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39372 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39373 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39374 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39375 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39376 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39377 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39378 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39379 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39380 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39381 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39383 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39384 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39385 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39386 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39388 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39389 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39390 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39391 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39392 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39393 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39394 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39395 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39396 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39397 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39398 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39399 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39400 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39401 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39402 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39403 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));