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_wxMemorySize swig_types[89]
2556 #define SWIGTYPE_p_wxMenu swig_types[90]
2557 #define SWIGTYPE_p_wxMenuBar swig_types[91]
2558 #define SWIGTYPE_p_wxMenuEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMenuItem swig_types[93]
2560 #define SWIGTYPE_p_wxMetafile swig_types[94]
2561 #define SWIGTYPE_p_wxMetafileDataObject swig_types[95]
2562 #define SWIGTYPE_p_wxMimeTypesManager swig_types[96]
2563 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[97]
2564 #define SWIGTYPE_p_wxMouseEvent swig_types[98]
2565 #define SWIGTYPE_p_wxMouseState swig_types[99]
2566 #define SWIGTYPE_p_wxMoveEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[101]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2570 #define SWIGTYPE_p_wxNotifyEvent swig_types[104]
2571 #define SWIGTYPE_p_wxObject swig_types[105]
2572 #define SWIGTYPE_p_wxOutputStream swig_types[106]
2573 #define SWIGTYPE_p_wxPCXHandler swig_types[107]
2574 #define SWIGTYPE_p_wxPNGHandler swig_types[108]
2575 #define SWIGTYPE_p_wxPNMHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPaintEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPaperSize swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPowerEvent swig_types[114]
2581 #define SWIGTYPE_p_wxProcessEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPyApp swig_types[116]
2583 #define SWIGTYPE_p_wxPyArtProvider swig_types[117]
2584 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[120]
2587 #define SWIGTYPE_p_wxPyDropSource swig_types[121]
2588 #define SWIGTYPE_p_wxPyDropTarget swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLog swig_types[126]
2593 #define SWIGTYPE_p_wxPyProcess swig_types[127]
2594 #define SWIGTYPE_p_wxPySizer swig_types[128]
2595 #define SWIGTYPE_p_wxPyTextDataObject swig_types[129]
2596 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[130]
2597 #define SWIGTYPE_p_wxPyTimer swig_types[131]
2598 #define SWIGTYPE_p_wxPyTipProvider swig_types[132]
2599 #define SWIGTYPE_p_wxPyValidator swig_types[133]
2600 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[134]
2601 #define SWIGTYPE_p_wxRect swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSound swig_types[145]
2612 #define SWIGTYPE_p_wxStandardPaths swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxStopWatch swig_types[149]
2616 #define SWIGTYPE_p_wxString swig_types[150]
2617 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSystemOptions swig_types[152]
2619 #define SWIGTYPE_p_wxSystemSettings swig_types[153]
2620 #define SWIGTYPE_p_wxTIFFHandler swig_types[154]
2621 #define SWIGTYPE_p_wxTextCtrl swig_types[155]
2622 #define SWIGTYPE_p_wxTextDataObject swig_types[156]
2623 #define SWIGTYPE_p_wxTimeSpan swig_types[157]
2624 #define SWIGTYPE_p_wxTimer swig_types[158]
2625 #define SWIGTYPE_p_wxTimerEvent swig_types[159]
2626 #define SWIGTYPE_p_wxTimerRunner swig_types[160]
2627 #define SWIGTYPE_p_wxTipProvider swig_types[161]
2628 #define SWIGTYPE_p_wxToolTip swig_types[162]
2629 #define SWIGTYPE_p_wxURLDataObject swig_types[163]
2630 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[164]
2631 #define SWIGTYPE_p_wxValidator swig_types[165]
2632 #define SWIGTYPE_p_wxVideoMode swig_types[166]
2633 #define SWIGTYPE_p_wxWindow swig_types[167]
2634 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[168]
2635 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[169]
2636 #define SWIGTYPE_p_wxWindowDisabler swig_types[170]
2637 #define SWIGTYPE_p_wxXPMHandler swig_types[171]
2638 static swig_type_info
*swig_types
[173];
2639 static swig_module_info swig_module
= {swig_types
, 172, 0, 0, 0, 0};
2640 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2641 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2643 /* -------- TYPES TABLE (END) -------- */
2645 #if (PY_VERSION_HEX <= 0x02000000)
2646 # if !defined(SWIG_PYTHON_CLASSIC)
2647 # error "This python version requires to use swig with the '-classic' option"
2650 #if (PY_VERSION_HEX <= 0x02020000)
2651 # error "This python version requires to use swig with the '-nomodern' option"
2653 #if (PY_VERSION_HEX <= 0x02020000)
2654 # error "This python version requires to use swig with the '-nomodernargs' option"
2657 # error "This python version requires to use swig with the '-nofastunpack' option"
2660 /*-----------------------------------------------
2661 @(target):= _misc_.so
2662 ------------------------------------------------*/
2663 #define SWIG_init init_misc_
2665 #define SWIG_name "_misc_"
2667 #define SWIGVERSION 0x010329
2670 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2671 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2674 #include <stdexcept>
2678 class PyObject_ptr
{
2683 PyObject_ptr() :_obj(0)
2687 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2692 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2694 if (initial_ref
) Py_XINCREF(_obj
);
2697 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2699 Py_XINCREF(item
._obj
);
2710 operator PyObject
*() const
2715 PyObject
*operator->() const
2724 struct PyObject_var
: PyObject_ptr
{
2725 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2727 PyObject_var
& operator = (PyObject
* obj
)
2737 #include "wx/wxPython/wxPython.h"
2738 #include "wx/wxPython/pyclasses.h"
2739 #include "wx/wxPython/pyistream.h"
2741 static const wxString
wxPyEmptyString(wxEmptyString
);
2745 #define SWIG_From_long PyInt_FromLong
2748 SWIGINTERNINLINE PyObject
*
2749 SWIG_From_int (int value
)
2751 return SWIG_From_long (value
);
2757 # define LLONG_MIN LONG_LONG_MIN
2760 # define LLONG_MAX LONG_LONG_MAX
2763 # define ULLONG_MAX ULONG_LONG_MAX
2768 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2770 if (PyNumber_Check(obj
)) {
2771 if (val
) *val
= PyInt_AsLong(obj
);
2774 return SWIG_TypeError
;
2779 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2782 int res
= SWIG_AsVal_long (obj
, &v
);
2783 if (SWIG_IsOK(res
)) {
2784 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2785 return SWIG_OverflowError
;
2787 if (val
) *val
= static_cast< int >(v
);
2793 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
2795 #include <wx/stockitem.h>
2797 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2798 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2799 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2802 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2804 if (obj
== Py_True
) {
2805 if (val
) *val
= true;
2807 } else if (obj
== Py_False
) {
2808 if (val
) *val
= false;
2812 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2813 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2820 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2823 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2824 return SWIG_TypeError
;
2827 *val
= (unsigned long)v
;
2832 SWIGINTERNINLINE PyObject
*
2833 SWIG_From_unsigned_SS_long (unsigned long value
)
2835 return (value
> LONG_MAX
) ?
2836 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2840 void* wxGetXDisplay()
2843 return wxGetDisplay();
2850 wxWindow
* FindWindowAtPointer() {
2852 return wxFindWindowAtPointer(unused
);
2856 bool wxThread_IsMain() {
2857 #ifdef WXP_WITH_THREAD
2858 return wxThread::IsMain();
2864 SWIGINTERN
void wxCaret_Destroy(wxCaret
*self
){
2868 #include <wx/snglinst.h>
2872 #include <wx/msw/private.h>
2873 #include <wx/dynload.h>
2878 bool wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
2889 // This one only partially works. Appears to be an undocumented
2890 // "standard" convention that not all widgets adhear to. For
2891 // example, for some widgets backgrounds or non-client areas may
2893 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
2898 // This one works much better, nearly all widgets and their
2899 // children are captured correctly[**]. Prior to the big
2900 // background erase changes that Vadim did in 2004-2005 this
2901 // method failed badly on XP with Themes activated, most native
2902 // widgets draw only partially, if at all. Without themes it
2903 // worked just like on Win2k. After those changes this method
2906 // ** For example the radio buttons in a wxRadioBox are not its
2907 // children by default, but you can capture it via the panel
2908 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
2909 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2910 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2911 PRF_ERASEBKGND
| PRF_OWNED
);
2917 // This one is only defined in the latest SDK and is only
2918 // available on XP. MSDN says it is similar to sending WM_PRINT
2919 // so I expect that it will work similar to the above. Since it
2920 // is avaialble only on XP, it can't be compiled like this and
2921 // will have to be loaded dynamically.
2922 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
2927 // Use PrintWindow if available, or fallback to WM_PRINT
2928 // otherwise. Unfortunately using PrintWindow is even worse than
2929 // WM_PRINT. For most native widgets nothing is drawn to the dc
2930 // at all, with or without Themes.
2931 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
2932 static bool s_triedToLoad
= false;
2933 static PrintWindow_t pfnPrintWindow
= NULL
;
2934 if ( !s_triedToLoad
)
2937 s_triedToLoad
= true;
2938 wxDynamicLibrary
dllUser32(_T("user32.dll"));
2939 if ( dllUser32
.IsLoaded() )
2941 wxLogNull nolog
; // Don't report errors here
2942 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
2947 //printf("Using PrintWindow\n");
2948 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
2952 //printf("Using WM_PRINT\n");
2953 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
2954 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
2955 PRF_ERASEBKGND
| PRF_OWNED
);
2966 #include <wx/tipdlg.h>
2969 SWIGINTERNINLINE PyObject
*
2970 SWIG_From_size_t (size_t value
)
2972 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2976 class wxPyTipProvider
: public wxTipProvider
{
2978 wxPyTipProvider(size_t currentTip
)
2979 : wxTipProvider(currentTip
) {}
2981 DEC_PYCALLBACK_STRING__pure(GetTip
);
2982 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
2986 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
2987 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
2990 SWIGINTERNINLINE
int
2991 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2994 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2995 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3000 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
3002 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
3004 wxPyTimer::wxPyTimer(wxEvtHandler
*owner
, int id
)
3005 : wxTimer(owner
, id
)
3012 SWIGINTERN swig_type_info
*
3013 SWIG_pchar_descriptor()
3015 static int init
= 0;
3016 static swig_type_info
* info
= 0;
3018 info
= SWIG_TypeQuery("_p_char");
3025 SWIGINTERNINLINE PyObject
*
3026 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3029 if (size
> INT_MAX
) {
3030 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3031 return pchar_descriptor
?
3032 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3034 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3037 return SWIG_Py_Void();
3042 SWIGINTERNINLINE PyObject
*
3043 SWIG_FromCharPtr(const char *cptr
)
3045 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3050 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3053 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3054 if (SWIG_IsOK(res
)) {
3055 if ((v
> UINT_MAX
)) {
3056 return SWIG_OverflowError
;
3058 if (val
) *val
= static_cast< unsigned int >(v
);
3064 SWIGINTERN wxString
wxLog_TimeStamp(){
3066 wxLog::TimeStamp(&msg
);
3069 SWIGINTERN
void wxLog_Destroy(wxLog
*self
){ delete self
; }
3070 // Make some wrappers that double any % signs so they are 'escaped'
3071 void wxPyLogFatalError(const wxString
& msg
)
3074 m
.Replace(wxT("%"), wxT("%%"));
3078 void wxPyLogError(const wxString
& msg
)
3081 m
.Replace(wxT("%"), wxT("%%"));
3085 void wxPyLogWarning(const wxString
& msg
)
3088 m
.Replace(wxT("%"), wxT("%%"));
3092 void wxPyLogMessage(const wxString
& msg
)
3095 m
.Replace(wxT("%"), wxT("%%"));
3099 void wxPyLogInfo(const wxString
& msg
)
3102 m
.Replace(wxT("%"), wxT("%%"));
3106 void wxPyLogDebug(const wxString
& msg
)
3109 m
.Replace(wxT("%"), wxT("%%"));
3113 void wxPyLogVerbose(const wxString
& msg
)
3116 m
.Replace(wxT("%"), wxT("%%"));
3120 void wxPyLogStatus(const wxString
& msg
)
3123 m
.Replace(wxT("%"), wxT("%%"));
3127 void wxPyLogStatusFrame(wxFrame
*pFrame
, const wxString
& msg
)
3130 m
.Replace(wxT("%"), wxT("%%"));
3131 wxLogStatus(pFrame
, m
);
3134 void wxPyLogSysError(const wxString
& msg
)
3137 m
.Replace(wxT("%"), wxT("%%"));
3141 void wxPyLogGeneric(unsigned long level
, const wxString
& msg
)
3144 m
.Replace(wxT("%"), wxT("%%"));
3145 wxLogGeneric(level
, m
);
3148 void wxPyLogTrace(unsigned long mask
, const wxString
& msg
)
3151 m
.Replace(wxT("%"), wxT("%%"));
3152 wxLogTrace(mask
, m
);
3155 void wxPyLogTrace(const wxString
& mask
, const wxString
& msg
)
3158 m
.Replace(wxT("%"), wxT("%%"));
3159 wxLogTrace(mask
, m
);
3164 // A wxLog class that can be derived from in wxPython
3165 class wxPyLog
: public wxLog
{
3167 wxPyLog() : wxLog() {}
3169 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
3171 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3172 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
3173 PyObject
* s
= wx2PyString(szString
);
3174 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
3177 wxPyEndBlockThreads(blocked
);
3179 wxLog::DoLog(level
, szString
, t
);
3182 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
3184 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3185 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
3186 PyObject
* s
= wx2PyString(szString
);
3187 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
3190 wxPyEndBlockThreads(blocked
);
3192 wxLog::DoLogString(szString
, t
);
3195 DEC_PYCALLBACK_VOID_(Flush
);
3198 IMP_PYCALLBACK_VOID_(wxPyLog
, wxLog
, Flush
);
3203 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
3206 #include <wx/joystick.h>
3209 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
3210 // A C++ stub class for wxJoystick for platforms that don't have it.
3211 class wxJoystick
: public wxObject
{
3213 wxJoystick(int joystick
= wxJOYSTICK1
) {
3214 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3215 PyErr_SetString(PyExc_NotImplementedError
,
3216 "wxJoystick is not available on this platform.");
3217 wxPyEndBlockThreads(blocked
);
3219 wxPoint
GetPosition() { return wxPoint(-1,-1); }
3220 int GetZPosition() { return -1; }
3221 int GetButtonState() { return -1; }
3222 int GetPOVPosition() { return -1; }
3223 int GetPOVCTSPosition() { return -1; }
3224 int GetRudderPosition() { return -1; }
3225 int GetUPosition() { return -1; }
3226 int GetVPosition() { return -1; }
3227 int GetMovementThreshold() { return -1; }
3228 void SetMovementThreshold(int threshold
) {}
3230 bool IsOk(void) { return false; }
3231 int GetNumberJoysticks() { return -1; }
3232 int GetManufacturerId() { return -1; }
3233 int GetProductId() { return -1; }
3234 wxString
GetProductName() { return wxEmptyString
; }
3235 int GetXMin() { return -1; }
3236 int GetYMin() { return -1; }
3237 int GetZMin() { return -1; }
3238 int GetXMax() { return -1; }
3239 int GetYMax() { return -1; }
3240 int GetZMax() { return -1; }
3241 int GetNumberButtons() { return -1; }
3242 int GetNumberAxes() { return -1; }
3243 int GetMaxButtons() { return -1; }
3244 int GetMaxAxes() { return -1; }
3245 int GetPollingMin() { return -1; }
3246 int GetPollingMax() { return -1; }
3247 int GetRudderMin() { return -1; }
3248 int GetRudderMax() { return -1; }
3249 int GetUMin() { return -1; }
3250 int GetUMax() { return -1; }
3251 int GetVMin() { return -1; }
3252 int GetVMax() { return -1; }
3254 bool HasRudder() { return false; }
3255 bool HasZ() { return false; }
3256 bool HasU() { return false; }
3257 bool HasV() { return false; }
3258 bool HasPOV() { return false; }
3259 bool HasPOV4Dir() { return false; }
3260 bool HasPOVCTS() { return false; }
3262 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
3263 bool ReleaseCapture() { return false; }
3268 #include <wx/sound.h>
3272 // A C++ stub class for wxWave for platforms that don't have it.
3273 class wxSound
: public wxObject
3277 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3278 PyErr_SetString(PyExc_NotImplementedError
,
3279 "wxSound is not available on this platform.");
3280 wxPyEndBlockThreads(blocked
);
3282 wxSound(const wxString
&/*, bool*/) {
3283 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3284 PyErr_SetString(PyExc_NotImplementedError
,
3285 "wxSound is not available on this platform.");
3286 wxPyEndBlockThreads(blocked
);
3288 wxSound(int, const wxByte
*) {
3289 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3290 PyErr_SetString(PyExc_NotImplementedError
,
3291 "wxSound is not available on this platform.");
3292 wxPyEndBlockThreads(blocked
);
3297 bool Create(const wxString
&/*, bool*/) { return false; }
3298 bool Create(int, const wxByte
*) { return false; };
3299 bool IsOk() { return false; };
3300 bool Play(unsigned) const { return false; }
3301 static bool Play(const wxString
&, unsigned) { return false; }
3302 static void Stop() {}
3307 SWIGINTERN wxSound
*new_wxSound(wxString
const &fileName
=wxPyEmptyString
){
3308 if (fileName
.Length() == 0)
3311 return new wxSound(fileName
);
3313 SWIGINTERN wxSound
*new_wxSound(PyObject
*data
){
3314 unsigned char* buffer
; int size
;
3315 wxSound
*sound
= NULL
;
3317 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3318 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3320 sound
= new wxSound(size
, buffer
);
3322 wxPyEndBlockThreads(blocked
);
3325 SWIGINTERN
bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
3327 unsigned char* buffer
;
3331 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3332 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
3334 rv
= self
->Create(size
, buffer
);
3336 wxPyEndBlockThreads(blocked
);
3339 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3340 PyErr_SetString(PyExc_NotImplementedError
,
3341 "Create from data is not available on this platform.");
3342 wxPyEndBlockThreads(blocked
);
3347 #include <wx/mimetype.h>
3349 SWIGINTERN PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
3351 if (self
->GetMimeType(&str
))
3352 return wx2PyString(str
);
3356 SWIGINTERN PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
3358 if (self
->GetMimeTypes(arr
))
3359 return wxArrayString2PyList_helper(arr
);
3363 SWIGINTERN PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
3365 if (self
->GetExtensions(arr
))
3366 return wxArrayString2PyList_helper(arr
);
3370 SWIGINTERN wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
3372 if (self
->GetIcon(&loc
))
3373 return new wxIcon(loc
);
3377 SWIGINTERN PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
3379 if (self
->GetIcon(&loc
)) {
3380 wxString iconFile
= loc
.GetFileName();
3383 iconIndex
= loc
.GetIndex();
3385 // Make a tuple and put the values in it
3386 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3387 PyObject
* tuple
= PyTuple_New(3);
3388 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
3389 wxT("wxIcon"), true));
3390 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
3391 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
3392 wxPyEndBlockThreads(blocked
);
3398 SWIGINTERN PyObject
*wxFileType_GetDescription(wxFileType
*self
){
3400 if (self
->GetDescription(&str
))
3401 return wx2PyString(str
);
3405 SWIGINTERN PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3407 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3408 return wx2PyString(str
);
3412 SWIGINTERN PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3414 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
3415 return wx2PyString(str
);
3419 SWIGINTERN PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3420 wxArrayString verbs
;
3421 wxArrayString commands
;
3422 if (self
->GetAllCommands(&verbs
, &commands
,
3423 wxFileType::MessageParameters(filename
, mimetype
))) {
3424 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3425 PyObject
* tuple
= PyTuple_New(2);
3426 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
3427 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
3428 wxPyEndBlockThreads(blocked
);
3434 SWIGINTERN wxString
wxFileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
=wxPyEmptyString
){
3435 return wxFileType::ExpandCommand(command
,
3436 wxFileType::MessageParameters(filename
, mimetype
));
3438 SWIGINTERN PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
3440 self
->EnumAllFileTypes(arr
);
3441 return wxArrayString2PyList_helper(arr
);
3444 #include <wx/artprov.h>
3446 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
3447 static const wxString
wxPyART_MENU(wxART_MENU
);
3448 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
3449 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
3450 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
3451 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
3452 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
3453 static const wxString
wxPyART_OTHER(wxART_OTHER
);
3454 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
3455 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
3456 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
3457 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
3458 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
3459 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
3460 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
3461 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
3462 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
3463 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
3464 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
3465 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
3466 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
3467 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
3468 static const wxString
wxPyART_FILE_SAVE(wxART_FILE_SAVE
);
3469 static const wxString
wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS
);
3470 static const wxString
wxPyART_PRINT(wxART_PRINT
);
3471 static const wxString
wxPyART_HELP(wxART_HELP
);
3472 static const wxString
wxPyART_TIP(wxART_TIP
);
3473 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
3474 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
3475 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
3476 static const wxString
wxPyART_HARDDISK(wxART_HARDDISK
);
3477 static const wxString
wxPyART_FLOPPY(wxART_FLOPPY
);
3478 static const wxString
wxPyART_CDROM(wxART_CDROM
);
3479 static const wxString
wxPyART_REMOVABLE(wxART_REMOVABLE
);
3480 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
3481 static const wxString
wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN
);
3482 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
3483 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
3484 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
3485 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
3486 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
3487 static const wxString
wxPyART_ERROR(wxART_ERROR
);
3488 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
3489 static const wxString
wxPyART_WARNING(wxART_WARNING
);
3490 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
3491 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
3492 static const wxString
wxPyART_COPY(wxART_COPY
);
3493 static const wxString
wxPyART_CUT(wxART_CUT
);
3494 static const wxString
wxPyART_PASTE(wxART_PASTE
);
3495 static const wxString
wxPyART_DELETE(wxART_DELETE
);
3496 static const wxString
wxPyART_NEW(wxART_NEW
);
3497 static const wxString
wxPyART_UNDO(wxART_UNDO
);
3498 static const wxString
wxPyART_REDO(wxART_REDO
);
3499 static const wxString
wxPyART_QUIT(wxART_QUIT
);
3500 static const wxString
wxPyART_FIND(wxART_FIND
);
3501 static const wxString
wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE
);
3502 // Python aware wxArtProvider
3503 class wxPyArtProvider
: public wxArtProvider
{
3506 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
3507 const wxArtClient
& client
,
3508 const wxSize
& size
) {
3509 wxBitmap rval
= wxNullBitmap
;
3510 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3511 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
3512 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
3516 s1
= wx2PyString(id
);
3517 s2
= wx2PyString(client
);
3518 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
3523 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
3528 wxPyEndBlockThreads(blocked
);
3535 SWIGINTERN
void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
3539 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
3540 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3541 PyObject
* ret
= PyTuple_New(3);
3543 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
3544 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
3545 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
3547 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
3556 cont
= self
->GetFirstGroup(value
, index
);
3557 return __EnumerationHelper(cont
, value
, index
);
3559 SWIGINTERN PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
3563 cont
= self
->GetNextGroup(value
, index
);
3564 return __EnumerationHelper(cont
, value
, index
);
3566 SWIGINTERN PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
3571 cont
= self
->GetFirstEntry(value
, index
);
3572 return __EnumerationHelper(cont
, value
, index
);
3574 SWIGINTERN PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
3578 cont
= self
->GetNextEntry(value
, index
);
3579 return __EnumerationHelper(cont
, value
, index
);
3581 SWIGINTERN
long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
=0){
3583 self
->Read(key
, &rv
, defaultVal
);
3588 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3590 if (PyNumber_Check(obj
)) {
3591 if (val
) *val
= PyFloat_AsDouble(obj
);
3594 return SWIG_TypeError
;
3597 SWIGINTERN
double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
=0.0){
3599 self
->Read(key
, &rv
, defaultVal
);
3603 #define SWIG_From_double PyFloat_FromDouble
3605 SWIGINTERN
bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
=false){
3607 self
->Read(key
, &rv
, defaultVal
);
3611 #include <wx/datetime.h>
3613 static const wxString
wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat
);
3614 static const wxString
wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat
);
3616 #define LOCAL_TZ wxDateTime::Local
3618 SWIGINTERN PyObject
*wxDateTime_GetAmPmStrings(){
3621 wxDateTime::GetAmPmStrings(&am
, &pm
);
3622 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3623 PyObject
* tup
= PyTuple_New(2);
3624 PyTuple_SET_ITEM(tup
, 0, wx2PyString(am
));
3625 PyTuple_SET_ITEM(tup
, 1, wx2PyString(pm
));
3626 wxPyEndBlockThreads(blocked
);
3630 SWIGINTERNINLINE PyObject
*
3631 SWIG_From_unsigned_SS_int (unsigned int value
)
3633 return SWIG_From_unsigned_SS_long (value
);
3636 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3637 SWIGINTERN wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3638 SWIGINTERN wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
3639 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3640 SWIGINTERN wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3641 SWIGINTERN
bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
3642 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
3643 return (*self
< *other
);
3645 SWIGINTERN
bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
3646 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
3647 return (*self
<= *other
);
3649 SWIGINTERN
bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
3650 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
3651 return (*self
> *other
);
3653 SWIGINTERN
bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
3654 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
3655 return (*self
>= *other
);
3657 SWIGINTERN
bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
3658 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
3659 return (*self
== *other
);
3661 SWIGINTERN
bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
3662 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
3663 return (*self
!= *other
);
3665 SWIGINTERN
int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
3667 const wxChar
* _date
= date
;
3668 rv
= self
->ParseRfc822Date(_date
);
3669 if (rv
== NULL
) return -1;
3672 SWIGINTERN
int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
=wxPyDefaultDateTimeFormat
,wxDateTime
const &dateDef
=wxDefaultDateTime
){
3674 const wxChar
* _date
= date
;
3675 rv
= self
->ParseFormat(_date
, format
, dateDef
);
3676 if (rv
== NULL
) return -1;
3679 SWIGINTERN
int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
3681 const wxChar
* _datetime
= datetime
;
3682 rv
= self
->ParseDateTime(_datetime
);
3683 if (rv
== NULL
) return -1;
3684 return rv
- _datetime
;
3686 SWIGINTERN
int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
3688 const wxChar
* _date
= date
;
3689 rv
= self
->ParseDate(_date
);
3690 if (rv
== NULL
) return -1;
3693 SWIGINTERN
int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
3695 const wxChar
* _time
= time
;
3696 rv
= self
->ParseTime(_time
);
3697 if (rv
== NULL
) return -1;
3700 SWIGINTERN wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
3701 SWIGINTERN wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
3702 SWIGINTERN wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
3703 SWIGINTERN wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
3704 SWIGINTERN
bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
3705 SWIGINTERN
bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
3706 SWIGINTERN
bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
3707 SWIGINTERN
bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
3708 SWIGINTERN
bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
3709 SWIGINTERN
bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3710 SWIGINTERN wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
3711 SWIGINTERN wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
3712 SWIGINTERN wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
3713 SWIGINTERN wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
3714 SWIGINTERN
bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
3715 SWIGINTERN
bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
3717 #include <wx/dataobj.h>
3719 SWIGINTERN PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
=wxDataObject::Get
){
3720 size_t count
= self
->GetFormatCount(dir
);
3721 wxDataFormat
* formats
= new wxDataFormat
[count
];
3722 self
->GetAllFormats(formats
, dir
);
3724 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3725 PyObject
* list
= PyList_New(count
);
3726 for (size_t i
=0; i
<count
; i
++) {
3727 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
3728 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
3729 PyList_SET_ITEM(list
, i
, obj
); // PyList_SET_ITEM steals a reference
3731 wxPyEndBlockThreads(blocked
);
3735 SWIGINTERN PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
3736 PyObject
* rval
= NULL
;
3737 size_t size
= self
->GetDataSize(format
);
3738 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3740 char* buf
= new char[size
];
3741 if (self
->GetDataHere(format
, buf
))
3742 rval
= PyString_FromStringAndSize(buf
, size
);
3749 wxPyEndBlockThreads(blocked
);
3752 SWIGINTERN
bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
3754 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3755 if (PyString_Check(data
)) {
3756 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
3759 // raise a TypeError if not a string
3760 PyErr_SetString(PyExc_TypeError
, "String expected.");
3763 wxPyEndBlockThreads(blocked
);
3766 SWIGINTERN PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
3767 PyObject
* rval
= NULL
;
3768 size_t size
= self
->GetDataSize();
3769 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3771 char* buf
= new char[size
];
3772 if (self
->GetDataHere(buf
))
3773 rval
= PyString_FromStringAndSize(buf
, size
);
3780 wxPyEndBlockThreads(blocked
);
3783 SWIGINTERN
bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
3785 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3786 if (PyString_Check(data
)) {
3787 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3790 // raise a TypeError if not a string
3791 PyErr_SetString(PyExc_TypeError
, "String expected.");
3794 wxPyEndBlockThreads(blocked
);
3797 // Create a new class for wxPython to use
3798 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
3800 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
3801 : wxDataObjectSimple(format
) {}
3803 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
3804 bool GetDataHere(void *buf
) const;
3805 bool SetData(size_t len
, const void *buf
) const;
3809 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
3811 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
3812 // We need to get the data for this object and write it to buf. I think
3813 // the best way to do this for wxPython is to have the Python method
3814 // return either a string or None and then act appropriately with the
3818 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3819 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
3821 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3823 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
3825 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
3829 wxPyEndBlockThreads(blocked
);
3833 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
3834 // For this one we simply need to make a string from buf and len
3835 // and send it to the Python method.
3837 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3838 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
3839 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
3840 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
3843 wxPyEndBlockThreads(blocked
);
3847 // Create a new class for wxPython to use
3848 class wxPyTextDataObject
: public wxTextDataObject
{
3850 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
3851 : wxTextDataObject(text
) {}
3853 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
3854 DEC_PYCALLBACK_STRING__const(GetText
);
3855 DEC_PYCALLBACK__STRING(SetText
);
3859 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
3860 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
3861 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
3864 // Create a new class for wxPython to use
3865 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
3867 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
3868 : wxBitmapDataObject(bitmap
) {}
3870 wxBitmap
GetBitmap() const;
3871 void SetBitmap(const wxBitmap
& bitmap
);
3875 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
3876 wxBitmap
* rval
= &wxNullBitmap
;
3877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3878 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
3881 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3883 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
3888 wxPyEndBlockThreads(blocked
);
3892 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
3893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3894 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
3895 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
3896 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
3899 wxPyEndBlockThreads(blocked
);
3902 SWIGINTERN wxCustomDataObject
*new_wxCustomDataObject__SWIG_1(wxString
const &formatName
){
3903 return new wxCustomDataObject(wxDataFormat(formatName
));
3905 SWIGINTERN
bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
3907 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3908 if (PyString_Check(data
)) {
3909 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
3912 // raise a TypeError if not a string
3913 PyErr_SetString(PyExc_TypeError
, "String expected.");
3916 wxPyEndBlockThreads(blocked
);
3919 SWIGINTERN PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
3921 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3922 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
3923 wxPyEndBlockThreads(blocked
);
3927 #include <wx/metafile.h>
3930 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
3933 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
3934 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
3935 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
3936 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
3937 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
3940 class wxPyTextDropTarget
: public wxTextDropTarget
{
3942 wxPyTextDropTarget() {}
3944 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
3946 DEC_PYCALLBACK__(OnLeave
);
3947 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3948 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3949 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3950 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3955 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
3956 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
3957 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
3958 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
3959 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
3960 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
3964 class wxPyFileDropTarget
: public wxFileDropTarget
{
3966 wxPyFileDropTarget() {}
3968 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
3970 DEC_PYCALLBACK__(OnLeave
);
3971 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
3972 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
3973 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
3974 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
3979 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
3980 const wxArrayString
& filenames
) {
3982 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3983 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
3984 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
3985 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
3988 wxPyEndBlockThreads(blocked
);
3994 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
3995 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
3996 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
3997 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
3998 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
4003 SWIGINTERN
bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
4005 #include <wx/display.h>
4007 SWIGINTERN
bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
4008 SWIGINTERN
bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
4011 const wxVideoMode wxDefaultVideoMode
;
4014 SWIGINTERN PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4016 PyObject
* pyList
= NULL
;
4017 wxArrayVideoModes arr
= self
->GetModes(mode
);
4018 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4019 pyList
= PyList_New(0);
4020 for (size_t i
=0; i
< arr
.GetCount(); i
++)
4022 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
4023 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
4024 PyList_Append(pyList
, pyObj
);
4027 wxPyEndBlockThreads(blocked
);
4030 wxPyRaiseNotImplemented();
4034 SWIGINTERN wxVideoMode
wxDisplay_GetCurrentMode(wxDisplay
const *self
){
4036 return self
->GetCurrentMode();
4038 wxPyRaiseNotImplemented();
4039 return wxDefaultVideoMode
;
4042 SWIGINTERN
bool wxDisplay_ChangeMode(wxDisplay
*self
,wxVideoMode
const &mode
=wxDefaultVideoMode
){
4044 return self
->ChangeMode(mode
);
4046 wxPyRaiseNotImplemented();
4050 SWIGINTERN
void wxDisplay_ResetMode(wxDisplay
*self
){
4054 wxPyRaiseNotImplemented();
4058 #include <wx/stdpaths.h>
4060 SWIGINTERN wxStandardPaths
*wxStandardPaths_Get(){
4061 return (wxStandardPaths
*) &wxStandardPaths::Get();
4063 SWIGINTERN
void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
4064 SWIGINTERN wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
4066 #ifndef wxHAS_POWER_EVENTS
4067 // Dummy class and other definitions for platforms that don't have them
4069 // See wxPython_int.h for wxPowerEvent
4072 wxEVT_POWER_SUSPENDING
,
4073 wxEVT_POWER_SUSPENDED
,
4074 wxEVT_POWER_SUSPEND_CANCEL
,
4078 wxPowerType
wxGetPowerType() { return wxPOWER_UNKNOWN
; }
4079 wxBatteryState
wxGetBatteryState() { return wxBATTERY_UNKNOWN_STATE
; }
4086 SWIGINTERN PyObject
*_wrap_SystemSettings_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
= 0;
4088 wxSystemColour arg1
;
4092 PyObject
* obj0
= 0 ;
4093 char * kwnames
[] = {
4094 (char *) "index", NULL
4097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) SWIG_fail
;
4098 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4099 if (!SWIG_IsOK(ecode1
)) {
4100 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetColour" "', expected argument " "1"" of type '" "wxSystemColour""'");
4102 arg1
= static_cast< wxSystemColour
>(val1
);
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= wxSystemSettings::GetColour(arg1
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4117 SWIGINTERN PyObject
*_wrap_SystemSettings_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
= 0;
4123 PyObject
* obj0
= 0 ;
4124 char * kwnames
[] = {
4125 (char *) "index", NULL
4128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) SWIG_fail
;
4129 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4130 if (!SWIG_IsOK(ecode1
)) {
4131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetFont" "', expected argument " "1"" of type '" "wxSystemFont""'");
4133 arg1
= static_cast< wxSystemFont
>(val1
);
4135 if (!wxPyCheckForApp()) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 result
= wxSystemSettings::GetFont(arg1
);
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
4148 SWIGINTERN PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
= 0;
4150 wxSystemMetric arg1
;
4151 wxWindow
*arg2
= (wxWindow
*) NULL
;
4157 PyObject
* obj0
= 0 ;
4158 PyObject
* obj1
= 0 ;
4159 char * kwnames
[] = {
4160 (char *) "index",(char *) "win", NULL
4163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SystemSettings_GetMetric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4165 if (!SWIG_IsOK(ecode1
)) {
4166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_GetMetric" "', expected argument " "1"" of type '" "wxSystemMetric""'");
4168 arg1
= static_cast< wxSystemMetric
>(val1
);
4170 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4171 if (!SWIG_IsOK(res2
)) {
4172 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SystemSettings_GetMetric" "', expected argument " "2"" of type '" "wxWindow *""'");
4174 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4177 if (!wxPyCheckForApp()) SWIG_fail
;
4178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 result
= (int)wxSystemSettings::GetMetric(arg1
,arg2
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 resultobj
= SWIG_From_int(static_cast< int >(result
));
4190 SWIGINTERN PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
*resultobj
= 0;
4192 wxSystemFeature arg1
;
4196 PyObject
* obj0
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "index", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) SWIG_fail
;
4202 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4203 if (!SWIG_IsOK(ecode1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_HasFeature" "', expected argument " "1"" of type '" "wxSystemFeature""'");
4206 arg1
= static_cast< wxSystemFeature
>(val1
);
4208 if (!wxPyCheckForApp()) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (bool)wxSystemSettings::HasFeature(arg1
);
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4223 SWIGINTERN PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4224 PyObject
*resultobj
= 0;
4225 wxSystemScreenType result
;
4227 if (!SWIG_Python_UnpackTuple(args
,"SystemSettings_GetScreenType",0,0,0)) SWIG_fail
;
4229 if (!wxPyCheckForApp()) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_From_int(static_cast< int >(result
));
4242 SWIGINTERN PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
= 0;
4244 wxSystemScreenType arg1
;
4247 PyObject
* obj0
= 0 ;
4248 char * kwnames
[] = {
4249 (char *) "screen", NULL
4252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) SWIG_fail
;
4253 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4254 if (!SWIG_IsOK(ecode1
)) {
4255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SystemSettings_SetScreenType" "', expected argument " "1"" of type '" "wxSystemScreenType""'");
4257 arg1
= static_cast< wxSystemScreenType
>(val1
);
4259 if (!wxPyCheckForApp()) SWIG_fail
;
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 wxSystemSettings::SetScreenType(arg1
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_Py_Void();
4272 SWIGINTERN PyObject
*SystemSettings_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4275 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemSettings
, SWIG_NewClientData(obj
));
4276 return SWIG_Py_Void();
4279 SWIGINTERN
int WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
4280 SWIG_Error(SWIG_AttributeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
4285 SWIGINTERN PyObject
*WINDOW_DEFAULT_VARIANT_get(void) {
4286 PyObject
*pyobj
= 0;
4290 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4292 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
4299 SWIGINTERN PyObject
*_wrap_new_SystemOptions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4300 PyObject
*resultobj
= 0;
4301 wxSystemOptions
*result
= 0 ;
4303 if (!SWIG_Python_UnpackTuple(args
,"new_SystemOptions",0,0,0)) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (wxSystemOptions
*)new wxSystemOptions();
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSystemOptions
, SWIG_POINTER_NEW
| 0 );
4317 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= 0;
4319 wxString
*arg1
= 0 ;
4320 wxString
*arg2
= 0 ;
4321 bool temp1
= false ;
4322 bool temp2
= false ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 char * kwnames
[] = {
4326 (char *) "name",(char *) "value", NULL
4329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4331 arg1
= wxString_in_helper(obj0
);
4332 if (arg1
== NULL
) SWIG_fail
;
4336 arg2
= wxString_in_helper(obj1
);
4337 if (arg2
== NULL
) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_Py_Void();
4369 SWIGINTERN PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
= 0;
4371 wxString
*arg1
= 0 ;
4373 bool temp1
= false ;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4378 char * kwnames
[] = {
4379 (char *) "name",(char *) "value", NULL
4382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4384 arg1
= wxString_in_helper(obj0
);
4385 if (arg1
== NULL
) SWIG_fail
;
4388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4389 if (!SWIG_IsOK(ecode2
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SystemOptions_SetOptionInt" "', expected argument " "2"" of type '" "int""'");
4392 arg2
= static_cast< int >(val2
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_Py_Void();
4414 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
= 0;
4416 wxString
*arg1
= 0 ;
4418 bool temp1
= false ;
4419 PyObject
* obj0
= 0 ;
4420 char * kwnames
[] = {
4421 (char *) "name", NULL
4424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) SWIG_fail
;
4426 arg1
= wxString_in_helper(obj0
);
4427 if (arg1
== NULL
) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4457 SWIGINTERN PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
= 0;
4459 wxString
*arg1
= 0 ;
4461 bool temp1
= false ;
4462 PyObject
* obj0
= 0 ;
4463 char * kwnames
[] = {
4464 (char *) "name", NULL
4467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) SWIG_fail
;
4469 arg1
= wxString_in_helper(obj0
);
4470 if (arg1
== NULL
) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4479 resultobj
= SWIG_From_int(static_cast< int >(result
));
4494 SWIGINTERN PyObject
*_wrap_SystemOptions_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
= 0;
4496 wxString
*arg1
= 0 ;
4498 bool temp1
= false ;
4499 PyObject
* obj0
= 0 ;
4500 char * kwnames
[] = {
4501 (char *) "name", NULL
4504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) SWIG_fail
;
4506 arg1
= wxString_in_helper(obj0
);
4507 if (arg1
== NULL
) SWIG_fail
;
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4533 SWIGINTERN PyObject
*_wrap_SystemOptions_IsFalse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
= 0;
4535 wxString
*arg1
= 0 ;
4537 bool temp1
= false ;
4538 PyObject
* obj0
= 0 ;
4539 char * kwnames
[] = {
4540 (char *) "name", NULL
4543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_IsFalse",kwnames
,&obj0
)) SWIG_fail
;
4545 arg1
= wxString_in_helper(obj0
);
4546 if (arg1
== NULL
) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (bool)wxSystemOptions::IsFalse((wxString
const &)*arg1
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4572 SWIGINTERN PyObject
*SystemOptions_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4575 SWIG_TypeNewClientData(SWIGTYPE_p_wxSystemOptions
, SWIG_NewClientData(obj
));
4576 return SWIG_Py_Void();
4579 SWIGINTERN PyObject
*SystemOptions_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4580 return SWIG_Python_InitShadowInstance(args
);
4583 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
4584 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
4589 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
4590 PyObject
*pyobj
= 0;
4594 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4596 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
4603 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
4604 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
4609 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
4610 PyObject
*pyobj
= 0;
4614 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4616 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
4623 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
4624 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
4629 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
4630 PyObject
*pyobj
= 0;
4634 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4636 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
4643 SWIGINTERN PyObject
*_wrap_NewId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4644 PyObject
*resultobj
= 0;
4647 if (!SWIG_Python_UnpackTuple(args
,"NewId",0,0,0)) SWIG_fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (long)wxNewId();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_From_long(static_cast< long >(result
));
4661 SWIGINTERN PyObject
*_wrap_RegisterId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
= 0;
4666 PyObject
* obj0
= 0 ;
4667 char * kwnames
[] = {
4671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) SWIG_fail
;
4672 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
4673 if (!SWIG_IsOK(ecode1
)) {
4674 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RegisterId" "', expected argument " "1"" of type '" "long""'");
4676 arg1
= static_cast< long >(val1
);
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_Py_Void();
4690 SWIGINTERN PyObject
*_wrap_GetCurrentId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4691 PyObject
*resultobj
= 0;
4694 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentId",0,0,0)) SWIG_fail
;
4696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 result
= (long)wxGetCurrentId();
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= SWIG_From_long(static_cast< long >(result
));
4708 SWIGINTERN PyObject
*_wrap_IsStockID(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
= 0;
4714 PyObject
* obj0
= 0 ;
4715 char * kwnames
[] = {
4719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) SWIG_fail
;
4720 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4721 if (!SWIG_IsOK(ecode1
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockID" "', expected argument " "1"" of type '" "int""'");
4724 arg1
= static_cast< int >(val1
);
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (bool)wxIsStockID(arg1
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4740 SWIGINTERN PyObject
*_wrap_IsStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
= 0;
4743 wxString
*arg2
= 0 ;
4747 bool temp2
= false ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 char * kwnames
[] = {
4751 (char *) "id",(char *) "label", NULL
4754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4755 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4756 if (!SWIG_IsOK(ecode1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsStockLabel" "', expected argument " "1"" of type '" "int""'");
4759 arg1
= static_cast< int >(val1
);
4761 arg2
= wxString_in_helper(obj1
);
4762 if (arg2
== NULL
) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4788 SWIGINTERN PyObject
*_wrap_GetStockLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
= 0;
4791 bool arg2
= (bool) true ;
4792 wxString arg3
= (wxString
) wxPyEmptyString
;
4798 PyObject
* obj0
= 0 ;
4799 PyObject
* obj1
= 0 ;
4800 PyObject
* obj2
= 0 ;
4801 char * kwnames
[] = {
4802 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
4805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GetStockLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4807 if (!SWIG_IsOK(ecode1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetStockLabel" "', expected argument " "1"" of type '" "int""'");
4810 arg1
= static_cast< int >(val1
);
4812 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4813 if (!SWIG_IsOK(ecode2
)) {
4814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GetStockLabel" "', expected argument " "2"" of type '" "bool""'");
4816 arg2
= static_cast< bool >(val2
);
4820 wxString
* sptr
= wxString_in_helper(obj2
);
4821 if (sptr
== NULL
) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= wxGetStockLabel(arg1
,arg2
,arg3
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4845 SWIGINTERN PyObject
*_wrap_Bell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4846 PyObject
*resultobj
= 0;
4848 if (!SWIG_Python_UnpackTuple(args
,"Bell",0,0,0)) SWIG_fail
;
4850 if (!wxPyCheckForApp()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_Py_Void();
4863 SWIGINTERN PyObject
*_wrap_EndBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4864 PyObject
*resultobj
= 0;
4866 if (!SWIG_Python_UnpackTuple(args
,"EndBusyCursor",0,0,0)) SWIG_fail
;
4868 if (!wxPyCheckForApp()) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_Py_Void();
4881 SWIGINTERN PyObject
*_wrap_GetElapsedTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
= 0;
4883 bool arg1
= (bool) true ;
4887 PyObject
* obj0
= 0 ;
4888 char * kwnames
[] = {
4889 (char *) "resetTimer", NULL
4892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) SWIG_fail
;
4894 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
4895 if (!SWIG_IsOK(ecode1
)) {
4896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetElapsedTime" "', expected argument " "1"" of type '" "bool""'");
4898 arg1
= static_cast< bool >(val1
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (long)wxGetElapsedTime(arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_From_long(static_cast< long >(result
));
4913 SWIGINTERN PyObject
*_wrap_IsBusy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4914 PyObject
*resultobj
= 0;
4917 if (!SWIG_Python_UnpackTuple(args
,"IsBusy",0,0,0)) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (bool)wxIsBusy();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4933 SWIGINTERN PyObject
*_wrap_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4934 PyObject
*resultobj
= 0;
4937 if (!SWIG_Python_UnpackTuple(args
,"Now",0,0,0)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4957 SWIGINTERN PyObject
*_wrap_Shell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
= 0;
4959 wxString
const &arg1_defvalue
= wxPyEmptyString
;
4960 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
4962 bool temp1
= false ;
4963 PyObject
* obj0
= 0 ;
4964 char * kwnames
[] = {
4965 (char *) "command", NULL
4968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) SWIG_fail
;
4971 arg1
= wxString_in_helper(obj0
);
4972 if (arg1
== NULL
) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (bool)wxShell((wxString
const &)*arg1
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_StartTimer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5002 if (!SWIG_Python_UnpackTuple(args
,"StartTimer",0,0,0)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 resultobj
= SWIG_Py_Void();
5016 SWIGINTERN PyObject
*_wrap_GetOsVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5017 PyObject
*resultobj
= 0;
5018 int *arg1
= (int *) 0 ;
5019 int *arg2
= (int *) 0 ;
5022 int res1
= SWIG_TMPOBJ
;
5024 int res2
= SWIG_TMPOBJ
;
5028 if (!SWIG_Python_UnpackTuple(args
,"GetOsVersion",0,0,0)) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (int)wxGetOsVersion(arg1
,arg2
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_From_int(static_cast< int >(result
));
5036 if (SWIG_IsTmpObj(res1
)) {
5037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
5039 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
5042 if (SWIG_IsTmpObj(res2
)) {
5043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
5045 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
5046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
5054 SWIGINTERN PyObject
*_wrap_GetOsDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5055 PyObject
*resultobj
= 0;
5058 if (!SWIG_Python_UnpackTuple(args
,"GetOsDescription",0,0,0)) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= wxGetOsDescription();
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5078 SWIGINTERN PyObject
*_wrap_GetFreeMemory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5079 PyObject
*resultobj
= 0;
5080 wxMemorySize result
;
5082 if (!SWIG_Python_UnpackTuple(args
,"GetFreeMemory",0,0,0)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= wxGetFreeMemory();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= SWIG_NewPointerObj((new wxMemorySize(static_cast< const wxMemorySize
& >(result
))), SWIGTYPE_p_wxMemorySize
, SWIG_POINTER_OWN
| 0 );
5096 SWIGINTERN PyObject
*_wrap_Shutdown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
= 0;
5098 wxShutdownFlags arg1
;
5102 PyObject
* obj0
= 0 ;
5103 char * kwnames
[] = {
5104 (char *) "wFlags", NULL
5107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) SWIG_fail
;
5108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5109 if (!SWIG_IsOK(ecode1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Shutdown" "', expected argument " "1"" of type '" "wxShutdownFlags""'");
5112 arg1
= static_cast< wxShutdownFlags
>(val1
);
5114 if (!wxPyCheckForApp()) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (bool)wxShutdown(arg1
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5129 SWIGINTERN PyObject
*_wrap_Sleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
= 0;
5134 PyObject
* obj0
= 0 ;
5135 char * kwnames
[] = {
5136 (char *) "secs", NULL
5139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) SWIG_fail
;
5140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5141 if (!SWIG_IsOK(ecode1
)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Sleep" "', expected argument " "1"" of type '" "int""'");
5144 arg1
= static_cast< int >(val1
);
5146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 resultobj
= SWIG_Py_Void();
5158 SWIGINTERN PyObject
*_wrap_MilliSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
= 0;
5160 unsigned long arg1
;
5161 unsigned long val1
;
5163 PyObject
* obj0
= 0 ;
5164 char * kwnames
[] = {
5165 (char *) "milliseconds", NULL
5168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) SWIG_fail
;
5169 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5170 if (!SWIG_IsOK(ecode1
)) {
5171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MilliSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5173 arg1
= static_cast< unsigned long >(val1
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_Py_Void();
5187 SWIGINTERN PyObject
*_wrap_MicroSleep(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
= 0;
5189 unsigned long arg1
;
5190 unsigned long val1
;
5192 PyObject
* obj0
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "microseconds", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) SWIG_fail
;
5198 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
5199 if (!SWIG_IsOK(ecode1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MicroSleep" "', expected argument " "1"" of type '" "unsigned long""'");
5202 arg1
= static_cast< unsigned long >(val1
);
5204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_Py_Void();
5216 SWIGINTERN PyObject
*_wrap_EnableTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
= 0;
5221 PyObject
* obj0
= 0 ;
5222 char * kwnames
[] = {
5223 (char *) "enable", NULL
5226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) SWIG_fail
;
5227 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
5228 if (!SWIG_IsOK(ecode1
)) {
5229 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EnableTopLevelWindows" "', expected argument " "1"" of type '" "bool""'");
5231 arg1
= static_cast< bool >(val1
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 wxEnableTopLevelWindows(arg1
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_Py_Void();
5245 SWIGINTERN PyObject
*_wrap_StripMenuCodes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxString
*arg1
= 0 ;
5249 bool temp1
= false ;
5250 PyObject
* obj0
= 0 ;
5251 char * kwnames
[] = {
5255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) SWIG_fail
;
5257 arg1
= wxString_in_helper(obj0
);
5258 if (arg1
== NULL
) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= wxStripMenuCodes((wxString
const &)*arg1
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5288 SWIGINTERN PyObject
*_wrap_GetEmailAddress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5289 PyObject
*resultobj
= 0;
5292 if (!SWIG_Python_UnpackTuple(args
,"GetEmailAddress",0,0,0)) SWIG_fail
;
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 result
= wxGetEmailAddress();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5312 SWIGINTERN PyObject
*_wrap_GetHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5313 PyObject
*resultobj
= 0;
5316 if (!SWIG_Python_UnpackTuple(args
,"GetHostName",0,0,0)) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= wxGetHostName();
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5336 SWIGINTERN PyObject
*_wrap_GetFullHostName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5337 PyObject
*resultobj
= 0;
5340 if (!SWIG_Python_UnpackTuple(args
,"GetFullHostName",0,0,0)) SWIG_fail
;
5342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 result
= wxGetFullHostName();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5351 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5360 SWIGINTERN PyObject
*_wrap_GetUserId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5361 PyObject
*resultobj
= 0;
5364 if (!SWIG_Python_UnpackTuple(args
,"GetUserId",0,0,0)) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= wxGetUserId();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5384 SWIGINTERN PyObject
*_wrap_GetUserName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5385 PyObject
*resultobj
= 0;
5388 if (!SWIG_Python_UnpackTuple(args
,"GetUserName",0,0,0)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= wxGetUserName();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5408 SWIGINTERN PyObject
*_wrap_GetHomeDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5409 PyObject
*resultobj
= 0;
5412 if (!SWIG_Python_UnpackTuple(args
,"GetHomeDir",0,0,0)) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= wxGetHomeDir();
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5432 SWIGINTERN PyObject
*_wrap_GetUserHome(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
= 0;
5434 wxString
const &arg1_defvalue
= wxPyEmptyString
;
5435 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5437 bool temp1
= false ;
5438 PyObject
* obj0
= 0 ;
5439 char * kwnames
[] = {
5440 (char *) "user", NULL
5443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) SWIG_fail
;
5446 arg1
= wxString_in_helper(obj0
);
5447 if (arg1
== NULL
) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 result
= wxGetUserHome((wxString
const &)*arg1
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5478 SWIGINTERN PyObject
*_wrap_GetProcessId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5479 PyObject
*resultobj
= 0;
5480 unsigned long result
;
5482 if (!SWIG_Python_UnpackTuple(args
,"GetProcessId",0,0,0)) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (unsigned long)wxGetProcessId();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
5496 SWIGINTERN PyObject
*_wrap_Trap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5499 if (!SWIG_Python_UnpackTuple(args
,"Trap",0,0,0)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 resultobj
= SWIG_Py_Void();
5513 SWIGINTERN PyObject
*_wrap_FileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
= 0;
5515 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
5516 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5517 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5518 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5523 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
5524 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5525 int arg6
= (int) 0 ;
5526 wxWindow
*arg7
= (wxWindow
*) NULL
;
5527 int arg8
= (int) -1 ;
5528 int arg9
= (int) -1 ;
5530 bool temp1
= false ;
5531 bool temp2
= false ;
5532 bool temp3
= false ;
5533 bool temp4
= false ;
5534 bool temp5
= false ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5545 PyObject
* obj2
= 0 ;
5546 PyObject
* obj3
= 0 ;
5547 PyObject
* obj4
= 0 ;
5548 PyObject
* obj5
= 0 ;
5549 PyObject
* obj6
= 0 ;
5550 PyObject
* obj7
= 0 ;
5551 PyObject
* obj8
= 0 ;
5552 char * kwnames
[] = {
5553 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
5556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5559 arg1
= wxString_in_helper(obj0
);
5560 if (arg1
== NULL
) SWIG_fail
;
5566 arg2
= wxString_in_helper(obj1
);
5567 if (arg2
== NULL
) SWIG_fail
;
5573 arg3
= wxString_in_helper(obj2
);
5574 if (arg3
== NULL
) SWIG_fail
;
5580 arg4
= wxString_in_helper(obj3
);
5581 if (arg4
== NULL
) SWIG_fail
;
5587 arg5
= wxString_in_helper(obj4
);
5588 if (arg5
== NULL
) SWIG_fail
;
5593 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
5594 if (!SWIG_IsOK(ecode6
)) {
5595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FileSelector" "', expected argument " "6"" of type '" "int""'");
5597 arg6
= static_cast< int >(val6
);
5600 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5601 if (!SWIG_IsOK(res7
)) {
5602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "FileSelector" "', expected argument " "7"" of type '" "wxWindow *""'");
5604 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
5607 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
5608 if (!SWIG_IsOK(ecode8
)) {
5609 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FileSelector" "', expected argument " "8"" of type '" "int""'");
5611 arg8
= static_cast< int >(val8
);
5614 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
5615 if (!SWIG_IsOK(ecode9
)) {
5616 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FileSelector" "', expected argument " "9"" of type '" "int""'");
5618 arg9
= static_cast< int >(val9
);
5621 if (!wxPyCheckForApp()) SWIG_fail
;
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
5624 wxPyEndAllowThreads(__tstate
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5631 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5680 SWIGINTERN PyObject
*_wrap_LoadFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
= 0;
5682 wxString
*arg1
= 0 ;
5683 wxString
*arg2
= 0 ;
5684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5686 wxWindow
*arg4
= (wxWindow
*) NULL
;
5688 bool temp1
= false ;
5689 bool temp2
= false ;
5690 bool temp3
= false ;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 PyObject
* obj3
= 0 ;
5697 char * kwnames
[] = {
5698 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5703 arg1
= wxString_in_helper(obj0
);
5704 if (arg1
== NULL
) SWIG_fail
;
5708 arg2
= wxString_in_helper(obj1
);
5709 if (arg2
== NULL
) SWIG_fail
;
5714 arg3
= wxString_in_helper(obj2
);
5715 if (arg3
== NULL
) SWIG_fail
;
5720 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5721 if (!SWIG_IsOK(res4
)) {
5722 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "LoadFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5724 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5727 if (!wxPyCheckForApp()) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5770 SWIGINTERN PyObject
*_wrap_SaveFileSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= 0;
5772 wxString
*arg1
= 0 ;
5773 wxString
*arg2
= 0 ;
5774 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5775 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5776 wxWindow
*arg4
= (wxWindow
*) NULL
;
5778 bool temp1
= false ;
5779 bool temp2
= false ;
5780 bool temp3
= false ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 PyObject
* obj2
= 0 ;
5786 PyObject
* obj3
= 0 ;
5787 char * kwnames
[] = {
5788 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
5791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5793 arg1
= wxString_in_helper(obj0
);
5794 if (arg1
== NULL
) SWIG_fail
;
5798 arg2
= wxString_in_helper(obj1
);
5799 if (arg2
== NULL
) SWIG_fail
;
5804 arg3
= wxString_in_helper(obj2
);
5805 if (arg3
== NULL
) SWIG_fail
;
5810 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5811 if (!SWIG_IsOK(res4
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "SaveFileSelector" "', expected argument " "4"" of type '" "wxWindow *""'");
5814 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
5817 if (!wxPyCheckForApp()) SWIG_fail
;
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5860 SWIGINTERN PyObject
*_wrap_DirSelector(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
5863 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
5864 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5865 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5866 long arg3
= (long) wxDD_DEFAULT_STYLE
;
5867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5869 wxWindow
*arg5
= (wxWindow
*) NULL
;
5871 bool temp1
= false ;
5872 bool temp2
= false ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5880 PyObject
* obj2
= 0 ;
5881 PyObject
* obj3
= 0 ;
5882 PyObject
* obj4
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
5890 arg1
= wxString_in_helper(obj0
);
5891 if (arg1
== NULL
) SWIG_fail
;
5897 arg2
= wxString_in_helper(obj1
);
5898 if (arg2
== NULL
) SWIG_fail
;
5903 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5904 if (!SWIG_IsOK(ecode3
)) {
5905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirSelector" "', expected argument " "3"" of type '" "long""'");
5907 arg3
= static_cast< long >(val3
);
5912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5916 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5917 if (!SWIG_IsOK(res5
)) {
5918 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DirSelector" "', expected argument " "5"" of type '" "wxWindow *""'");
5920 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
5923 if (!wxPyCheckForApp()) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5958 SWIGINTERN PyObject
*_wrap_GetTextFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
= 0;
5960 wxString
*arg1
= 0 ;
5961 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5962 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5963 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5964 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5965 wxWindow
*arg4
= (wxWindow
*) NULL
;
5966 int arg5
= (int) -1 ;
5967 int arg6
= (int) -1 ;
5968 bool arg7
= (bool) true ;
5970 bool temp1
= false ;
5971 bool temp2
= false ;
5972 bool temp3
= false ;
5981 PyObject
* obj0
= 0 ;
5982 PyObject
* obj1
= 0 ;
5983 PyObject
* obj2
= 0 ;
5984 PyObject
* obj3
= 0 ;
5985 PyObject
* obj4
= 0 ;
5986 PyObject
* obj5
= 0 ;
5987 PyObject
* obj6
= 0 ;
5988 char * kwnames
[] = {
5989 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
5992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5994 arg1
= wxString_in_helper(obj0
);
5995 if (arg1
== NULL
) SWIG_fail
;
6000 arg2
= wxString_in_helper(obj1
);
6001 if (arg2
== NULL
) SWIG_fail
;
6007 arg3
= wxString_in_helper(obj2
);
6008 if (arg3
== NULL
) SWIG_fail
;
6013 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6014 if (!SWIG_IsOK(res4
)) {
6015 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetTextFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6017 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6021 if (!SWIG_IsOK(ecode5
)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetTextFromUser" "', expected argument " "5"" of type '" "int""'");
6024 arg5
= static_cast< int >(val5
);
6027 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6028 if (!SWIG_IsOK(ecode6
)) {
6029 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetTextFromUser" "', expected argument " "6"" of type '" "int""'");
6031 arg6
= static_cast< int >(val6
);
6034 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
6035 if (!SWIG_IsOK(ecode7
)) {
6036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetTextFromUser" "', expected argument " "7"" of type '" "bool""'");
6038 arg7
= static_cast< bool >(val7
);
6041 if (!wxPyCheckForApp()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6084 SWIGINTERN PyObject
*_wrap_GetPasswordFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
= 0;
6086 wxString
*arg1
= 0 ;
6087 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6088 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6089 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6090 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6091 wxWindow
*arg4
= (wxWindow
*) NULL
;
6093 bool temp1
= false ;
6094 bool temp2
= false ;
6095 bool temp3
= false ;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 PyObject
* obj2
= 0 ;
6101 PyObject
* obj3
= 0 ;
6102 char * kwnames
[] = {
6103 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
6106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6108 arg1
= wxString_in_helper(obj0
);
6109 if (arg1
== NULL
) SWIG_fail
;
6114 arg2
= wxString_in_helper(obj1
);
6115 if (arg2
== NULL
) SWIG_fail
;
6121 arg3
= wxString_in_helper(obj2
);
6122 if (arg3
== NULL
) SWIG_fail
;
6127 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6128 if (!SWIG_IsOK(res4
)) {
6129 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GetPasswordFromUser" "', expected argument " "4"" of type '" "wxWindow *""'");
6131 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6134 if (!wxPyCheckForApp()) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6177 SWIGINTERN PyObject
*_wrap_GetSingleChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
= 0;
6179 wxString
*arg1
= 0 ;
6180 wxString
*arg2
= 0 ;
6182 wxString
*arg4
= (wxString
*) 0 ;
6183 wxWindow
*arg5
= (wxWindow
*) NULL
;
6184 int arg6
= (int) -1 ;
6185 int arg7
= (int) -1 ;
6186 bool arg8
= (bool) true ;
6187 int arg9
= (int) 150 ;
6188 int arg10
= (int) 200 ;
6190 bool temp1
= false ;
6191 bool temp2
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6211 PyObject
* obj7
= 0 ;
6212 PyObject
* obj8
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6219 arg1
= wxString_in_helper(obj0
);
6220 if (arg1
== NULL
) SWIG_fail
;
6224 arg2
= wxString_in_helper(obj1
);
6225 if (arg2
== NULL
) SWIG_fail
;
6229 arg3
= PyList_Size(obj2
);
6230 arg4
= wxString_LIST_helper(obj2
);
6231 if (arg4
== NULL
) SWIG_fail
;
6234 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6235 if (!SWIG_IsOK(res5
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoice" "', expected argument " "5"" of type '" "wxWindow *""'");
6238 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6241 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6242 if (!SWIG_IsOK(ecode6
)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoice" "', expected argument " "6"" of type '" "int""'");
6245 arg6
= static_cast< int >(val6
);
6248 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6249 if (!SWIG_IsOK(ecode7
)) {
6250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoice" "', expected argument " "7"" of type '" "int""'");
6252 arg7
= static_cast< int >(val7
);
6255 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6256 if (!SWIG_IsOK(ecode8
)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoice" "', expected argument " "8"" of type '" "bool""'");
6259 arg8
= static_cast< bool >(val8
);
6262 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6263 if (!SWIG_IsOK(ecode9
)) {
6264 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoice" "', expected argument " "9"" of type '" "int""'");
6266 arg9
= static_cast< int >(val9
);
6269 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6270 if (!SWIG_IsOK(ecode10
)) {
6271 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoice" "', expected argument " "10"" of type '" "int""'");
6273 arg10
= static_cast< int >(val10
);
6276 if (!wxPyCheckForApp()) SWIG_fail
;
6277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6278 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6298 if (arg4
) delete [] arg4
;
6311 if (arg4
) delete [] arg4
;
6317 SWIGINTERN PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxString
*arg1
= 0 ;
6320 wxString
*arg2
= 0 ;
6322 wxString
*arg4
= (wxString
*) 0 ;
6323 wxWindow
*arg5
= (wxWindow
*) NULL
;
6324 int arg6
= (int) -1 ;
6325 int arg7
= (int) -1 ;
6326 bool arg8
= (bool) true ;
6327 int arg9
= (int) 150 ;
6328 int arg10
= (int) 200 ;
6330 bool temp1
= false ;
6331 bool temp2
= false ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 PyObject
* obj2
= 0 ;
6347 PyObject
* obj3
= 0 ;
6348 PyObject
* obj4
= 0 ;
6349 PyObject
* obj5
= 0 ;
6350 PyObject
* obj6
= 0 ;
6351 PyObject
* obj7
= 0 ;
6352 PyObject
* obj8
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6359 arg1
= wxString_in_helper(obj0
);
6360 if (arg1
== NULL
) SWIG_fail
;
6364 arg2
= wxString_in_helper(obj1
);
6365 if (arg2
== NULL
) SWIG_fail
;
6369 arg3
= PyList_Size(obj2
);
6370 arg4
= wxString_LIST_helper(obj2
);
6371 if (arg4
== NULL
) SWIG_fail
;
6374 res5
= SWIG_ConvertPtr(obj3
, &argp5
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6375 if (!SWIG_IsOK(res5
)) {
6376 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "GetSingleChoiceIndex" "', expected argument " "5"" of type '" "wxWindow *""'");
6378 arg5
= reinterpret_cast< wxWindow
* >(argp5
);
6381 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
6382 if (!SWIG_IsOK(ecode6
)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetSingleChoiceIndex" "', expected argument " "6"" of type '" "int""'");
6385 arg6
= static_cast< int >(val6
);
6388 ecode7
= SWIG_AsVal_int(obj5
, &val7
);
6389 if (!SWIG_IsOK(ecode7
)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GetSingleChoiceIndex" "', expected argument " "7"" of type '" "int""'");
6392 arg7
= static_cast< int >(val7
);
6395 ecode8
= SWIG_AsVal_bool(obj6
, &val8
);
6396 if (!SWIG_IsOK(ecode8
)) {
6397 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "GetSingleChoiceIndex" "', expected argument " "8"" of type '" "bool""'");
6399 arg8
= static_cast< bool >(val8
);
6402 ecode9
= SWIG_AsVal_int(obj7
, &val9
);
6403 if (!SWIG_IsOK(ecode9
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GetSingleChoiceIndex" "', expected argument " "9"" of type '" "int""'");
6406 arg9
= static_cast< int >(val9
);
6409 ecode10
= SWIG_AsVal_int(obj8
, &val10
);
6410 if (!SWIG_IsOK(ecode10
)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "GetSingleChoiceIndex" "', expected argument " "10"" of type '" "int""'");
6413 arg10
= static_cast< int >(val10
);
6416 if (!wxPyCheckForApp()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= SWIG_From_int(static_cast< int >(result
));
6432 if (arg4
) delete [] arg4
;
6445 if (arg4
) delete [] arg4
;
6451 SWIGINTERN PyObject
*_wrap_MessageBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6452 PyObject
*resultobj
= 0;
6453 wxString
*arg1
= 0 ;
6454 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6455 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6456 int arg3
= (int) wxOK
|wxCENTRE
;
6457 wxWindow
*arg4
= (wxWindow
*) NULL
;
6458 int arg5
= (int) -1 ;
6459 int arg6
= (int) -1 ;
6461 bool temp1
= false ;
6462 bool temp2
= false ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6473 PyObject
* obj2
= 0 ;
6474 PyObject
* obj3
= 0 ;
6475 PyObject
* obj4
= 0 ;
6476 PyObject
* obj5
= 0 ;
6477 char * kwnames
[] = {
6478 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
6481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
6483 arg1
= wxString_in_helper(obj0
);
6484 if (arg1
== NULL
) SWIG_fail
;
6489 arg2
= wxString_in_helper(obj1
);
6490 if (arg2
== NULL
) SWIG_fail
;
6495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6496 if (!SWIG_IsOK(ecode3
)) {
6497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MessageBox" "', expected argument " "3"" of type '" "int""'");
6499 arg3
= static_cast< int >(val3
);
6502 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6503 if (!SWIG_IsOK(res4
)) {
6504 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "MessageBox" "', expected argument " "4"" of type '" "wxWindow *""'");
6506 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
6509 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
6510 if (!SWIG_IsOK(ecode5
)) {
6511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "MessageBox" "', expected argument " "5"" of type '" "int""'");
6513 arg5
= static_cast< int >(val5
);
6516 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
6517 if (!SWIG_IsOK(ecode6
)) {
6518 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "MessageBox" "', expected argument " "6"" of type '" "int""'");
6520 arg6
= static_cast< int >(val6
);
6523 if (!wxPyCheckForApp()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_From_int(static_cast< int >(result
));
6552 SWIGINTERN PyObject
*_wrap_GetNumberFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6553 PyObject
*resultobj
= 0;
6554 wxString
*arg1
= 0 ;
6555 wxString
*arg2
= 0 ;
6556 wxString
*arg3
= 0 ;
6558 long arg5
= (long) 0 ;
6559 long arg6
= (long) 100 ;
6560 wxWindow
*arg7
= (wxWindow
*) NULL
;
6561 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
6562 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
6564 bool temp1
= false ;
6565 bool temp2
= false ;
6566 bool temp3
= false ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6579 PyObject
* obj3
= 0 ;
6580 PyObject
* obj4
= 0 ;
6581 PyObject
* obj5
= 0 ;
6582 PyObject
* obj6
= 0 ;
6583 PyObject
* obj7
= 0 ;
6584 char * kwnames
[] = {
6585 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
6588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6590 arg1
= wxString_in_helper(obj0
);
6591 if (arg1
== NULL
) SWIG_fail
;
6595 arg2
= wxString_in_helper(obj1
);
6596 if (arg2
== NULL
) SWIG_fail
;
6600 arg3
= wxString_in_helper(obj2
);
6601 if (arg3
== NULL
) SWIG_fail
;
6604 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
6605 if (!SWIG_IsOK(ecode4
)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GetNumberFromUser" "', expected argument " "4"" of type '" "long""'");
6608 arg4
= static_cast< long >(val4
);
6610 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
6611 if (!SWIG_IsOK(ecode5
)) {
6612 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GetNumberFromUser" "', expected argument " "5"" of type '" "long""'");
6614 arg5
= static_cast< long >(val5
);
6617 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6618 if (!SWIG_IsOK(ecode6
)) {
6619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GetNumberFromUser" "', expected argument " "6"" of type '" "long""'");
6621 arg6
= static_cast< long >(val6
);
6624 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6625 if (!SWIG_IsOK(res7
)) {
6626 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "GetNumberFromUser" "', expected argument " "7"" of type '" "wxWindow *""'");
6628 arg7
= reinterpret_cast< wxWindow
* >(argp7
);
6633 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
6637 if (!wxPyCheckForApp()) SWIG_fail
;
6638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6639 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
6640 wxPyEndAllowThreads(__tstate
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_From_long(static_cast< long >(result
));
6674 SWIGINTERN PyObject
*_wrap_ColourDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6675 PyObject
*resultobj
= 0;
6678 if (!SWIG_Python_UnpackTuple(args
,"ColourDisplay",0,0,0)) SWIG_fail
;
6680 if (!wxPyCheckForApp()) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (bool)wxColourDisplay();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 SWIGINTERN PyObject
*_wrap_DisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6696 PyObject
*resultobj
= 0;
6699 if (!SWIG_Python_UnpackTuple(args
,"DisplayDepth",0,0,0)) SWIG_fail
;
6701 if (!wxPyCheckForApp()) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (int)wxDisplayDepth();
6704 wxPyEndAllowThreads(__tstate
);
6705 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= SWIG_From_int(static_cast< int >(result
));
6714 SWIGINTERN PyObject
*_wrap_GetDisplayDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6715 PyObject
*resultobj
= 0;
6718 if (!SWIG_Python_UnpackTuple(args
,"GetDisplayDepth",0,0,0)) SWIG_fail
;
6720 if (!wxPyCheckForApp()) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 result
= (int)wxGetDisplayDepth();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_From_int(static_cast< int >(result
));
6733 SWIGINTERN PyObject
*_wrap_DisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6734 PyObject
*resultobj
= 0;
6735 int *arg1
= (int *) 0 ;
6736 int *arg2
= (int *) 0 ;
6738 int res1
= SWIG_TMPOBJ
;
6740 int res2
= SWIG_TMPOBJ
;
6744 if (!SWIG_Python_UnpackTuple(args
,"DisplaySize",0,0,0)) SWIG_fail
;
6746 if (!wxPyCheckForApp()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 wxDisplaySize(arg1
,arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_Py_Void();
6753 if (SWIG_IsTmpObj(res1
)) {
6754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6756 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6759 if (SWIG_IsTmpObj(res2
)) {
6760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6762 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6771 SWIGINTERN PyObject
*_wrap_GetDisplaySize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6772 PyObject
*resultobj
= 0;
6775 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySize",0,0,0)) SWIG_fail
;
6777 if (!wxPyCheckForApp()) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= wxGetDisplaySize();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6790 SWIGINTERN PyObject
*_wrap_DisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6791 PyObject
*resultobj
= 0;
6792 int *arg1
= (int *) 0 ;
6793 int *arg2
= (int *) 0 ;
6795 int res1
= SWIG_TMPOBJ
;
6797 int res2
= SWIG_TMPOBJ
;
6801 if (!SWIG_Python_UnpackTuple(args
,"DisplaySizeMM",0,0,0)) SWIG_fail
;
6803 if (!wxPyCheckForApp()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 wxDisplaySizeMM(arg1
,arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_Py_Void();
6810 if (SWIG_IsTmpObj(res1
)) {
6811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6813 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6816 if (SWIG_IsTmpObj(res2
)) {
6817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6819 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6828 SWIGINTERN PyObject
*_wrap_GetDisplaySizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6829 PyObject
*resultobj
= 0;
6832 if (!SWIG_Python_UnpackTuple(args
,"GetDisplaySizeMM",0,0,0)) SWIG_fail
;
6834 if (!wxPyCheckForApp()) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= wxGetDisplaySizeMM();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6847 SWIGINTERN PyObject
*_wrap_ClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 PyObject
*resultobj
= 0;
6849 int *arg1
= (int *) 0 ;
6850 int *arg2
= (int *) 0 ;
6851 int *arg3
= (int *) 0 ;
6852 int *arg4
= (int *) 0 ;
6854 int res1
= SWIG_TMPOBJ
;
6856 int res2
= SWIG_TMPOBJ
;
6858 int res3
= SWIG_TMPOBJ
;
6860 int res4
= SWIG_TMPOBJ
;
6866 if (!SWIG_Python_UnpackTuple(args
,"ClientDisplayRect",0,0,0)) SWIG_fail
;
6868 if (!wxPyCheckForApp()) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_Py_Void();
6875 if (SWIG_IsTmpObj(res1
)) {
6876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg1
)));
6878 int new_flags
= SWIG_IsNewObj(res1
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, new_flags
));
6881 if (SWIG_IsTmpObj(res2
)) {
6882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
6884 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6885 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
6887 if (SWIG_IsTmpObj(res3
)) {
6888 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
6890 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
6893 if (SWIG_IsTmpObj(res4
)) {
6894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
6896 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
6905 SWIGINTERN PyObject
*_wrap_GetClientDisplayRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6906 PyObject
*resultobj
= 0;
6909 if (!SWIG_Python_UnpackTuple(args
,"GetClientDisplayRect",0,0,0)) SWIG_fail
;
6911 if (!wxPyCheckForApp()) SWIG_fail
;
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 result
= wxGetClientDisplayRect();
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6924 SWIGINTERN PyObject
*_wrap_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
= 0;
6926 wxCursor
*arg1
= 0 ;
6929 PyObject
* obj0
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "cursor", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) SWIG_fail
;
6935 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxCursor
, 0 );
6936 if (!SWIG_IsOK(res1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursor" "', expected argument " "1"" of type '" "wxCursor &""'");
6942 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6944 if (!wxPyCheckForApp()) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 resultobj
= SWIG_Py_Void();
6957 SWIGINTERN PyObject
*_wrap_GetXDisplay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6958 PyObject
*resultobj
= 0;
6961 if (!SWIG_Python_UnpackTuple(args
,"GetXDisplay",0,0,0)) SWIG_fail
;
6963 if (!wxPyCheckForApp()) SWIG_fail
;
6964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6965 result
= (void *)wxGetXDisplay();
6966 wxPyEndAllowThreads(__tstate
);
6967 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
6976 SWIGINTERN PyObject
*_wrap_BeginBusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6977 PyObject
*resultobj
= 0;
6978 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
6981 PyObject
* obj0
= 0 ;
6982 char * kwnames
[] = {
6983 (char *) "cursor", NULL
6986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) SWIG_fail
;
6988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
6989 if (!SWIG_IsOK(res1
)) {
6990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BeginBusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
6992 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
6995 if (!wxPyCheckForApp()) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 wxBeginBusyCursor(arg1
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 resultobj
= SWIG_Py_Void();
7008 SWIGINTERN PyObject
*_wrap_GetMousePosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7009 PyObject
*resultobj
= 0;
7012 if (!SWIG_Python_UnpackTuple(args
,"GetMousePosition",0,0,0)) SWIG_fail
;
7014 if (!wxPyCheckForApp()) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= wxGetMousePosition();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7027 SWIGINTERN PyObject
*_wrap_FindWindowAtPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7028 PyObject
*resultobj
= 0;
7029 wxWindow
*result
= 0 ;
7031 if (!SWIG_Python_UnpackTuple(args
,"FindWindowAtPointer",0,0,0)) SWIG_fail
;
7033 if (!wxPyCheckForApp()) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (wxWindow
*)FindWindowAtPointer();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= wxPyMake_wxObject(result
, 0);
7048 SWIGINTERN PyObject
*_wrap_GetActiveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7049 PyObject
*resultobj
= 0;
7050 wxWindow
*result
= 0 ;
7052 if (!SWIG_Python_UnpackTuple(args
,"GetActiveWindow",0,0,0)) SWIG_fail
;
7054 if (!wxPyCheckForApp()) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (wxWindow
*)wxGetActiveWindow();
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= wxPyMake_wxObject(result
, 0);
7069 SWIGINTERN PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
= 0;
7072 wxWindow
*result
= 0 ;
7074 PyObject
* obj0
= 0 ;
7075 char * kwnames
[] = {
7079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7082 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7085 if (!wxPyCheckForApp()) SWIG_fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7092 resultobj
= wxPyMake_wxObject(result
, 0);
7100 SWIGINTERN PyObject
*_wrap_FindWindowAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7101 PyObject
*resultobj
= 0;
7103 wxWindow
*result
= 0 ;
7105 PyObject
* obj0
= 0 ;
7106 char * kwnames
[] = {
7110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) SWIG_fail
;
7113 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7116 if (!wxPyCheckForApp()) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= wxPyMake_wxObject(result
, 0);
7131 SWIGINTERN PyObject
*_wrap_GetTopLevelParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
= 0;
7133 wxWindow
*arg1
= (wxWindow
*) 0 ;
7134 wxWindow
*result
= 0 ;
7137 PyObject
* obj0
= 0 ;
7138 char * kwnames
[] = {
7139 (char *) "win", NULL
7142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) SWIG_fail
;
7143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7144 if (!SWIG_IsOK(res1
)) {
7145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetTopLevelParent" "', expected argument " "1"" of type '" "wxWindow *""'");
7147 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7149 if (!wxPyCheckForApp()) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= wxPyMake_wxObject(result
, 0);
7164 SWIGINTERN PyObject
*_wrap_LaunchDefaultBrowser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
= 0;
7166 wxString
*arg1
= 0 ;
7168 bool temp1
= false ;
7169 PyObject
* obj0
= 0 ;
7170 char * kwnames
[] = {
7171 (char *) "url", NULL
7174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LaunchDefaultBrowser",kwnames
,&obj0
)) SWIG_fail
;
7176 arg1
= wxString_in_helper(obj0
);
7177 if (arg1
== NULL
) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (bool)wxLaunchDefaultBrowser((wxString
const &)*arg1
);
7183 wxPyEndAllowThreads(__tstate
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7203 SWIGINTERN PyObject
*_wrap_GetKeyState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= 0;
7209 PyObject
* obj0
= 0 ;
7210 char * kwnames
[] = {
7211 (char *) "key", NULL
7214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) SWIG_fail
;
7215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7216 if (!SWIG_IsOK(ecode1
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetKeyState" "', expected argument " "1"" of type '" "wxKeyCode""'");
7219 arg1
= static_cast< wxKeyCode
>(val1
);
7221 if (!wxPyCheckForApp()) SWIG_fail
;
7222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7223 result
= (bool)wxGetKeyState(arg1
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7236 SWIGINTERN PyObject
*_wrap_new_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7237 PyObject
*resultobj
= 0;
7238 wxMouseState
*result
= 0 ;
7240 if (!SWIG_Python_UnpackTuple(args
,"new_MouseState",0,0,0)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxMouseState
*)new wxMouseState();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_NEW
| 0 );
7254 SWIGINTERN PyObject
*_wrap_delete_MouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7255 PyObject
*resultobj
= 0;
7256 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, SWIG_POINTER_DISOWN
| 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MouseState" "', expected argument " "1"" of type '" "wxMouseState *""'");
7267 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 resultobj
= SWIG_Py_Void();
7282 SWIGINTERN PyObject
*_wrap_MouseState_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7283 PyObject
*resultobj
= 0;
7284 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7288 PyObject
*swig_obj
[1] ;
7290 if (!args
) SWIG_fail
;
7292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7293 if (!SWIG_IsOK(res1
)) {
7294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7296 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= (int)(arg1
)->GetX();
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= SWIG_From_int(static_cast< int >(result
));
7310 SWIGINTERN PyObject
*_wrap_MouseState_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7311 PyObject
*resultobj
= 0;
7312 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7316 PyObject
*swig_obj
[1] ;
7318 if (!args
) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_GetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7324 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7327 result
= (int)(arg1
)->GetY();
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_From_int(static_cast< int >(result
));
7338 SWIGINTERN PyObject
*_wrap_MouseState_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7339 PyObject
*resultobj
= 0;
7340 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7344 PyObject
*swig_obj
[1] ;
7346 if (!args
) SWIG_fail
;
7348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7349 if (!SWIG_IsOK(res1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_LeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7352 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (bool)(arg1
)->LeftDown();
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7368 SWIGINTERN PyObject
*_wrap_MouseState_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7369 PyObject
*resultobj
= 0;
7370 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7374 PyObject
*swig_obj
[1] ;
7376 if (!args
) SWIG_fail
;
7378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7379 if (!SWIG_IsOK(res1
)) {
7380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7382 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (bool)(arg1
)->MiddleDown();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7398 SWIGINTERN PyObject
*_wrap_MouseState_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7399 PyObject
*resultobj
= 0;
7400 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7404 PyObject
*swig_obj
[1] ;
7406 if (!args
) SWIG_fail
;
7408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7409 if (!SWIG_IsOK(res1
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_RightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7412 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 result
= (bool)(arg1
)->RightDown();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7428 SWIGINTERN PyObject
*_wrap_MouseState_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 PyObject
*resultobj
= 0;
7430 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7434 PyObject
*swig_obj
[1] ;
7436 if (!args
) SWIG_fail
;
7438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7439 if (!SWIG_IsOK(res1
)) {
7440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7442 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (bool)(arg1
)->ControlDown();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 SWIGINTERN PyObject
*_wrap_MouseState_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7459 PyObject
*resultobj
= 0;
7460 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7464 PyObject
*swig_obj
[1] ;
7466 if (!args
) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_ShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7472 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (bool)(arg1
)->ShiftDown();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 SWIGINTERN PyObject
*_wrap_MouseState_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7494 PyObject
*swig_obj
[1] ;
7496 if (!args
) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_AltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7502 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (bool)(arg1
)->AltDown();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7518 SWIGINTERN PyObject
*_wrap_MouseState_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7519 PyObject
*resultobj
= 0;
7520 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7524 PyObject
*swig_obj
[1] ;
7526 if (!args
) SWIG_fail
;
7528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7529 if (!SWIG_IsOK(res1
)) {
7530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_MetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7532 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (bool)(arg1
)->MetaDown();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7548 SWIGINTERN PyObject
*_wrap_MouseState_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7549 PyObject
*resultobj
= 0;
7550 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_CmdDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7562 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)(arg1
)->CmdDown();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7578 SWIGINTERN PyObject
*_wrap_MouseState_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
= 0;
7580 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7587 PyObject
* obj1
= 0 ;
7588 char * kwnames
[] = {
7589 (char *) "self",(char *) "x", NULL
7592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7594 if (!SWIG_IsOK(res1
)) {
7595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetX" "', expected argument " "1"" of type '" "wxMouseState *""'");
7597 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7599 if (!SWIG_IsOK(ecode2
)) {
7600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetX" "', expected argument " "2"" of type '" "int""'");
7602 arg2
= static_cast< int >(val2
);
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7609 resultobj
= SWIG_Py_Void();
7616 SWIGINTERN PyObject
*_wrap_MouseState_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
*resultobj
= 0;
7618 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7625 PyObject
* obj1
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "y", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetY" "', expected argument " "1"" of type '" "wxMouseState *""'");
7635 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7637 if (!SWIG_IsOK(ecode2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetY" "', expected argument " "2"" of type '" "int""'");
7640 arg2
= static_cast< int >(val2
);
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_Py_Void();
7654 SWIGINTERN PyObject
*_wrap_MouseState_SetLeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "down", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetLeftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetLeftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7673 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7674 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7675 if (!SWIG_IsOK(ecode2
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetLeftDown" "', expected argument " "2"" of type '" "bool""'");
7678 arg2
= static_cast< bool >(val2
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->SetLeftDown(arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_MouseState_SetMiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
= 0;
7694 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7700 PyObject
* obj0
= 0 ;
7701 PyObject
* obj1
= 0 ;
7702 char * kwnames
[] = {
7703 (char *) "self",(char *) "down", NULL
7706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMiddleDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7711 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7712 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7713 if (!SWIG_IsOK(ecode2
)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMiddleDown" "', expected argument " "2"" of type '" "bool""'");
7716 arg2
= static_cast< bool >(val2
);
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 (arg1
)->SetMiddleDown(arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_Py_Void();
7730 SWIGINTERN PyObject
*_wrap_MouseState_SetRightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
= 0;
7732 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7740 char * kwnames
[] = {
7741 (char *) "self",(char *) "down", NULL
7744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetRightDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetRightDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7749 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7750 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7751 if (!SWIG_IsOK(ecode2
)) {
7752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetRightDown" "', expected argument " "2"" of type '" "bool""'");
7754 arg2
= static_cast< bool >(val2
);
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 (arg1
)->SetRightDown(arg2
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_Py_Void();
7768 SWIGINTERN PyObject
*_wrap_MouseState_SetControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
= 0;
7770 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "down", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetControlDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetControlDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7787 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7788 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7789 if (!SWIG_IsOK(ecode2
)) {
7790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetControlDown" "', expected argument " "2"" of type '" "bool""'");
7792 arg2
= static_cast< bool >(val2
);
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 (arg1
)->SetControlDown(arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_Py_Void();
7806 SWIGINTERN PyObject
*_wrap_MouseState_SetShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
= 0;
7808 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7816 char * kwnames
[] = {
7817 (char *) "self",(char *) "down", NULL
7820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetShiftDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7822 if (!SWIG_IsOK(res1
)) {
7823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetShiftDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7825 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7826 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7827 if (!SWIG_IsOK(ecode2
)) {
7828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetShiftDown" "', expected argument " "2"" of type '" "bool""'");
7830 arg2
= static_cast< bool >(val2
);
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->SetShiftDown(arg2
);
7834 wxPyEndAllowThreads(__tstate
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 resultobj
= SWIG_Py_Void();
7844 SWIGINTERN PyObject
*_wrap_MouseState_SetAltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
= 0;
7846 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 char * kwnames
[] = {
7855 (char *) "self",(char *) "down", NULL
7858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetAltDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7860 if (!SWIG_IsOK(res1
)) {
7861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetAltDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7863 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7864 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7865 if (!SWIG_IsOK(ecode2
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetAltDown" "', expected argument " "2"" of type '" "bool""'");
7868 arg2
= static_cast< bool >(val2
);
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 (arg1
)->SetAltDown(arg2
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_Py_Void();
7882 SWIGINTERN PyObject
*_wrap_MouseState_SetMetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
= 0;
7884 wxMouseState
*arg1
= (wxMouseState
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7892 char * kwnames
[] = {
7893 (char *) "self",(char *) "down", NULL
7896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseState_SetMetaDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseState
, 0 | 0 );
7898 if (!SWIG_IsOK(res1
)) {
7899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseState_SetMetaDown" "', expected argument " "1"" of type '" "wxMouseState *""'");
7901 arg1
= reinterpret_cast< wxMouseState
* >(argp1
);
7902 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
7903 if (!SWIG_IsOK(ecode2
)) {
7904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseState_SetMetaDown" "', expected argument " "2"" of type '" "bool""'");
7906 arg2
= static_cast< bool >(val2
);
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 (arg1
)->SetMetaDown(arg2
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7913 resultobj
= SWIG_Py_Void();
7920 SWIGINTERN PyObject
*MouseState_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7923 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseState
, SWIG_NewClientData(obj
));
7924 return SWIG_Py_Void();
7927 SWIGINTERN PyObject
*MouseState_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7928 return SWIG_Python_InitShadowInstance(args
);
7931 SWIGINTERN PyObject
*_wrap_GetMouseState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7932 PyObject
*resultobj
= 0;
7933 wxMouseState result
;
7935 if (!SWIG_Python_UnpackTuple(args
,"GetMouseState",0,0,0)) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7938 result
= wxGetMouseState();
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj((new wxMouseState(static_cast< const wxMouseState
& >(result
))), SWIGTYPE_p_wxMouseState
, SWIG_POINTER_OWN
| 0 );
7949 SWIGINTERN PyObject
*_wrap_WakeUpMainThread(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7950 PyObject
*resultobj
= 0;
7952 if (!SWIG_Python_UnpackTuple(args
,"WakeUpMainThread",0,0,0)) SWIG_fail
;
7954 if (!wxPyCheckForApp()) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 wxWakeUpMainThread();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_Py_Void();
7967 SWIGINTERN PyObject
*_wrap_MutexGuiEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 PyObject
*resultobj
= 0;
7970 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiEnter",0,0,0)) SWIG_fail
;
7972 if (!wxPyCheckForApp()) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_Py_Void();
7985 SWIGINTERN PyObject
*_wrap_MutexGuiLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7988 if (!SWIG_Python_UnpackTuple(args
,"MutexGuiLeave",0,0,0)) SWIG_fail
;
7990 if (!wxPyCheckForApp()) SWIG_fail
;
7991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_Py_Void();
8003 SWIGINTERN PyObject
*_wrap_new_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8005 wxMutexGuiLocker
*result
= 0 ;
8007 if (!SWIG_Python_UnpackTuple(args
,"new_MutexGuiLocker",0,0,0)) SWIG_fail
;
8009 if (!wxPyCheckForApp()) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_NEW
| 0 );
8022 SWIGINTERN PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 PyObject
*resultobj
= 0;
8024 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
8027 PyObject
*swig_obj
[1] ;
8029 if (!args
) SWIG_fail
;
8031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMutexGuiLocker
, SWIG_POINTER_DISOWN
| 0 );
8032 if (!SWIG_IsOK(res1
)) {
8033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MutexGuiLocker" "', expected argument " "1"" of type '" "wxMutexGuiLocker *""'");
8035 arg1
= reinterpret_cast< wxMutexGuiLocker
* >(argp1
);
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_Py_Void();
8050 SWIGINTERN PyObject
*MutexGuiLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxMutexGuiLocker
, SWIG_NewClientData(obj
));
8054 return SWIG_Py_Void();
8057 SWIGINTERN PyObject
*MutexGuiLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8058 return SWIG_Python_InitShadowInstance(args
);
8061 SWIGINTERN PyObject
*_wrap_Thread_IsMain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 PyObject
*resultobj
= 0;
8065 if (!SWIG_Python_UnpackTuple(args
,"Thread_IsMain",0,0,0)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (bool)wxThread_IsMain();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8081 SWIGINTERN PyObject
*_wrap_new_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
= 0;
8083 wxString
*arg1
= 0 ;
8084 wxToolTip
*result
= 0 ;
8085 bool temp1
= false ;
8086 PyObject
* obj0
= 0 ;
8087 char * kwnames
[] = {
8088 (char *) "tip", NULL
8091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) SWIG_fail
;
8093 arg1
= wxString_in_helper(obj0
);
8094 if (arg1
== NULL
) SWIG_fail
;
8098 if (!wxPyCheckForApp()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_NEW
| 0 );
8119 SWIGINTERN PyObject
*_wrap_delete_ToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8120 PyObject
*resultobj
= 0;
8121 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8124 PyObject
*swig_obj
[1] ;
8126 if (!args
) SWIG_fail
;
8128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
8129 if (!SWIG_IsOK(res1
)) {
8130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ToolTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8132 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_Py_Void();
8147 SWIGINTERN PyObject
*_wrap_ToolTip_SetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
= 0;
8149 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8150 wxString
*arg2
= 0 ;
8153 bool temp2
= false ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8156 char * kwnames
[] = {
8157 (char *) "self",(char *) "tip", NULL
8160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8162 if (!SWIG_IsOK(res1
)) {
8163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_SetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8165 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8167 arg2
= wxString_in_helper(obj1
);
8168 if (arg2
== NULL
) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 (arg1
)->SetTip((wxString
const &)*arg2
);
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_Py_Void();
8192 SWIGINTERN PyObject
*_wrap_ToolTip_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8193 PyObject
*resultobj
= 0;
8194 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8198 PyObject
*swig_obj
[1] ;
8200 if (!args
) SWIG_fail
;
8202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8203 if (!SWIG_IsOK(res1
)) {
8204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetTip" "', expected argument " "1"" of type '" "wxToolTip *""'");
8206 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (arg1
)->GetTip();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8226 SWIGINTERN PyObject
*_wrap_ToolTip_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8227 PyObject
*resultobj
= 0;
8228 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
8229 wxWindow
*result
= 0 ;
8232 PyObject
*swig_obj
[1] ;
8234 if (!args
) SWIG_fail
;
8236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolTip
, 0 | 0 );
8237 if (!SWIG_IsOK(res1
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolTip_GetWindow" "', expected argument " "1"" of type '" "wxToolTip *""'");
8240 arg1
= reinterpret_cast< wxToolTip
* >(argp1
);
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (wxWindow
*)(arg1
)->GetWindow();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= wxPyMake_wxObject(result
, 0);
8256 SWIGINTERN PyObject
*_wrap_ToolTip_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8257 PyObject
*resultobj
= 0;
8261 PyObject
* obj0
= 0 ;
8262 char * kwnames
[] = {
8263 (char *) "flag", NULL
8266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) SWIG_fail
;
8267 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
8268 if (!SWIG_IsOK(ecode1
)) {
8269 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_Enable" "', expected argument " "1"" of type '" "bool""'");
8271 arg1
= static_cast< bool >(val1
);
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 wxToolTip::Enable(arg1
);
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_Py_Void();
8285 SWIGINTERN PyObject
*_wrap_ToolTip_SetDelay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
= 0;
8290 PyObject
* obj0
= 0 ;
8291 char * kwnames
[] = {
8292 (char *) "milliseconds", NULL
8295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) SWIG_fail
;
8296 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
8297 if (!SWIG_IsOK(ecode1
)) {
8298 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolTip_SetDelay" "', expected argument " "1"" of type '" "long""'");
8300 arg1
= static_cast< long >(val1
);
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 wxToolTip::SetDelay(arg1
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_Py_Void();
8314 SWIGINTERN PyObject
*ToolTip_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8317 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolTip
, SWIG_NewClientData(obj
));
8318 return SWIG_Py_Void();
8321 SWIGINTERN PyObject
*ToolTip_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8322 return SWIG_Python_InitShadowInstance(args
);
8325 SWIGINTERN PyObject
*_wrap_new_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxWindow
*arg1
= (wxWindow
*) 0 ;
8329 wxCaret
*result
= 0 ;
8333 PyObject
* obj0
= 0 ;
8334 PyObject
* obj1
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "window",(char *) "size", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8341 if (!SWIG_IsOK(res1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Caret" "', expected argument " "1"" of type '" "wxWindow *""'");
8344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8350 if (!wxPyCheckForApp()) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_NEW
| 0 );
8363 SWIGINTERN PyObject
*_wrap_delete_Caret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8364 PyObject
*resultobj
= 0;
8365 wxCaret
*arg1
= (wxCaret
*) 0 ;
8368 PyObject
*swig_obj
[1] ;
8370 if (!args
) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Caret" "', expected argument " "1"" of type '" "wxCaret *""'");
8376 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_Py_Void();
8391 SWIGINTERN PyObject
*_wrap_Caret_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8392 PyObject
*resultobj
= 0;
8393 wxCaret
*arg1
= (wxCaret
*) 0 ;
8396 PyObject
*swig_obj
[1] ;
8398 if (!args
) SWIG_fail
;
8400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8401 if (!SWIG_IsOK(res1
)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Destroy" "', expected argument " "1"" of type '" "wxCaret *""'");
8404 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 wxCaret_Destroy(arg1
);
8408 wxPyEndAllowThreads(__tstate
);
8409 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= SWIG_Py_Void();
8418 SWIGINTERN PyObject
*_wrap_Caret_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 PyObject
*resultobj
= 0;
8420 wxCaret
*arg1
= (wxCaret
*) 0 ;
8424 PyObject
*swig_obj
[1] ;
8426 if (!args
) SWIG_fail
;
8428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8429 if (!SWIG_IsOK(res1
)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsOk" "', expected argument " "1"" of type '" "wxCaret *""'");
8432 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)(arg1
)->IsOk();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8448 SWIGINTERN PyObject
*_wrap_Caret_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8449 PyObject
*resultobj
= 0;
8450 wxCaret
*arg1
= (wxCaret
*) 0 ;
8454 PyObject
*swig_obj
[1] ;
8456 if (!args
) SWIG_fail
;
8458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8459 if (!SWIG_IsOK(res1
)) {
8460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_IsVisible" "', expected argument " "1"" of type '" "wxCaret *""'");
8462 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (bool)(arg1
)->IsVisible();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8478 SWIGINTERN PyObject
*_wrap_Caret_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8479 PyObject
*resultobj
= 0;
8480 wxCaret
*arg1
= (wxCaret
*) 0 ;
8484 PyObject
*swig_obj
[1] ;
8486 if (!args
) SWIG_fail
;
8488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8489 if (!SWIG_IsOK(res1
)) {
8490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPosition" "', expected argument " "1"" of type '" "wxCaret *""'");
8492 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8495 result
= (arg1
)->GetPosition();
8496 wxPyEndAllowThreads(__tstate
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
8506 SWIGINTERN PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8507 PyObject
*resultobj
= 0;
8508 wxCaret
*arg1
= (wxCaret
*) 0 ;
8509 int *arg2
= (int *) 0 ;
8510 int *arg3
= (int *) 0 ;
8514 int res2
= SWIG_TMPOBJ
;
8516 int res3
= SWIG_TMPOBJ
;
8517 PyObject
*swig_obj
[1] ;
8521 if (!args
) SWIG_fail
;
8523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8524 if (!SWIG_IsOK(res1
)) {
8525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetPositionTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8527 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 (arg1
)->GetPosition(arg2
,arg3
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_Py_Void();
8535 if (SWIG_IsTmpObj(res2
)) {
8536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8538 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8541 if (SWIG_IsTmpObj(res3
)) {
8542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8544 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8553 SWIGINTERN PyObject
*_wrap_Caret_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8554 PyObject
*resultobj
= 0;
8555 wxCaret
*arg1
= (wxCaret
*) 0 ;
8559 PyObject
*swig_obj
[1] ;
8561 if (!args
) SWIG_fail
;
8563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8564 if (!SWIG_IsOK(res1
)) {
8565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8567 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 result
= (arg1
)->GetSize();
8571 wxPyEndAllowThreads(__tstate
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
8581 SWIGINTERN PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8582 PyObject
*resultobj
= 0;
8583 wxCaret
*arg1
= (wxCaret
*) 0 ;
8584 int *arg2
= (int *) 0 ;
8585 int *arg3
= (int *) 0 ;
8589 int res2
= SWIG_TMPOBJ
;
8591 int res3
= SWIG_TMPOBJ
;
8592 PyObject
*swig_obj
[1] ;
8596 if (!args
) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetSizeTuple" "', expected argument " "1"" of type '" "wxCaret *""'");
8602 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 (arg1
)->GetSize(arg2
,arg3
);
8606 wxPyEndAllowThreads(__tstate
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= SWIG_Py_Void();
8610 if (SWIG_IsTmpObj(res2
)) {
8611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8613 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8616 if (SWIG_IsTmpObj(res3
)) {
8617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8628 SWIGINTERN PyObject
*_wrap_Caret_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8629 PyObject
*resultobj
= 0;
8630 wxCaret
*arg1
= (wxCaret
*) 0 ;
8631 wxWindow
*result
= 0 ;
8634 PyObject
*swig_obj
[1] ;
8636 if (!args
) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_GetWindow" "', expected argument " "1"" of type '" "wxCaret *""'");
8642 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 result
= (wxWindow
*)(arg1
)->GetWindow();
8646 wxPyEndAllowThreads(__tstate
);
8647 if (PyErr_Occurred()) SWIG_fail
;
8650 resultobj
= wxPyMake_wxObject(result
, 0);
8658 SWIGINTERN PyObject
*_wrap_Caret_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
*resultobj
= 0;
8660 wxCaret
*arg1
= (wxCaret
*) 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 PyObject
* obj2
= 0 ;
8672 char * kwnames
[] = {
8673 (char *) "self",(char *) "x",(char *) "y", NULL
8676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_MoveXY" "', expected argument " "1"" of type '" "wxCaret *""'");
8681 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8683 if (!SWIG_IsOK(ecode2
)) {
8684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_MoveXY" "', expected argument " "2"" of type '" "int""'");
8686 arg2
= static_cast< int >(val2
);
8687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8688 if (!SWIG_IsOK(ecode3
)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_MoveXY" "', expected argument " "3"" of type '" "int""'");
8691 arg3
= static_cast< int >(val3
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->Move(arg2
,arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_Py_Void();
8705 SWIGINTERN PyObject
*_wrap_Caret_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxCaret
*arg1
= (wxCaret
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 char * kwnames
[] = {
8715 (char *) "self",(char *) "pt", NULL
8718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8720 if (!SWIG_IsOK(res1
)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Move" "', expected argument " "1"" of type '" "wxCaret *""'");
8723 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8726 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 (arg1
)->Move((wxPoint
const &)*arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= SWIG_Py_Void();
8741 SWIGINTERN PyObject
*_wrap_Caret_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
= 0;
8743 wxCaret
*arg1
= (wxCaret
*) 0 ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "width",(char *) "height", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSizeWH" "', expected argument " "1"" of type '" "wxCaret *""'");
8764 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8766 if (!SWIG_IsOK(ecode2
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
8769 arg2
= static_cast< int >(val2
);
8770 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8771 if (!SWIG_IsOK(ecode3
)) {
8772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Caret_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
8774 arg3
= static_cast< int >(val3
);
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 (arg1
)->SetSize(arg2
,arg3
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 resultobj
= SWIG_Py_Void();
8788 SWIGINTERN PyObject
*_wrap_Caret_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8789 PyObject
*resultobj
= 0;
8790 wxCaret
*arg1
= (wxCaret
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8796 PyObject
* obj1
= 0 ;
8797 char * kwnames
[] = {
8798 (char *) "self",(char *) "size", NULL
8801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_SetSize" "', expected argument " "1"" of type '" "wxCaret *""'");
8806 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8809 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 (arg1
)->SetSize((wxSize
const &)*arg2
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_Py_Void();
8824 SWIGINTERN PyObject
*_wrap_Caret_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
= 0;
8826 wxCaret
*arg1
= (wxCaret
*) 0 ;
8827 int arg2
= (int) true ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8834 char * kwnames
[] = {
8835 (char *) "self",(char *) "show", NULL
8838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8840 if (!SWIG_IsOK(res1
)) {
8841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Show" "', expected argument " "1"" of type '" "wxCaret *""'");
8843 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8846 if (!SWIG_IsOK(ecode2
)) {
8847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Caret_Show" "', expected argument " "2"" of type '" "int""'");
8849 arg2
= static_cast< int >(val2
);
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_Py_Void();
8864 SWIGINTERN PyObject
*_wrap_Caret_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8865 PyObject
*resultobj
= 0;
8866 wxCaret
*arg1
= (wxCaret
*) 0 ;
8869 PyObject
*swig_obj
[1] ;
8871 if (!args
) SWIG_fail
;
8873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCaret
, 0 | 0 );
8874 if (!SWIG_IsOK(res1
)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Caret_Hide" "', expected argument " "1"" of type '" "wxCaret *""'");
8877 arg1
= reinterpret_cast< wxCaret
* >(argp1
);
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_Py_Void();
8891 SWIGINTERN PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8892 PyObject
*resultobj
= 0;
8895 if (!SWIG_Python_UnpackTuple(args
,"Caret_GetBlinkTime",0,0,0)) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (int)wxCaret::GetBlinkTime();
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_From_int(static_cast< int >(result
));
8909 SWIGINTERN PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
= 0;
8914 PyObject
* obj0
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "milliseconds", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) SWIG_fail
;
8920 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8921 if (!SWIG_IsOK(ecode1
)) {
8922 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Caret_SetBlinkTime" "', expected argument " "1"" of type '" "int""'");
8924 arg1
= static_cast< int >(val1
);
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 wxCaret::SetBlinkTime(arg1
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_Py_Void();
8938 SWIGINTERN PyObject
*Caret_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8941 SWIG_TypeNewClientData(SWIGTYPE_p_wxCaret
, SWIG_NewClientData(obj
));
8942 return SWIG_Py_Void();
8945 SWIGINTERN PyObject
*Caret_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8946 return SWIG_Python_InitShadowInstance(args
);
8949 SWIGINTERN PyObject
*_wrap_new_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
= 0;
8951 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
8952 wxBusyCursor
*result
= 0 ;
8955 PyObject
* obj0
= 0 ;
8956 char * kwnames
[] = {
8957 (char *) "cursor", NULL
8960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) SWIG_fail
;
8962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
8963 if (!SWIG_IsOK(res1
)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BusyCursor" "', expected argument " "1"" of type '" "wxCursor *""'");
8966 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
8969 if (!wxPyCheckForApp()) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_NEW
| 0 );
8982 SWIGINTERN PyObject
*_wrap_delete_BusyCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8983 PyObject
*resultobj
= 0;
8984 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
8987 PyObject
*swig_obj
[1] ;
8989 if (!args
) SWIG_fail
;
8991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyCursor
, SWIG_POINTER_DISOWN
| 0 );
8992 if (!SWIG_IsOK(res1
)) {
8993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyCursor" "', expected argument " "1"" of type '" "wxBusyCursor *""'");
8995 arg1
= reinterpret_cast< wxBusyCursor
* >(argp1
);
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= SWIG_Py_Void();
9010 SWIGINTERN PyObject
*BusyCursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9013 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyCursor
, SWIG_NewClientData(obj
));
9014 return SWIG_Py_Void();
9017 SWIGINTERN PyObject
*BusyCursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9018 return SWIG_Python_InitShadowInstance(args
);
9021 SWIGINTERN PyObject
*_wrap_new_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
= 0;
9023 wxWindow
*arg1
= (wxWindow
*) NULL
;
9024 wxWindowDisabler
*result
= 0 ;
9027 PyObject
* obj0
= 0 ;
9028 char * kwnames
[] = {
9029 (char *) "winToSkip", NULL
9032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) SWIG_fail
;
9034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9035 if (!SWIG_IsOK(res1
)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDisabler" "', expected argument " "1"" of type '" "wxWindow *""'");
9038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9041 if (!wxPyCheckForApp()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_NEW
| 0 );
9054 SWIGINTERN PyObject
*_wrap_delete_WindowDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9055 PyObject
*resultobj
= 0;
9056 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
9059 PyObject
*swig_obj
[1] ;
9061 if (!args
) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDisabler
, SWIG_POINTER_DISOWN
| 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_WindowDisabler" "', expected argument " "1"" of type '" "wxWindowDisabler *""'");
9067 arg1
= reinterpret_cast< wxWindowDisabler
* >(argp1
);
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 wxPyEndAllowThreads(__tstate
);
9073 if (PyErr_Occurred()) SWIG_fail
;
9075 resultobj
= SWIG_Py_Void();
9082 SWIGINTERN PyObject
*WindowDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9085 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDisabler
, SWIG_NewClientData(obj
));
9086 return SWIG_Py_Void();
9089 SWIGINTERN PyObject
*WindowDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9090 return SWIG_Python_InitShadowInstance(args
);
9093 SWIGINTERN PyObject
*_wrap_new_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9094 PyObject
*resultobj
= 0;
9095 wxString
*arg1
= 0 ;
9096 wxBusyInfo
*result
= 0 ;
9097 bool temp1
= false ;
9098 PyObject
* obj0
= 0 ;
9099 char * kwnames
[] = {
9100 (char *) "message", NULL
9103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) SWIG_fail
;
9105 arg1
= wxString_in_helper(obj0
);
9106 if (arg1
== NULL
) SWIG_fail
;
9110 if (!wxPyCheckForApp()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_NEW
| 0 );
9131 SWIGINTERN PyObject
*_wrap_delete_BusyInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 PyObject
*resultobj
= 0;
9133 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
9136 PyObject
*swig_obj
[1] ;
9138 if (!args
) SWIG_fail
;
9140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBusyInfo
, SWIG_POINTER_DISOWN
| 0 );
9141 if (!SWIG_IsOK(res1
)) {
9142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BusyInfo" "', expected argument " "1"" of type '" "wxBusyInfo *""'");
9144 arg1
= reinterpret_cast< wxBusyInfo
* >(argp1
);
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= SWIG_Py_Void();
9159 SWIGINTERN PyObject
*BusyInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9162 SWIG_TypeNewClientData(SWIGTYPE_p_wxBusyInfo
, SWIG_NewClientData(obj
));
9163 return SWIG_Py_Void();
9166 SWIGINTERN PyObject
*BusyInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9167 return SWIG_Python_InitShadowInstance(args
);
9170 SWIGINTERN PyObject
*_wrap_new_StopWatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9171 PyObject
*resultobj
= 0;
9172 wxStopWatch
*result
= 0 ;
9174 if (!SWIG_Python_UnpackTuple(args
,"new_StopWatch",0,0,0)) SWIG_fail
;
9176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9177 result
= (wxStopWatch
*)new wxStopWatch();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStopWatch
, SWIG_POINTER_NEW
| 0 );
9188 SWIGINTERN PyObject
*_wrap_StopWatch_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
= 0;
9190 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9191 long arg2
= (long) 0 ;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9198 char * kwnames
[] = {
9199 (char *) "self",(char *) "t0", NULL
9202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9204 if (!SWIG_IsOK(res1
)) {
9205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Start" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9207 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9209 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9210 if (!SWIG_IsOK(ecode2
)) {
9211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StopWatch_Start" "', expected argument " "2"" of type '" "long""'");
9213 arg2
= static_cast< long >(val2
);
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->Start(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9228 SWIGINTERN PyObject
*_wrap_StopWatch_Pause(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9229 PyObject
*resultobj
= 0;
9230 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9233 PyObject
*swig_obj
[1] ;
9235 if (!args
) SWIG_fail
;
9237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9238 if (!SWIG_IsOK(res1
)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Pause" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9241 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_Py_Void();
9255 SWIGINTERN PyObject
*_wrap_StopWatch_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9256 PyObject
*resultobj
= 0;
9257 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9260 PyObject
*swig_obj
[1] ;
9262 if (!args
) SWIG_fail
;
9264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9265 if (!SWIG_IsOK(res1
)) {
9266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Resume" "', expected argument " "1"" of type '" "wxStopWatch *""'");
9268 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= SWIG_Py_Void();
9282 SWIGINTERN PyObject
*_wrap_StopWatch_Time(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9283 PyObject
*resultobj
= 0;
9284 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStopWatch
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StopWatch_Time" "', expected argument " "1"" of type '" "wxStopWatch const *""'");
9296 arg1
= reinterpret_cast< wxStopWatch
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (long)((wxStopWatch
const *)arg1
)->Time();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_From_long(static_cast< long >(result
));
9310 SWIGINTERN PyObject
*StopWatch_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9313 SWIG_TypeNewClientData(SWIGTYPE_p_wxStopWatch
, SWIG_NewClientData(obj
));
9314 return SWIG_Py_Void();
9317 SWIGINTERN PyObject
*StopWatch_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9318 return SWIG_Python_InitShadowInstance(args
);
9321 SWIGINTERN PyObject
*_wrap_new_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= 0;
9323 int arg1
= (int) 9 ;
9324 int arg2
= (int) wxID_FILE1
;
9325 wxFileHistory
*result
= 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "maxFiles",(char *) "idBase", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9339 if (!SWIG_IsOK(ecode1
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileHistory" "', expected argument " "1"" of type '" "int""'");
9342 arg1
= static_cast< int >(val1
);
9345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9346 if (!SWIG_IsOK(ecode2
)) {
9347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FileHistory" "', expected argument " "2"" of type '" "int""'");
9349 arg2
= static_cast< int >(val2
);
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_NEW
| 0 );
9364 SWIGINTERN PyObject
*_wrap_delete_FileHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 PyObject
*resultobj
= 0;
9366 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9369 PyObject
*swig_obj
[1] ;
9371 if (!args
) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, SWIG_POINTER_DISOWN
| 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9377 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
= 0;
9394 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9395 wxString
*arg2
= 0 ;
9398 bool temp2
= false ;
9399 PyObject
* obj0
= 0 ;
9400 PyObject
* obj1
= 0 ;
9401 char * kwnames
[] = {
9402 (char *) "self",(char *) "file", NULL
9405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9407 if (!SWIG_IsOK(res1
)) {
9408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFileToHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9410 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9412 arg2
= wxString_in_helper(obj1
);
9413 if (arg2
== NULL
) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_Py_Void();
9437 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
= 0;
9439 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 char * kwnames
[] = {
9448 (char *) "self",(char *) "i", NULL
9451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9456 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9458 if (!SWIG_IsOK(ecode2
)) {
9459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_RemoveFileFromHistory" "', expected argument " "2"" of type '" "int""'");
9461 arg2
= static_cast< int >(val2
);
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 (arg1
)->RemoveFileFromHistory(arg2
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= SWIG_Py_Void();
9475 SWIGINTERN PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9476 PyObject
*resultobj
= 0;
9477 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9481 PyObject
*swig_obj
[1] ;
9483 if (!args
) SWIG_fail
;
9485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9486 if (!SWIG_IsOK(res1
)) {
9487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetMaxFiles" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9489 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9496 resultobj
= SWIG_From_int(static_cast< int >(result
));
9503 SWIGINTERN PyObject
*_wrap_FileHistory_UseMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
*resultobj
= 0;
9505 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9506 wxMenu
*arg2
= (wxMenu
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 char * kwnames
[] = {
9514 (char *) "self",(char *) "menu", NULL
9517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9519 if (!SWIG_IsOK(res1
)) {
9520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_UseMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9522 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9524 if (!SWIG_IsOK(res2
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_UseMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9527 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 (arg1
)->UseMenu(arg2
);
9531 wxPyEndAllowThreads(__tstate
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 resultobj
= SWIG_Py_Void();
9541 SWIGINTERN PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9542 PyObject
*resultobj
= 0;
9543 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9544 wxMenu
*arg2
= (wxMenu
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9551 char * kwnames
[] = {
9552 (char *) "self",(char *) "menu", NULL
9555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9557 if (!SWIG_IsOK(res1
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9560 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9562 if (!SWIG_IsOK(res2
)) {
9563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_RemoveMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9565 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 (arg1
)->RemoveMenu(arg2
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_Py_Void();
9579 SWIGINTERN PyObject
*_wrap_FileHistory_Load(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
= 0;
9581 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9582 wxConfigBase
*arg2
= 0 ;
9587 PyObject
* obj0
= 0 ;
9588 PyObject
* obj1
= 0 ;
9589 char * kwnames
[] = {
9590 (char *) "self",(char *) "config", NULL
9593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9595 if (!SWIG_IsOK(res1
)) {
9596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Load" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9598 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9600 if (!SWIG_IsOK(res2
)) {
9601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Load" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9606 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->Load(*arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_FileHistory_Save(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9623 wxConfigBase
*arg2
= 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "config", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_Save" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9639 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxConfigBase
, 0 );
9641 if (!SWIG_IsOK(res2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileHistory_Save" "', expected argument " "2"" of type '" "wxConfigBase &""'");
9647 arg2
= reinterpret_cast< wxConfigBase
* >(argp2
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->Save(*arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_Py_Void();
9661 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9662 PyObject
*resultobj
= 0;
9663 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9666 PyObject
*swig_obj
[1] ;
9668 if (!args
) SWIG_fail
;
9670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9671 if (!SWIG_IsOK(res1
)) {
9672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9674 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->AddFilesToMenu();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= SWIG_Py_Void();
9688 SWIGINTERN PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
= 0;
9690 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9691 wxMenu
*arg2
= (wxMenu
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9697 PyObject
* obj1
= 0 ;
9698 char * kwnames
[] = {
9699 (char *) "self",(char *) "menu", NULL
9702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9704 if (!SWIG_IsOK(res1
)) {
9705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "1"" of type '" "wxFileHistory *""'");
9707 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
9709 if (!SWIG_IsOK(res2
)) {
9710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileHistory_AddFilesToThisMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
9712 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
9714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9715 (arg1
)->AddFilesToMenu(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= SWIG_Py_Void();
9726 SWIGINTERN PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
= 0;
9728 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9737 char * kwnames
[] = {
9738 (char *) "self",(char *) "i", NULL
9741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9743 if (!SWIG_IsOK(res1
)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9746 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9748 if (!SWIG_IsOK(ecode2
)) {
9749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileHistory_GetHistoryFile" "', expected argument " "2"" of type '" "int""'");
9751 arg2
= static_cast< int >(val2
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9762 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9771 SWIGINTERN PyObject
*_wrap_FileHistory_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9772 PyObject
*resultobj
= 0;
9773 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
9777 PyObject
*swig_obj
[1] ;
9779 if (!args
) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileHistory
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileHistory_GetCount" "', expected argument " "1"" of type '" "wxFileHistory const *""'");
9785 arg1
= reinterpret_cast< wxFileHistory
* >(argp1
);
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
9789 wxPyEndAllowThreads(__tstate
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9792 resultobj
= SWIG_From_int(static_cast< int >(result
));
9799 SWIGINTERN PyObject
*FileHistory_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9802 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileHistory
, SWIG_NewClientData(obj
));
9803 return SWIG_Py_Void();
9806 SWIGINTERN PyObject
*FileHistory_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 return SWIG_Python_InitShadowInstance(args
);
9810 SWIGINTERN PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxString
*arg1
= 0 ;
9813 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9814 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9815 wxSingleInstanceChecker
*result
= 0 ;
9816 bool temp1
= false ;
9817 bool temp2
= false ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "name",(char *) "path", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9826 arg1
= wxString_in_helper(obj0
);
9827 if (arg1
== NULL
) SWIG_fail
;
9832 arg2
= wxString_in_helper(obj1
);
9833 if (arg2
== NULL
) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_NEW
| 0 );
9866 SWIGINTERN PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 PyObject
*resultobj
= 0;
9868 wxSingleInstanceChecker
*result
= 0 ;
9870 if (!SWIG_Python_UnpackTuple(args
,"new_PreSingleInstanceChecker",0,0,0)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_OWN
| 0 );
9884 SWIGINTERN PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9885 PyObject
*resultobj
= 0;
9886 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9889 PyObject
*swig_obj
[1] ;
9891 if (!args
) SWIG_fail
;
9893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_POINTER_DISOWN
| 0 );
9894 if (!SWIG_IsOK(res1
)) {
9895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SingleInstanceChecker" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9897 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 wxPyEndAllowThreads(__tstate
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= SWIG_Py_Void();
9912 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9913 PyObject
*resultobj
= 0;
9914 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9915 wxString
*arg2
= 0 ;
9916 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9921 bool temp2
= false ;
9922 bool temp3
= false ;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9925 PyObject
* obj2
= 0 ;
9926 char * kwnames
[] = {
9927 (char *) "self",(char *) "name",(char *) "path", NULL
9930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9932 if (!SWIG_IsOK(res1
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_Create" "', expected argument " "1"" of type '" "wxSingleInstanceChecker *""'");
9935 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9937 arg2
= wxString_in_helper(obj1
);
9938 if (arg2
== NULL
) SWIG_fail
;
9943 arg3
= wxString_in_helper(obj2
);
9944 if (arg3
== NULL
) SWIG_fail
;
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9979 SWIGINTERN PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 PyObject
*resultobj
= 0;
9981 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
9985 PyObject
*swig_obj
[1] ;
9987 if (!args
) SWIG_fail
;
9989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleInstanceChecker
, 0 | 0 );
9990 if (!SWIG_IsOK(res1
)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleInstanceChecker_IsAnotherRunning" "', expected argument " "1"" of type '" "wxSingleInstanceChecker const *""'");
9993 arg1
= reinterpret_cast< wxSingleInstanceChecker
* >(argp1
);
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
9997 wxPyEndAllowThreads(__tstate
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10009 SWIGINTERN PyObject
*SingleInstanceChecker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10011 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10012 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleInstanceChecker
, SWIG_NewClientData(obj
));
10013 return SWIG_Py_Void();
10016 SWIGINTERN PyObject
*SingleInstanceChecker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10017 return SWIG_Python_InitShadowInstance(args
);
10020 SWIGINTERN PyObject
*_wrap_DrawWindowOnDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
= 0;
10022 wxWindow
*arg1
= (wxWindow
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 char * kwnames
[] = {
10032 (char *) "window",(char *) "dc", NULL
10035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DrawWindowOnDC" "', expected argument " "1"" of type '" "wxWindow *""'");
10040 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
10042 if (!SWIG_IsOK(res2
)) {
10043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DrawWindowOnDC" "', expected argument " "2"" of type '" "wxDC const &""'");
10048 arg2
= reinterpret_cast< wxDC
* >(argp2
);
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (bool)wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
);
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10064 SWIGINTERN PyObject
*_wrap_delete_TipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10065 PyObject
*resultobj
= 0;
10066 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10069 PyObject
*swig_obj
[1] ;
10071 if (!args
) SWIG_fail
;
10072 swig_obj
[0] = args
;
10073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_DISOWN
| 0 );
10074 if (!SWIG_IsOK(res1
)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TipProvider" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10077 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10082 wxPyEndAllowThreads(__tstate
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= SWIG_Py_Void();
10092 SWIGINTERN PyObject
*_wrap_TipProvider_GetTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10093 PyObject
*resultobj
= 0;
10094 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10098 PyObject
*swig_obj
[1] ;
10100 if (!args
) SWIG_fail
;
10101 swig_obj
[0] = args
;
10102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10103 if (!SWIG_IsOK(res1
)) {
10104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10106 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 result
= (arg1
)->GetTip();
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10126 SWIGINTERN PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10127 PyObject
*resultobj
= 0;
10128 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10132 PyObject
*swig_obj
[1] ;
10134 if (!args
) SWIG_fail
;
10135 swig_obj
[0] = args
;
10136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10137 if (!SWIG_IsOK(res1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_GetCurrentTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10140 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (size_t)(arg1
)->GetCurrentTip();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
10154 SWIGINTERN PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
= 0;
10156 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
10157 wxString
*arg2
= 0 ;
10161 bool temp2
= false ;
10162 PyObject
* obj0
= 0 ;
10163 PyObject
* obj1
= 0 ;
10164 char * kwnames
[] = {
10165 (char *) "self",(char *) "tip", NULL
10168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10170 if (!SWIG_IsOK(res1
)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipProvider_PreprocessTip" "', expected argument " "1"" of type '" "wxTipProvider *""'");
10173 arg1
= reinterpret_cast< wxTipProvider
* >(argp1
);
10175 arg2
= wxString_in_helper(obj1
);
10176 if (arg2
== NULL
) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10206 SWIGINTERN PyObject
*TipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10209 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipProvider
, SWIG_NewClientData(obj
));
10210 return SWIG_Py_Void();
10213 SWIGINTERN PyObject
*_wrap_new_PyTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
= 0;
10216 wxPyTipProvider
*result
= 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char * kwnames
[] = {
10221 (char *) "currentTip", NULL
10224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) SWIG_fail
;
10225 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
10226 if (!SWIG_IsOK(ecode1
)) {
10227 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyTipProvider" "', expected argument " "1"" of type '" "size_t""'");
10229 arg1
= static_cast< size_t >(val1
);
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTipProvider
, SWIG_POINTER_NEW
| 0 );
10243 SWIGINTERN PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
= 0;
10245 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
10246 PyObject
*arg2
= (PyObject
*) 0 ;
10247 PyObject
*arg3
= (PyObject
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 PyObject
* obj1
= 0 ;
10252 PyObject
* obj2
= 0 ;
10253 char * kwnames
[] = {
10254 (char *) "self",(char *) "self",(char *) "_class", NULL
10257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTipProvider
, 0 | 0 );
10259 if (!SWIG_IsOK(res1
)) {
10260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTipProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTipProvider *""'");
10262 arg1
= reinterpret_cast< wxPyTipProvider
* >(argp1
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= SWIG_Py_Void();
10278 SWIGINTERN PyObject
*PyTipProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10281 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTipProvider
, SWIG_NewClientData(obj
));
10282 return SWIG_Py_Void();
10285 SWIGINTERN PyObject
*PyTipProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10286 return SWIG_Python_InitShadowInstance(args
);
10289 SWIGINTERN PyObject
*_wrap_ShowTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
= 0;
10291 wxWindow
*arg1
= (wxWindow
*) 0 ;
10292 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
10293 bool arg3
= (bool) true ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 char * kwnames
[] = {
10305 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
10308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10310 if (!SWIG_IsOK(res1
)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowTip" "', expected argument " "1"" of type '" "wxWindow *""'");
10313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTipProvider
, 0 | 0 );
10315 if (!SWIG_IsOK(res2
)) {
10316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ShowTip" "', expected argument " "2"" of type '" "wxTipProvider *""'");
10318 arg2
= reinterpret_cast< wxTipProvider
* >(argp2
);
10320 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10321 if (!SWIG_IsOK(ecode3
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ShowTip" "', expected argument " "3"" of type '" "bool""'");
10324 arg3
= static_cast< bool >(val3
);
10327 if (!wxPyCheckForApp()) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10342 SWIGINTERN PyObject
*_wrap_CreateFileTipProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
*resultobj
= 0;
10344 wxString
*arg1
= 0 ;
10346 wxTipProvider
*result
= 0 ;
10347 bool temp1
= false ;
10350 PyObject
* obj0
= 0 ;
10351 PyObject
* obj1
= 0 ;
10352 char * kwnames
[] = {
10353 (char *) "filename",(char *) "currentTip", NULL
10356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10358 arg1
= wxString_in_helper(obj0
);
10359 if (arg1
== NULL
) SWIG_fail
;
10362 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
10363 if (!SWIG_IsOK(ecode2
)) {
10364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CreateFileTipProvider" "', expected argument " "2"" of type '" "size_t""'");
10366 arg2
= static_cast< size_t >(val2
);
10368 if (!wxPyCheckForApp()) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
10371 wxPyEndAllowThreads(__tstate
);
10372 if (PyErr_Occurred()) SWIG_fail
;
10374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipProvider
, SWIG_POINTER_OWN
| 0 );
10389 SWIGINTERN PyObject
*_wrap_new_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10390 PyObject
*resultobj
= 0;
10391 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
10392 int arg2
= (int) wxID_ANY
;
10393 wxPyTimer
*result
= 0 ;
10398 PyObject
* obj0
= 0 ;
10399 PyObject
* obj1
= 0 ;
10400 char * kwnames
[] = {
10401 (char *) "owner",(char *) "id", NULL
10404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10407 if (!SWIG_IsOK(res1
)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Timer" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
10410 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
10413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10414 if (!SWIG_IsOK(ecode2
)) {
10415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Timer" "', expected argument " "2"" of type '" "int""'");
10417 arg2
= static_cast< int >(val2
);
10420 if (!wxPyCheckForApp()) SWIG_fail
;
10421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10422 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
10423 wxPyEndAllowThreads(__tstate
);
10424 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_NEW
| 0 );
10433 SWIGINTERN PyObject
*_wrap_delete_Timer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10434 PyObject
*resultobj
= 0;
10435 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10438 PyObject
*swig_obj
[1] ;
10440 if (!args
) SWIG_fail
;
10441 swig_obj
[0] = args
;
10442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, SWIG_POINTER_DISOWN
| 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Timer" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10446 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= SWIG_Py_Void();
10461 SWIGINTERN PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10462 PyObject
*resultobj
= 0;
10463 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10464 PyObject
*arg2
= (PyObject
*) 0 ;
10465 PyObject
*arg3
= (PyObject
*) 0 ;
10466 int arg4
= (int) 1 ;
10471 PyObject
* obj0
= 0 ;
10472 PyObject
* obj1
= 0 ;
10473 PyObject
* obj2
= 0 ;
10474 PyObject
* obj3
= 0 ;
10475 char * kwnames
[] = {
10476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
10479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10481 if (!SWIG_IsOK(res1
)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10484 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10488 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10489 if (!SWIG_IsOK(ecode4
)) {
10490 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Timer__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
10492 arg4
= static_cast< int >(val4
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= SWIG_Py_Void();
10507 SWIGINTERN PyObject
*_wrap_Timer_SetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
= 0;
10509 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10510 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10511 int arg3
= (int) wxID_ANY
;
10518 PyObject
* obj0
= 0 ;
10519 PyObject
* obj1
= 0 ;
10520 PyObject
* obj2
= 0 ;
10521 char * kwnames
[] = {
10522 (char *) "self",(char *) "owner",(char *) "id", NULL
10525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_SetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10530 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
10532 if (!SWIG_IsOK(res2
)) {
10533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Timer_SetOwner" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
10535 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
10537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10538 if (!SWIG_IsOK(ecode3
)) {
10539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_SetOwner" "', expected argument " "3"" of type '" "int""'");
10541 arg3
= static_cast< int >(val3
);
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 (arg1
)->SetOwner(arg2
,arg3
);
10546 wxPyEndAllowThreads(__tstate
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= SWIG_Py_Void();
10556 SWIGINTERN PyObject
*_wrap_Timer_GetOwner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10557 PyObject
*resultobj
= 0;
10558 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10559 wxEvtHandler
*result
= 0 ;
10562 PyObject
*swig_obj
[1] ;
10564 if (!args
) SWIG_fail
;
10565 swig_obj
[0] = args
;
10566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetOwner" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10570 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 resultobj
= wxPyMake_wxObject(result
, 0);
10586 SWIGINTERN PyObject
*_wrap_Timer_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10587 PyObject
*resultobj
= 0;
10588 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10589 int arg2
= (int) -1 ;
10590 bool arg3
= (bool) false ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 PyObject
* obj2
= 0 ;
10601 char * kwnames
[] = {
10602 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
10605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10607 if (!SWIG_IsOK(res1
)) {
10608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Start" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10610 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10613 if (!SWIG_IsOK(ecode2
)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Timer_Start" "', expected argument " "2"" of type '" "int""'");
10616 arg2
= static_cast< int >(val2
);
10619 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10620 if (!SWIG_IsOK(ecode3
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Timer_Start" "', expected argument " "3"" of type '" "bool""'");
10623 arg3
= static_cast< bool >(val3
);
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)(arg1
)->Start(arg2
,arg3
);
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10640 SWIGINTERN PyObject
*_wrap_Timer_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10641 PyObject
*resultobj
= 0;
10642 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10645 PyObject
*swig_obj
[1] ;
10647 if (!args
) SWIG_fail
;
10648 swig_obj
[0] = args
;
10649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10650 if (!SWIG_IsOK(res1
)) {
10651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Stop" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10653 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_Timer_Notify(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10668 PyObject
*resultobj
= 0;
10669 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10672 PyObject
*swig_obj
[1] ;
10674 if (!args
) SWIG_fail
;
10675 swig_obj
[0] = args
;
10676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10677 if (!SWIG_IsOK(res1
)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_Notify" "', expected argument " "1"" of type '" "wxPyTimer *""'");
10680 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 resultobj
= SWIG_Py_Void();
10694 SWIGINTERN PyObject
*_wrap_Timer_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10695 PyObject
*resultobj
= 0;
10696 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10700 PyObject
*swig_obj
[1] ;
10702 if (!args
) SWIG_fail
;
10703 swig_obj
[0] = args
;
10704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10705 if (!SWIG_IsOK(res1
)) {
10706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsRunning" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10708 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10724 SWIGINTERN PyObject
*_wrap_Timer_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10725 PyObject
*resultobj
= 0;
10726 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10730 PyObject
*swig_obj
[1] ;
10732 if (!args
) SWIG_fail
;
10733 swig_obj
[0] = args
;
10734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetInterval" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10738 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 resultobj
= SWIG_From_int(static_cast< int >(result
));
10752 SWIGINTERN PyObject
*_wrap_Timer_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10753 PyObject
*resultobj
= 0;
10754 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10758 PyObject
*swig_obj
[1] ;
10760 if (!args
) SWIG_fail
;
10761 swig_obj
[0] = args
;
10762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10763 if (!SWIG_IsOK(res1
)) {
10764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_GetId" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10766 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= SWIG_From_int(static_cast< int >(result
));
10780 SWIGINTERN PyObject
*_wrap_Timer_IsOneShot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10781 PyObject
*resultobj
= 0;
10782 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
10786 PyObject
*swig_obj
[1] ;
10788 if (!args
) SWIG_fail
;
10789 swig_obj
[0] = args
;
10790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTimer
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Timer_IsOneShot" "', expected argument " "1"" of type '" "wxPyTimer const *""'");
10794 arg1
= reinterpret_cast< wxPyTimer
* >(argp1
);
10796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10797 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10810 SWIGINTERN PyObject
*Timer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10813 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTimer
, SWIG_NewClientData(obj
));
10814 return SWIG_Py_Void();
10817 SWIGINTERN PyObject
*Timer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10818 return SWIG_Python_InitShadowInstance(args
);
10821 SWIGINTERN PyObject
*_wrap_new_TimerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
= 0;
10823 int arg1
= (int) 0 ;
10824 int arg2
= (int) 0 ;
10825 wxTimerEvent
*result
= 0 ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "timerid",(char *) "interval", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10838 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10839 if (!SWIG_IsOK(ecode1
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimerEvent" "', expected argument " "1"" of type '" "int""'");
10842 arg1
= static_cast< int >(val1
);
10845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10846 if (!SWIG_IsOK(ecode2
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerEvent" "', expected argument " "2"" of type '" "int""'");
10849 arg2
= static_cast< int >(val2
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerEvent
, SWIG_POINTER_NEW
| 0 );
10864 SWIGINTERN PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10865 PyObject
*resultobj
= 0;
10866 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
10870 PyObject
*swig_obj
[1] ;
10872 if (!args
) SWIG_fail
;
10873 swig_obj
[0] = args
;
10874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerEvent
, 0 | 0 );
10875 if (!SWIG_IsOK(res1
)) {
10876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerEvent_GetInterval" "', expected argument " "1"" of type '" "wxTimerEvent const *""'");
10878 arg1
= reinterpret_cast< wxTimerEvent
* >(argp1
);
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_From_int(static_cast< int >(result
));
10892 SWIGINTERN PyObject
*TimerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10895 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerEvent
, SWIG_NewClientData(obj
));
10896 return SWIG_Py_Void();
10899 SWIGINTERN PyObject
*TimerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10900 return SWIG_Python_InitShadowInstance(args
);
10903 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10904 PyObject
*resultobj
= 0;
10905 wxTimer
*arg1
= 0 ;
10906 wxTimerRunner
*result
= 0 ;
10910 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
10911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10912 if (!SWIG_IsOK(res1
)) {
10913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10918 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10920 if (!wxPyCheckForApp()) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10933 SWIGINTERN PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
10934 PyObject
*resultobj
= 0;
10935 wxTimer
*arg1
= 0 ;
10937 bool arg3
= (bool) false ;
10938 wxTimerRunner
*result
= 0 ;
10946 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
10947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxTimer
, 0 );
10948 if (!SWIG_IsOK(res1
)) {
10949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TimerRunner" "', expected argument " "1"" of type '" "wxTimer &""'");
10954 arg1
= reinterpret_cast< wxTimer
* >(argp1
);
10955 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
10956 if (!SWIG_IsOK(ecode2
)) {
10957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimerRunner" "', expected argument " "2"" of type '" "int""'");
10959 arg2
= static_cast< int >(val2
);
10961 ecode3
= SWIG_AsVal_bool(swig_obj
[2], &val3
);
10962 if (!SWIG_IsOK(ecode3
)) {
10963 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimerRunner" "', expected argument " "3"" of type '" "bool""'");
10965 arg3
= static_cast< bool >(val3
);
10968 if (!wxPyCheckForApp()) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_NEW
| 0 );
10981 SWIGINTERN PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
10985 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TimerRunner",0,3,argv
))) SWIG_fail
;
10988 return _wrap_new_TimerRunner__SWIG_0(self
, argc
, argv
);
10990 if ((argc
>= 2) && (argc
<= 3)) {
10991 return _wrap_new_TimerRunner__SWIG_1(self
, argc
, argv
);
10995 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TimerRunner'");
11000 SWIGINTERN PyObject
*_wrap_delete_TimerRunner(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11001 PyObject
*resultobj
= 0;
11002 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11005 PyObject
*swig_obj
[1] ;
11007 if (!args
) SWIG_fail
;
11008 swig_obj
[0] = args
;
11009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimerRunner
, SWIG_POINTER_DISOWN
| 0 );
11010 if (!SWIG_IsOK(res1
)) {
11011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimerRunner" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11013 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 resultobj
= SWIG_Py_Void();
11028 SWIGINTERN PyObject
*_wrap_TimerRunner_Start(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
= 0;
11030 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
11032 bool arg3
= (bool) false ;
11039 PyObject
* obj0
= 0 ;
11040 PyObject
* obj1
= 0 ;
11041 PyObject
* obj2
= 0 ;
11042 char * kwnames
[] = {
11043 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
11046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimerRunner
, 0 | 0 );
11048 if (!SWIG_IsOK(res1
)) {
11049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimerRunner_Start" "', expected argument " "1"" of type '" "wxTimerRunner *""'");
11051 arg1
= reinterpret_cast< wxTimerRunner
* >(argp1
);
11052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11053 if (!SWIG_IsOK(ecode2
)) {
11054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimerRunner_Start" "', expected argument " "2"" of type '" "int""'");
11056 arg2
= static_cast< int >(val2
);
11058 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11059 if (!SWIG_IsOK(ecode3
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TimerRunner_Start" "', expected argument " "3"" of type '" "bool""'");
11062 arg3
= static_cast< bool >(val3
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 (arg1
)->Start(arg2
,arg3
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_Py_Void();
11077 SWIGINTERN PyObject
*TimerRunner_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11080 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimerRunner
, SWIG_NewClientData(obj
));
11081 return SWIG_Py_Void();
11084 SWIGINTERN PyObject
*TimerRunner_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11085 return SWIG_Python_InitShadowInstance(args
);
11088 SWIGINTERN PyObject
*_wrap_new_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11089 PyObject
*resultobj
= 0;
11090 wxLog
*result
= 0 ;
11092 if (!SWIG_Python_UnpackTuple(args
,"new_Log",0,0,0)) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (wxLog
*)new wxLog();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_NEW
| 0 );
11106 SWIGINTERN PyObject
*_wrap_delete_Log(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11107 PyObject
*resultobj
= 0;
11108 wxLog
*arg1
= (wxLog
*) 0 ;
11111 PyObject
*swig_obj
[1] ;
11113 if (!args
) SWIG_fail
;
11114 swig_obj
[0] = args
;
11115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Log" "', expected argument " "1"" of type '" "wxLog *""'");
11119 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= SWIG_Py_Void();
11134 SWIGINTERN PyObject
*_wrap_Log_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11135 PyObject
*resultobj
= 0;
11138 if (!SWIG_Python_UnpackTuple(args
,"Log_IsEnabled",0,0,0)) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)wxLog::IsEnabled();
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_Log_EnableLogging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
= 0;
11156 bool arg1
= (bool) true ;
11160 PyObject
* obj0
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "doIt", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) SWIG_fail
;
11167 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11168 if (!SWIG_IsOK(ecode1
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_EnableLogging" "', expected argument " "1"" of type '" "bool""'");
11171 arg1
= static_cast< bool >(val1
);
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)wxLog::EnableLogging(arg1
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11188 SWIGINTERN PyObject
*_wrap_Log_OnLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
= 0;
11191 wxChar
*arg2
= (wxChar
*) 0 ;
11193 unsigned long val1
;
11197 unsigned int val3
;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 PyObject
* obj2
= 0 ;
11202 char * kwnames
[] = {
11203 (char *) "level",(char *) "szString",(char *) "t", NULL
11206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11207 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11208 if (!SWIG_IsOK(ecode1
)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_OnLog" "', expected argument " "1"" of type '" "wxLogLevel""'");
11211 arg1
= static_cast< wxLogLevel
>(val1
);
11212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
11213 if (!SWIG_IsOK(res2
)) {
11214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Log_OnLog" "', expected argument " "2"" of type '" "wxChar const *""'");
11216 arg2
= reinterpret_cast< wxChar
* >(argp2
);
11217 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
11218 if (!SWIG_IsOK(ecode3
)) {
11219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Log_OnLog" "', expected argument " "3"" of type '" "time_t""'");
11221 arg3
= static_cast< time_t >(val3
);
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_Py_Void();
11235 SWIGINTERN PyObject
*_wrap_Log_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11236 PyObject
*resultobj
= 0;
11237 wxLog
*arg1
= (wxLog
*) 0 ;
11240 PyObject
*swig_obj
[1] ;
11242 if (!args
) SWIG_fail
;
11243 swig_obj
[0] = args
;
11244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11245 if (!SWIG_IsOK(res1
)) {
11246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Flush" "', expected argument " "1"" of type '" "wxLog *""'");
11248 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= SWIG_Py_Void();
11262 SWIGINTERN PyObject
*_wrap_Log_FlushActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11263 PyObject
*resultobj
= 0;
11265 if (!SWIG_Python_UnpackTuple(args
,"Log_FlushActive",0,0,0)) SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 wxLog::FlushActive();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_Py_Void();
11279 SWIGINTERN PyObject
*_wrap_Log_GetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxLog
*result
= 0 ;
11283 if (!SWIG_Python_UnpackTuple(args
,"Log_GetActiveTarget",0,0,0)) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (wxLog
*)wxLog::GetActiveTarget();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
11297 SWIGINTERN PyObject
*_wrap_Log_SetActiveTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
= 0;
11299 wxLog
*arg1
= (wxLog
*) 0 ;
11300 wxLog
*result
= 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char * kwnames
[] = {
11304 (char *) "pLogger", NULL
11307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) SWIG_fail
;
11308 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxLog
, SWIG_POINTER_DISOWN
| 0 );
11309 if (!SWIG_IsOK(res1
)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetActiveTarget" "', expected argument " "1"" of type '" "wxLog *""'");
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, SWIG_POINTER_OWN
| 0 );
11325 SWIGINTERN PyObject
*_wrap_Log_Suspend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11326 PyObject
*resultobj
= 0;
11328 if (!SWIG_Python_UnpackTuple(args
,"Log_Suspend",0,0,0)) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_Py_Void();
11342 SWIGINTERN PyObject
*_wrap_Log_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11343 PyObject
*resultobj
= 0;
11345 if (!SWIG_Python_UnpackTuple(args
,"Log_Resume",0,0,0)) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_Py_Void();
11359 SWIGINTERN PyObject
*_wrap_Log_SetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
= 0;
11361 bool arg1
= (bool) true ;
11364 PyObject
* obj0
= 0 ;
11365 char * kwnames
[] = {
11366 (char *) "bVerbose", NULL
11369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) SWIG_fail
;
11371 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
11372 if (!SWIG_IsOK(ecode1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetVerbose" "', expected argument " "1"" of type '" "bool""'");
11375 arg1
= static_cast< bool >(val1
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 wxLog::SetVerbose(arg1
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_Py_Void();
11390 SWIGINTERN PyObject
*_wrap_Log_SetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= 0;
11393 unsigned long val1
;
11395 PyObject
* obj0
= 0 ;
11396 char * kwnames
[] = {
11397 (char *) "logLevel", NULL
11400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) SWIG_fail
;
11401 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11402 if (!SWIG_IsOK(ecode1
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetLogLevel" "', expected argument " "1"" of type '" "wxLogLevel""'");
11405 arg1
= static_cast< wxLogLevel
>(val1
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 wxLog::SetLogLevel(arg1
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_Py_Void();
11419 SWIGINTERN PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11422 if (!SWIG_Python_UnpackTuple(args
,"Log_DontCreateOnDemand",0,0,0)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 wxLog::DontCreateOnDemand();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_Py_Void();
11436 SWIGINTERN PyObject
*_wrap_Log_SetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
= 0;
11439 unsigned long val1
;
11441 PyObject
* obj0
= 0 ;
11442 char * kwnames
[] = {
11443 (char *) "ulMask", NULL
11446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11447 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
11448 if (!SWIG_IsOK(ecode1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Log_SetTraceMask" "', expected argument " "1"" of type '" "wxTraceMask""'");
11451 arg1
= static_cast< wxTraceMask
>(val1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 wxLog::SetTraceMask(arg1
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_Py_Void();
11465 SWIGINTERN PyObject
*_wrap_Log_AddTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
= 0;
11467 wxString
*arg1
= 0 ;
11468 bool temp1
= false ;
11469 PyObject
* obj0
= 0 ;
11470 char * kwnames
[] = {
11471 (char *) "str", NULL
11474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11476 arg1
= wxString_in_helper(obj0
);
11477 if (arg1
== NULL
) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 wxLog::AddTraceMask((wxString
const &)*arg1
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_Py_Void();
11501 SWIGINTERN PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= 0;
11503 wxString
*arg1
= 0 ;
11504 bool temp1
= false ;
11505 PyObject
* obj0
= 0 ;
11506 char * kwnames
[] = {
11507 (char *) "str", NULL
11510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11512 arg1
= wxString_in_helper(obj0
);
11513 if (arg1
== NULL
) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_Py_Void();
11537 SWIGINTERN PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11538 PyObject
*resultobj
= 0;
11540 if (!SWIG_Python_UnpackTuple(args
,"Log_ClearTraceMasks",0,0,0)) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 wxLog::ClearTraceMasks();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_Py_Void();
11554 SWIGINTERN PyObject
*_wrap_Log_GetTraceMasks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11555 PyObject
*resultobj
= 0;
11556 wxArrayString
*result
= 0 ;
11558 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMasks",0,0,0)) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
11563 result
= (wxArrayString
*) &_result_ref
;
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= wxArrayString2PyList_helper(*result
);
11577 SWIGINTERN PyObject
*_wrap_Log_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11578 PyObject
*resultobj
= 0;
11579 wxChar
*arg1
= (wxChar
*) 0 ;
11582 PyObject
* obj0
= 0 ;
11583 char * kwnames
[] = {
11584 (char *) "ts", NULL
11587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) SWIG_fail
;
11588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11589 if (!SWIG_IsOK(res1
)) {
11590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_SetTimestamp" "', expected argument " "1"" of type '" "wxChar const *""'");
11592 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 wxLog::SetTimestamp((wxChar
const *)arg1
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_Py_Void();
11606 SWIGINTERN PyObject
*_wrap_Log_GetVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11607 PyObject
*resultobj
= 0;
11610 if (!SWIG_Python_UnpackTuple(args
,"Log_GetVerbose",0,0,0)) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (bool)wxLog::GetVerbose();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11626 SWIGINTERN PyObject
*_wrap_Log_GetTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11627 PyObject
*resultobj
= 0;
11628 wxTraceMask result
;
11630 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTraceMask",0,0,0)) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 result
= (wxTraceMask
)wxLog::GetTraceMask();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11644 SWIGINTERN PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
= 0;
11646 wxChar
*arg1
= (wxChar
*) 0 ;
11650 PyObject
* obj0
= 0 ;
11651 char * kwnames
[] = {
11652 (char *) "mask", NULL
11655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) SWIG_fail
;
11656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChar
, 0 | 0 );
11657 if (!SWIG_IsOK(res1
)) {
11658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_IsAllowedTraceMask" "', expected argument " "1"" of type '" "wxChar const *""'");
11660 arg1
= reinterpret_cast< wxChar
* >(argp1
);
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11676 SWIGINTERN PyObject
*_wrap_Log_GetLogLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11677 PyObject
*resultobj
= 0;
11680 if (!SWIG_Python_UnpackTuple(args
,"Log_GetLogLevel",0,0,0)) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (wxLogLevel
)wxLog::GetLogLevel();
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
11694 SWIGINTERN PyObject
*_wrap_Log_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 PyObject
*resultobj
= 0;
11696 wxChar
*result
= 0 ;
11698 if (!SWIG_Python_UnpackTuple(args
,"Log_GetTimestamp",0,0,0)) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (wxChar
*)wxLog::GetTimestamp();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
11712 SWIGINTERN PyObject
*_wrap_Log_TimeStamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 PyObject
*resultobj
= 0;
11716 if (!SWIG_Python_UnpackTuple(args
,"Log_TimeStamp",0,0,0)) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= wxLog_TimeStamp();
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11736 SWIGINTERN PyObject
*_wrap_Log_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11737 PyObject
*resultobj
= 0;
11738 wxLog
*arg1
= (wxLog
*) 0 ;
11741 PyObject
*swig_obj
[1] ;
11743 if (!args
) SWIG_fail
;
11744 swig_obj
[0] = args
;
11745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Log_Destroy" "', expected argument " "1"" of type '" "wxLog *""'");
11749 arg1
= reinterpret_cast< wxLog
* >(argp1
);
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 wxLog_Destroy(arg1
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_Py_Void();
11763 SWIGINTERN PyObject
*Log_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11766 SWIG_TypeNewClientData(SWIGTYPE_p_wxLog
, SWIG_NewClientData(obj
));
11767 return SWIG_Py_Void();
11770 SWIGINTERN PyObject
*Log_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11771 return SWIG_Python_InitShadowInstance(args
);
11774 SWIGINTERN PyObject
*_wrap_new_LogStderr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11775 PyObject
*resultobj
= 0;
11776 wxLogStderr
*result
= 0 ;
11778 if (!SWIG_Python_UnpackTuple(args
,"new_LogStderr",0,0,0)) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (wxLogStderr
*)new wxLogStderr();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogStderr
, SWIG_POINTER_NEW
| 0 );
11792 SWIGINTERN PyObject
*LogStderr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11795 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogStderr
, SWIG_NewClientData(obj
));
11796 return SWIG_Py_Void();
11799 SWIGINTERN PyObject
*LogStderr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11800 return SWIG_Python_InitShadowInstance(args
);
11803 SWIGINTERN PyObject
*_wrap_new_LogTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
= 0;
11805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11806 wxLogTextCtrl
*result
= 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char * kwnames
[] = {
11811 (char *) "pTextCtrl", NULL
11814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) SWIG_fail
;
11815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogTextCtrl" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11819 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogTextCtrl
, SWIG_POINTER_NEW
| 0 );
11833 SWIGINTERN PyObject
*LogTextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11836 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogTextCtrl
, SWIG_NewClientData(obj
));
11837 return SWIG_Py_Void();
11840 SWIGINTERN PyObject
*LogTextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11841 return SWIG_Python_InitShadowInstance(args
);
11844 SWIGINTERN PyObject
*_wrap_new_LogGui(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11845 PyObject
*resultobj
= 0;
11846 wxLogGui
*result
= 0 ;
11848 if (!SWIG_Python_UnpackTuple(args
,"new_LogGui",0,0,0)) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (wxLogGui
*)new wxLogGui();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogGui
, SWIG_POINTER_NEW
| 0 );
11862 SWIGINTERN PyObject
*LogGui_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11865 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogGui
, SWIG_NewClientData(obj
));
11866 return SWIG_Py_Void();
11869 SWIGINTERN PyObject
*LogGui_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 return SWIG_Python_InitShadowInstance(args
);
11873 SWIGINTERN PyObject
*_wrap_new_LogWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
= 0;
11875 wxFrame
*arg1
= (wxFrame
*) 0 ;
11876 wxString
*arg2
= 0 ;
11877 bool arg3
= (bool) true ;
11878 bool arg4
= (bool) true ;
11879 wxLogWindow
*result
= 0 ;
11882 bool temp2
= false ;
11887 PyObject
* obj0
= 0 ;
11888 PyObject
* obj1
= 0 ;
11889 PyObject
* obj2
= 0 ;
11890 PyObject
* obj3
= 0 ;
11891 char * kwnames
[] = {
11892 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
11895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogWindow" "', expected argument " "1"" of type '" "wxFrame *""'");
11900 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
11902 arg2
= wxString_in_helper(obj1
);
11903 if (arg2
== NULL
) SWIG_fail
;
11907 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11908 if (!SWIG_IsOK(ecode3
)) {
11909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_LogWindow" "', expected argument " "3"" of type '" "bool""'");
11911 arg3
= static_cast< bool >(val3
);
11914 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
11915 if (!SWIG_IsOK(ecode4
)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_LogWindow" "', expected argument " "4"" of type '" "bool""'");
11918 arg4
= static_cast< bool >(val4
);
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogWindow
, SWIG_POINTER_NEW
| 0 );
11941 SWIGINTERN PyObject
*_wrap_LogWindow_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
= 0;
11943 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11944 bool arg2
= (bool) true ;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 char * kwnames
[] = {
11952 (char *) "self",(char *) "bShow", NULL
11955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_Show" "', expected argument " "1"" of type '" "wxLogWindow *""'");
11960 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11962 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11963 if (!SWIG_IsOK(ecode2
)) {
11964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_Show" "', expected argument " "2"" of type '" "bool""'");
11966 arg2
= static_cast< bool >(val2
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 (arg1
)->Show(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_Py_Void();
11981 SWIGINTERN PyObject
*_wrap_LogWindow_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11982 PyObject
*resultobj
= 0;
11983 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
11984 wxFrame
*result
= 0 ;
11987 PyObject
*swig_obj
[1] ;
11989 if (!args
) SWIG_fail
;
11990 swig_obj
[0] = args
;
11991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
11992 if (!SWIG_IsOK(res1
)) {
11993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetFrame" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
11995 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
11997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11998 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= wxPyMake_wxObject(result
, (bool)0);
12011 SWIGINTERN PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12012 PyObject
*resultobj
= 0;
12013 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12014 wxLog
*result
= 0 ;
12017 PyObject
*swig_obj
[1] ;
12019 if (!args
) SWIG_fail
;
12020 swig_obj
[0] = args
;
12021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12022 if (!SWIG_IsOK(res1
)) {
12023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_GetOldLog" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12025 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12039 SWIGINTERN PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12040 PyObject
*resultobj
= 0;
12041 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12045 PyObject
*swig_obj
[1] ;
12047 if (!args
) SWIG_fail
;
12048 swig_obj
[0] = args
;
12049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12050 if (!SWIG_IsOK(res1
)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogWindow const *""'");
12053 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12069 SWIGINTERN PyObject
*_wrap_LogWindow_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
= 0;
12071 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 PyObject
* obj1
= 0 ;
12079 char * kwnames
[] = {
12080 (char *) "self",(char *) "bDoPass", NULL
12083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogWindow
, 0 | 0 );
12085 if (!SWIG_IsOK(res1
)) {
12086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogWindow_PassMessages" "', expected argument " "1"" of type '" "wxLogWindow *""'");
12088 arg1
= reinterpret_cast< wxLogWindow
* >(argp1
);
12089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12090 if (!SWIG_IsOK(ecode2
)) {
12091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogWindow_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12093 arg2
= static_cast< bool >(val2
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->PassMessages(arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 resultobj
= SWIG_Py_Void();
12107 SWIGINTERN PyObject
*LogWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogWindow
, SWIG_NewClientData(obj
));
12111 return SWIG_Py_Void();
12114 SWIGINTERN PyObject
*LogWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12115 return SWIG_Python_InitShadowInstance(args
);
12118 SWIGINTERN PyObject
*_wrap_new_LogChain(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxLog
*arg1
= (wxLog
*) 0 ;
12121 wxLogChain
*result
= 0 ;
12124 PyObject
* obj0
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "logger", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLog
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_LogChain" "', expected argument " "1"" of type '" "wxLog *""'");
12134 arg1
= reinterpret_cast< wxLog
* >(argp1
);
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (wxLogChain
*)new wxLogChain(arg1
);
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogChain
, SWIG_POINTER_NEW
| 0 );
12148 SWIGINTERN PyObject
*_wrap_LogChain_SetLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
= 0;
12150 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12151 wxLog
*arg2
= (wxLog
*) 0 ;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 char * kwnames
[] = {
12159 (char *) "self",(char *) "logger", NULL
12162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_SetLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12167 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLog
, 0 | 0 );
12169 if (!SWIG_IsOK(res2
)) {
12170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LogChain_SetLog" "', expected argument " "2"" of type '" "wxLog *""'");
12172 arg2
= reinterpret_cast< wxLog
* >(argp2
);
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 (arg1
)->SetLog(arg2
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= SWIG_Py_Void();
12186 SWIGINTERN PyObject
*_wrap_LogChain_PassMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
= 0;
12188 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 char * kwnames
[] = {
12197 (char *) "self",(char *) "bDoPass", NULL
12200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12202 if (!SWIG_IsOK(res1
)) {
12203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_PassMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12205 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12206 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12207 if (!SWIG_IsOK(ecode2
)) {
12208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LogChain_PassMessages" "', expected argument " "2"" of type '" "bool""'");
12210 arg2
= static_cast< bool >(val2
);
12212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 (arg1
)->PassMessages(arg2
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 resultobj
= SWIG_Py_Void();
12224 SWIGINTERN PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12225 PyObject
*resultobj
= 0;
12226 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12230 PyObject
*swig_obj
[1] ;
12232 if (!args
) SWIG_fail
;
12233 swig_obj
[0] = args
;
12234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12235 if (!SWIG_IsOK(res1
)) {
12236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_IsPassingMessages" "', expected argument " "1"" of type '" "wxLogChain *""'");
12238 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12241 result
= (bool)(arg1
)->IsPassingMessages();
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12254 SWIGINTERN PyObject
*_wrap_LogChain_GetOldLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12255 PyObject
*resultobj
= 0;
12256 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
12257 wxLog
*result
= 0 ;
12260 PyObject
*swig_obj
[1] ;
12262 if (!args
) SWIG_fail
;
12263 swig_obj
[0] = args
;
12264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogChain
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogChain_GetOldLog" "', expected argument " "1"" of type '" "wxLogChain *""'");
12268 arg1
= reinterpret_cast< wxLogChain
* >(argp1
);
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (wxLog
*)(arg1
)->GetOldLog();
12272 wxPyEndAllowThreads(__tstate
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLog
, 0 | 0 );
12282 SWIGINTERN PyObject
*LogChain_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12284 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12285 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogChain
, SWIG_NewClientData(obj
));
12286 return SWIG_Py_Void();
12289 SWIGINTERN PyObject
*LogChain_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12290 return SWIG_Python_InitShadowInstance(args
);
12293 SWIGINTERN PyObject
*_wrap_new_LogBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12294 PyObject
*resultobj
= 0;
12295 wxLogBuffer
*result
= 0 ;
12297 if (!SWIG_Python_UnpackTuple(args
,"new_LogBuffer",0,0,0)) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (wxLogBuffer
*)new wxLogBuffer();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogBuffer
, SWIG_POINTER_NEW
| 0 );
12311 SWIGINTERN PyObject
*_wrap_LogBuffer_GetBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12312 PyObject
*resultobj
= 0;
12313 wxLogBuffer
*arg1
= (wxLogBuffer
*) 0 ;
12314 wxString
*result
= 0 ;
12317 PyObject
*swig_obj
[1] ;
12319 if (!args
) SWIG_fail
;
12320 swig_obj
[0] = args
;
12321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogBuffer
, 0 | 0 );
12322 if (!SWIG_IsOK(res1
)) {
12323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogBuffer_GetBuffer" "', expected argument " "1"" of type '" "wxLogBuffer const *""'");
12325 arg1
= reinterpret_cast< wxLogBuffer
* >(argp1
);
12327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 wxString
const &_result_ref
= ((wxLogBuffer
const *)arg1
)->GetBuffer();
12330 result
= (wxString
*) &_result_ref
;
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12348 SWIGINTERN PyObject
*LogBuffer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12351 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogBuffer
, SWIG_NewClientData(obj
));
12352 return SWIG_Py_Void();
12355 SWIGINTERN PyObject
*LogBuffer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 return SWIG_Python_InitShadowInstance(args
);
12359 SWIGINTERN PyObject
*_wrap_SysErrorCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12360 PyObject
*resultobj
= 0;
12361 unsigned long result
;
12363 if (!SWIG_Python_UnpackTuple(args
,"SysErrorCode",0,0,0)) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (unsigned long)wxSysErrorCode();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12377 SWIGINTERN PyObject
*_wrap_SysErrorMsg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 unsigned long arg1
= (unsigned long) 0 ;
12381 unsigned long val1
;
12383 PyObject
* obj0
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "nErrCode", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) SWIG_fail
;
12390 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12391 if (!SWIG_IsOK(ecode1
)) {
12392 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SysErrorMsg" "', expected argument " "1"" of type '" "unsigned long""'");
12394 arg1
= static_cast< unsigned long >(val1
);
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 result
= wxSysErrorMsg(arg1
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12415 SWIGINTERN PyObject
*_wrap_LogFatalError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
= 0;
12417 wxString
*arg1
= 0 ;
12418 bool temp1
= false ;
12419 PyObject
* obj0
= 0 ;
12420 char * kwnames
[] = {
12421 (char *) "msg", NULL
12424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) SWIG_fail
;
12426 arg1
= wxString_in_helper(obj0
);
12427 if (arg1
== NULL
) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 wxPyLogFatalError((wxString
const &)*arg1
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= SWIG_Py_Void();
12451 SWIGINTERN PyObject
*_wrap_LogError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12452 PyObject
*resultobj
= 0;
12453 wxString
*arg1
= 0 ;
12454 bool temp1
= false ;
12455 PyObject
* obj0
= 0 ;
12456 char * kwnames
[] = {
12457 (char *) "msg", NULL
12460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) SWIG_fail
;
12462 arg1
= wxString_in_helper(obj0
);
12463 if (arg1
== NULL
) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 wxPyLogError((wxString
const &)*arg1
);
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_Py_Void();
12487 SWIGINTERN PyObject
*_wrap_LogWarning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
= 0;
12489 wxString
*arg1
= 0 ;
12490 bool temp1
= false ;
12491 PyObject
* obj0
= 0 ;
12492 char * kwnames
[] = {
12493 (char *) "msg", NULL
12496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) SWIG_fail
;
12498 arg1
= wxString_in_helper(obj0
);
12499 if (arg1
== NULL
) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 wxPyLogWarning((wxString
const &)*arg1
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= SWIG_Py_Void();
12523 SWIGINTERN PyObject
*_wrap_LogMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
= 0;
12525 wxString
*arg1
= 0 ;
12526 bool temp1
= false ;
12527 PyObject
* obj0
= 0 ;
12528 char * kwnames
[] = {
12529 (char *) "msg", NULL
12532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) SWIG_fail
;
12534 arg1
= wxString_in_helper(obj0
);
12535 if (arg1
== NULL
) SWIG_fail
;
12539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12540 wxPyLogMessage((wxString
const &)*arg1
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_Py_Void();
12559 SWIGINTERN PyObject
*_wrap_LogInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
= 0;
12561 wxString
*arg1
= 0 ;
12562 bool temp1
= false ;
12563 PyObject
* obj0
= 0 ;
12564 char * kwnames
[] = {
12565 (char *) "msg", NULL
12568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) SWIG_fail
;
12570 arg1
= wxString_in_helper(obj0
);
12571 if (arg1
== NULL
) SWIG_fail
;
12575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12576 wxPyLogInfo((wxString
const &)*arg1
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_Py_Void();
12595 SWIGINTERN PyObject
*_wrap_LogDebug(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxString
*arg1
= 0 ;
12598 bool temp1
= false ;
12599 PyObject
* obj0
= 0 ;
12600 char * kwnames
[] = {
12601 (char *) "msg", NULL
12604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) SWIG_fail
;
12606 arg1
= wxString_in_helper(obj0
);
12607 if (arg1
== NULL
) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 wxPyLogDebug((wxString
const &)*arg1
);
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_Py_Void();
12631 SWIGINTERN PyObject
*_wrap_LogVerbose(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12632 PyObject
*resultobj
= 0;
12633 wxString
*arg1
= 0 ;
12634 bool temp1
= false ;
12635 PyObject
* obj0
= 0 ;
12636 char * kwnames
[] = {
12637 (char *) "msg", NULL
12640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) SWIG_fail
;
12642 arg1
= wxString_in_helper(obj0
);
12643 if (arg1
== NULL
) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 wxPyLogVerbose((wxString
const &)*arg1
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_Py_Void();
12667 SWIGINTERN PyObject
*_wrap_LogStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
= 0;
12669 wxString
*arg1
= 0 ;
12670 bool temp1
= false ;
12671 PyObject
* obj0
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "msg", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) SWIG_fail
;
12678 arg1
= wxString_in_helper(obj0
);
12679 if (arg1
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 wxPyLogStatus((wxString
const &)*arg1
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= SWIG_Py_Void();
12703 SWIGINTERN PyObject
*_wrap_LogStatusFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
= 0;
12705 wxFrame
*arg1
= (wxFrame
*) 0 ;
12706 wxString
*arg2
= 0 ;
12709 bool temp2
= false ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 char * kwnames
[] = {
12713 (char *) "pFrame",(char *) "msg", NULL
12716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LogStatusFrame" "', expected argument " "1"" of type '" "wxFrame *""'");
12721 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
12723 arg2
= wxString_in_helper(obj1
);
12724 if (arg2
== NULL
) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 wxPyLogStatusFrame(arg1
,(wxString
const &)*arg2
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= SWIG_Py_Void();
12748 SWIGINTERN PyObject
*_wrap_LogSysError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
= 0;
12750 wxString
*arg1
= 0 ;
12751 bool temp1
= false ;
12752 PyObject
* obj0
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "msg", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) SWIG_fail
;
12759 arg1
= wxString_in_helper(obj0
);
12760 if (arg1
== NULL
) SWIG_fail
;
12764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12765 wxPyLogSysError((wxString
const &)*arg1
);
12766 wxPyEndAllowThreads(__tstate
);
12767 if (PyErr_Occurred()) SWIG_fail
;
12769 resultobj
= SWIG_Py_Void();
12784 SWIGINTERN PyObject
*_wrap_LogGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= 0;
12786 unsigned long arg1
;
12787 wxString
*arg2
= 0 ;
12788 unsigned long val1
;
12790 bool temp2
= false ;
12791 PyObject
* obj0
= 0 ;
12792 PyObject
* obj1
= 0 ;
12793 char * kwnames
[] = {
12794 (char *) "level",(char *) "msg", NULL
12797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12798 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
12799 if (!SWIG_IsOK(ecode1
)) {
12800 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogGeneric" "', expected argument " "1"" of type '" "unsigned long""'");
12802 arg1
= static_cast< unsigned long >(val1
);
12804 arg2
= wxString_in_helper(obj1
);
12805 if (arg2
== NULL
) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 wxPyLogGeneric(arg1
,(wxString
const &)*arg2
);
12811 wxPyEndAllowThreads(__tstate
);
12812 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= SWIG_Py_Void();
12829 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12830 PyObject
*resultobj
= 0;
12831 unsigned long arg1
;
12832 wxString
*arg2
= 0 ;
12833 unsigned long val1
;
12835 bool temp2
= false ;
12837 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12838 ecode1
= SWIG_AsVal_unsigned_SS_long(swig_obj
[0], &val1
);
12839 if (!SWIG_IsOK(ecode1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "LogTrace" "', expected argument " "1"" of type '" "unsigned long""'");
12842 arg1
= static_cast< unsigned long >(val1
);
12844 arg2
= wxString_in_helper(swig_obj
[1]);
12845 if (arg2
== NULL
) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 wxPyLogTrace(arg1
,(wxString
const &)*arg2
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_Py_Void();
12869 SWIGINTERN PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
12870 PyObject
*resultobj
= 0;
12871 wxString
*arg1
= 0 ;
12872 wxString
*arg2
= 0 ;
12873 bool temp1
= false ;
12874 bool temp2
= false ;
12876 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
12878 arg1
= wxString_in_helper(swig_obj
[0]);
12879 if (arg1
== NULL
) SWIG_fail
;
12883 arg2
= wxString_in_helper(swig_obj
[1]);
12884 if (arg2
== NULL
) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 wxPyLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= SWIG_Py_Void();
12916 SWIGINTERN PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
12920 if (!(argc
= SWIG_Python_UnpackTuple(args
,"LogTrace",0,2,argv
))) SWIG_fail
;
12926 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
12929 if (!_v
) goto check_1
;
12930 return _wrap_LogTrace__SWIG_1(self
, argc
, argv
);
12935 return _wrap_LogTrace__SWIG_0(self
, argc
, argv
);
12939 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'LogTrace'");
12944 SWIGINTERN PyObject
*_wrap_SafeShowMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= 0;
12946 wxString
*arg1
= 0 ;
12947 wxString
*arg2
= 0 ;
12948 bool temp1
= false ;
12949 bool temp2
= false ;
12950 PyObject
* obj0
= 0 ;
12951 PyObject
* obj1
= 0 ;
12952 char * kwnames
[] = {
12953 (char *) "title",(char *) "text", NULL
12956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12958 arg1
= wxString_in_helper(obj0
);
12959 if (arg1
== NULL
) SWIG_fail
;
12963 arg2
= wxString_in_helper(obj1
);
12964 if (arg2
== NULL
) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_Py_Void();
12996 SWIGINTERN PyObject
*_wrap_new_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12997 PyObject
*resultobj
= 0;
12998 wxLogNull
*result
= 0 ;
13000 if (!SWIG_Python_UnpackTuple(args
,"new_LogNull",0,0,0)) SWIG_fail
;
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxLogNull
*)new wxLogNull();
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLogNull
, SWIG_POINTER_NEW
| 0 );
13014 SWIGINTERN PyObject
*_wrap_delete_LogNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
13019 PyObject
*swig_obj
[1] ;
13021 if (!args
) SWIG_fail
;
13022 swig_obj
[0] = args
;
13023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLogNull
, SWIG_POINTER_DISOWN
| 0 );
13024 if (!SWIG_IsOK(res1
)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LogNull" "', expected argument " "1"" of type '" "wxLogNull *""'");
13027 arg1
= reinterpret_cast< wxLogNull
* >(argp1
);
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= SWIG_Py_Void();
13042 SWIGINTERN PyObject
*LogNull_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13045 SWIG_TypeNewClientData(SWIGTYPE_p_wxLogNull
, SWIG_NewClientData(obj
));
13046 return SWIG_Py_Void();
13049 SWIGINTERN PyObject
*LogNull_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13050 return SWIG_Python_InitShadowInstance(args
);
13053 SWIGINTERN PyObject
*_wrap_new_PyLog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13054 PyObject
*resultobj
= 0;
13055 wxPyLog
*result
= 0 ;
13057 if (!SWIG_Python_UnpackTuple(args
,"new_PyLog",0,0,0)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (wxPyLog
*)new wxPyLog();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLog
, SWIG_POINTER_NEW
| 0 );
13071 SWIGINTERN PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
13074 PyObject
*arg2
= (PyObject
*) 0 ;
13075 PyObject
*arg3
= (PyObject
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "self",(char *) "self",(char *) "_class", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLog
, 0 | 0 );
13087 if (!SWIG_IsOK(res1
)) {
13088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLog__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLog *""'");
13090 arg1
= reinterpret_cast< wxPyLog
* >(argp1
);
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= SWIG_Py_Void();
13106 SWIGINTERN PyObject
*PyLog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLog
, SWIG_NewClientData(obj
));
13110 return SWIG_Py_Void();
13113 SWIGINTERN PyObject
*PyLog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13114 return SWIG_Python_InitShadowInstance(args
);
13117 SWIGINTERN PyObject
*_wrap_Process_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13120 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13121 int arg3
= (int) wxKILL_NOCHILDREN
;
13122 wxKillError result
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Process_Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13137 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13138 if (!SWIG_IsOK(ecode1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Kill" "', expected argument " "1"" of type '" "int""'");
13141 arg1
= static_cast< int >(val1
);
13143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13144 if (!SWIG_IsOK(ecode2
)) {
13145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Kill" "', expected argument " "2"" of type '" "wxSignal""'");
13147 arg2
= static_cast< wxSignal
>(val2
);
13150 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13151 if (!SWIG_IsOK(ecode3
)) {
13152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_Kill" "', expected argument " "3"" of type '" "int""'");
13154 arg3
= static_cast< int >(val3
);
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (wxKillError
)wxPyProcess::Kill(arg1
,arg2
,arg3
);
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13162 resultobj
= SWIG_From_int(static_cast< int >(result
));
13169 SWIGINTERN PyObject
*_wrap_Process_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
= 0;
13175 PyObject
* obj0
= 0 ;
13176 char * kwnames
[] = {
13177 (char *) "pid", NULL
13180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) SWIG_fail
;
13181 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13182 if (!SWIG_IsOK(ecode1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Process_Exists" "', expected argument " "1"" of type '" "int""'");
13185 arg1
= static_cast< int >(val1
);
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= (bool)wxPyProcess::Exists(arg1
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13201 SWIGINTERN PyObject
*_wrap_Process_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= 0;
13203 wxString
*arg1
= 0 ;
13204 int arg2
= (int) wxEXEC_ASYNC
;
13205 wxPyProcess
*result
= 0 ;
13206 bool temp1
= false ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char * kwnames
[] = {
13212 (char *) "cmd",(char *) "flags", NULL
13215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13217 arg1
= wxString_in_helper(obj0
);
13218 if (arg1
== NULL
) SWIG_fail
;
13222 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13223 if (!SWIG_IsOK(ecode2
)) {
13224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_Open" "', expected argument " "2"" of type '" "int""'");
13226 arg2
= static_cast< int >(val2
);
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13249 SWIGINTERN PyObject
*_wrap_new_Process(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
= 0;
13251 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
13252 int arg2
= (int) -1 ;
13253 wxPyProcess
*result
= 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char * kwnames
[] = {
13261 (char *) "parent",(char *) "id", NULL
13264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Process" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
13270 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
13273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13274 if (!SWIG_IsOK(ecode2
)) {
13275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Process" "', expected argument " "2"" of type '" "int""'");
13277 arg2
= static_cast< int >(val2
);
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyProcess
, SWIG_POINTER_NEW
| 0 );
13292 SWIGINTERN PyObject
*_wrap_Process__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
= 0;
13294 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13295 PyObject
*arg2
= (PyObject
*) 0 ;
13296 PyObject
*arg3
= (PyObject
*) 0 ;
13299 PyObject
* obj0
= 0 ;
13300 PyObject
* obj1
= 0 ;
13301 PyObject
* obj2
= 0 ;
13302 char * kwnames
[] = {
13303 (char *) "self",(char *) "self",(char *) "_class", NULL
13306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13308 if (!SWIG_IsOK(res1
)) {
13309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13311 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_Py_Void();
13327 SWIGINTERN PyObject
*_wrap_Process_OnTerminate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
= 0;
13329 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13338 PyObject
* obj0
= 0 ;
13339 PyObject
* obj1
= 0 ;
13340 PyObject
* obj2
= 0 ;
13341 char * kwnames
[] = {
13342 (char *) "self",(char *) "pid",(char *) "status", NULL
13345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_OnTerminate" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13350 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13352 if (!SWIG_IsOK(ecode2
)) {
13353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Process_OnTerminate" "', expected argument " "2"" of type '" "int""'");
13355 arg2
= static_cast< int >(val2
);
13356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13357 if (!SWIG_IsOK(ecode3
)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Process_OnTerminate" "', expected argument " "3"" of type '" "int""'");
13360 arg3
= static_cast< int >(val3
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 (arg1
)->OnTerminate(arg2
,arg3
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_Py_Void();
13374 SWIGINTERN PyObject
*_wrap_Process_Redirect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13375 PyObject
*resultobj
= 0;
13376 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13379 PyObject
*swig_obj
[1] ;
13381 if (!args
) SWIG_fail
;
13382 swig_obj
[0] = args
;
13383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13384 if (!SWIG_IsOK(res1
)) {
13385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Redirect" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13387 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->Redirect();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_Py_Void();
13401 SWIGINTERN PyObject
*_wrap_Process_IsRedirected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13402 PyObject
*resultobj
= 0;
13403 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13407 PyObject
*swig_obj
[1] ;
13409 if (!args
) SWIG_fail
;
13410 swig_obj
[0] = args
;
13411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13412 if (!SWIG_IsOK(res1
)) {
13413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsRedirected" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13415 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (bool)(arg1
)->IsRedirected();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13431 SWIGINTERN PyObject
*_wrap_Process_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13432 PyObject
*resultobj
= 0;
13433 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13436 PyObject
*swig_obj
[1] ;
13438 if (!args
) SWIG_fail
;
13439 swig_obj
[0] = args
;
13440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13441 if (!SWIG_IsOK(res1
)) {
13442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_Detach" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13444 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 wxPyEndAllowThreads(__tstate
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= SWIG_Py_Void();
13458 SWIGINTERN PyObject
*_wrap_Process_GetInputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13461 wxInputStream
*result
= 0 ;
13464 PyObject
*swig_obj
[1] ;
13466 if (!args
) SWIG_fail
;
13467 swig_obj
[0] = args
;
13468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetInputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13472 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (wxInputStream
*)(arg1
)->GetInputStream();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 wxPyInputStream
* _ptr
= NULL
;
13483 _ptr
= new wxPyInputStream(result
);
13485 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13493 SWIGINTERN PyObject
*_wrap_Process_GetErrorStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13496 wxInputStream
*result
= 0 ;
13499 PyObject
*swig_obj
[1] ;
13501 if (!args
) SWIG_fail
;
13502 swig_obj
[0] = args
;
13503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13504 if (!SWIG_IsOK(res1
)) {
13505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetErrorStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13507 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13515 wxPyInputStream
* _ptr
= NULL
;
13518 _ptr
= new wxPyInputStream(result
);
13520 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
13528 SWIGINTERN PyObject
*_wrap_Process_GetOutputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13529 PyObject
*resultobj
= 0;
13530 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13531 wxOutputStream
*result
= 0 ;
13534 PyObject
*swig_obj
[1] ;
13536 if (!args
) SWIG_fail
;
13537 swig_obj
[0] = args
;
13538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13539 if (!SWIG_IsOK(res1
)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_GetOutputStream" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13542 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOutputStream
, 0 | 0 );
13556 SWIGINTERN PyObject
*_wrap_Process_CloseOutput(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13561 PyObject
*swig_obj
[1] ;
13563 if (!args
) SWIG_fail
;
13564 swig_obj
[0] = args
;
13565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13566 if (!SWIG_IsOK(res1
)) {
13567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_CloseOutput" "', expected argument " "1"" of type '" "wxPyProcess *""'");
13569 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 (arg1
)->CloseOutput();
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= SWIG_Py_Void();
13583 SWIGINTERN PyObject
*_wrap_Process_IsInputOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13584 PyObject
*resultobj
= 0;
13585 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13589 PyObject
*swig_obj
[1] ;
13591 if (!args
) SWIG_fail
;
13592 swig_obj
[0] = args
;
13593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13594 if (!SWIG_IsOK(res1
)) {
13595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputOpened" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13597 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13613 SWIGINTERN PyObject
*_wrap_Process_IsInputAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13614 PyObject
*resultobj
= 0;
13615 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13619 PyObject
*swig_obj
[1] ;
13621 if (!args
) SWIG_fail
;
13622 swig_obj
[0] = args
;
13623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13624 if (!SWIG_IsOK(res1
)) {
13625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsInputAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13627 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 SWIGINTERN PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13644 PyObject
*resultobj
= 0;
13645 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
13649 PyObject
*swig_obj
[1] ;
13651 if (!args
) SWIG_fail
;
13652 swig_obj
[0] = args
;
13653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13654 if (!SWIG_IsOK(res1
)) {
13655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Process_IsErrorAvailable" "', expected argument " "1"" of type '" "wxPyProcess const *""'");
13657 arg1
= reinterpret_cast< wxPyProcess
* >(argp1
);
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 SWIGINTERN PyObject
*Process_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13676 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyProcess
, SWIG_NewClientData(obj
));
13677 return SWIG_Py_Void();
13680 SWIGINTERN PyObject
*Process_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13681 return SWIG_Python_InitShadowInstance(args
);
13684 SWIGINTERN PyObject
*_wrap_new_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
= 0;
13686 int arg1
= (int) 0 ;
13687 int arg2
= (int) 0 ;
13688 int arg3
= (int) 0 ;
13689 wxProcessEvent
*result
= 0 ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 PyObject
* obj2
= 0 ;
13699 char * kwnames
[] = {
13700 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
13703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13706 if (!SWIG_IsOK(ecode1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ProcessEvent" "', expected argument " "1"" of type '" "int""'");
13709 arg1
= static_cast< int >(val1
);
13712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13713 if (!SWIG_IsOK(ecode2
)) {
13714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ProcessEvent" "', expected argument " "2"" of type '" "int""'");
13716 arg2
= static_cast< int >(val2
);
13719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13720 if (!SWIG_IsOK(ecode3
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProcessEvent" "', expected argument " "3"" of type '" "int""'");
13723 arg3
= static_cast< int >(val3
);
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProcessEvent
, SWIG_POINTER_NEW
| 0 );
13738 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13739 PyObject
*resultobj
= 0;
13740 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13744 PyObject
*swig_obj
[1] ;
13746 if (!args
) SWIG_fail
;
13747 swig_obj
[0] = args
;
13748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13749 if (!SWIG_IsOK(res1
)) {
13750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetPid" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13752 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 result
= (int)(arg1
)->GetPid();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= SWIG_From_int(static_cast< int >(result
));
13766 SWIGINTERN PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13767 PyObject
*resultobj
= 0;
13768 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13772 PyObject
*swig_obj
[1] ;
13774 if (!args
) SWIG_fail
;
13775 swig_obj
[0] = args
;
13776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_GetExitCode" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13780 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 result
= (int)(arg1
)->GetExitCode();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_From_int(static_cast< int >(result
));
13794 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13795 PyObject
*resultobj
= 0;
13796 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13802 PyObject
*swig_obj
[2] ;
13804 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_pid_set",2,2,swig_obj
)) SWIG_fail
;
13805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13806 if (!SWIG_IsOK(res1
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13809 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13810 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13811 if (!SWIG_IsOK(ecode2
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_pid_set" "', expected argument " "2"" of type '" "int""'");
13814 arg2
= static_cast< int >(val2
);
13815 if (arg1
) (arg1
)->m_pid
= arg2
;
13817 resultobj
= SWIG_Py_Void();
13824 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13825 PyObject
*resultobj
= 0;
13826 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13830 PyObject
*swig_obj
[1] ;
13832 if (!args
) SWIG_fail
;
13833 swig_obj
[0] = args
;
13834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13835 if (!SWIG_IsOK(res1
)) {
13836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_pid_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13838 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13839 result
= (int) ((arg1
)->m_pid
);
13840 resultobj
= SWIG_From_int(static_cast< int >(result
));
13847 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13848 PyObject
*resultobj
= 0;
13849 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13855 PyObject
*swig_obj
[2] ;
13857 if (!SWIG_Python_UnpackTuple(args
,"ProcessEvent_m_exitcode_set",2,2,swig_obj
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13862 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13863 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProcessEvent_m_exitcode_set" "', expected argument " "2"" of type '" "int""'");
13867 arg2
= static_cast< int >(val2
);
13868 if (arg1
) (arg1
)->m_exitcode
= arg2
;
13870 resultobj
= SWIG_Py_Void();
13877 SWIGINTERN PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13878 PyObject
*resultobj
= 0;
13879 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
13883 PyObject
*swig_obj
[1] ;
13885 if (!args
) SWIG_fail
;
13886 swig_obj
[0] = args
;
13887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProcessEvent
, 0 | 0 );
13888 if (!SWIG_IsOK(res1
)) {
13889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProcessEvent_m_exitcode_get" "', expected argument " "1"" of type '" "wxProcessEvent *""'");
13891 arg1
= reinterpret_cast< wxProcessEvent
* >(argp1
);
13892 result
= (int) ((arg1
)->m_exitcode
);
13893 resultobj
= SWIG_From_int(static_cast< int >(result
));
13900 SWIGINTERN PyObject
*ProcessEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13903 SWIG_TypeNewClientData(SWIGTYPE_p_wxProcessEvent
, SWIG_NewClientData(obj
));
13904 return SWIG_Py_Void();
13907 SWIGINTERN PyObject
*ProcessEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13908 return SWIG_Python_InitShadowInstance(args
);
13911 SWIGINTERN PyObject
*_wrap_Execute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13912 PyObject
*resultobj
= 0;
13913 wxString
*arg1
= 0 ;
13914 int arg2
= (int) wxEXEC_ASYNC
;
13915 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
13917 bool temp1
= false ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 PyObject
* obj2
= 0 ;
13925 char * kwnames
[] = {
13926 (char *) "command",(char *) "flags",(char *) "process", NULL
13929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13931 arg1
= wxString_in_helper(obj0
);
13932 if (arg1
== NULL
) SWIG_fail
;
13936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13937 if (!SWIG_IsOK(ecode2
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Execute" "', expected argument " "2"" of type '" "int""'");
13940 arg2
= static_cast< int >(val2
);
13943 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyProcess
, 0 | 0 );
13944 if (!SWIG_IsOK(res3
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Execute" "', expected argument " "3"" of type '" "wxPyProcess *""'");
13947 arg3
= reinterpret_cast< wxPyProcess
* >(argp3
);
13950 if (!wxPyCheckForApp()) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= SWIG_From_long(static_cast< long >(result
));
13971 SWIGINTERN PyObject
*_wrap_Kill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
= 0;
13974 wxSignal arg2
= (wxSignal
) wxSIGTERM
;
13975 wxKillError
*arg3
= (wxKillError
*) 0 ;
13976 int arg4
= (int) wxKILL_NOCHILDREN
;
13982 wxKillError temp3
;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 PyObject
* obj2
= 0 ;
13988 char * kwnames
[] = {
13989 (char *) "pid",(char *) "sig",(char *) "flags", NULL
13995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Kill",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13996 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
13997 if (!SWIG_IsOK(ecode1
)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Kill" "', expected argument " "1"" of type '" "long""'");
14000 arg1
= static_cast< long >(val1
);
14002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14003 if (!SWIG_IsOK(ecode2
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Kill" "', expected argument " "2"" of type '" "wxSignal""'");
14006 arg2
= static_cast< wxSignal
>(val2
);
14009 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
14010 if (!SWIG_IsOK(ecode4
)) {
14011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Kill" "', expected argument " "4"" of type '" "int""'");
14013 arg4
= static_cast< int >(val4
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (int)wxKill(arg1
,arg2
,arg3
,arg4
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_From_int(static_cast< int >(result
));
14024 o
= PyInt_FromLong((long) (*arg3
));
14028 resultobj
= SWIG_Python_AppendOutput(resultobj
, o
);
14037 SWIGINTERN PyObject
*_wrap_new_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
= 0;
14039 int arg1
= (int) wxJOYSTICK1
;
14040 wxJoystick
*result
= 0 ;
14043 PyObject
* obj0
= 0 ;
14044 char * kwnames
[] = {
14045 (char *) "joystick", NULL
14048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) SWIG_fail
;
14050 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14051 if (!SWIG_IsOK(ecode1
)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Joystick" "', expected argument " "1"" of type '" "int""'");
14054 arg1
= static_cast< int >(val1
);
14057 if (!wxPyCheckForApp()) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (wxJoystick
*)new wxJoystick(arg1
);
14060 wxPyEndAllowThreads(__tstate
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystick
, SWIG_POINTER_NEW
| 0 );
14070 SWIGINTERN PyObject
*_wrap_delete_Joystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14071 PyObject
*resultobj
= 0;
14072 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14075 PyObject
*swig_obj
[1] ;
14077 if (!args
) SWIG_fail
;
14078 swig_obj
[0] = args
;
14079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, SWIG_POINTER_DISOWN
| 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Joystick" "', expected argument " "1"" of type '" "wxJoystick *""'");
14083 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 wxPyEndAllowThreads(__tstate
);
14089 if (PyErr_Occurred()) SWIG_fail
;
14091 resultobj
= SWIG_Py_Void();
14098 SWIGINTERN PyObject
*_wrap_Joystick_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14112 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (arg1
)->GetPosition();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14126 SWIGINTERN PyObject
*_wrap_Joystick_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14140 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (int)(arg1
)->GetZPosition();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_int(static_cast< int >(result
));
14154 SWIGINTERN PyObject
*_wrap_Joystick_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14155 PyObject
*resultobj
= 0;
14156 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14160 PyObject
*swig_obj
[1] ;
14162 if (!args
) SWIG_fail
;
14163 swig_obj
[0] = args
;
14164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14165 if (!SWIG_IsOK(res1
)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetButtonState" "', expected argument " "1"" of type '" "wxJoystick *""'");
14168 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (int)(arg1
)->GetButtonState();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_From_int(static_cast< int >(result
));
14182 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14188 PyObject
*swig_obj
[1] ;
14190 if (!args
) SWIG_fail
;
14191 swig_obj
[0] = args
;
14192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14193 if (!SWIG_IsOK(res1
)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14196 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (int)(arg1
)->GetPOVPosition();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_From_int(static_cast< int >(result
));
14210 SWIGINTERN PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14211 PyObject
*resultobj
= 0;
14212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14216 PyObject
*swig_obj
[1] ;
14218 if (!args
) SWIG_fail
;
14219 swig_obj
[0] = args
;
14220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14221 if (!SWIG_IsOK(res1
)) {
14222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPOVCTSPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14224 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (int)(arg1
)->GetPOVCTSPosition();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= SWIG_From_int(static_cast< int >(result
));
14238 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14239 PyObject
*resultobj
= 0;
14240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14244 PyObject
*swig_obj
[1] ;
14246 if (!args
) SWIG_fail
;
14247 swig_obj
[0] = args
;
14248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14249 if (!SWIG_IsOK(res1
)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14252 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (int)(arg1
)->GetRudderPosition();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_From_int(static_cast< int >(result
));
14266 SWIGINTERN PyObject
*_wrap_Joystick_GetUPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14267 PyObject
*resultobj
= 0;
14268 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14272 PyObject
*swig_obj
[1] ;
14274 if (!args
) SWIG_fail
;
14275 swig_obj
[0] = args
;
14276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14277 if (!SWIG_IsOK(res1
)) {
14278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14280 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (int)(arg1
)->GetUPosition();
14284 wxPyEndAllowThreads(__tstate
);
14285 if (PyErr_Occurred()) SWIG_fail
;
14287 resultobj
= SWIG_From_int(static_cast< int >(result
));
14294 SWIGINTERN PyObject
*_wrap_Joystick_GetVPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14295 PyObject
*resultobj
= 0;
14296 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14300 PyObject
*swig_obj
[1] ;
14302 if (!args
) SWIG_fail
;
14303 swig_obj
[0] = args
;
14304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14305 if (!SWIG_IsOK(res1
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVPosition" "', expected argument " "1"" of type '" "wxJoystick *""'");
14308 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (int)(arg1
)->GetVPosition();
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= SWIG_From_int(static_cast< int >(result
));
14322 SWIGINTERN PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14336 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (int)(arg1
)->GetMovementThreshold();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= SWIG_From_int(static_cast< int >(result
));
14350 SWIGINTERN PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
= 0;
14352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 char * kwnames
[] = {
14361 (char *) "self",(char *) "threshold", NULL
14364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14366 if (!SWIG_IsOK(res1
)) {
14367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "1"" of type '" "wxJoystick *""'");
14369 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14371 if (!SWIG_IsOK(ecode2
)) {
14372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Joystick_SetMovementThreshold" "', expected argument " "2"" of type '" "int""'");
14374 arg2
= static_cast< int >(val2
);
14376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14377 (arg1
)->SetMovementThreshold(arg2
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= SWIG_Py_Void();
14388 SWIGINTERN PyObject
*_wrap_Joystick_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14389 PyObject
*resultobj
= 0;
14390 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14394 PyObject
*swig_obj
[1] ;
14396 if (!args
) SWIG_fail
;
14397 swig_obj
[0] = args
;
14398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14399 if (!SWIG_IsOK(res1
)) {
14400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_IsOk" "', expected argument " "1"" of type '" "wxJoystick *""'");
14402 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (bool)(arg1
)->IsOk();
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14418 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14419 PyObject
*resultobj
= 0;
14420 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14424 PyObject
*swig_obj
[1] ;
14426 if (!args
) SWIG_fail
;
14427 swig_obj
[0] = args
;
14428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberJoysticks" "', expected argument " "1"" of type '" "wxJoystick *""'");
14432 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (int)(arg1
)->GetNumberJoysticks();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_From_int(static_cast< int >(result
));
14446 SWIGINTERN PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14447 PyObject
*resultobj
= 0;
14448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14452 PyObject
*swig_obj
[1] ;
14454 if (!args
) SWIG_fail
;
14455 swig_obj
[0] = args
;
14456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14457 if (!SWIG_IsOK(res1
)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetManufacturerId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14460 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (int)(arg1
)->GetManufacturerId();
14464 wxPyEndAllowThreads(__tstate
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= SWIG_From_int(static_cast< int >(result
));
14474 SWIGINTERN PyObject
*_wrap_Joystick_GetProductId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14475 PyObject
*resultobj
= 0;
14476 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14480 PyObject
*swig_obj
[1] ;
14482 if (!args
) SWIG_fail
;
14483 swig_obj
[0] = args
;
14484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductId" "', expected argument " "1"" of type '" "wxJoystick *""'");
14488 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (int)(arg1
)->GetProductId();
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_int(static_cast< int >(result
));
14502 SWIGINTERN PyObject
*_wrap_Joystick_GetProductName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14503 PyObject
*resultobj
= 0;
14504 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14508 PyObject
*swig_obj
[1] ;
14510 if (!args
) SWIG_fail
;
14511 swig_obj
[0] = args
;
14512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14513 if (!SWIG_IsOK(res1
)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetProductName" "', expected argument " "1"" of type '" "wxJoystick *""'");
14516 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (arg1
)->GetProductName();
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14536 SWIGINTERN PyObject
*_wrap_Joystick_GetXMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14537 PyObject
*resultobj
= 0;
14538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14542 PyObject
*swig_obj
[1] ;
14544 if (!args
) SWIG_fail
;
14545 swig_obj
[0] = args
;
14546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14550 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (int)(arg1
)->GetXMin();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_From_int(static_cast< int >(result
));
14564 SWIGINTERN PyObject
*_wrap_Joystick_GetYMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14565 PyObject
*resultobj
= 0;
14566 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14570 PyObject
*swig_obj
[1] ;
14572 if (!args
) SWIG_fail
;
14573 swig_obj
[0] = args
;
14574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14578 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (int)(arg1
)->GetYMin();
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= SWIG_From_int(static_cast< int >(result
));
14592 SWIGINTERN PyObject
*_wrap_Joystick_GetZMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14593 PyObject
*resultobj
= 0;
14594 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14598 PyObject
*swig_obj
[1] ;
14600 if (!args
) SWIG_fail
;
14601 swig_obj
[0] = args
;
14602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14603 if (!SWIG_IsOK(res1
)) {
14604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14606 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (int)(arg1
)->GetZMin();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= SWIG_From_int(static_cast< int >(result
));
14620 SWIGINTERN PyObject
*_wrap_Joystick_GetXMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 PyObject
*resultobj
= 0;
14622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14626 PyObject
*swig_obj
[1] ;
14628 if (!args
) SWIG_fail
;
14629 swig_obj
[0] = args
;
14630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetXMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14634 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= (int)(arg1
)->GetXMax();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= SWIG_From_int(static_cast< int >(result
));
14648 SWIGINTERN PyObject
*_wrap_Joystick_GetYMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14649 PyObject
*resultobj
= 0;
14650 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14654 PyObject
*swig_obj
[1] ;
14656 if (!args
) SWIG_fail
;
14657 swig_obj
[0] = args
;
14658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14659 if (!SWIG_IsOK(res1
)) {
14660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetYMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14662 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (int)(arg1
)->GetYMax();
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_From_int(static_cast< int >(result
));
14676 SWIGINTERN PyObject
*_wrap_Joystick_GetZMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14677 PyObject
*resultobj
= 0;
14678 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14682 PyObject
*swig_obj
[1] ;
14684 if (!args
) SWIG_fail
;
14685 swig_obj
[0] = args
;
14686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14687 if (!SWIG_IsOK(res1
)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetZMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14690 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)(arg1
)->GetZMax();
14694 wxPyEndAllowThreads(__tstate
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= SWIG_From_int(static_cast< int >(result
));
14704 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14705 PyObject
*resultobj
= 0;
14706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14710 PyObject
*swig_obj
[1] ;
14712 if (!args
) SWIG_fail
;
14713 swig_obj
[0] = args
;
14714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14715 if (!SWIG_IsOK(res1
)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14718 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14721 result
= (int)(arg1
)->GetNumberButtons();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_From_int(static_cast< int >(result
));
14732 SWIGINTERN PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14733 PyObject
*resultobj
= 0;
14734 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14738 PyObject
*swig_obj
[1] ;
14740 if (!args
) SWIG_fail
;
14741 swig_obj
[0] = args
;
14742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14743 if (!SWIG_IsOK(res1
)) {
14744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetNumberAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14746 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14749 result
= (int)(arg1
)->GetNumberAxes();
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 resultobj
= SWIG_From_int(static_cast< int >(result
));
14760 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14761 PyObject
*resultobj
= 0;
14762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14766 PyObject
*swig_obj
[1] ;
14768 if (!args
) SWIG_fail
;
14769 swig_obj
[0] = args
;
14770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14771 if (!SWIG_IsOK(res1
)) {
14772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxButtons" "', expected argument " "1"" of type '" "wxJoystick *""'");
14774 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (int)(arg1
)->GetMaxButtons();
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 resultobj
= SWIG_From_int(static_cast< int >(result
));
14788 SWIGINTERN PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14789 PyObject
*resultobj
= 0;
14790 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14794 PyObject
*swig_obj
[1] ;
14796 if (!args
) SWIG_fail
;
14797 swig_obj
[0] = args
;
14798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14799 if (!SWIG_IsOK(res1
)) {
14800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetMaxAxes" "', expected argument " "1"" of type '" "wxJoystick *""'");
14802 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (int)(arg1
)->GetMaxAxes();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= SWIG_From_int(static_cast< int >(result
));
14816 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14822 PyObject
*swig_obj
[1] ;
14824 if (!args
) SWIG_fail
;
14825 swig_obj
[0] = args
;
14826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14830 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (int)(arg1
)->GetPollingMin();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_From_int(static_cast< int >(result
));
14844 SWIGINTERN PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetPollingMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14858 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)(arg1
)->GetPollingMax();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14865 resultobj
= SWIG_From_int(static_cast< int >(result
));
14872 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14873 PyObject
*resultobj
= 0;
14874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14878 PyObject
*swig_obj
[1] ;
14880 if (!args
) SWIG_fail
;
14881 swig_obj
[0] = args
;
14882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14883 if (!SWIG_IsOK(res1
)) {
14884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14886 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (int)(arg1
)->GetRudderMin();
14890 wxPyEndAllowThreads(__tstate
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14893 resultobj
= SWIG_From_int(static_cast< int >(result
));
14900 SWIGINTERN PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14901 PyObject
*resultobj
= 0;
14902 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14906 PyObject
*swig_obj
[1] ;
14908 if (!args
) SWIG_fail
;
14909 swig_obj
[0] = args
;
14910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14911 if (!SWIG_IsOK(res1
)) {
14912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetRudderMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14914 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (int)(arg1
)->GetRudderMax();
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_From_int(static_cast< int >(result
));
14928 SWIGINTERN PyObject
*_wrap_Joystick_GetUMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14929 PyObject
*resultobj
= 0;
14930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14934 PyObject
*swig_obj
[1] ;
14936 if (!args
) SWIG_fail
;
14937 swig_obj
[0] = args
;
14938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14942 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (int)(arg1
)->GetUMin();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_From_int(static_cast< int >(result
));
14956 SWIGINTERN PyObject
*_wrap_Joystick_GetUMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14957 PyObject
*resultobj
= 0;
14958 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14962 PyObject
*swig_obj
[1] ;
14964 if (!args
) SWIG_fail
;
14965 swig_obj
[0] = args
;
14966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14967 if (!SWIG_IsOK(res1
)) {
14968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetUMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
14970 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (int)(arg1
)->GetUMax();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 resultobj
= SWIG_From_int(static_cast< int >(result
));
14984 SWIGINTERN PyObject
*_wrap_Joystick_GetVMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMin" "', expected argument " "1"" of type '" "wxJoystick *""'");
14998 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (int)(arg1
)->GetVMin();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int(static_cast< int >(result
));
15012 SWIGINTERN PyObject
*_wrap_Joystick_GetVMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_GetVMax" "', expected argument " "1"" of type '" "wxJoystick *""'");
15026 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (int)(arg1
)->GetVMax();
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= SWIG_From_int(static_cast< int >(result
));
15040 SWIGINTERN PyObject
*_wrap_Joystick_HasRudder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15041 PyObject
*resultobj
= 0;
15042 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15046 PyObject
*swig_obj
[1] ;
15048 if (!args
) SWIG_fail
;
15049 swig_obj
[0] = args
;
15050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15051 if (!SWIG_IsOK(res1
)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasRudder" "', expected argument " "1"" of type '" "wxJoystick *""'");
15054 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (bool)(arg1
)->HasRudder();
15058 wxPyEndAllowThreads(__tstate
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15070 SWIGINTERN PyObject
*_wrap_Joystick_HasZ(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15071 PyObject
*resultobj
= 0;
15072 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15076 PyObject
*swig_obj
[1] ;
15078 if (!args
) SWIG_fail
;
15079 swig_obj
[0] = args
;
15080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15081 if (!SWIG_IsOK(res1
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasZ" "', expected argument " "1"" of type '" "wxJoystick *""'");
15084 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (bool)(arg1
)->HasZ();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 SWIGINTERN PyObject
*_wrap_Joystick_HasU(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15101 PyObject
*resultobj
= 0;
15102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15106 PyObject
*swig_obj
[1] ;
15108 if (!args
) SWIG_fail
;
15109 swig_obj
[0] = args
;
15110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15111 if (!SWIG_IsOK(res1
)) {
15112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasU" "', expected argument " "1"" of type '" "wxJoystick *""'");
15114 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (bool)(arg1
)->HasU();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15130 SWIGINTERN PyObject
*_wrap_Joystick_HasV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15131 PyObject
*resultobj
= 0;
15132 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15136 PyObject
*swig_obj
[1] ;
15138 if (!args
) SWIG_fail
;
15139 swig_obj
[0] = args
;
15140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15141 if (!SWIG_IsOK(res1
)) {
15142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15144 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (bool)(arg1
)->HasV();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15160 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15161 PyObject
*resultobj
= 0;
15162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15166 PyObject
*swig_obj
[1] ;
15168 if (!args
) SWIG_fail
;
15169 swig_obj
[0] = args
;
15170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV" "', expected argument " "1"" of type '" "wxJoystick *""'");
15174 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (bool)(arg1
)->HasPOV();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15190 SWIGINTERN PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15191 PyObject
*resultobj
= 0;
15192 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15196 PyObject
*swig_obj
[1] ;
15198 if (!args
) SWIG_fail
;
15199 swig_obj
[0] = args
;
15200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15201 if (!SWIG_IsOK(res1
)) {
15202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOV4Dir" "', expected argument " "1"" of type '" "wxJoystick *""'");
15204 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (bool)(arg1
)->HasPOV4Dir();
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15220 SWIGINTERN PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15221 PyObject
*resultobj
= 0;
15222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15226 PyObject
*swig_obj
[1] ;
15228 if (!args
) SWIG_fail
;
15229 swig_obj
[0] = args
;
15230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15231 if (!SWIG_IsOK(res1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_HasPOVCTS" "', expected argument " "1"" of type '" "wxJoystick *""'");
15234 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15237 result
= (bool)(arg1
)->HasPOVCTS();
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15250 SWIGINTERN PyObject
*_wrap_Joystick_SetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
= 0;
15252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15253 wxWindow
*arg2
= (wxWindow
*) 0 ;
15254 int arg3
= (int) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 PyObject
* obj1
= 0 ;
15264 PyObject
* obj2
= 0 ;
15265 char * kwnames
[] = {
15266 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
15269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15271 if (!SWIG_IsOK(res1
)) {
15272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_SetCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15274 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15275 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15276 if (!SWIG_IsOK(res2
)) {
15277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Joystick_SetCapture" "', expected argument " "2"" of type '" "wxWindow *""'");
15279 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15282 if (!SWIG_IsOK(ecode3
)) {
15283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Joystick_SetCapture" "', expected argument " "3"" of type '" "int""'");
15285 arg3
= static_cast< int >(val3
);
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
15290 wxPyEndAllowThreads(__tstate
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15302 SWIGINTERN PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15303 PyObject
*resultobj
= 0;
15304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
15308 PyObject
*swig_obj
[1] ;
15310 if (!args
) SWIG_fail
;
15311 swig_obj
[0] = args
;
15312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystick
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Joystick_ReleaseCapture" "', expected argument " "1"" of type '" "wxJoystick *""'");
15316 arg1
= reinterpret_cast< wxJoystick
* >(argp1
);
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)(arg1
)->ReleaseCapture();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15332 SWIGINTERN PyObject
*Joystick_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15334 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15335 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystick
, SWIG_NewClientData(obj
));
15336 return SWIG_Py_Void();
15339 SWIGINTERN PyObject
*Joystick_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 return SWIG_Python_InitShadowInstance(args
);
15343 SWIGINTERN PyObject
*_wrap_new_JoystickEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15346 int arg2
= (int) 0 ;
15347 int arg3
= (int) wxJOYSTICK1
;
15348 int arg4
= (int) 0 ;
15349 wxJoystickEvent
*result
= 0 ;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 PyObject
* obj2
= 0 ;
15361 PyObject
* obj3
= 0 ;
15362 char * kwnames
[] = {
15363 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
15366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15369 if (!SWIG_IsOK(ecode1
)) {
15370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_JoystickEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15372 arg1
= static_cast< wxEventType
>(val1
);
15375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15376 if (!SWIG_IsOK(ecode2
)) {
15377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_JoystickEvent" "', expected argument " "2"" of type '" "int""'");
15379 arg2
= static_cast< int >(val2
);
15382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15383 if (!SWIG_IsOK(ecode3
)) {
15384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_JoystickEvent" "', expected argument " "3"" of type '" "int""'");
15386 arg3
= static_cast< int >(val3
);
15389 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15390 if (!SWIG_IsOK(ecode4
)) {
15391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_JoystickEvent" "', expected argument " "4"" of type '" "int""'");
15393 arg4
= static_cast< int >(val4
);
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJoystickEvent
, SWIG_POINTER_NEW
| 0 );
15408 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15409 PyObject
*resultobj
= 0;
15410 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15414 PyObject
*swig_obj
[1] ;
15416 if (!args
) SWIG_fail
;
15417 swig_obj
[0] = args
;
15418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15419 if (!SWIG_IsOK(res1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15422 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15436 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15437 PyObject
*resultobj
= 0;
15438 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15442 PyObject
*swig_obj
[1] ;
15444 if (!args
) SWIG_fail
;
15445 swig_obj
[0] = args
;
15446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15447 if (!SWIG_IsOK(res1
)) {
15448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15450 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 resultobj
= SWIG_From_int(static_cast< int >(result
));
15464 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15465 PyObject
*resultobj
= 0;
15466 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15470 PyObject
*swig_obj
[1] ;
15472 if (!args
) SWIG_fail
;
15473 swig_obj
[0] = args
;
15474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15475 if (!SWIG_IsOK(res1
)) {
15476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15478 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15481 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 resultobj
= SWIG_From_int(static_cast< int >(result
));
15492 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15498 PyObject
*swig_obj
[1] ;
15500 if (!args
) SWIG_fail
;
15501 swig_obj
[0] = args
;
15502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15503 if (!SWIG_IsOK(res1
)) {
15504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15506 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= SWIG_From_int(static_cast< int >(result
));
15520 SWIGINTERN PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15521 PyObject
*resultobj
= 0;
15522 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15526 PyObject
*swig_obj
[1] ;
15528 if (!args
) SWIG_fail
;
15529 swig_obj
[0] = args
;
15530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15531 if (!SWIG_IsOK(res1
)) {
15532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_GetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15534 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 resultobj
= SWIG_From_int(static_cast< int >(result
));
15548 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
= 0;
15550 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 char * kwnames
[] = {
15559 (char *) "self",(char *) "stick", NULL
15562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15567 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15569 if (!SWIG_IsOK(ecode2
)) {
15570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetJoystick" "', expected argument " "2"" of type '" "int""'");
15572 arg2
= static_cast< int >(val2
);
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 (arg1
)->SetJoystick(arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_Py_Void();
15586 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
= 0;
15588 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 PyObject
* obj1
= 0 ;
15596 char * kwnames
[] = {
15597 (char *) "self",(char *) "state", NULL
15600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15602 if (!SWIG_IsOK(res1
)) {
15603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15605 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15607 if (!SWIG_IsOK(ecode2
)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonState" "', expected argument " "2"" of type '" "int""'");
15610 arg2
= static_cast< int >(val2
);
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->SetButtonState(arg2
);
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15617 resultobj
= SWIG_Py_Void();
15624 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= 0;
15626 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 PyObject
* obj1
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "change", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15643 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15645 if (!SWIG_IsOK(ecode2
)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetButtonChange" "', expected argument " "2"" of type '" "int""'");
15648 arg2
= static_cast< int >(val2
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 (arg1
)->SetButtonChange(arg2
);
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_Py_Void();
15662 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15665 wxPoint
*arg2
= 0 ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 char * kwnames
[] = {
15672 (char *) "self",(char *) "pos", NULL
15675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15677 if (!SWIG_IsOK(res1
)) {
15678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15680 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
15688 wxPyEndAllowThreads(__tstate
);
15689 if (PyErr_Occurred()) SWIG_fail
;
15691 resultobj
= SWIG_Py_Void();
15698 SWIGINTERN PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
= 0;
15700 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 char * kwnames
[] = {
15709 (char *) "self",(char *) "zPos", NULL
15712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "1"" of type '" "wxJoystickEvent *""'");
15717 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15718 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15719 if (!SWIG_IsOK(ecode2
)) {
15720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_SetZPosition" "', expected argument " "2"" of type '" "int""'");
15722 arg2
= static_cast< int >(val2
);
15724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15725 (arg1
)->SetZPosition(arg2
);
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= SWIG_Py_Void();
15736 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15737 PyObject
*resultobj
= 0;
15738 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15742 PyObject
*swig_obj
[1] ;
15744 if (!args
) SWIG_fail
;
15745 swig_obj
[0] = args
;
15746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15747 if (!SWIG_IsOK(res1
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsButton" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15750 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15753 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15767 PyObject
*resultobj
= 0;
15768 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15772 PyObject
*swig_obj
[1] ;
15774 if (!args
) SWIG_fail
;
15775 swig_obj
[0] = args
;
15776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15780 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15796 SWIGINTERN PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 PyObject
*resultobj
= 0;
15798 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_IsZMove" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15810 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
= 0;
15828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15829 int arg2
= (int) wxJOY_BUTTON_ANY
;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 char * kwnames
[] = {
15838 (char *) "self",(char *) "but", NULL
15841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15843 if (!SWIG_IsOK(res1
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15846 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15849 if (!SWIG_IsOK(ecode2
)) {
15850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
15852 arg2
= static_cast< int >(val2
);
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
= 0;
15871 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15872 int arg2
= (int) wxJOY_BUTTON_ANY
;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char * kwnames
[] = {
15881 (char *) "self",(char *) "but", NULL
15884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15886 if (!SWIG_IsOK(res1
)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15889 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15892 if (!SWIG_IsOK(ecode2
)) {
15893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
15895 arg2
= static_cast< int >(val2
);
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15912 SWIGINTERN PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
= 0;
15914 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
15915 int arg2
= (int) wxJOY_BUTTON_ANY
;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 char * kwnames
[] = {
15924 (char *) "self",(char *) "but", NULL
15927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxJoystickEvent
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxJoystickEvent const *""'");
15932 arg1
= reinterpret_cast< wxJoystickEvent
* >(argp1
);
15934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15935 if (!SWIG_IsOK(ecode2
)) {
15936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "JoystickEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
15938 arg2
= static_cast< int >(val2
);
15941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15942 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15955 SWIGINTERN PyObject
*JoystickEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15958 SWIG_TypeNewClientData(SWIGTYPE_p_wxJoystickEvent
, SWIG_NewClientData(obj
));
15959 return SWIG_Py_Void();
15962 SWIGINTERN PyObject
*JoystickEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 return SWIG_Python_InitShadowInstance(args
);
15966 SWIGINTERN PyObject
*_wrap_new_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
= 0;
15968 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15969 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15970 wxSound
*result
= 0 ;
15971 bool temp1
= false ;
15972 PyObject
* obj0
= 0 ;
15973 char * kwnames
[] = {
15974 (char *) "fileName", NULL
15977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) SWIG_fail
;
15980 arg1
= wxString_in_helper(obj0
);
15981 if (arg1
== NULL
) SWIG_fail
;
15986 if (!wxPyCheckForApp()) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_NEW
| 0 );
16007 SWIGINTERN PyObject
*_wrap_new_SoundFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
= 0;
16009 PyObject
*arg1
= (PyObject
*) 0 ;
16010 wxSound
*result
= 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char * kwnames
[] = {
16013 (char *) "data", NULL
16016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) SWIG_fail
;
16019 if (!wxPyCheckForApp()) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (wxSound
*)new_wxSound(arg1
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSound
, SWIG_POINTER_OWN
| 0 );
16032 SWIGINTERN PyObject
*_wrap_delete_Sound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16033 PyObject
*resultobj
= 0;
16034 wxSound
*arg1
= (wxSound
*) 0 ;
16037 PyObject
*swig_obj
[1] ;
16039 if (!args
) SWIG_fail
;
16040 swig_obj
[0] = args
;
16041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, SWIG_POINTER_DISOWN
| 0 );
16042 if (!SWIG_IsOK(res1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sound" "', expected argument " "1"" of type '" "wxSound *""'");
16045 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_Py_Void();
16060 SWIGINTERN PyObject
*_wrap_Sound_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
= 0;
16062 wxSound
*arg1
= (wxSound
*) 0 ;
16063 wxString
*arg2
= 0 ;
16067 bool temp2
= false ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 char * kwnames
[] = {
16071 (char *) "self",(char *) "fileName", NULL
16074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16076 if (!SWIG_IsOK(res1
)) {
16077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Create" "', expected argument " "1"" of type '" "wxSound *""'");
16079 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16081 arg2
= wxString_in_helper(obj1
);
16082 if (arg2
== NULL
) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16108 SWIGINTERN PyObject
*_wrap_Sound_CreateFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
= 0;
16110 wxSound
*arg1
= (wxSound
*) 0 ;
16111 PyObject
*arg2
= (PyObject
*) 0 ;
16115 PyObject
* obj0
= 0 ;
16116 PyObject
* obj1
= 0 ;
16117 char * kwnames
[] = {
16118 (char *) "self",(char *) "data", NULL
16121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16123 if (!SWIG_IsOK(res1
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_CreateFromData" "', expected argument " "1"" of type '" "wxSound *""'");
16126 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 SWIGINTERN PyObject
*_wrap_Sound_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16144 PyObject
*resultobj
= 0;
16145 wxSound
*arg1
= (wxSound
*) 0 ;
16149 PyObject
*swig_obj
[1] ;
16151 if (!args
) SWIG_fail
;
16152 swig_obj
[0] = args
;
16153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16154 if (!SWIG_IsOK(res1
)) {
16155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_IsOk" "', expected argument " "1"" of type '" "wxSound *""'");
16157 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (bool)(arg1
)->IsOk();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16173 SWIGINTERN PyObject
*_wrap_Sound_Play(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
= 0;
16175 wxSound
*arg1
= (wxSound
*) 0 ;
16176 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16180 unsigned int val2
;
16182 PyObject
* obj0
= 0 ;
16183 PyObject
* obj1
= 0 ;
16184 char * kwnames
[] = {
16185 (char *) "self",(char *) "flags", NULL
16188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSound
, 0 | 0 );
16190 if (!SWIG_IsOK(res1
)) {
16191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sound_Play" "', expected argument " "1"" of type '" "wxSound const *""'");
16193 arg1
= reinterpret_cast< wxSound
* >(argp1
);
16195 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16196 if (!SWIG_IsOK(ecode2
)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_Play" "', expected argument " "2"" of type '" "unsigned int""'");
16199 arg2
= static_cast< unsigned int >(val2
);
16202 if (!wxPyCheckForApp()) SWIG_fail
;
16203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16204 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16217 SWIGINTERN PyObject
*_wrap_Sound_PlaySound(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
= 0;
16219 wxString
*arg1
= 0 ;
16220 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
16222 bool temp1
= false ;
16223 unsigned int val2
;
16225 PyObject
* obj0
= 0 ;
16226 PyObject
* obj1
= 0 ;
16227 char * kwnames
[] = {
16228 (char *) "filename",(char *) "flags", NULL
16231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16233 arg1
= wxString_in_helper(obj0
);
16234 if (arg1
== NULL
) SWIG_fail
;
16238 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16239 if (!SWIG_IsOK(ecode2
)) {
16240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sound_PlaySound" "', expected argument " "2"" of type '" "unsigned int""'");
16242 arg2
= static_cast< unsigned int >(val2
);
16245 if (!wxPyCheckForApp()) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
16248 wxPyEndAllowThreads(__tstate
);
16249 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16268 SWIGINTERN PyObject
*_wrap_Sound_Stop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16269 PyObject
*resultobj
= 0;
16271 if (!SWIG_Python_UnpackTuple(args
,"Sound_Stop",0,0,0)) SWIG_fail
;
16273 if (!wxPyCheckForApp()) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 wxPyEndAllowThreads(__tstate
);
16277 if (PyErr_Occurred()) SWIG_fail
;
16279 resultobj
= SWIG_Py_Void();
16286 SWIGINTERN PyObject
*Sound_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16289 SWIG_TypeNewClientData(SWIGTYPE_p_wxSound
, SWIG_NewClientData(obj
));
16290 return SWIG_Py_Void();
16293 SWIGINTERN PyObject
*Sound_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16294 return SWIG_Python_InitShadowInstance(args
);
16297 SWIGINTERN PyObject
*_wrap_new_FileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16298 PyObject
*resultobj
= 0;
16299 wxString
*arg1
= 0 ;
16300 wxString
*arg2
= 0 ;
16301 wxString
*arg3
= 0 ;
16302 wxString
*arg4
= 0 ;
16303 wxFileTypeInfo
*result
= 0 ;
16304 bool temp1
= false ;
16305 bool temp2
= false ;
16306 bool temp3
= false ;
16307 bool temp4
= false ;
16308 PyObject
* obj0
= 0 ;
16309 PyObject
* obj1
= 0 ;
16310 PyObject
* obj2
= 0 ;
16311 PyObject
* obj3
= 0 ;
16312 char * kwnames
[] = {
16313 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
16316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16318 arg1
= wxString_in_helper(obj0
);
16319 if (arg1
== NULL
) SWIG_fail
;
16323 arg2
= wxString_in_helper(obj1
);
16324 if (arg2
== NULL
) SWIG_fail
;
16328 arg3
= wxString_in_helper(obj2
);
16329 if (arg3
== NULL
) SWIG_fail
;
16333 arg4
= wxString_in_helper(obj3
);
16334 if (arg4
== NULL
) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_NEW
| 0 );
16382 SWIGINTERN PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 wxArrayString
*arg1
= 0 ;
16385 wxFileTypeInfo
*result
= 0 ;
16386 bool temp1
= false ;
16387 PyObject
* obj0
= 0 ;
16388 char * kwnames
[] = {
16389 (char *) "sArray", NULL
16392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) SWIG_fail
;
16394 if (! PySequence_Check(obj0
)) {
16395 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16398 arg1
= new wxArrayString
;
16400 int i
, len
=PySequence_Length(obj0
);
16401 for (i
=0; i
<len
; i
++) {
16402 PyObject
* item
= PySequence_GetItem(obj0
, i
);
16403 wxString
* s
= wxString_in_helper(item
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16412 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16418 if (temp1
) delete arg1
;
16423 if (temp1
) delete arg1
;
16429 SWIGINTERN PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16430 PyObject
*resultobj
= 0;
16431 wxFileTypeInfo
*result
= 0 ;
16433 if (!SWIG_Python_UnpackTuple(args
,"new_NullFileTypeInfo",0,0,0)) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileTypeInfo
, SWIG_POINTER_OWN
| 0 );
16447 SWIGINTERN PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16448 PyObject
*resultobj
= 0;
16449 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16453 PyObject
*swig_obj
[1] ;
16455 if (!args
) SWIG_fail
;
16456 swig_obj
[0] = args
;
16457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16458 if (!SWIG_IsOK(res1
)) {
16459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_IsValid" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16461 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
= 0;
16479 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16480 wxString
*arg2
= 0 ;
16481 int arg3
= (int) 0 ;
16484 bool temp2
= false ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 PyObject
* obj2
= 0 ;
16490 char * kwnames
[] = {
16491 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
16494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16496 if (!SWIG_IsOK(res1
)) {
16497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16499 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16501 arg2
= wxString_in_helper(obj1
);
16502 if (arg2
== NULL
) SWIG_fail
;
16506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16507 if (!SWIG_IsOK(ecode3
)) {
16508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileTypeInfo_SetIcon" "', expected argument " "3"" of type '" "int""'");
16510 arg3
= static_cast< int >(val3
);
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
= 0;
16535 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16536 wxString
*arg2
= 0 ;
16539 bool temp2
= false ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "shortDesc", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_SetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo *""'");
16551 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16553 arg2
= wxString_in_helper(obj1
);
16554 if (arg2
== NULL
) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_Py_Void();
16578 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16579 PyObject
*resultobj
= 0;
16580 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16581 wxString
*result
= 0 ;
16584 PyObject
*swig_obj
[1] ;
16586 if (!args
) SWIG_fail
;
16587 swig_obj
[0] = args
;
16588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16589 if (!SWIG_IsOK(res1
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetMimeType" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16592 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
16597 result
= (wxString
*) &_result_ref
;
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16604 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16606 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16615 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16616 PyObject
*resultobj
= 0;
16617 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16618 wxString
*result
= 0 ;
16621 PyObject
*swig_obj
[1] ;
16623 if (!args
) SWIG_fail
;
16624 swig_obj
[0] = args
;
16625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16629 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
16634 result
= (wxString
*) &_result_ref
;
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16641 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16643 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16652 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16653 PyObject
*resultobj
= 0;
16654 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16655 wxString
*result
= 0 ;
16658 PyObject
*swig_obj
[1] ;
16660 if (!args
) SWIG_fail
;
16661 swig_obj
[0] = args
;
16662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16663 if (!SWIG_IsOK(res1
)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16666 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
16671 result
= (wxString
*) &_result_ref
;
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16680 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16689 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16690 PyObject
*resultobj
= 0;
16691 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16692 wxString
*result
= 0 ;
16695 PyObject
*swig_obj
[1] ;
16697 if (!args
) SWIG_fail
;
16698 swig_obj
[0] = args
;
16699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16700 if (!SWIG_IsOK(res1
)) {
16701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetShortDesc" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16703 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
16708 result
= (wxString
*) &_result_ref
;
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16717 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16726 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16727 PyObject
*resultobj
= 0;
16728 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16729 wxString
*result
= 0 ;
16732 PyObject
*swig_obj
[1] ;
16734 if (!args
) SWIG_fail
;
16735 swig_obj
[0] = args
;
16736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetDescription" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16740 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
16745 result
= (wxString
*) &_result_ref
;
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16754 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16763 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16764 PyObject
*resultobj
= 0;
16765 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16766 wxArrayString
*result
= 0 ;
16769 PyObject
*swig_obj
[1] ;
16771 if (!args
) SWIG_fail
;
16772 swig_obj
[0] = args
;
16773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16774 if (!SWIG_IsOK(res1
)) {
16775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensions" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16777 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
16782 result
= (wxArrayString
*) &_result_ref
;
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= wxArrayString2PyList_helper(*result
);
16796 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16797 PyObject
*resultobj
= 0;
16798 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16802 PyObject
*swig_obj
[1] ;
16804 if (!args
) SWIG_fail
;
16805 swig_obj
[0] = args
;
16806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16807 if (!SWIG_IsOK(res1
)) {
16808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetExtensionsCount" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16810 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (size_t)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16824 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16825 PyObject
*resultobj
= 0;
16826 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16827 wxString
*result
= 0 ;
16830 PyObject
*swig_obj
[1] ;
16832 if (!args
) SWIG_fail
;
16833 swig_obj
[0] = args
;
16834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16835 if (!SWIG_IsOK(res1
)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconFile" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16838 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
16843 result
= (wxString
*) &_result_ref
;
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16861 SWIGINTERN PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16862 PyObject
*resultobj
= 0;
16863 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
16867 PyObject
*swig_obj
[1] ;
16869 if (!args
) SWIG_fail
;
16870 swig_obj
[0] = args
;
16871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileTypeInfo
, 0 | 0 );
16872 if (!SWIG_IsOK(res1
)) {
16873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileTypeInfo_GetIconIndex" "', expected argument " "1"" of type '" "wxFileTypeInfo const *""'");
16875 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16878 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_From_int(static_cast< int >(result
));
16889 SWIGINTERN PyObject
*FileTypeInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16892 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileTypeInfo
, SWIG_NewClientData(obj
));
16893 return SWIG_Py_Void();
16896 SWIGINTERN PyObject
*FileTypeInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16897 return SWIG_Python_InitShadowInstance(args
);
16900 SWIGINTERN PyObject
*_wrap_new_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
= 0;
16902 wxFileTypeInfo
*arg1
= 0 ;
16903 wxFileType
*result
= 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char * kwnames
[] = {
16908 (char *) "ftInfo", NULL
16911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) SWIG_fail
;
16912 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
16913 if (!SWIG_IsOK(res1
)) {
16914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FileType" "', expected argument " "1"" of type '" "wxFileTypeInfo const &""'");
16919 arg1
= reinterpret_cast< wxFileTypeInfo
* >(argp1
);
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_NEW
| 0 );
16933 SWIGINTERN PyObject
*_wrap_delete_FileType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16934 PyObject
*resultobj
= 0;
16935 wxFileType
*arg1
= (wxFileType
*) 0 ;
16938 PyObject
*swig_obj
[1] ;
16940 if (!args
) SWIG_fail
;
16941 swig_obj
[0] = args
;
16942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, SWIG_POINTER_DISOWN
| 0 );
16943 if (!SWIG_IsOK(res1
)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileType" "', expected argument " "1"" of type '" "wxFileType *""'");
16946 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= SWIG_Py_Void();
16961 SWIGINTERN PyObject
*_wrap_FileType_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16962 PyObject
*resultobj
= 0;
16963 wxFileType
*arg1
= (wxFileType
*) 0 ;
16964 PyObject
*result
= 0 ;
16967 PyObject
*swig_obj
[1] ;
16969 if (!args
) SWIG_fail
;
16970 swig_obj
[0] = args
;
16971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeType" "', expected argument " "1"" of type '" "wxFileType *""'");
16975 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
16977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16978 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 resultobj
= result
;
16989 SWIGINTERN PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16990 PyObject
*resultobj
= 0;
16991 wxFileType
*arg1
= (wxFileType
*) 0 ;
16992 PyObject
*result
= 0 ;
16995 PyObject
*swig_obj
[1] ;
16997 if (!args
) SWIG_fail
;
16998 swig_obj
[0] = args
;
16999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17000 if (!SWIG_IsOK(res1
)) {
17001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetMimeTypes" "', expected argument " "1"" of type '" "wxFileType *""'");
17003 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= result
;
17017 SWIGINTERN PyObject
*_wrap_FileType_GetExtensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17018 PyObject
*resultobj
= 0;
17019 wxFileType
*arg1
= (wxFileType
*) 0 ;
17020 PyObject
*result
= 0 ;
17023 PyObject
*swig_obj
[1] ;
17025 if (!args
) SWIG_fail
;
17026 swig_obj
[0] = args
;
17027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetExtensions" "', expected argument " "1"" of type '" "wxFileType *""'");
17031 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= result
;
17045 SWIGINTERN PyObject
*_wrap_FileType_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17046 PyObject
*resultobj
= 0;
17047 wxFileType
*arg1
= (wxFileType
*) 0 ;
17048 wxIcon
*result
= 0 ;
17051 PyObject
*swig_obj
[1] ;
17053 if (!args
) SWIG_fail
;
17054 swig_obj
[0] = args
;
17055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17056 if (!SWIG_IsOK(res1
)) {
17057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17059 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
17073 SWIGINTERN PyObject
*_wrap_FileType_GetIconInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17074 PyObject
*resultobj
= 0;
17075 wxFileType
*arg1
= (wxFileType
*) 0 ;
17076 PyObject
*result
= 0 ;
17079 PyObject
*swig_obj
[1] ;
17081 if (!args
) SWIG_fail
;
17082 swig_obj
[0] = args
;
17083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17084 if (!SWIG_IsOK(res1
)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetIconInfo" "', expected argument " "1"" of type '" "wxFileType *""'");
17087 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= result
;
17101 SWIGINTERN PyObject
*_wrap_FileType_GetDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17102 PyObject
*resultobj
= 0;
17103 wxFileType
*arg1
= (wxFileType
*) 0 ;
17104 PyObject
*result
= 0 ;
17107 PyObject
*swig_obj
[1] ;
17109 if (!args
) SWIG_fail
;
17110 swig_obj
[0] = args
;
17111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17112 if (!SWIG_IsOK(res1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetDescription" "', expected argument " "1"" of type '" "wxFileType *""'");
17115 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= result
;
17129 SWIGINTERN PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
= 0;
17131 wxFileType
*arg1
= (wxFileType
*) 0 ;
17132 wxString
*arg2
= 0 ;
17133 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17134 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17135 PyObject
*result
= 0 ;
17138 bool temp2
= false ;
17139 bool temp3
= false ;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 PyObject
* obj2
= 0 ;
17143 char * kwnames
[] = {
17144 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17149 if (!SWIG_IsOK(res1
)) {
17150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetOpenCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17152 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17154 arg2
= wxString_in_helper(obj1
);
17155 if (arg2
== NULL
) SWIG_fail
;
17160 arg3
= wxString_in_helper(obj2
);
17161 if (arg3
== NULL
) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17168 wxPyEndAllowThreads(__tstate
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17171 resultobj
= result
;
17194 SWIGINTERN PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
= 0;
17196 wxFileType
*arg1
= (wxFileType
*) 0 ;
17197 wxString
*arg2
= 0 ;
17198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17200 PyObject
*result
= 0 ;
17203 bool temp2
= false ;
17204 bool temp3
= false ;
17205 PyObject
* obj0
= 0 ;
17206 PyObject
* obj1
= 0 ;
17207 PyObject
* obj2
= 0 ;
17208 char * kwnames
[] = {
17209 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17214 if (!SWIG_IsOK(res1
)) {
17215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetPrintCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17217 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17219 arg2
= wxString_in_helper(obj1
);
17220 if (arg2
== NULL
) SWIG_fail
;
17225 arg3
= wxString_in_helper(obj2
);
17226 if (arg3
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= result
;
17259 SWIGINTERN PyObject
*_wrap_FileType_GetAllCommands(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
= 0;
17261 wxFileType
*arg1
= (wxFileType
*) 0 ;
17262 wxString
*arg2
= 0 ;
17263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17265 PyObject
*result
= 0 ;
17268 bool temp2
= false ;
17269 bool temp3
= false ;
17270 PyObject
* obj0
= 0 ;
17271 PyObject
* obj1
= 0 ;
17272 PyObject
* obj2
= 0 ;
17273 char * kwnames
[] = {
17274 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
17277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17279 if (!SWIG_IsOK(res1
)) {
17280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_GetAllCommands" "', expected argument " "1"" of type '" "wxFileType *""'");
17282 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17284 arg2
= wxString_in_helper(obj1
);
17285 if (arg2
== NULL
) SWIG_fail
;
17290 arg3
= wxString_in_helper(obj2
);
17291 if (arg3
== NULL
) SWIG_fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= result
;
17324 SWIGINTERN PyObject
*_wrap_FileType_SetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
= 0;
17326 wxFileType
*arg1
= (wxFileType
*) 0 ;
17327 wxString
*arg2
= 0 ;
17328 wxString
*arg3
= 0 ;
17329 bool arg4
= (bool) true ;
17333 bool temp2
= false ;
17334 bool temp3
= false ;
17337 PyObject
* obj0
= 0 ;
17338 PyObject
* obj1
= 0 ;
17339 PyObject
* obj2
= 0 ;
17340 PyObject
* obj3
= 0 ;
17341 char * kwnames
[] = {
17342 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
17345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17347 if (!SWIG_IsOK(res1
)) {
17348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetCommand" "', expected argument " "1"" of type '" "wxFileType *""'");
17350 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17352 arg2
= wxString_in_helper(obj1
);
17353 if (arg2
== NULL
) SWIG_fail
;
17357 arg3
= wxString_in_helper(obj2
);
17358 if (arg3
== NULL
) SWIG_fail
;
17362 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
17363 if (!SWIG_IsOK(ecode4
)) {
17364 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileType_SetCommand" "', expected argument " "4"" of type '" "bool""'");
17366 arg4
= static_cast< bool >(val4
);
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17399 SWIGINTERN PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
= 0;
17401 wxFileType
*arg1
= (wxFileType
*) 0 ;
17402 wxString
const &arg2_defvalue
= wxPyEmptyString
;
17403 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17404 int arg3
= (int) 0 ;
17408 bool temp2
= false ;
17411 PyObject
* obj0
= 0 ;
17412 PyObject
* obj1
= 0 ;
17413 PyObject
* obj2
= 0 ;
17414 char * kwnames
[] = {
17415 (char *) "self",(char *) "cmd",(char *) "index", NULL
17418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17420 if (!SWIG_IsOK(res1
)) {
17421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "1"" of type '" "wxFileType *""'");
17423 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17426 arg2
= wxString_in_helper(obj1
);
17427 if (arg2
== NULL
) SWIG_fail
;
17432 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17433 if (!SWIG_IsOK(ecode3
)) {
17434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileType_SetDefaultIcon" "', expected argument " "3"" of type '" "int""'");
17436 arg3
= static_cast< int >(val3
);
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17461 SWIGINTERN PyObject
*_wrap_FileType_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17462 PyObject
*resultobj
= 0;
17463 wxFileType
*arg1
= (wxFileType
*) 0 ;
17467 PyObject
*swig_obj
[1] ;
17469 if (!args
) SWIG_fail
;
17470 swig_obj
[0] = args
;
17471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileType
, 0 | 0 );
17472 if (!SWIG_IsOK(res1
)) {
17473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileType_Unassociate" "', expected argument " "1"" of type '" "wxFileType *""'");
17475 arg1
= reinterpret_cast< wxFileType
* >(argp1
);
17477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17478 result
= (bool)(arg1
)->Unassociate();
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17491 SWIGINTERN PyObject
*_wrap_FileType_ExpandCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxString
*arg1
= 0 ;
17494 wxString
*arg2
= 0 ;
17495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17498 bool temp1
= false ;
17499 bool temp2
= false ;
17500 bool temp3
= false ;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 char * kwnames
[] = {
17505 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
17508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17510 arg1
= wxString_in_helper(obj0
);
17511 if (arg1
== NULL
) SWIG_fail
;
17515 arg2
= wxString_in_helper(obj1
);
17516 if (arg2
== NULL
) SWIG_fail
;
17521 arg3
= wxString_in_helper(obj2
);
17522 if (arg3
== NULL
) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= wxFileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17569 SWIGINTERN PyObject
*FileType_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17572 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileType
, SWIG_NewClientData(obj
));
17573 return SWIG_Py_Void();
17576 SWIGINTERN PyObject
*FileType_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17577 return SWIG_Python_InitShadowInstance(args
);
17580 SWIGINTERN
int TheMimeTypesManager_set(PyObject
*) {
17581 SWIG_Error(SWIG_AttributeError
,"Variable TheMimeTypesManager is read-only.");
17586 SWIGINTERN PyObject
*TheMimeTypesManager_get(void) {
17587 PyObject
*pyobj
= 0;
17589 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0 );
17594 SWIGINTERN PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
= 0;
17596 wxString
*arg1
= 0 ;
17597 wxString
*arg2
= 0 ;
17599 bool temp1
= false ;
17600 bool temp2
= false ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 char * kwnames
[] = {
17604 (char *) "mimeType",(char *) "wildcard", NULL
17607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17609 arg1
= wxString_in_helper(obj0
);
17610 if (arg1
== NULL
) SWIG_fail
;
17614 arg2
= wxString_in_helper(obj1
);
17615 if (arg2
== NULL
) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17649 SWIGINTERN PyObject
*_wrap_new_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17650 PyObject
*resultobj
= 0;
17651 wxMimeTypesManager
*result
= 0 ;
17653 if (!SWIG_Python_UnpackTuple(args
,"new_MimeTypesManager",0,0,0)) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_NEW
| 0 );
17667 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
= 0;
17669 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17670 int arg2
= (int) wxMAILCAP_ALL
;
17671 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17672 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17677 bool temp3
= false ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17690 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17692 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17693 if (!SWIG_IsOK(ecode2
)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MimeTypesManager_Initialize" "', expected argument " "2"" of type '" "int""'");
17696 arg2
= static_cast< int >(val2
);
17700 arg3
= wxString_in_helper(obj2
);
17701 if (arg3
== NULL
) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= SWIG_Py_Void();
17726 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17727 PyObject
*resultobj
= 0;
17728 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17731 PyObject
*swig_obj
[1] ;
17733 if (!args
) SWIG_fail
;
17734 swig_obj
[0] = args
;
17735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17736 if (!SWIG_IsOK(res1
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ClearData" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17739 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->ClearData();
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_Py_Void();
17753 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
= 0;
17755 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17756 wxString
*arg2
= 0 ;
17757 wxFileType
*result
= 0 ;
17760 bool temp2
= false ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char * kwnames
[] = {
17764 (char *) "self",(char *) "ext", NULL
17767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17769 if (!SWIG_IsOK(res1
)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromExtension" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17772 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17774 arg2
= wxString_in_helper(obj1
);
17775 if (arg2
== NULL
) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17799 SWIGINTERN PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
= 0;
17801 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17802 wxString
*arg2
= 0 ;
17803 wxFileType
*result
= 0 ;
17806 bool temp2
= false ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char * kwnames
[] = {
17810 (char *) "self",(char *) "mimeType", NULL
17813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17815 if (!SWIG_IsOK(res1
)) {
17816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_GetFileTypeFromMimeType" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17818 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17820 arg2
= wxString_in_helper(obj1
);
17821 if (arg2
== NULL
) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
17827 wxPyEndAllowThreads(__tstate
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
17845 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
= 0;
17847 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17848 wxString
*arg2
= 0 ;
17849 bool arg3
= (bool) false ;
17853 bool temp2
= false ;
17856 PyObject
* obj0
= 0 ;
17857 PyObject
* obj1
= 0 ;
17858 PyObject
* obj2
= 0 ;
17859 char * kwnames
[] = {
17860 (char *) "self",(char *) "filename",(char *) "fallback", NULL
17863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17865 if (!SWIG_IsOK(res1
)) {
17866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17868 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17870 arg2
= wxString_in_helper(obj1
);
17871 if (arg2
== NULL
) SWIG_fail
;
17875 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17876 if (!SWIG_IsOK(ecode3
)) {
17877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MimeTypesManager_ReadMailcap" "', expected argument " "3"" of type '" "bool""'");
17879 arg3
= static_cast< bool >(val3
);
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
17884 wxPyEndAllowThreads(__tstate
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17904 SWIGINTERN PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17905 PyObject
*resultobj
= 0;
17906 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17907 wxString
*arg2
= 0 ;
17911 bool temp2
= false ;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17914 char * kwnames
[] = {
17915 (char *) "self",(char *) "filename", NULL
17918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17920 if (!SWIG_IsOK(res1
)) {
17921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_ReadMimeTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17923 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17925 arg2
= wxString_in_helper(obj1
);
17926 if (arg2
== NULL
) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17952 SWIGINTERN PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 PyObject
*resultobj
= 0;
17954 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17955 PyObject
*result
= 0 ;
17958 PyObject
*swig_obj
[1] ;
17960 if (!args
) SWIG_fail
;
17961 swig_obj
[0] = args
;
17962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_EnumAllFileTypes" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17966 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
;
17980 SWIGINTERN PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
= 0;
17982 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
17983 wxFileTypeInfo
*arg2
= 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char * kwnames
[] = {
17991 (char *) "self",(char *) "ft", NULL
17994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
17996 if (!SWIG_IsOK(res1
)) {
17997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
17999 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18001 if (!SWIG_IsOK(res2
)) {
18002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_AddFallback" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18007 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= SWIG_Py_Void();
18021 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
= 0;
18023 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18024 wxFileTypeInfo
*arg2
= 0 ;
18025 wxFileType
*result
= 0 ;
18030 PyObject
* obj0
= 0 ;
18031 PyObject
* obj1
= 0 ;
18032 char * kwnames
[] = {
18033 (char *) "self",(char *) "ftInfo", NULL
18036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18038 if (!SWIG_IsOK(res1
)) {
18039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Associate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18041 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileTypeInfo
, 0 | 0);
18043 if (!SWIG_IsOK(res2
)) {
18044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MimeTypesManager_Associate" "', expected argument " "2"" of type '" "wxFileTypeInfo const &""'");
18049 arg2
= reinterpret_cast< wxFileTypeInfo
* >(argp2
);
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileType
, SWIG_POINTER_OWN
| 0 );
18063 SWIGINTERN PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
= 0;
18065 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18066 wxFileType
*arg2
= (wxFileType
*) 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char * kwnames
[] = {
18075 (char *) "self",(char *) "ft", NULL
18078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMimeTypesManager
, 0 | 0 );
18080 if (!SWIG_IsOK(res1
)) {
18081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18083 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFileType
, 0 | 0 );
18085 if (!SWIG_IsOK(res2
)) {
18086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MimeTypesManager_Unassociate" "', expected argument " "2"" of type '" "wxFileType *""'");
18088 arg2
= reinterpret_cast< wxFileType
* >(argp2
);
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (bool)(arg1
)->Unassociate(arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18104 SWIGINTERN PyObject
*_wrap_delete_MimeTypesManager(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18105 PyObject
*resultobj
= 0;
18106 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
18109 PyObject
*swig_obj
[1] ;
18111 if (!args
) SWIG_fail
;
18112 swig_obj
[0] = args
;
18113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMimeTypesManager
, SWIG_POINTER_DISOWN
| 0 );
18114 if (!SWIG_IsOK(res1
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MimeTypesManager" "', expected argument " "1"" of type '" "wxMimeTypesManager *""'");
18117 arg1
= reinterpret_cast< wxMimeTypesManager
* >(argp1
);
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_Py_Void();
18132 SWIGINTERN PyObject
*MimeTypesManager_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18135 SWIG_TypeNewClientData(SWIGTYPE_p_wxMimeTypesManager
, SWIG_NewClientData(obj
));
18136 return SWIG_Py_Void();
18139 SWIGINTERN PyObject
*MimeTypesManager_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18140 return SWIG_Python_InitShadowInstance(args
);
18143 SWIGINTERN
int ART_TOOLBAR_set(PyObject
*) {
18144 SWIG_Error(SWIG_AttributeError
,"Variable ART_TOOLBAR is read-only.");
18149 SWIGINTERN PyObject
*ART_TOOLBAR_get(void) {
18150 PyObject
*pyobj
= 0;
18154 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18156 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
18163 SWIGINTERN
int ART_MENU_set(PyObject
*) {
18164 SWIG_Error(SWIG_AttributeError
,"Variable ART_MENU is read-only.");
18169 SWIGINTERN PyObject
*ART_MENU_get(void) {
18170 PyObject
*pyobj
= 0;
18174 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18176 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
18183 SWIGINTERN
int ART_FRAME_ICON_set(PyObject
*) {
18184 SWIG_Error(SWIG_AttributeError
,"Variable ART_FRAME_ICON is read-only.");
18189 SWIGINTERN PyObject
*ART_FRAME_ICON_get(void) {
18190 PyObject
*pyobj
= 0;
18194 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18196 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
18203 SWIGINTERN
int ART_CMN_DIALOG_set(PyObject
*) {
18204 SWIG_Error(SWIG_AttributeError
,"Variable ART_CMN_DIALOG is read-only.");
18209 SWIGINTERN PyObject
*ART_CMN_DIALOG_get(void) {
18210 PyObject
*pyobj
= 0;
18214 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18216 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
18223 SWIGINTERN
int ART_HELP_BROWSER_set(PyObject
*) {
18224 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BROWSER is read-only.");
18229 SWIGINTERN PyObject
*ART_HELP_BROWSER_get(void) {
18230 PyObject
*pyobj
= 0;
18234 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18236 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
18243 SWIGINTERN
int ART_MESSAGE_BOX_set(PyObject
*) {
18244 SWIG_Error(SWIG_AttributeError
,"Variable ART_MESSAGE_BOX is read-only.");
18249 SWIGINTERN PyObject
*ART_MESSAGE_BOX_get(void) {
18250 PyObject
*pyobj
= 0;
18254 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18256 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
18263 SWIGINTERN
int ART_BUTTON_set(PyObject
*) {
18264 SWIG_Error(SWIG_AttributeError
,"Variable ART_BUTTON is read-only.");
18269 SWIGINTERN PyObject
*ART_BUTTON_get(void) {
18270 PyObject
*pyobj
= 0;
18274 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18276 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
18283 SWIGINTERN
int ART_OTHER_set(PyObject
*) {
18284 SWIG_Error(SWIG_AttributeError
,"Variable ART_OTHER is read-only.");
18289 SWIGINTERN PyObject
*ART_OTHER_get(void) {
18290 PyObject
*pyobj
= 0;
18294 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18296 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
18303 SWIGINTERN
int ART_ADD_BOOKMARK_set(PyObject
*) {
18304 SWIG_Error(SWIG_AttributeError
,"Variable ART_ADD_BOOKMARK is read-only.");
18309 SWIGINTERN PyObject
*ART_ADD_BOOKMARK_get(void) {
18310 PyObject
*pyobj
= 0;
18314 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18316 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
18323 SWIGINTERN
int ART_DEL_BOOKMARK_set(PyObject
*) {
18324 SWIG_Error(SWIG_AttributeError
,"Variable ART_DEL_BOOKMARK is read-only.");
18329 SWIGINTERN PyObject
*ART_DEL_BOOKMARK_get(void) {
18330 PyObject
*pyobj
= 0;
18334 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18336 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
18343 SWIGINTERN
int ART_HELP_SIDE_PANEL_set(PyObject
*) {
18344 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
18349 SWIGINTERN PyObject
*ART_HELP_SIDE_PANEL_get(void) {
18350 PyObject
*pyobj
= 0;
18354 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18356 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
18363 SWIGINTERN
int ART_HELP_SETTINGS_set(PyObject
*) {
18364 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_SETTINGS is read-only.");
18369 SWIGINTERN PyObject
*ART_HELP_SETTINGS_get(void) {
18370 PyObject
*pyobj
= 0;
18374 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18376 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
18383 SWIGINTERN
int ART_HELP_BOOK_set(PyObject
*) {
18384 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_BOOK is read-only.");
18389 SWIGINTERN PyObject
*ART_HELP_BOOK_get(void) {
18390 PyObject
*pyobj
= 0;
18394 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18396 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
18403 SWIGINTERN
int ART_HELP_FOLDER_set(PyObject
*) {
18404 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_FOLDER is read-only.");
18409 SWIGINTERN PyObject
*ART_HELP_FOLDER_get(void) {
18410 PyObject
*pyobj
= 0;
18414 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18416 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
18423 SWIGINTERN
int ART_HELP_PAGE_set(PyObject
*) {
18424 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP_PAGE is read-only.");
18429 SWIGINTERN PyObject
*ART_HELP_PAGE_get(void) {
18430 PyObject
*pyobj
= 0;
18434 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18436 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
18443 SWIGINTERN
int ART_GO_BACK_set(PyObject
*) {
18444 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_BACK is read-only.");
18449 SWIGINTERN PyObject
*ART_GO_BACK_get(void) {
18450 PyObject
*pyobj
= 0;
18454 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18456 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
18463 SWIGINTERN
int ART_GO_FORWARD_set(PyObject
*) {
18464 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_FORWARD is read-only.");
18469 SWIGINTERN PyObject
*ART_GO_FORWARD_get(void) {
18470 PyObject
*pyobj
= 0;
18474 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18476 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
18483 SWIGINTERN
int ART_GO_UP_set(PyObject
*) {
18484 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_UP is read-only.");
18489 SWIGINTERN PyObject
*ART_GO_UP_get(void) {
18490 PyObject
*pyobj
= 0;
18494 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18496 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
18503 SWIGINTERN
int ART_GO_DOWN_set(PyObject
*) {
18504 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DOWN is read-only.");
18509 SWIGINTERN PyObject
*ART_GO_DOWN_get(void) {
18510 PyObject
*pyobj
= 0;
18514 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18516 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
18523 SWIGINTERN
int ART_GO_TO_PARENT_set(PyObject
*) {
18524 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_TO_PARENT is read-only.");
18529 SWIGINTERN PyObject
*ART_GO_TO_PARENT_get(void) {
18530 PyObject
*pyobj
= 0;
18534 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18536 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
18543 SWIGINTERN
int ART_GO_HOME_set(PyObject
*) {
18544 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_HOME is read-only.");
18549 SWIGINTERN PyObject
*ART_GO_HOME_get(void) {
18550 PyObject
*pyobj
= 0;
18554 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18556 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
18563 SWIGINTERN
int ART_FILE_OPEN_set(PyObject
*) {
18564 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_OPEN is read-only.");
18569 SWIGINTERN PyObject
*ART_FILE_OPEN_get(void) {
18570 PyObject
*pyobj
= 0;
18574 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18576 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
18583 SWIGINTERN
int ART_FILE_SAVE_set(PyObject
*) {
18584 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE is read-only.");
18589 SWIGINTERN PyObject
*ART_FILE_SAVE_get(void) {
18590 PyObject
*pyobj
= 0;
18594 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18596 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE
)->c_str(), (&wxPyART_FILE_SAVE
)->Len());
18603 SWIGINTERN
int ART_FILE_SAVE_AS_set(PyObject
*) {
18604 SWIG_Error(SWIG_AttributeError
,"Variable ART_FILE_SAVE_AS is read-only.");
18609 SWIGINTERN PyObject
*ART_FILE_SAVE_AS_get(void) {
18610 PyObject
*pyobj
= 0;
18614 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18616 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS
)->c_str(), (&wxPyART_FILE_SAVE_AS
)->Len());
18623 SWIGINTERN
int ART_PRINT_set(PyObject
*) {
18624 SWIG_Error(SWIG_AttributeError
,"Variable ART_PRINT is read-only.");
18629 SWIGINTERN PyObject
*ART_PRINT_get(void) {
18630 PyObject
*pyobj
= 0;
18634 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18636 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
18643 SWIGINTERN
int ART_HELP_set(PyObject
*) {
18644 SWIG_Error(SWIG_AttributeError
,"Variable ART_HELP is read-only.");
18649 SWIGINTERN PyObject
*ART_HELP_get(void) {
18650 PyObject
*pyobj
= 0;
18654 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18656 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
18663 SWIGINTERN
int ART_TIP_set(PyObject
*) {
18664 SWIG_Error(SWIG_AttributeError
,"Variable ART_TIP is read-only.");
18669 SWIGINTERN PyObject
*ART_TIP_get(void) {
18670 PyObject
*pyobj
= 0;
18674 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18676 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
18683 SWIGINTERN
int ART_REPORT_VIEW_set(PyObject
*) {
18684 SWIG_Error(SWIG_AttributeError
,"Variable ART_REPORT_VIEW is read-only.");
18689 SWIGINTERN PyObject
*ART_REPORT_VIEW_get(void) {
18690 PyObject
*pyobj
= 0;
18694 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18696 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
18703 SWIGINTERN
int ART_LIST_VIEW_set(PyObject
*) {
18704 SWIG_Error(SWIG_AttributeError
,"Variable ART_LIST_VIEW is read-only.");
18709 SWIGINTERN PyObject
*ART_LIST_VIEW_get(void) {
18710 PyObject
*pyobj
= 0;
18714 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18716 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
18723 SWIGINTERN
int ART_NEW_DIR_set(PyObject
*) {
18724 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW_DIR is read-only.");
18729 SWIGINTERN PyObject
*ART_NEW_DIR_get(void) {
18730 PyObject
*pyobj
= 0;
18734 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18736 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
18743 SWIGINTERN
int ART_HARDDISK_set(PyObject
*) {
18744 SWIG_Error(SWIG_AttributeError
,"Variable ART_HARDDISK is read-only.");
18749 SWIGINTERN PyObject
*ART_HARDDISK_get(void) {
18750 PyObject
*pyobj
= 0;
18754 pyobj
= PyUnicode_FromWideChar((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18756 pyobj
= PyString_FromStringAndSize((&wxPyART_HARDDISK
)->c_str(), (&wxPyART_HARDDISK
)->Len());
18763 SWIGINTERN
int ART_FLOPPY_set(PyObject
*) {
18764 SWIG_Error(SWIG_AttributeError
,"Variable ART_FLOPPY is read-only.");
18769 SWIGINTERN PyObject
*ART_FLOPPY_get(void) {
18770 PyObject
*pyobj
= 0;
18774 pyobj
= PyUnicode_FromWideChar((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18776 pyobj
= PyString_FromStringAndSize((&wxPyART_FLOPPY
)->c_str(), (&wxPyART_FLOPPY
)->Len());
18783 SWIGINTERN
int ART_CDROM_set(PyObject
*) {
18784 SWIG_Error(SWIG_AttributeError
,"Variable ART_CDROM is read-only.");
18789 SWIGINTERN PyObject
*ART_CDROM_get(void) {
18790 PyObject
*pyobj
= 0;
18794 pyobj
= PyUnicode_FromWideChar((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18796 pyobj
= PyString_FromStringAndSize((&wxPyART_CDROM
)->c_str(), (&wxPyART_CDROM
)->Len());
18803 SWIGINTERN
int ART_REMOVABLE_set(PyObject
*) {
18804 SWIG_Error(SWIG_AttributeError
,"Variable ART_REMOVABLE is read-only.");
18809 SWIGINTERN PyObject
*ART_REMOVABLE_get(void) {
18810 PyObject
*pyobj
= 0;
18814 pyobj
= PyUnicode_FromWideChar((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18816 pyobj
= PyString_FromStringAndSize((&wxPyART_REMOVABLE
)->c_str(), (&wxPyART_REMOVABLE
)->Len());
18823 SWIGINTERN
int ART_FOLDER_set(PyObject
*) {
18824 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER is read-only.");
18829 SWIGINTERN PyObject
*ART_FOLDER_get(void) {
18830 PyObject
*pyobj
= 0;
18834 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18836 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
18843 SWIGINTERN
int ART_FOLDER_OPEN_set(PyObject
*) {
18844 SWIG_Error(SWIG_AttributeError
,"Variable ART_FOLDER_OPEN is read-only.");
18849 SWIGINTERN PyObject
*ART_FOLDER_OPEN_get(void) {
18850 PyObject
*pyobj
= 0;
18854 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18856 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN
)->c_str(), (&wxPyART_FOLDER_OPEN
)->Len());
18863 SWIGINTERN
int ART_GO_DIR_UP_set(PyObject
*) {
18864 SWIG_Error(SWIG_AttributeError
,"Variable ART_GO_DIR_UP is read-only.");
18869 SWIGINTERN PyObject
*ART_GO_DIR_UP_get(void) {
18870 PyObject
*pyobj
= 0;
18874 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18876 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
18883 SWIGINTERN
int ART_EXECUTABLE_FILE_set(PyObject
*) {
18884 SWIG_Error(SWIG_AttributeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
18889 SWIGINTERN PyObject
*ART_EXECUTABLE_FILE_get(void) {
18890 PyObject
*pyobj
= 0;
18894 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18896 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
18903 SWIGINTERN
int ART_NORMAL_FILE_set(PyObject
*) {
18904 SWIG_Error(SWIG_AttributeError
,"Variable ART_NORMAL_FILE is read-only.");
18909 SWIGINTERN PyObject
*ART_NORMAL_FILE_get(void) {
18910 PyObject
*pyobj
= 0;
18914 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18916 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
18923 SWIGINTERN
int ART_TICK_MARK_set(PyObject
*) {
18924 SWIG_Error(SWIG_AttributeError
,"Variable ART_TICK_MARK is read-only.");
18929 SWIGINTERN PyObject
*ART_TICK_MARK_get(void) {
18930 PyObject
*pyobj
= 0;
18934 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18936 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
18943 SWIGINTERN
int ART_CROSS_MARK_set(PyObject
*) {
18944 SWIG_Error(SWIG_AttributeError
,"Variable ART_CROSS_MARK is read-only.");
18949 SWIGINTERN PyObject
*ART_CROSS_MARK_get(void) {
18950 PyObject
*pyobj
= 0;
18954 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18956 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
18963 SWIGINTERN
int ART_ERROR_set(PyObject
*) {
18964 SWIG_Error(SWIG_AttributeError
,"Variable ART_ERROR is read-only.");
18969 SWIGINTERN PyObject
*ART_ERROR_get(void) {
18970 PyObject
*pyobj
= 0;
18974 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18976 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
18983 SWIGINTERN
int ART_QUESTION_set(PyObject
*) {
18984 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUESTION is read-only.");
18989 SWIGINTERN PyObject
*ART_QUESTION_get(void) {
18990 PyObject
*pyobj
= 0;
18994 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
18996 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
19003 SWIGINTERN
int ART_WARNING_set(PyObject
*) {
19004 SWIG_Error(SWIG_AttributeError
,"Variable ART_WARNING is read-only.");
19009 SWIGINTERN PyObject
*ART_WARNING_get(void) {
19010 PyObject
*pyobj
= 0;
19014 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19016 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
19023 SWIGINTERN
int ART_INFORMATION_set(PyObject
*) {
19024 SWIG_Error(SWIG_AttributeError
,"Variable ART_INFORMATION is read-only.");
19029 SWIGINTERN PyObject
*ART_INFORMATION_get(void) {
19030 PyObject
*pyobj
= 0;
19034 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19036 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
19043 SWIGINTERN
int ART_MISSING_IMAGE_set(PyObject
*) {
19044 SWIG_Error(SWIG_AttributeError
,"Variable ART_MISSING_IMAGE is read-only.");
19049 SWIGINTERN PyObject
*ART_MISSING_IMAGE_get(void) {
19050 PyObject
*pyobj
= 0;
19054 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19056 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
19063 SWIGINTERN
int ART_COPY_set(PyObject
*) {
19064 SWIG_Error(SWIG_AttributeError
,"Variable ART_COPY is read-only.");
19069 SWIGINTERN PyObject
*ART_COPY_get(void) {
19070 PyObject
*pyobj
= 0;
19074 pyobj
= PyUnicode_FromWideChar((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19076 pyobj
= PyString_FromStringAndSize((&wxPyART_COPY
)->c_str(), (&wxPyART_COPY
)->Len());
19083 SWIGINTERN
int ART_CUT_set(PyObject
*) {
19084 SWIG_Error(SWIG_AttributeError
,"Variable ART_CUT is read-only.");
19089 SWIGINTERN PyObject
*ART_CUT_get(void) {
19090 PyObject
*pyobj
= 0;
19094 pyobj
= PyUnicode_FromWideChar((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19096 pyobj
= PyString_FromStringAndSize((&wxPyART_CUT
)->c_str(), (&wxPyART_CUT
)->Len());
19103 SWIGINTERN
int ART_PASTE_set(PyObject
*) {
19104 SWIG_Error(SWIG_AttributeError
,"Variable ART_PASTE is read-only.");
19109 SWIGINTERN PyObject
*ART_PASTE_get(void) {
19110 PyObject
*pyobj
= 0;
19114 pyobj
= PyUnicode_FromWideChar((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19116 pyobj
= PyString_FromStringAndSize((&wxPyART_PASTE
)->c_str(), (&wxPyART_PASTE
)->Len());
19123 SWIGINTERN
int ART_DELETE_set(PyObject
*) {
19124 SWIG_Error(SWIG_AttributeError
,"Variable ART_DELETE is read-only.");
19129 SWIGINTERN PyObject
*ART_DELETE_get(void) {
19130 PyObject
*pyobj
= 0;
19134 pyobj
= PyUnicode_FromWideChar((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19136 pyobj
= PyString_FromStringAndSize((&wxPyART_DELETE
)->c_str(), (&wxPyART_DELETE
)->Len());
19143 SWIGINTERN
int ART_NEW_set(PyObject
*) {
19144 SWIG_Error(SWIG_AttributeError
,"Variable ART_NEW is read-only.");
19149 SWIGINTERN PyObject
*ART_NEW_get(void) {
19150 PyObject
*pyobj
= 0;
19154 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19156 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW
)->c_str(), (&wxPyART_NEW
)->Len());
19163 SWIGINTERN
int ART_UNDO_set(PyObject
*) {
19164 SWIG_Error(SWIG_AttributeError
,"Variable ART_UNDO is read-only.");
19169 SWIGINTERN PyObject
*ART_UNDO_get(void) {
19170 PyObject
*pyobj
= 0;
19174 pyobj
= PyUnicode_FromWideChar((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19176 pyobj
= PyString_FromStringAndSize((&wxPyART_UNDO
)->c_str(), (&wxPyART_UNDO
)->Len());
19183 SWIGINTERN
int ART_REDO_set(PyObject
*) {
19184 SWIG_Error(SWIG_AttributeError
,"Variable ART_REDO is read-only.");
19189 SWIGINTERN PyObject
*ART_REDO_get(void) {
19190 PyObject
*pyobj
= 0;
19194 pyobj
= PyUnicode_FromWideChar((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19196 pyobj
= PyString_FromStringAndSize((&wxPyART_REDO
)->c_str(), (&wxPyART_REDO
)->Len());
19203 SWIGINTERN
int ART_QUIT_set(PyObject
*) {
19204 SWIG_Error(SWIG_AttributeError
,"Variable ART_QUIT is read-only.");
19209 SWIGINTERN PyObject
*ART_QUIT_get(void) {
19210 PyObject
*pyobj
= 0;
19214 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19216 pyobj
= PyString_FromStringAndSize((&wxPyART_QUIT
)->c_str(), (&wxPyART_QUIT
)->Len());
19223 SWIGINTERN
int ART_FIND_set(PyObject
*) {
19224 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND is read-only.");
19229 SWIGINTERN PyObject
*ART_FIND_get(void) {
19230 PyObject
*pyobj
= 0;
19234 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19236 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND
)->c_str(), (&wxPyART_FIND
)->Len());
19243 SWIGINTERN
int ART_FIND_AND_REPLACE_set(PyObject
*) {
19244 SWIG_Error(SWIG_AttributeError
,"Variable ART_FIND_AND_REPLACE is read-only.");
19249 SWIGINTERN PyObject
*ART_FIND_AND_REPLACE_get(void) {
19250 PyObject
*pyobj
= 0;
19254 pyobj
= PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19256 pyobj
= PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE
)->c_str(), (&wxPyART_FIND_AND_REPLACE
)->Len());
19263 SWIGINTERN PyObject
*_wrap_new_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19264 PyObject
*resultobj
= 0;
19265 wxPyArtProvider
*result
= 0 ;
19267 if (!SWIG_Python_UnpackTuple(args
,"new_ArtProvider",0,0,0)) SWIG_fail
;
19269 if (!wxPyCheckForApp()) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (wxPyArtProvider
*)new wxPyArtProvider();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_NEW
| 0 );
19282 SWIGINTERN PyObject
*_wrap_delete_ArtProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19283 PyObject
*resultobj
= 0;
19284 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19287 PyObject
*swig_obj
[1] ;
19289 if (!args
) SWIG_fail
;
19290 swig_obj
[0] = args
;
19291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19292 if (!SWIG_IsOK(res1
)) {
19293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ArtProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19295 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_Py_Void();
19310 SWIGINTERN PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
= 0;
19312 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19313 PyObject
*arg2
= (PyObject
*) 0 ;
19314 PyObject
*arg3
= (PyObject
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 PyObject
* obj2
= 0 ;
19320 char * kwnames
[] = {
19321 (char *) "self",(char *) "self",(char *) "_class", NULL
19324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19326 if (!SWIG_IsOK(res1
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19329 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_Py_Void();
19345 SWIGINTERN PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
= 0;
19347 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char * kwnames
[] = {
19351 (char *) "provider", NULL
19354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) SWIG_fail
;
19355 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyArtProvider
, SWIG_POINTER_DISOWN
| 0 );
19356 if (!SWIG_IsOK(res1
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_PushProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 wxPyArtProvider::PushProvider(arg1
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 resultobj
= SWIG_Py_Void();
19372 SWIGINTERN PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19373 PyObject
*resultobj
= 0;
19376 if (!SWIG_Python_UnpackTuple(args
,"ArtProvider_PopProvider",0,0,0)) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 result
= (bool)wxPyArtProvider::PopProvider();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19392 SWIGINTERN PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= 0;
19394 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char * kwnames
[] = {
19400 (char *) "provider", NULL
19403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) SWIG_fail
;
19404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19405 if (!SWIG_IsOK(res1
)) {
19406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_RemoveProvider" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19408 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19424 SWIGINTERN PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
= 0;
19426 wxString
*arg1
= 0 ;
19427 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19428 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19429 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19430 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19432 bool temp1
= false ;
19433 bool temp2
= false ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 PyObject
* obj2
= 0 ;
19438 char * kwnames
[] = {
19439 (char *) "id",(char *) "client",(char *) "size", NULL
19442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19444 arg1
= wxString_in_helper(obj0
);
19445 if (arg1
== NULL
) SWIG_fail
;
19450 arg2
= wxString_in_helper(obj1
);
19451 if (arg2
== NULL
) SWIG_fail
;
19458 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19462 if (!wxPyCheckForApp()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
19491 SWIGINTERN PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
= 0;
19493 wxString
*arg1
= 0 ;
19494 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
19495 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19496 wxSize
const &arg3_defvalue
= wxDefaultSize
;
19497 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
19499 bool temp1
= false ;
19500 bool temp2
= false ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 PyObject
* obj2
= 0 ;
19505 char * kwnames
[] = {
19506 (char *) "id",(char *) "client",(char *) "size", NULL
19509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19511 arg1
= wxString_in_helper(obj0
);
19512 if (arg1
== NULL
) SWIG_fail
;
19517 arg2
= wxString_in_helper(obj1
);
19518 if (arg2
== NULL
) SWIG_fail
;
19525 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19529 if (!wxPyCheckForApp()) SWIG_fail
;
19530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19531 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
19558 SWIGINTERN PyObject
*_wrap_ArtProvider_GetSizeHint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxString
*arg1
= 0 ;
19561 bool arg2
= (bool) false ;
19563 bool temp1
= false ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char * kwnames
[] = {
19569 (char *) "client",(char *) "platform_dependent", NULL
19572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ArtProvider_GetSizeHint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19574 arg1
= wxString_in_helper(obj0
);
19575 if (arg1
== NULL
) SWIG_fail
;
19579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19580 if (!SWIG_IsOK(ecode2
)) {
19581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ArtProvider_GetSizeHint" "', expected argument " "2"" of type '" "bool""'");
19583 arg2
= static_cast< bool >(val2
);
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= wxPyArtProvider::GetSizeHint((wxString
const &)*arg1
,arg2
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19606 SWIGINTERN PyObject
*_wrap_ArtProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19607 PyObject
*resultobj
= 0;
19608 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
19611 PyObject
*swig_obj
[1] ;
19613 if (!args
) SWIG_fail
;
19614 swig_obj
[0] = args
;
19615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyArtProvider
, 0 | 0 );
19616 if (!SWIG_IsOK(res1
)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ArtProvider_Destroy" "', expected argument " "1"" of type '" "wxPyArtProvider *""'");
19619 arg1
= reinterpret_cast< wxPyArtProvider
* >(argp1
);
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 wxPyArtProvider_Destroy(arg1
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 resultobj
= SWIG_Py_Void();
19633 SWIGINTERN PyObject
*ArtProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyArtProvider
, SWIG_NewClientData(obj
));
19637 return SWIG_Py_Void();
19640 SWIGINTERN PyObject
*ArtProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 return SWIG_Python_InitShadowInstance(args
);
19644 SWIGINTERN PyObject
*_wrap_delete_ConfigBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 PyObject
*resultobj
= 0;
19646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19649 PyObject
*swig_obj
[1] ;
19651 if (!args
) SWIG_fail
;
19652 swig_obj
[0] = args
;
19653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigBase" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19657 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_Py_Void();
19672 SWIGINTERN PyObject
*_wrap_ConfigBase_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
= 0;
19674 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19675 wxConfigBase
*result
= 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char * kwnames
[] = {
19679 (char *) "config", NULL
19682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) SWIG_fail
;
19683 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxConfigBase
, SWIG_POINTER_DISOWN
| 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Set" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19700 SWIGINTERN PyObject
*_wrap_ConfigBase_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 bool arg1
= (bool) true ;
19703 wxConfigBase
*result
= 0 ;
19706 PyObject
* obj0
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "createOnDemand", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) SWIG_fail
;
19713 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
19714 if (!SWIG_IsOK(ecode1
)) {
19715 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ConfigBase_Get" "', expected argument " "1"" of type '" "bool""'");
19717 arg1
= static_cast< bool >(val1
);
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19732 SWIGINTERN PyObject
*_wrap_ConfigBase_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19733 PyObject
*resultobj
= 0;
19734 wxConfigBase
*result
= 0 ;
19736 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_Create",0,0,0)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (wxConfigBase
*)wxConfigBase::Create();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19750 SWIGINTERN PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19751 PyObject
*resultobj
= 0;
19753 if (!SWIG_Python_UnpackTuple(args
,"ConfigBase_DontCreateOnDemand",0,0,0)) SWIG_fail
;
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 wxConfigBase::DontCreateOnDemand();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_Py_Void();
19767 SWIGINTERN PyObject
*_wrap_ConfigBase_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
= 0;
19769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19770 wxString
*arg2
= 0 ;
19773 bool temp2
= false ;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char * kwnames
[] = {
19777 (char *) "self",(char *) "path", NULL
19780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetPath" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19785 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19787 arg2
= wxString_in_helper(obj1
);
19788 if (arg2
== NULL
) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 (arg1
)->SetPath((wxString
const &)*arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_Py_Void();
19812 SWIGINTERN PyObject
*_wrap_ConfigBase_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19813 PyObject
*resultobj
= 0;
19814 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19815 wxString
*result
= 0 ;
19818 PyObject
*swig_obj
[1] ;
19820 if (!args
) SWIG_fail
;
19821 swig_obj
[0] = args
;
19822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetPath" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
19826 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
19831 result
= (wxString
*) &_result_ref
;
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19840 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19849 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19850 PyObject
*resultobj
= 0;
19851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19852 PyObject
*result
= 0 ;
19855 PyObject
*swig_obj
[1] ;
19857 if (!args
) SWIG_fail
;
19858 swig_obj
[0] = args
;
19859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19860 if (!SWIG_IsOK(res1
)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19863 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= result
;
19877 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
= 0;
19879 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19881 PyObject
*result
= 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char * kwnames
[] = {
19889 (char *) "self",(char *) "index", NULL
19892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19894 if (!SWIG_IsOK(res1
)) {
19895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19897 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19898 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19899 if (!SWIG_IsOK(ecode2
)) {
19900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextGroup" "', expected argument " "2"" of type '" "long""'");
19902 arg2
= static_cast< long >(val2
);
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= result
;
19916 SWIGINTERN PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19917 PyObject
*resultobj
= 0;
19918 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19919 PyObject
*result
= 0 ;
19922 PyObject
*swig_obj
[1] ;
19924 if (!args
) SWIG_fail
;
19925 swig_obj
[0] = args
;
19926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetFirstEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19930 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= result
;
19944 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
= 0;
19946 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19948 PyObject
*result
= 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char * kwnames
[] = {
19956 (char *) "self",(char *) "index", NULL
19959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
19961 if (!SWIG_IsOK(res1
)) {
19962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
19964 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
19965 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19966 if (!SWIG_IsOK(ecode2
)) {
19967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNextEntry" "', expected argument " "2"" of type '" "long""'");
19969 arg2
= static_cast< long >(val2
);
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
;
19983 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
= 0;
19985 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
19986 bool arg2
= (bool) false ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "recursive", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20003 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20005 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20006 if (!SWIG_IsOK(ecode2
)) {
20007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfEntries" "', expected argument " "2"" of type '" "bool""'");
20009 arg2
= static_cast< bool >(val2
);
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
20014 wxPyEndAllowThreads(__tstate
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20017 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20024 SWIGINTERN PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
= 0;
20026 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20027 bool arg2
= (bool) false ;
20033 PyObject
* obj0
= 0 ;
20034 PyObject
* obj1
= 0 ;
20035 char * kwnames
[] = {
20036 (char *) "self",(char *) "recursive", NULL
20039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20041 if (!SWIG_IsOK(res1
)) {
20042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20044 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20046 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20047 if (!SWIG_IsOK(ecode2
)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_GetNumberOfGroups" "', expected argument " "2"" of type '" "bool""'");
20050 arg2
= static_cast< bool >(val2
);
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
20065 SWIGINTERN PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= 0;
20067 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20068 wxString
*arg2
= 0 ;
20072 bool temp2
= false ;
20073 PyObject
* obj0
= 0 ;
20074 PyObject
* obj1
= 0 ;
20075 char * kwnames
[] = {
20076 (char *) "self",(char *) "name", NULL
20079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20081 if (!SWIG_IsOK(res1
)) {
20082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasGroup" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20084 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20086 arg2
= wxString_in_helper(obj1
);
20087 if (arg2
== NULL
) SWIG_fail
;
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20113 SWIGINTERN PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20116 wxString
*arg2
= 0 ;
20120 bool temp2
= false ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char * kwnames
[] = {
20124 (char *) "self",(char *) "name", NULL
20127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_HasEntry" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20132 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20134 arg2
= wxString_in_helper(obj1
);
20135 if (arg2
== NULL
) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20161 SWIGINTERN PyObject
*_wrap_ConfigBase_Exists(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
= 0;
20163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20164 wxString
*arg2
= 0 ;
20168 bool temp2
= false ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char * kwnames
[] = {
20172 (char *) "self",(char *) "name", NULL
20175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20177 if (!SWIG_IsOK(res1
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Exists" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20180 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20182 arg2
= wxString_in_helper(obj1
);
20183 if (arg2
== NULL
) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20209 SWIGINTERN PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
= 0;
20211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20212 wxString
*arg2
= 0 ;
20213 wxConfigBase::EntryType result
;
20216 bool temp2
= false ;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 char * kwnames
[] = {
20220 (char *) "self",(char *) "name", NULL
20223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20225 if (!SWIG_IsOK(res1
)) {
20226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetEntryType" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
20228 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20230 arg2
= wxString_in_helper(obj1
);
20231 if (arg2
== NULL
) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 result
= (wxConfigBase::EntryType
)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_From_int(static_cast< int >(result
));
20255 SWIGINTERN PyObject
*_wrap_ConfigBase_Read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20258 wxString
*arg2
= 0 ;
20259 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20260 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20264 bool temp2
= false ;
20265 bool temp3
= false ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 char * kwnames
[] = {
20270 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20275 if (!SWIG_IsOK(res1
)) {
20276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Read" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20278 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20280 arg2
= wxString_in_helper(obj1
);
20281 if (arg2
== NULL
) SWIG_fail
;
20286 arg3
= wxString_in_helper(obj2
);
20287 if (arg3
== NULL
) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20326 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
= 0;
20328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20329 wxString
*arg2
= 0 ;
20330 long arg3
= (long) 0 ;
20334 bool temp2
= false ;
20337 PyObject
* obj0
= 0 ;
20338 PyObject
* obj1
= 0 ;
20339 PyObject
* obj2
= 0 ;
20340 char * kwnames
[] = {
20341 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20346 if (!SWIG_IsOK(res1
)) {
20347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20349 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20351 arg2
= wxString_in_helper(obj1
);
20352 if (arg2
== NULL
) SWIG_fail
;
20356 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20357 if (!SWIG_IsOK(ecode3
)) {
20358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadInt" "', expected argument " "3"" of type '" "long""'");
20360 arg3
= static_cast< long >(val3
);
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_From_long(static_cast< long >(result
));
20383 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
= 0;
20385 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20386 wxString
*arg2
= 0 ;
20387 double arg3
= (double) 0.0 ;
20391 bool temp2
= false ;
20394 PyObject
* obj0
= 0 ;
20395 PyObject
* obj1
= 0 ;
20396 PyObject
* obj2
= 0 ;
20397 char * kwnames
[] = {
20398 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20403 if (!SWIG_IsOK(res1
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20406 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20408 arg2
= wxString_in_helper(obj1
);
20409 if (arg2
== NULL
) SWIG_fail
;
20413 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20414 if (!SWIG_IsOK(ecode3
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadFloat" "', expected argument " "3"" of type '" "double""'");
20417 arg3
= static_cast< double >(val3
);
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= SWIG_From_double(static_cast< double >(result
));
20440 SWIGINTERN PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20441 PyObject
*resultobj
= 0;
20442 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20443 wxString
*arg2
= 0 ;
20444 bool arg3
= (bool) false ;
20448 bool temp2
= false ;
20451 PyObject
* obj0
= 0 ;
20452 PyObject
* obj1
= 0 ;
20453 PyObject
* obj2
= 0 ;
20454 char * kwnames
[] = {
20455 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
20458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ReadBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20463 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20465 arg2
= wxString_in_helper(obj1
);
20466 if (arg2
== NULL
) SWIG_fail
;
20470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20471 if (!SWIG_IsOK(ecode3
)) {
20472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_ReadBool" "', expected argument " "3"" of type '" "bool""'");
20474 arg3
= static_cast< bool >(val3
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20499 SWIGINTERN PyObject
*_wrap_ConfigBase_Write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
= 0;
20501 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20502 wxString
*arg2
= 0 ;
20503 wxString
*arg3
= 0 ;
20507 bool temp2
= false ;
20508 bool temp3
= false ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 PyObject
* obj2
= 0 ;
20512 char * kwnames
[] = {
20513 (char *) "self",(char *) "key",(char *) "value", NULL
20516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20518 if (!SWIG_IsOK(res1
)) {
20519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Write" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20521 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20523 arg2
= wxString_in_helper(obj1
);
20524 if (arg2
== NULL
) SWIG_fail
;
20528 arg3
= wxString_in_helper(obj2
);
20529 if (arg3
== NULL
) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20563 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
= 0;
20565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20566 wxString
*arg2
= 0 ;
20571 bool temp2
= false ;
20574 PyObject
* obj0
= 0 ;
20575 PyObject
* obj1
= 0 ;
20576 PyObject
* obj2
= 0 ;
20577 char * kwnames
[] = {
20578 (char *) "self",(char *) "key",(char *) "value", NULL
20581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20583 if (!SWIG_IsOK(res1
)) {
20584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteInt" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20586 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20588 arg2
= wxString_in_helper(obj1
);
20589 if (arg2
== NULL
) SWIG_fail
;
20592 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20593 if (!SWIG_IsOK(ecode3
)) {
20594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteInt" "', expected argument " "3"" of type '" "long""'");
20596 arg3
= static_cast< long >(val3
);
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= 0;
20622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20623 wxString
*arg2
= 0 ;
20628 bool temp2
= false ;
20631 PyObject
* obj0
= 0 ;
20632 PyObject
* obj1
= 0 ;
20633 PyObject
* obj2
= 0 ;
20634 char * kwnames
[] = {
20635 (char *) "self",(char *) "key",(char *) "value", NULL
20638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20640 if (!SWIG_IsOK(res1
)) {
20641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20643 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20645 arg2
= wxString_in_helper(obj1
);
20646 if (arg2
== NULL
) SWIG_fail
;
20649 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
20650 if (!SWIG_IsOK(ecode3
)) {
20651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteFloat" "', expected argument " "3"" of type '" "double""'");
20653 arg3
= static_cast< double >(val3
);
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20677 SWIGINTERN PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20680 wxString
*arg2
= 0 ;
20685 bool temp2
= false ;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 PyObject
* obj2
= 0 ;
20691 char * kwnames
[] = {
20692 (char *) "self",(char *) "key",(char *) "value", NULL
20695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_WriteBool" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20700 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20702 arg2
= wxString_in_helper(obj1
);
20703 if (arg2
== NULL
) SWIG_fail
;
20706 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20707 if (!SWIG_IsOK(ecode3
)) {
20708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_WriteBool" "', expected argument " "3"" of type '" "bool""'");
20710 arg3
= static_cast< bool >(val3
);
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20734 SWIGINTERN PyObject
*_wrap_ConfigBase_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20737 bool arg2
= (bool) false ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char * kwnames
[] = {
20746 (char *) "self",(char *) "currentOnly", NULL
20749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_Flush" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20754 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20756 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20757 if (!SWIG_IsOK(ecode2
)) {
20758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_Flush" "', expected argument " "2"" of type '" "bool""'");
20760 arg2
= static_cast< bool >(val2
);
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (bool)(arg1
)->Flush(arg2
);
20765 wxPyEndAllowThreads(__tstate
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20777 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
= 0;
20779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20780 wxString
*arg2
= 0 ;
20781 wxString
*arg3
= 0 ;
20785 bool temp2
= false ;
20786 bool temp3
= false ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 PyObject
* obj2
= 0 ;
20790 char * kwnames
[] = {
20791 (char *) "self",(char *) "oldName",(char *) "newName", NULL
20794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20796 if (!SWIG_IsOK(res1
)) {
20797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_RenameEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20799 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20801 arg2
= wxString_in_helper(obj1
);
20802 if (arg2
== NULL
) SWIG_fail
;
20806 arg3
= wxString_in_helper(obj2
);
20807 if (arg3
== NULL
) SWIG_fail
;
20811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20812 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20841 SWIGINTERN PyObject
*_wrap_ConfigBase_RenameGroup(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_RenameGroup",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_RenameGroup" "', 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
)->RenameGroup((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_DeleteEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
= 0;
20907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20908 wxString
*arg2
= 0 ;
20909 bool arg3
= (bool) true ;
20913 bool temp2
= false ;
20916 PyObject
* obj0
= 0 ;
20917 PyObject
* obj1
= 0 ;
20918 PyObject
* obj2
= 0 ;
20919 char * kwnames
[] = {
20920 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
20923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20925 if (!SWIG_IsOK(res1
)) {
20926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20928 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20930 arg2
= wxString_in_helper(obj1
);
20931 if (arg2
== NULL
) SWIG_fail
;
20935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
20936 if (!SWIG_IsOK(ecode3
)) {
20937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ConfigBase_DeleteEntry" "', expected argument " "3"" of type '" "bool""'");
20939 arg3
= static_cast< bool >(val3
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20964 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
= 0;
20966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
20967 wxString
*arg2
= 0 ;
20971 bool temp2
= false ;
20972 PyObject
* obj0
= 0 ;
20973 PyObject
* obj1
= 0 ;
20974 char * kwnames
[] = {
20975 (char *) "self",(char *) "key", NULL
20978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteGroup" "', expected argument " "1"" of type '" "wxConfigBase *""'");
20983 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
20985 arg2
= wxString_in_helper(obj1
);
20986 if (arg2
== NULL
) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21012 SWIGINTERN PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21013 PyObject
*resultobj
= 0;
21014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21018 PyObject
*swig_obj
[1] ;
21020 if (!args
) SWIG_fail
;
21021 swig_obj
[0] = args
;
21022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21023 if (!SWIG_IsOK(res1
)) {
21024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_DeleteAll" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21026 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21029 result
= (bool)(arg1
)->DeleteAll();
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21042 SWIGINTERN PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21045 bool arg2
= (bool) true ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char * kwnames
[] = {
21053 (char *) "self",(char *) "doIt", NULL
21056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21058 if (!SWIG_IsOK(res1
)) {
21059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21061 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21063 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetExpandEnvVars" "', expected argument " "2"" of type '" "bool""'");
21067 arg2
= static_cast< bool >(val2
);
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 (arg1
)->SetExpandEnvVars(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_Py_Void();
21082 SWIGINTERN PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21083 PyObject
*resultobj
= 0;
21084 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21088 PyObject
*swig_obj
[1] ;
21090 if (!args
) SWIG_fail
;
21091 swig_obj
[0] = args
;
21092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21093 if (!SWIG_IsOK(res1
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsExpandingEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21096 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21112 SWIGINTERN PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= 0;
21114 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21115 bool arg2
= (bool) true ;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 char * kwnames
[] = {
21123 (char *) "self",(char *) "doIt", NULL
21126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21128 if (!SWIG_IsOK(res1
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21131 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21133 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
21134 if (!SWIG_IsOK(ecode2
)) {
21135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetRecordDefaults" "', expected argument " "2"" of type '" "bool""'");
21137 arg2
= static_cast< bool >(val2
);
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->SetRecordDefaults(arg2
);
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 resultobj
= SWIG_Py_Void();
21152 SWIGINTERN PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 PyObject
*resultobj
= 0;
21154 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21158 PyObject
*swig_obj
[1] ;
21160 if (!args
) SWIG_fail
;
21161 swig_obj
[0] = args
;
21162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21163 if (!SWIG_IsOK(res1
)) {
21164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_IsRecordingDefaults" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21166 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 SWIGINTERN PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= 0;
21184 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21185 wxString
*arg2
= 0 ;
21189 bool temp2
= false ;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char * kwnames
[] = {
21193 (char *) "self",(char *) "str", NULL
21196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21198 if (!SWIG_IsOK(res1
)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_ExpandEnvVars" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21201 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21203 arg2
= wxString_in_helper(obj1
);
21204 if (arg2
== NULL
) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21234 SWIGINTERN PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21235 PyObject
*resultobj
= 0;
21236 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21240 PyObject
*swig_obj
[1] ;
21242 if (!args
) SWIG_fail
;
21243 swig_obj
[0] = args
;
21244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21245 if (!SWIG_IsOK(res1
)) {
21246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetAppName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21248 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21268 SWIGINTERN PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21269 PyObject
*resultobj
= 0;
21270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21274 PyObject
*swig_obj
[1] ;
21276 if (!args
) SWIG_fail
;
21277 swig_obj
[0] = args
;
21278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21279 if (!SWIG_IsOK(res1
)) {
21280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetVendorName" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21282 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21302 SWIGINTERN PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= 0;
21304 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21305 wxString
*arg2
= 0 ;
21308 bool temp2
= false ;
21309 PyObject
* obj0
= 0 ;
21310 PyObject
* obj1
= 0 ;
21311 char * kwnames
[] = {
21312 (char *) "self",(char *) "appName", NULL
21315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21317 if (!SWIG_IsOK(res1
)) {
21318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetAppName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21320 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21322 arg2
= wxString_in_helper(obj1
);
21323 if (arg2
== NULL
) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->SetAppName((wxString
const &)*arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_Py_Void();
21347 SWIGINTERN PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21348 PyObject
*resultobj
= 0;
21349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21350 wxString
*arg2
= 0 ;
21353 bool temp2
= false ;
21354 PyObject
* obj0
= 0 ;
21355 PyObject
* obj1
= 0 ;
21356 char * kwnames
[] = {
21357 (char *) "self",(char *) "vendorName", NULL
21360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetVendorName" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21365 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21367 arg2
= wxString_in_helper(obj1
);
21368 if (arg2
== NULL
) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->SetVendorName((wxString
const &)*arg2
);
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_Py_Void();
21392 SWIGINTERN PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
= 0;
21394 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 char * kwnames
[] = {
21403 (char *) "self",(char *) "style", NULL
21406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21408 if (!SWIG_IsOK(res1
)) {
21409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_SetStyle" "', expected argument " "1"" of type '" "wxConfigBase *""'");
21411 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21412 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21413 if (!SWIG_IsOK(ecode2
)) {
21414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ConfigBase_SetStyle" "', expected argument " "2"" of type '" "long""'");
21416 arg2
= static_cast< long >(val2
);
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 (arg1
)->SetStyle(arg2
);
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_Py_Void();
21430 SWIGINTERN PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21431 PyObject
*resultobj
= 0;
21432 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21436 PyObject
*swig_obj
[1] ;
21438 if (!args
) SWIG_fail
;
21439 swig_obj
[0] = args
;
21440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21441 if (!SWIG_IsOK(res1
)) {
21442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigBase_GetStyle" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21444 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_From_long(static_cast< long >(result
));
21458 SWIGINTERN PyObject
*ConfigBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21461 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigBase
, SWIG_NewClientData(obj
));
21462 return SWIG_Py_Void();
21465 SWIGINTERN PyObject
*_wrap_new_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
= 0;
21467 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21468 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21469 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21470 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21471 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21472 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21473 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21474 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21475 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21476 wxConfig
*result
= 0 ;
21477 bool temp1
= false ;
21478 bool temp2
= false ;
21479 bool temp3
= false ;
21480 bool temp4
= false ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 PyObject
* obj3
= 0 ;
21487 PyObject
* obj4
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21495 arg1
= wxString_in_helper(obj0
);
21496 if (arg1
== NULL
) SWIG_fail
;
21502 arg2
= wxString_in_helper(obj1
);
21503 if (arg2
== NULL
) SWIG_fail
;
21509 arg3
= wxString_in_helper(obj2
);
21510 if (arg3
== NULL
) SWIG_fail
;
21516 arg4
= wxString_in_helper(obj3
);
21517 if (arg4
== NULL
) SWIG_fail
;
21522 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21523 if (!SWIG_IsOK(ecode5
)) {
21524 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Config" "', expected argument " "5"" of type '" "long""'");
21526 arg5
= static_cast< long >(val5
);
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfig
, SWIG_POINTER_NEW
| 0 );
21573 SWIGINTERN PyObject
*_wrap_delete_Config(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21574 PyObject
*resultobj
= 0;
21575 wxConfig
*arg1
= (wxConfig
*) 0 ;
21578 PyObject
*swig_obj
[1] ;
21580 if (!args
) SWIG_fail
;
21581 swig_obj
[0] = args
;
21582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfig
, SWIG_POINTER_DISOWN
| 0 );
21583 if (!SWIG_IsOK(res1
)) {
21584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Config" "', expected argument " "1"" of type '" "wxConfig *""'");
21586 arg1
= reinterpret_cast< wxConfig
* >(argp1
);
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_Py_Void();
21601 SWIGINTERN PyObject
*Config_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21604 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfig
, SWIG_NewClientData(obj
));
21605 return SWIG_Py_Void();
21608 SWIGINTERN PyObject
*Config_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21609 return SWIG_Python_InitShadowInstance(args
);
21612 SWIGINTERN PyObject
*_wrap_new_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
= 0;
21614 wxString
const &arg1_defvalue
= wxPyEmptyString
;
21615 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21616 wxString
const &arg2_defvalue
= wxPyEmptyString
;
21617 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21620 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21622 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
21623 wxFileConfig
*result
= 0 ;
21624 bool temp1
= false ;
21625 bool temp2
= false ;
21626 bool temp3
= false ;
21627 bool temp4
= false ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 PyObject
* obj3
= 0 ;
21634 PyObject
* obj4
= 0 ;
21635 char * kwnames
[] = {
21636 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
21639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21642 arg1
= wxString_in_helper(obj0
);
21643 if (arg1
== NULL
) SWIG_fail
;
21649 arg2
= wxString_in_helper(obj1
);
21650 if (arg2
== NULL
) SWIG_fail
;
21656 arg3
= wxString_in_helper(obj2
);
21657 if (arg3
== NULL
) SWIG_fail
;
21663 arg4
= wxString_in_helper(obj3
);
21664 if (arg4
== NULL
) SWIG_fail
;
21669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21670 if (!SWIG_IsOK(ecode5
)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FileConfig" "', expected argument " "5"" of type '" "long""'");
21673 arg5
= static_cast< long >(val5
);
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_NEW
| 0 );
21720 SWIGINTERN PyObject
*_wrap_delete_FileConfig(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21721 PyObject
*resultobj
= 0;
21722 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
21725 PyObject
*swig_obj
[1] ;
21727 if (!args
) SWIG_fail
;
21728 swig_obj
[0] = args
;
21729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileConfig
, SWIG_POINTER_DISOWN
| 0 );
21730 if (!SWIG_IsOK(res1
)) {
21731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileConfig" "', expected argument " "1"" of type '" "wxFileConfig *""'");
21733 arg1
= reinterpret_cast< wxFileConfig
* >(argp1
);
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_Py_Void();
21748 SWIGINTERN PyObject
*FileConfig_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21750 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21751 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileConfig
, SWIG_NewClientData(obj
));
21752 return SWIG_Py_Void();
21755 SWIGINTERN PyObject
*FileConfig_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21756 return SWIG_Python_InitShadowInstance(args
);
21759 SWIGINTERN PyObject
*_wrap_new_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
21762 wxString
*arg2
= 0 ;
21763 wxConfigPathChanger
*result
= 0 ;
21766 bool temp2
= false ;
21767 PyObject
* obj0
= 0 ;
21768 PyObject
* obj1
= 0 ;
21769 char * kwnames
[] = {
21770 (char *) "config",(char *) "entry", NULL
21773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxConfigBase
, 0 | 0 );
21775 if (!SWIG_IsOK(res1
)) {
21776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigBase const *""'");
21778 arg1
= reinterpret_cast< wxConfigBase
* >(argp1
);
21780 arg2
= wxString_in_helper(obj1
);
21781 if (arg2
== NULL
) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_NEW
| 0 );
21805 SWIGINTERN PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21806 PyObject
*resultobj
= 0;
21807 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21810 PyObject
*swig_obj
[1] ;
21812 if (!args
) SWIG_fail
;
21813 swig_obj
[0] = args
;
21814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, SWIG_POINTER_DISOWN
| 0 );
21815 if (!SWIG_IsOK(res1
)) {
21816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ConfigPathChanger" "', expected argument " "1"" of type '" "wxConfigPathChanger *""'");
21818 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_Py_Void();
21833 SWIGINTERN PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21834 PyObject
*resultobj
= 0;
21835 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
21836 wxString
*result
= 0 ;
21839 PyObject
*swig_obj
[1] ;
21841 if (!args
) SWIG_fail
;
21842 swig_obj
[0] = args
;
21843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxConfigPathChanger
, 0 | 0 );
21844 if (!SWIG_IsOK(res1
)) {
21845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ConfigPathChanger_Name" "', expected argument " "1"" of type '" "wxConfigPathChanger const *""'");
21847 arg1
= reinterpret_cast< wxConfigPathChanger
* >(argp1
);
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
21852 result
= (wxString
*) &_result_ref
;
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21861 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21870 SWIGINTERN PyObject
*ConfigPathChanger_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21873 SWIG_TypeNewClientData(SWIGTYPE_p_wxConfigPathChanger
, SWIG_NewClientData(obj
));
21874 return SWIG_Py_Void();
21877 SWIGINTERN PyObject
*ConfigPathChanger_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21878 return SWIG_Python_InitShadowInstance(args
);
21881 SWIGINTERN PyObject
*_wrap_ExpandEnvVars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
= 0;
21883 wxString
*arg1
= 0 ;
21885 bool temp1
= false ;
21886 PyObject
* obj0
= 0 ;
21887 char * kwnames
[] = {
21888 (char *) "sz", NULL
21891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) SWIG_fail
;
21893 arg1
= wxString_in_helper(obj0
);
21894 if (arg1
== NULL
) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= wxExpandEnvVars((wxString
const &)*arg1
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21924 SWIGINTERN
int DefaultDateTimeFormat_set(PyObject
*) {
21925 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTimeFormat is read-only.");
21930 SWIGINTERN PyObject
*DefaultDateTimeFormat_get(void) {
21931 PyObject
*pyobj
= 0;
21935 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21937 pyobj
= PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat
)->c_str(), (&wxPyDefaultDateTimeFormat
)->Len());
21944 SWIGINTERN
int DefaultTimeSpanFormat_set(PyObject
*) {
21945 SWIG_Error(SWIG_AttributeError
,"Variable DefaultTimeSpanFormat is read-only.");
21950 SWIGINTERN PyObject
*DefaultTimeSpanFormat_get(void) {
21951 PyObject
*pyobj
= 0;
21955 pyobj
= PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21957 pyobj
= PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat
)->c_str(), (&wxPyDefaultTimeSpanFormat
)->Len());
21964 SWIGINTERN PyObject
*_wrap_DateTime_SetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
= 0;
21966 wxDateTime::Country arg1
;
21969 PyObject
* obj0
= 0 ;
21970 char * kwnames
[] = {
21971 (char *) "country", NULL
21974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) SWIG_fail
;
21975 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21976 if (!SWIG_IsOK(ecode1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
21979 arg1
= static_cast< wxDateTime::Country
>(val1
);
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 wxDateTime::SetCountry(arg1
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_Py_Void();
21993 SWIGINTERN PyObject
*_wrap_DateTime_GetCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21994 PyObject
*resultobj
= 0;
21995 wxDateTime::Country result
;
21997 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetCountry",0,0,0)) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (wxDateTime::Country
)wxDateTime::GetCountry();
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_From_int(static_cast< int >(result
));
22011 SWIGINTERN PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
= 0;
22013 wxDateTime::Country arg1
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22017 PyObject
* obj0
= 0 ;
22018 char * kwnames
[] = {
22019 (char *) "country", NULL
22022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) SWIG_fail
;
22024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22025 if (!SWIG_IsOK(ecode1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsWestEuropeanCountry" "', expected argument " "1"" of type '" "wxDateTime::Country""'");
22028 arg1
= static_cast< wxDateTime::Country
>(val1
);
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (bool)wxDateTime::IsWestEuropeanCountry(arg1
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22045 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
= 0;
22047 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22051 PyObject
* obj0
= 0 ;
22052 char * kwnames
[] = {
22053 (char *) "cal", NULL
22056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) SWIG_fail
;
22058 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22059 if (!SWIG_IsOK(ecode1
)) {
22060 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentYear" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22062 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (int)wxDateTime::GetCurrentYear(arg1
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_From_int(static_cast< int >(result
));
22077 SWIGINTERN PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
= 0;
22083 PyObject
* obj0
= 0 ;
22084 char * kwnames
[] = {
22085 (char *) "year", NULL
22088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) SWIG_fail
;
22089 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22090 if (!SWIG_IsOK(ecode1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_ConvertYearToBC" "', expected argument " "1"" of type '" "int""'");
22093 arg1
= static_cast< int >(val1
);
22095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22096 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= SWIG_From_int(static_cast< int >(result
));
22107 SWIGINTERN PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxDateTime::Calendar arg1
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22110 wxDateTime::Month result
;
22113 PyObject
* obj0
= 0 ;
22114 char * kwnames
[] = {
22115 (char *) "cal", NULL
22118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) SWIG_fail
;
22120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22121 if (!SWIG_IsOK(ecode1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCurrentMonth" "', expected argument " "1"" of type '" "wxDateTime::Calendar""'");
22124 arg1
= static_cast< wxDateTime::Calendar
>(val1
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (wxDateTime::Month
)wxDateTime::GetCurrentMonth(arg1
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_From_int(static_cast< int >(result
));
22139 SWIGINTERN PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 int arg1
= (int) wxDateTime::Inv_Year
;
22142 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "year",(char *) "cal", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22156 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22157 if (!SWIG_IsOK(ecode1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsLeapYear" "', expected argument " "1"" of type '" "int""'");
22160 arg1
= static_cast< int >(val1
);
22163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22164 if (!SWIG_IsOK(ecode2
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsLeapYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22167 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 result
= (bool)wxDateTime::IsLeapYear(arg1
,arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22184 SWIGINTERN PyObject
*_wrap_DateTime_GetCentury(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
= 0;
22186 int arg1
= (int) wxDateTime::Inv_Year
;
22190 PyObject
* obj0
= 0 ;
22191 char * kwnames
[] = {
22192 (char *) "year", NULL
22195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) SWIG_fail
;
22197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22198 if (!SWIG_IsOK(ecode1
)) {
22199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetCentury" "', expected argument " "1"" of type '" "int""'");
22201 arg1
= static_cast< int >(val1
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (int)wxDateTime::GetCentury(arg1
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_From_int(static_cast< int >(result
));
22216 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
= 0;
22219 wxDateTime::Calendar arg2
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 char * kwnames
[] = {
22228 (char *) "year",(char *) "cal", NULL
22231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22233 if (!SWIG_IsOK(ecode1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "1"" of type '" "int""'");
22236 arg1
= static_cast< int >(val1
);
22238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22239 if (!SWIG_IsOK(ecode2
)) {
22240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysinYear" "', expected argument " "2"" of type '" "wxDateTime::Calendar""'");
22242 arg2
= static_cast< wxDateTime::Calendar
>(val2
);
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= SWIG_From_int(static_cast< int >(result
));
22257 SWIGINTERN PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= 0;
22259 wxDateTime::Month arg1
;
22260 int arg2
= (int) wxDateTime::Inv_Year
;
22261 wxDateTime::Calendar arg3
= (wxDateTime::Calendar
) wxDateTime::Gregorian
;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 PyObject
* obj2
= 0 ;
22272 char * kwnames
[] = {
22273 (char *) "month",(char *) "year",(char *) "cal", NULL
22276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22277 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22278 if (!SWIG_IsOK(ecode1
)) {
22279 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22281 arg1
= static_cast< wxDateTime::Month
>(val1
);
22283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22284 if (!SWIG_IsOK(ecode2
)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "2"" of type '" "int""'");
22287 arg2
= static_cast< int >(val2
);
22290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22291 if (!SWIG_IsOK(ecode3
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetNumberOfDaysInMonth" "', expected argument " "3"" of type '" "wxDateTime::Calendar""'");
22294 arg3
= static_cast< wxDateTime::Calendar
>(val3
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 result
= (int)wxDateTime::GetNumberOfDays(arg1
,arg2
,arg3
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= SWIG_From_int(static_cast< int >(result
));
22309 SWIGINTERN PyObject
*_wrap_DateTime_GetMonthName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
= 0;
22311 wxDateTime::Month arg1
;
22312 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 char * kwnames
[] = {
22321 (char *) "month",(char *) "flags", NULL
22324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22325 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22326 if (!SWIG_IsOK(ecode1
)) {
22327 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetMonthName" "', expected argument " "1"" of type '" "wxDateTime::Month""'");
22329 arg1
= static_cast< wxDateTime::Month
>(val1
);
22331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22332 if (!SWIG_IsOK(ecode2
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetMonthName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22335 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 result
= wxDateTime::GetMonthName(arg1
,arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22356 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
= 0;
22358 wxDateTime::WeekDay arg1
;
22359 wxDateTime::NameFlags arg2
= (wxDateTime::NameFlags
) wxDateTime::Name_Full
;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 char * kwnames
[] = {
22368 (char *) "weekday",(char *) "flags", NULL
22371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22373 if (!SWIG_IsOK(ecode1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "1"" of type '" "wxDateTime::WeekDay""'");
22376 arg1
= static_cast< wxDateTime::WeekDay
>(val1
);
22378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22379 if (!SWIG_IsOK(ecode2
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayName" "', expected argument " "2"" of type '" "wxDateTime::NameFlags""'");
22382 arg2
= static_cast< wxDateTime::NameFlags
>(val2
);
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= wxDateTime::GetWeekDayName(arg1
,arg2
);
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22403 SWIGINTERN PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22404 PyObject
*resultobj
= 0;
22405 PyObject
*result
= 0 ;
22407 if (!SWIG_Python_UnpackTuple(args
,"DateTime_GetAmPmStrings",0,0,0)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (PyObject
*)wxDateTime_GetAmPmStrings();
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= result
;
22421 SWIGINTERN PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
= 0;
22423 int arg1
= (int) wxDateTime::Inv_Year
;
22424 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 char * kwnames
[] = {
22433 (char *) "year",(char *) "country", NULL
22436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22439 if (!SWIG_IsOK(ecode1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "1"" of type '" "int""'");
22442 arg1
= static_cast< int >(val1
);
22445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22446 if (!SWIG_IsOK(ecode2
)) {
22447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDSTApplicable" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22449 arg2
= static_cast< wxDateTime::Country
>(val2
);
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,arg2
);
22454 wxPyEndAllowThreads(__tstate
);
22455 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22466 SWIGINTERN PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
= 0;
22468 int arg1
= (int) wxDateTime::Inv_Year
;
22469 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22475 PyObject
* obj0
= 0 ;
22476 PyObject
* obj1
= 0 ;
22477 char * kwnames
[] = {
22478 (char *) "year",(char *) "country", NULL
22481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22484 if (!SWIG_IsOK(ecode1
)) {
22485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetBeginDST" "', expected argument " "1"" of type '" "int""'");
22487 arg1
= static_cast< int >(val1
);
22490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22491 if (!SWIG_IsOK(ecode2
)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetBeginDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22494 arg2
= static_cast< wxDateTime::Country
>(val2
);
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= wxDateTime::GetBeginDST(arg1
,arg2
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22509 SWIGINTERN PyObject
*_wrap_DateTime_GetEndDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
= 0;
22511 int arg1
= (int) wxDateTime::Inv_Year
;
22512 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
22518 PyObject
* obj0
= 0 ;
22519 PyObject
* obj1
= 0 ;
22520 char * kwnames
[] = {
22521 (char *) "year",(char *) "country", NULL
22524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22527 if (!SWIG_IsOK(ecode1
)) {
22528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_GetEndDST" "', expected argument " "1"" of type '" "int""'");
22530 arg1
= static_cast< int >(val1
);
22533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22534 if (!SWIG_IsOK(ecode2
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetEndDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
22537 arg2
= static_cast< wxDateTime::Country
>(val2
);
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 result
= wxDateTime::GetEndDST(arg1
,arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22552 SWIGINTERN PyObject
*_wrap_DateTime_Now(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22553 PyObject
*resultobj
= 0;
22556 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Now",0,0,0)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= wxDateTime::Now();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22570 SWIGINTERN PyObject
*_wrap_DateTime_UNow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22574 if (!SWIG_Python_UnpackTuple(args
,"DateTime_UNow",0,0,0)) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= wxDateTime::UNow();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22588 SWIGINTERN PyObject
*_wrap_DateTime_Today(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22592 if (!SWIG_Python_UnpackTuple(args
,"DateTime_Today",0,0,0)) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 result
= wxDateTime::Today();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22606 SWIGINTERN PyObject
*_wrap_new_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22607 PyObject
*resultobj
= 0;
22608 wxDateTime
*result
= 0 ;
22610 if (!SWIG_Python_UnpackTuple(args
,"new_DateTime",0,0,0)) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 result
= (wxDateTime
*)new wxDateTime();
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_NEW
| 0 );
22624 SWIGINTERN PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
= 0;
22627 wxDateTime
*result
= 0 ;
22628 unsigned int val1
;
22630 PyObject
* obj0
= 0 ;
22631 char * kwnames
[] = {
22632 (char *) "timet", NULL
22635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) SWIG_fail
;
22636 ecode1
= SWIG_AsVal_unsigned_SS_int(obj0
, &val1
);
22637 if (!SWIG_IsOK(ecode1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromTimeT" "', expected argument " "1"" of type '" "time_t""'");
22640 arg1
= static_cast< time_t >(val1
);
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (wxDateTime
*)new wxDateTime(arg1
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22654 SWIGINTERN PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
= 0;
22657 wxDateTime
*result
= 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char * kwnames
[] = {
22662 (char *) "jdn", NULL
22665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) SWIG_fail
;
22666 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
22667 if (!SWIG_IsOK(ecode1
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromJDN" "', expected argument " "1"" of type '" "double""'");
22670 arg1
= static_cast< double >(val1
);
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= (wxDateTime
*)new wxDateTime(arg1
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22684 SWIGINTERN PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
= 0;
22687 int arg2
= (int) 0 ;
22688 int arg3
= (int) 0 ;
22689 int arg4
= (int) 0 ;
22690 wxDateTime
*result
= 0 ;
22699 PyObject
* obj0
= 0 ;
22700 PyObject
* obj1
= 0 ;
22701 PyObject
* obj2
= 0 ;
22702 PyObject
* obj3
= 0 ;
22703 char * kwnames
[] = {
22704 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22708 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22709 if (!SWIG_IsOK(ecode1
)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromHMS" "', expected argument " "1"" of type '" "int""'");
22712 arg1
= static_cast< int >(val1
);
22714 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22715 if (!SWIG_IsOK(ecode2
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromHMS" "', expected argument " "2"" of type '" "int""'");
22718 arg2
= static_cast< int >(val2
);
22721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22722 if (!SWIG_IsOK(ecode3
)) {
22723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromHMS" "', expected argument " "3"" of type '" "int""'");
22725 arg3
= static_cast< int >(val3
);
22728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22729 if (!SWIG_IsOK(ecode4
)) {
22730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromHMS" "', expected argument " "4"" of type '" "int""'");
22732 arg4
= static_cast< int >(val4
);
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22747 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
= 0;
22750 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
22751 int arg3
= (int) wxDateTime::Inv_Year
;
22752 int arg4
= (int) 0 ;
22753 int arg5
= (int) 0 ;
22754 int arg6
= (int) 0 ;
22755 int arg7
= (int) 0 ;
22756 wxDateTime
*result
= 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 PyObject
* obj2
= 0 ;
22774 PyObject
* obj3
= 0 ;
22775 PyObject
* obj4
= 0 ;
22776 PyObject
* obj5
= 0 ;
22777 PyObject
* obj6
= 0 ;
22778 char * kwnames
[] = {
22779 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
22782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22783 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22784 if (!SWIG_IsOK(ecode1
)) {
22785 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateTimeFromDMY" "', expected argument " "1"" of type '" "int""'");
22787 arg1
= static_cast< int >(val1
);
22789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22790 if (!SWIG_IsOK(ecode2
)) {
22791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateTimeFromDMY" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
22793 arg2
= static_cast< wxDateTime::Month
>(val2
);
22796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22797 if (!SWIG_IsOK(ecode3
)) {
22798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateTimeFromDMY" "', expected argument " "3"" of type '" "int""'");
22800 arg3
= static_cast< int >(val3
);
22803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22804 if (!SWIG_IsOK(ecode4
)) {
22805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateTimeFromDMY" "', expected argument " "4"" of type '" "int""'");
22807 arg4
= static_cast< int >(val4
);
22810 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22811 if (!SWIG_IsOK(ecode5
)) {
22812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DateTimeFromDMY" "', expected argument " "5"" of type '" "int""'");
22814 arg5
= static_cast< int >(val5
);
22817 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22818 if (!SWIG_IsOK(ecode6
)) {
22819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DateTimeFromDMY" "', expected argument " "6"" of type '" "int""'");
22821 arg6
= static_cast< int >(val6
);
22824 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
22825 if (!SWIG_IsOK(ecode7
)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DateTimeFromDMY" "', expected argument " "7"" of type '" "int""'");
22828 arg7
= static_cast< int >(val7
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22843 SWIGINTERN PyObject
*_wrap_new_DateTimeFromDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDateTime
*arg1
= 0 ;
22846 wxDateTime
*result
= 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char * kwnames
[] = {
22851 (char *) "date", NULL
22854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromDateTime",kwnames
,&obj0
)) SWIG_fail
;
22855 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDateTime
, 0 | 0);
22856 if (!SWIG_IsOK(res1
)) {
22857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateTimeFromDateTime" "', expected argument " "1"" of type '" "wxDateTime const &""'");
22862 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22865 result
= (wxDateTime
*)new wxDateTime((wxDateTime
const &)*arg1
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
22876 SWIGINTERN PyObject
*_wrap_delete_DateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22877 PyObject
*resultobj
= 0;
22878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22881 PyObject
*swig_obj
[1] ;
22883 if (!args
) SWIG_fail
;
22884 swig_obj
[0] = args
;
22885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
22889 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 resultobj
= SWIG_Py_Void();
22904 SWIGINTERN PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22905 PyObject
*resultobj
= 0;
22906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22907 wxDateTime
*result
= 0 ;
22910 PyObject
*swig_obj
[1] ;
22912 if (!args
) SWIG_fail
;
22913 swig_obj
[0] = args
;
22914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22915 if (!SWIG_IsOK(res1
)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToCurrent" "', expected argument " "1"" of type '" "wxDateTime *""'");
22918 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
22923 result
= (wxDateTime
*) &_result_ref
;
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22935 SWIGINTERN PyObject
*_wrap_DateTime_SetTimeT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
= 0;
22937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22939 wxDateTime
*result
= 0 ;
22942 unsigned int val2
;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 char * kwnames
[] = {
22947 (char *) "self",(char *) "timet", NULL
22950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22952 if (!SWIG_IsOK(res1
)) {
22953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetTimeT" "', expected argument " "1"" of type '" "wxDateTime *""'");
22955 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22956 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
22957 if (!SWIG_IsOK(ecode2
)) {
22958 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetTimeT" "', expected argument " "2"" of type '" "time_t""'");
22960 arg2
= static_cast< time_t >(val2
);
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
22965 result
= (wxDateTime
*) &_result_ref
;
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
22977 SWIGINTERN PyObject
*_wrap_DateTime_SetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
= 0;
22979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
22981 wxDateTime
*result
= 0 ;
22986 PyObject
* obj0
= 0 ;
22987 PyObject
* obj1
= 0 ;
22988 char * kwnames
[] = {
22989 (char *) "self",(char *) "jdn", NULL
22992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
22997 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
22998 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22999 if (!SWIG_IsOK(ecode2
)) {
23000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetJDN" "', expected argument " "2"" of type '" "double""'");
23002 arg2
= static_cast< double >(val2
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
23007 result
= (wxDateTime
*) &_result_ref
;
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23019 SWIGINTERN PyObject
*_wrap_DateTime_SetHMS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
= 0;
23021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23023 int arg3
= (int) 0 ;
23024 int arg4
= (int) 0 ;
23025 int arg5
= (int) 0 ;
23026 wxDateTime
*result
= 0 ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 PyObject
* obj3
= 0 ;
23041 PyObject
* obj4
= 0 ;
23042 char * kwnames
[] = {
23043 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23048 if (!SWIG_IsOK(res1
)) {
23049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHMS" "', expected argument " "1"" of type '" "wxDateTime *""'");
23051 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23053 if (!SWIG_IsOK(ecode2
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHMS" "', expected argument " "2"" of type '" "int""'");
23056 arg2
= static_cast< int >(val2
);
23058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23059 if (!SWIG_IsOK(ecode3
)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetHMS" "', expected argument " "3"" of type '" "int""'");
23062 arg3
= static_cast< int >(val3
);
23065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23066 if (!SWIG_IsOK(ecode4
)) {
23067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetHMS" "', expected argument " "4"" of type '" "int""'");
23069 arg4
= static_cast< int >(val4
);
23072 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23073 if (!SWIG_IsOK(ecode5
)) {
23074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetHMS" "', expected argument " "5"" of type '" "int""'");
23076 arg5
= static_cast< int >(val5
);
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
23082 result
= (wxDateTime
*) &_result_ref
;
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23094 SWIGINTERN PyObject
*_wrap_DateTime_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
= 0;
23096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23098 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23099 int arg4
= (int) wxDateTime::Inv_Year
;
23100 int arg5
= (int) 0 ;
23101 int arg6
= (int) 0 ;
23102 int arg7
= (int) 0 ;
23103 int arg8
= (int) 0 ;
23104 wxDateTime
*result
= 0 ;
23121 PyObject
* obj0
= 0 ;
23122 PyObject
* obj1
= 0 ;
23123 PyObject
* obj2
= 0 ;
23124 PyObject
* obj3
= 0 ;
23125 PyObject
* obj4
= 0 ;
23126 PyObject
* obj5
= 0 ;
23127 PyObject
* obj6
= 0 ;
23128 PyObject
* obj7
= 0 ;
23129 char * kwnames
[] = {
23130 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
23133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
23134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Set" "', expected argument " "1"" of type '" "wxDateTime *""'");
23138 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23140 if (!SWIG_IsOK(ecode2
)) {
23141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_Set" "', expected argument " "2"" of type '" "int""'");
23143 arg2
= static_cast< int >(val2
);
23145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23146 if (!SWIG_IsOK(ecode3
)) {
23147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_Set" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23149 arg3
= static_cast< wxDateTime::Month
>(val3
);
23152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23153 if (!SWIG_IsOK(ecode4
)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_Set" "', expected argument " "4"" of type '" "int""'");
23156 arg4
= static_cast< int >(val4
);
23159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23160 if (!SWIG_IsOK(ecode5
)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_Set" "', expected argument " "5"" of type '" "int""'");
23163 arg5
= static_cast< int >(val5
);
23166 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23167 if (!SWIG_IsOK(ecode6
)) {
23168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DateTime_Set" "', expected argument " "6"" of type '" "int""'");
23170 arg6
= static_cast< int >(val6
);
23173 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23174 if (!SWIG_IsOK(ecode7
)) {
23175 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DateTime_Set" "', expected argument " "7"" of type '" "int""'");
23177 arg7
= static_cast< int >(val7
);
23180 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
23181 if (!SWIG_IsOK(ecode8
)) {
23182 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DateTime_Set" "', expected argument " "8"" of type '" "int""'");
23184 arg8
= static_cast< int >(val8
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
23190 result
= (wxDateTime
*) &_result_ref
;
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23202 SWIGINTERN PyObject
*_wrap_DateTime_ResetTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23203 PyObject
*resultobj
= 0;
23204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23205 wxDateTime
*result
= 0 ;
23208 PyObject
*swig_obj
[1] ;
23210 if (!args
) SWIG_fail
;
23211 swig_obj
[0] = args
;
23212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23213 if (!SWIG_IsOK(res1
)) {
23214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ResetTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
23216 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
23221 result
= (wxDateTime
*) &_result_ref
;
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23233 SWIGINTERN PyObject
*_wrap_DateTime_SetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= 0;
23235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23237 wxDateTime
*result
= 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 char * kwnames
[] = {
23245 (char *) "self",(char *) "year", NULL
23248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetYear" "', expected argument " "1"" of type '" "wxDateTime *""'");
23253 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23255 if (!SWIG_IsOK(ecode2
)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetYear" "', expected argument " "2"" of type '" "int""'");
23258 arg2
= static_cast< int >(val2
);
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
23263 result
= (wxDateTime
*) &_result_ref
;
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23275 SWIGINTERN PyObject
*_wrap_DateTime_SetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
= 0;
23277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23278 wxDateTime::Month arg2
;
23279 wxDateTime
*result
= 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char * kwnames
[] = {
23287 (char *) "self",(char *) "month", NULL
23290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23292 if (!SWIG_IsOK(res1
)) {
23293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMonth" "', expected argument " "1"" of type '" "wxDateTime *""'");
23295 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23296 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23297 if (!SWIG_IsOK(ecode2
)) {
23298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMonth" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
23300 arg2
= static_cast< wxDateTime::Month
>(val2
);
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 wxDateTime
&_result_ref
= (arg1
)->SetMonth(arg2
);
23305 result
= (wxDateTime
*) &_result_ref
;
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23317 SWIGINTERN PyObject
*_wrap_DateTime_SetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= 0;
23319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23321 wxDateTime
*result
= 0 ;
23326 PyObject
* obj0
= 0 ;
23327 PyObject
* obj1
= 0 ;
23328 char * kwnames
[] = {
23329 (char *) "self",(char *) "day", NULL
23332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23337 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23339 if (!SWIG_IsOK(ecode2
)) {
23340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetDay" "', expected argument " "2"" of type '" "int""'");
23342 arg2
= static_cast< int >(val2
);
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
23347 result
= (wxDateTime
*) &_result_ref
;
23349 wxPyEndAllowThreads(__tstate
);
23350 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23359 SWIGINTERN PyObject
*_wrap_DateTime_SetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
= 0;
23361 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23363 wxDateTime
*result
= 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 char * kwnames
[] = {
23371 (char *) "self",(char *) "hour", NULL
23374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetHour" "', expected argument " "1"" of type '" "wxDateTime *""'");
23379 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23380 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23381 if (!SWIG_IsOK(ecode2
)) {
23382 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetHour" "', expected argument " "2"" of type '" "int""'");
23384 arg2
= static_cast< int >(val2
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
23389 result
= (wxDateTime
*) &_result_ref
;
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23401 SWIGINTERN PyObject
*_wrap_DateTime_SetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23405 wxDateTime
*result
= 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char * kwnames
[] = {
23413 (char *) "self",(char *) "minute", NULL
23416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMinute" "', expected argument " "1"" of type '" "wxDateTime *""'");
23421 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23423 if (!SWIG_IsOK(ecode2
)) {
23424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMinute" "', expected argument " "2"" of type '" "int""'");
23426 arg2
= static_cast< int >(val2
);
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
23431 result
= (wxDateTime
*) &_result_ref
;
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23443 SWIGINTERN PyObject
*_wrap_DateTime_SetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
= 0;
23445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23447 wxDateTime
*result
= 0 ;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char * kwnames
[] = {
23455 (char *) "self",(char *) "second", NULL
23458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23460 if (!SWIG_IsOK(res1
)) {
23461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetSecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23463 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23465 if (!SWIG_IsOK(ecode2
)) {
23466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetSecond" "', expected argument " "2"" of type '" "int""'");
23468 arg2
= static_cast< int >(val2
);
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
23473 result
= (wxDateTime
*) &_result_ref
;
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23485 SWIGINTERN PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
= 0;
23487 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23489 wxDateTime
*result
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char * kwnames
[] = {
23497 (char *) "self",(char *) "millisecond", NULL
23500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetMillisecond" "', expected argument " "1"" of type '" "wxDateTime *""'");
23505 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23507 if (!SWIG_IsOK(ecode2
)) {
23508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetMillisecond" "', expected argument " "2"" of type '" "int""'");
23510 arg2
= static_cast< int >(val2
);
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
23515 result
= (wxDateTime
*) &_result_ref
;
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23527 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
= 0;
23529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23530 wxDateTime::WeekDay arg2
;
23531 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23532 wxDateTime
*result
= 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 PyObject
* obj2
= 0 ;
23542 char * kwnames
[] = {
23543 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23548 if (!SWIG_IsOK(res1
)) {
23549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23551 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23553 if (!SWIG_IsOK(ecode2
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23556 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23558 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23559 if (!SWIG_IsOK(ecode3
)) {
23560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23562 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek(arg2
,arg3
);
23568 result
= (wxDateTime
*) &_result_ref
;
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23580 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
= 0;
23582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23583 wxDateTime::WeekDay arg2
;
23584 wxDateTime::WeekFlags arg3
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 PyObject
* obj2
= 0 ;
23595 char * kwnames
[] = {
23596 (char *) "self",(char *) "weekday",(char *) "flags", NULL
23599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23601 if (!SWIG_IsOK(res1
)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
23604 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23606 if (!SWIG_IsOK(ecode2
)) {
23607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23609 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23612 if (!SWIG_IsOK(ecode3
)) {
23613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeekDayInSameWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekFlags""'");
23615 arg3
= static_cast< wxDateTime::WeekFlags
>(val3
);
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (arg1
)->GetWeekDayInSameWeek(arg2
,arg3
);
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23630 SWIGINTERN PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23632 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23633 wxDateTime::WeekDay arg2
;
23634 wxDateTime
*result
= 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char * kwnames
[] = {
23642 (char *) "self",(char *) "weekday", NULL
23645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23650 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23652 if (!SWIG_IsOK(ecode2
)) {
23653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23655 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay(arg2
);
23660 result
= (wxDateTime
*) &_result_ref
;
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23672 SWIGINTERN PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
= 0;
23674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23675 wxDateTime::WeekDay arg2
;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "self",(char *) "weekday", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23692 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23694 if (!SWIG_IsOK(ecode2
)) {
23695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetNextWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23697 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (arg1
)->GetNextWeekDay(arg2
);
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23711 SWIGINTERN PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
= 0;
23713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23714 wxDateTime::WeekDay arg2
;
23715 wxDateTime
*result
= 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char * kwnames
[] = {
23723 (char *) "self",(char *) "weekday", NULL
23726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23728 if (!SWIG_IsOK(res1
)) {
23729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23731 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23733 if (!SWIG_IsOK(ecode2
)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23736 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay(arg2
);
23741 result
= (wxDateTime
*) &_result_ref
;
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
23753 SWIGINTERN PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
= 0;
23755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23756 wxDateTime::WeekDay arg2
;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 char * kwnames
[] = {
23765 (char *) "self",(char *) "weekday", NULL
23768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23770 if (!SWIG_IsOK(res1
)) {
23771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23773 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23775 if (!SWIG_IsOK(ecode2
)) {
23776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetPrevWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23778 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (arg1
)->GetPrevWeekDay(arg2
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23792 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23795 wxDateTime::WeekDay arg2
;
23796 int arg3
= (int) 1 ;
23797 wxDateTime::Month arg4
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23798 int arg5
= (int) wxDateTime::Inv_Year
;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 PyObject
* obj2
= 0 ;
23813 PyObject
* obj3
= 0 ;
23814 PyObject
* obj4
= 0 ;
23815 char * kwnames
[] = {
23816 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
23819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23821 if (!SWIG_IsOK(res1
)) {
23822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23824 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23826 if (!SWIG_IsOK(ecode2
)) {
23827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23829 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23832 if (!SWIG_IsOK(ecode3
)) {
23833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "3"" of type '" "int""'");
23835 arg3
= static_cast< int >(val3
);
23838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23839 if (!SWIG_IsOK(ecode4
)) {
23840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "4"" of type '" "wxDateTime::Month""'");
23842 arg4
= static_cast< wxDateTime::Month
>(val4
);
23845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23846 if (!SWIG_IsOK(ecode5
)) {
23847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DateTime_SetToWeekDay" "', expected argument " "5"" of type '" "int""'");
23849 arg5
= static_cast< int >(val5
);
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (bool)(arg1
)->SetToWeekDay(arg2
,arg3
,arg4
,arg5
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23866 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23867 PyObject
*resultobj
= 0;
23868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23869 wxDateTime::WeekDay arg2
;
23870 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23871 int arg4
= (int) wxDateTime::Inv_Year
;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 PyObject
* obj2
= 0 ;
23884 PyObject
* obj3
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23894 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23896 if (!SWIG_IsOK(ecode2
)) {
23897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23899 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23902 if (!SWIG_IsOK(ecode3
)) {
23903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23905 arg3
= static_cast< wxDateTime::Month
>(val3
);
23908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23909 if (!SWIG_IsOK(ecode4
)) {
23910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23912 arg4
= static_cast< int >(val4
);
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (bool)(arg1
)->SetToLastWeekDay(arg2
,arg3
,arg4
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23929 SWIGINTERN PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23930 PyObject
*resultobj
= 0;
23931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23932 wxDateTime::WeekDay arg2
;
23933 wxDateTime::Month arg3
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
23934 int arg4
= (int) wxDateTime::Inv_Year
;
23944 PyObject
* obj0
= 0 ;
23945 PyObject
* obj1
= 0 ;
23946 PyObject
* obj2
= 0 ;
23947 PyObject
* obj3
= 0 ;
23948 char * kwnames
[] = {
23949 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
23952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
23954 if (!SWIG_IsOK(res1
)) {
23955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
23957 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
23958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23959 if (!SWIG_IsOK(ecode2
)) {
23960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "2"" of type '" "wxDateTime::WeekDay""'");
23962 arg2
= static_cast< wxDateTime::WeekDay
>(val2
);
23964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23965 if (!SWIG_IsOK(ecode3
)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "3"" of type '" "wxDateTime::Month""'");
23968 arg3
= static_cast< wxDateTime::Month
>(val3
);
23971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23972 if (!SWIG_IsOK(ecode4
)) {
23973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetLastWeekDay" "', expected argument " "4"" of type '" "int""'");
23975 arg4
= static_cast< int >(val4
);
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= (arg1
)->GetLastWeekDay(arg2
,arg3
,arg4
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
23990 SWIGINTERN PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= 0;
23992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
23994 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
23995 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 PyObject
* obj2
= 0 ;
24008 PyObject
* obj3
= 0 ;
24009 char * kwnames
[] = {
24010 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24015 if (!SWIG_IsOK(res1
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24018 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24020 if (!SWIG_IsOK(ecode2
)) {
24021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "2"" of type '" "int""'");
24023 arg2
= static_cast< int >(val2
);
24025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24026 if (!SWIG_IsOK(ecode3
)) {
24027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24029 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24032 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24033 if (!SWIG_IsOK(ecode4
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_SetToTheWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24036 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (bool)(arg1
)->SetToTheWeek(arg2
,arg3
,arg4
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24053 SWIGINTERN PyObject
*_wrap_DateTime_GetWeek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
= 0;
24055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24057 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24058 wxDateTime::WeekFlags arg4
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 PyObject
* obj2
= 0 ;
24071 PyObject
* obj3
= 0 ;
24072 char * kwnames
[] = {
24073 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
24076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24078 if (!SWIG_IsOK(res1
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeek" "', expected argument " "1"" of type '" "wxDateTime *""'");
24081 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24083 if (!SWIG_IsOK(ecode2
)) {
24084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeek" "', expected argument " "2"" of type '" "int""'");
24086 arg2
= static_cast< int >(val2
);
24088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24089 if (!SWIG_IsOK(ecode3
)) {
24090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetWeek" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24092 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24096 if (!SWIG_IsOK(ecode4
)) {
24097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DateTime_GetWeek" "', expected argument " "4"" of type '" "wxDateTime::WeekFlags""'");
24099 arg4
= static_cast< wxDateTime::WeekFlags
>(val4
);
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (arg1
)->GetWeek(arg2
,arg3
,arg4
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24114 SWIGINTERN PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
= 0;
24118 wxDateTime::WeekDay arg3
= (wxDateTime::WeekDay
) wxDateTime::Mon
;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 PyObject
* obj2
= 0 ;
24129 char * kwnames
[] = {
24130 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
24133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24134 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24135 if (!SWIG_IsOK(ecode1
)) {
24136 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "1"" of type '" "int""'");
24138 arg1
= static_cast< int >(val1
);
24139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24140 if (!SWIG_IsOK(ecode2
)) {
24141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "2"" of type '" "int""'");
24143 arg2
= static_cast< int >(val2
);
24145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24146 if (!SWIG_IsOK(ecode3
)) {
24147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToWeekOfYear" "', expected argument " "3"" of type '" "wxDateTime::WeekDay""'");
24149 arg3
= static_cast< wxDateTime::WeekDay
>(val3
);
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,arg3
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24164 SWIGINTERN PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
= 0;
24166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24167 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24168 int arg3
= (int) wxDateTime::Inv_Year
;
24169 wxDateTime
*result
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 PyObject
* obj2
= 0 ;
24179 char * kwnames
[] = {
24180 (char *) "self",(char *) "month",(char *) "year", NULL
24183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24185 if (!SWIG_IsOK(res1
)) {
24186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24188 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24191 if (!SWIG_IsOK(ecode2
)) {
24192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24194 arg2
= static_cast< wxDateTime::Month
>(val2
);
24197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24198 if (!SWIG_IsOK(ecode3
)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_SetToLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24201 arg3
= static_cast< int >(val3
);
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24206 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay(arg2
,arg3
);
24207 result
= (wxDateTime
*) &_result_ref
;
24209 wxPyEndAllowThreads(__tstate
);
24210 if (PyErr_Occurred()) SWIG_fail
;
24212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24219 SWIGINTERN PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24220 PyObject
*resultobj
= 0;
24221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24222 wxDateTime::Month arg2
= (wxDateTime::Month
) wxDateTime::Inv_Month
;
24223 int arg3
= (int) wxDateTime::Inv_Year
;
24231 PyObject
* obj0
= 0 ;
24232 PyObject
* obj1
= 0 ;
24233 PyObject
* obj2
= 0 ;
24234 char * kwnames
[] = {
24235 (char *) "self",(char *) "month",(char *) "year", NULL
24238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24243 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24246 if (!SWIG_IsOK(ecode2
)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "2"" of type '" "wxDateTime::Month""'");
24249 arg2
= static_cast< wxDateTime::Month
>(val2
);
24252 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24253 if (!SWIG_IsOK(ecode3
)) {
24254 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_GetLastMonthDay" "', expected argument " "3"" of type '" "int""'");
24256 arg3
= static_cast< int >(val3
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (arg1
)->GetLastMonthDay(arg2
,arg3
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24271 SWIGINTERN PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= 0;
24273 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24275 wxDateTime
*result
= 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char * kwnames
[] = {
24283 (char *) "self",(char *) "yday", NULL
24286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24288 if (!SWIG_IsOK(res1
)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SetToYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24291 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24293 if (!SWIG_IsOK(ecode2
)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_SetToYearDay" "', expected argument " "2"" of type '" "int""'");
24296 arg2
= static_cast< int >(val2
);
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
24301 result
= (wxDateTime
*) &_result_ref
;
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24313 SWIGINTERN PyObject
*_wrap_DateTime_GetYearDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
= 0;
24315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "self",(char *) "yday", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYearDay" "', expected argument " "1"" of type '" "wxDateTime *""'");
24333 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24335 if (!SWIG_IsOK(ecode2
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetYearDay" "', expected argument " "2"" of type '" "int""'");
24338 arg2
= static_cast< int >(val2
);
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (arg1
)->GetYearDay(arg2
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24352 SWIGINTERN PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24353 PyObject
*resultobj
= 0;
24354 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24358 PyObject
*swig_obj
[1] ;
24360 if (!args
) SWIG_fail
;
24361 swig_obj
[0] = args
;
24362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24363 if (!SWIG_IsOK(res1
)) {
24364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime *""'");
24366 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (double)(arg1
)->GetJulianDayNumber();
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= SWIG_From_double(static_cast< double >(result
));
24380 SWIGINTERN PyObject
*_wrap_DateTime_GetJDN(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24381 PyObject
*resultobj
= 0;
24382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24386 PyObject
*swig_obj
[1] ;
24388 if (!args
) SWIG_fail
;
24389 swig_obj
[0] = args
;
24390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24391 if (!SWIG_IsOK(res1
)) {
24392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetJDN" "', expected argument " "1"" of type '" "wxDateTime *""'");
24394 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (double)(arg1
)->GetJDN();
24398 wxPyEndAllowThreads(__tstate
);
24399 if (PyErr_Occurred()) SWIG_fail
;
24401 resultobj
= SWIG_From_double(static_cast< double >(result
));
24408 SWIGINTERN PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24409 PyObject
*resultobj
= 0;
24410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24414 PyObject
*swig_obj
[1] ;
24416 if (!args
) SWIG_fail
;
24417 swig_obj
[0] = args
;
24418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24419 if (!SWIG_IsOK(res1
)) {
24420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetModifiedJulianDayNumber" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24422 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_From_double(static_cast< double >(result
));
24436 SWIGINTERN PyObject
*_wrap_DateTime_GetMJD(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24437 PyObject
*resultobj
= 0;
24438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24442 PyObject
*swig_obj
[1] ;
24444 if (!args
) SWIG_fail
;
24445 swig_obj
[0] = args
;
24446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMJD" "', expected argument " "1"" of type '" "wxDateTime *""'");
24450 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (double)(arg1
)->GetMJD();
24454 wxPyEndAllowThreads(__tstate
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24457 resultobj
= SWIG_From_double(static_cast< double >(result
));
24464 SWIGINTERN PyObject
*_wrap_DateTime_GetRataDie(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24465 PyObject
*resultobj
= 0;
24466 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24470 PyObject
*swig_obj
[1] ;
24472 if (!args
) SWIG_fail
;
24473 swig_obj
[0] = args
;
24474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24475 if (!SWIG_IsOK(res1
)) {
24476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetRataDie" "', expected argument " "1"" of type '" "wxDateTime *""'");
24478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24481 result
= (double)(arg1
)->GetRataDie();
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24485 resultobj
= SWIG_From_double(static_cast< double >(result
));
24492 SWIGINTERN PyObject
*_wrap_DateTime_ToTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
= 0;
24494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24495 wxDateTime::TimeZone
*arg2
= 0 ;
24496 bool arg3
= (bool) false ;
24500 bool temp2
= false ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 PyObject
* obj2
= 0 ;
24506 char * kwnames
[] = {
24507 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24517 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24521 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24522 if (!SWIG_IsOK(ecode3
)) {
24523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_ToTimezone" "', expected argument " "3"" of type '" "bool""'");
24525 arg3
= static_cast< bool >(val3
);
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24535 if (temp2
) delete arg2
;
24540 if (temp2
) delete arg2
;
24546 SWIGINTERN PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
= 0;
24548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24549 wxDateTime::TimeZone
*arg2
= 0 ;
24550 bool arg3
= (bool) false ;
24551 wxDateTime
*result
= 0 ;
24554 bool temp2
= false ;
24557 PyObject
* obj0
= 0 ;
24558 PyObject
* obj1
= 0 ;
24559 PyObject
* obj2
= 0 ;
24560 char * kwnames
[] = {
24561 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24566 if (!SWIG_IsOK(res1
)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24569 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24571 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24575 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24576 if (!SWIG_IsOK(ecode3
)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeTimezone" "', expected argument " "3"" of type '" "bool""'");
24579 arg3
= static_cast< bool >(val3
);
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24584 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24585 result
= (wxDateTime
*) &_result_ref
;
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24592 if (temp2
) delete arg2
;
24597 if (temp2
) delete arg2
;
24603 SWIGINTERN PyObject
*_wrap_DateTime_FromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24604 PyObject
*resultobj
= 0;
24605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24606 wxDateTime::TimeZone
*arg2
= 0 ;
24607 bool arg3
= (bool) false ;
24611 bool temp2
= false ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char * kwnames
[] = {
24618 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_FromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24623 if (!SWIG_IsOK(res1
)) {
24624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromTimezone" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24626 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24628 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24632 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24633 if (!SWIG_IsOK(ecode3
)) {
24634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_FromTimezone" "', expected argument " "3"" of type '" "bool""'");
24636 arg3
= static_cast< bool >(val3
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= ((wxDateTime
const *)arg1
)->FromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24646 if (temp2
) delete arg2
;
24651 if (temp2
) delete arg2
;
24657 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromTimezone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24660 wxDateTime::TimeZone
*arg2
= 0 ;
24661 bool arg3
= (bool) false ;
24662 wxDateTime
*result
= 0 ;
24665 bool temp2
= false ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 PyObject
* obj2
= 0 ;
24671 char * kwnames
[] = {
24672 (char *) "self",(char *) "tz",(char *) "noDST", NULL
24675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24677 if (!SWIG_IsOK(res1
)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "1"" of type '" "wxDateTime *""'");
24680 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24682 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
24686 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24687 if (!SWIG_IsOK(ecode3
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DateTime_MakeFromTimezone" "', expected argument " "3"" of type '" "bool""'");
24690 arg3
= static_cast< bool >(val3
);
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 wxDateTime
&_result_ref
= (arg1
)->MakeFromTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
24696 result
= (wxDateTime
*) &_result_ref
;
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24703 if (temp2
) delete arg2
;
24708 if (temp2
) delete arg2
;
24714 SWIGINTERN PyObject
*_wrap_DateTime_ToUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= 0;
24716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24717 bool arg2
= (bool) false ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 char * kwnames
[] = {
24726 (char *) "self",(char *) "noDST", NULL
24729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24731 if (!SWIG_IsOK(res1
)) {
24732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24734 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24736 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24737 if (!SWIG_IsOK(ecode2
)) {
24738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToUTC" "', expected argument " "2"" of type '" "bool""'");
24740 arg2
= static_cast< bool >(val2
);
24743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 result
= ((wxDateTime
const *)arg1
)->ToUTC(arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24755 SWIGINTERN PyObject
*_wrap_DateTime_MakeUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
= 0;
24757 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24758 bool arg2
= (bool) false ;
24759 wxDateTime
*result
= 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 char * kwnames
[] = {
24767 (char *) "self",(char *) "noDST", NULL
24770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24772 if (!SWIG_IsOK(res1
)) {
24773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24775 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24777 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24778 if (!SWIG_IsOK(ecode2
)) {
24779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeUTC" "', expected argument " "2"" of type '" "bool""'");
24781 arg2
= static_cast< bool >(val2
);
24784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 wxDateTime
&_result_ref
= (arg1
)->MakeUTC(arg2
);
24787 result
= (wxDateTime
*) &_result_ref
;
24789 wxPyEndAllowThreads(__tstate
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24799 SWIGINTERN PyObject
*_wrap_DateTime_ToGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
= 0;
24801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24802 bool arg2
= (bool) false ;
24808 PyObject
* obj0
= 0 ;
24809 PyObject
* obj1
= 0 ;
24810 char * kwnames
[] = {
24811 (char *) "self",(char *) "noDST", NULL
24814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ToGMT" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24819 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24822 if (!SWIG_IsOK(ecode2
)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_ToGMT" "', expected argument " "2"" of type '" "bool""'");
24825 arg2
= static_cast< bool >(val2
);
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= ((wxDateTime
const *)arg1
)->ToGMT(arg2
);
24830 wxPyEndAllowThreads(__tstate
);
24831 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24840 SWIGINTERN PyObject
*_wrap_DateTime_MakeGMT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24843 bool arg2
= (bool) false ;
24844 wxDateTime
*result
= 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 char * kwnames
[] = {
24852 (char *) "self",(char *) "noDST", NULL
24855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24857 if (!SWIG_IsOK(res1
)) {
24858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeGMT" "', expected argument " "1"" of type '" "wxDateTime *""'");
24860 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24862 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24863 if (!SWIG_IsOK(ecode2
)) {
24864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeGMT" "', expected argument " "2"" of type '" "bool""'");
24866 arg2
= static_cast< bool >(val2
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
24872 result
= (wxDateTime
*) &_result_ref
;
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24884 SWIGINTERN PyObject
*_wrap_DateTime_FromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
= 0;
24886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24887 bool arg2
= (bool) false ;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char * kwnames
[] = {
24896 (char *) "self",(char *) "noDST", NULL
24899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_FromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24901 if (!SWIG_IsOK(res1
)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FromUTC" "', expected argument " "1"" of type '" "wxDateTime const *""'");
24904 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24906 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24907 if (!SWIG_IsOK(ecode2
)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_FromUTC" "', expected argument " "2"" of type '" "bool""'");
24910 arg2
= static_cast< bool >(val2
);
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= ((wxDateTime
const *)arg1
)->FromUTC(arg2
);
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
24925 SWIGINTERN PyObject
*_wrap_DateTime_MakeFromUTC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
= 0;
24927 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24928 bool arg2
= (bool) false ;
24929 wxDateTime
*result
= 0 ;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 char * kwnames
[] = {
24937 (char *) "self",(char *) "noDST", NULL
24940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeFromUTC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24942 if (!SWIG_IsOK(res1
)) {
24943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "1"" of type '" "wxDateTime *""'");
24945 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24948 if (!SWIG_IsOK(ecode2
)) {
24949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_MakeFromUTC" "', expected argument " "2"" of type '" "bool""'");
24951 arg2
= static_cast< bool >(val2
);
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24956 wxDateTime
&_result_ref
= (arg1
)->MakeFromUTC(arg2
);
24957 result
= (wxDateTime
*) &_result_ref
;
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
24969 SWIGINTERN PyObject
*_wrap_DateTime_IsDST(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
= 0;
24971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
24972 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 char * kwnames
[] = {
24981 (char *) "self",(char *) "country", NULL
24984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
24986 if (!SWIG_IsOK(res1
)) {
24987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsDST" "', expected argument " "1"" of type '" "wxDateTime *""'");
24989 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
24991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24992 if (!SWIG_IsOK(ecode2
)) {
24993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsDST" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
24995 arg2
= static_cast< wxDateTime::Country
>(val2
);
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= (int)(arg1
)->IsDST(arg2
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_From_int(static_cast< int >(result
));
25010 SWIGINTERN PyObject
*_wrap_DateTime_IsValid(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25011 PyObject
*resultobj
= 0;
25012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25016 PyObject
*swig_obj
[1] ;
25018 if (!args
) SWIG_fail
;
25019 swig_obj
[0] = args
;
25020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25021 if (!SWIG_IsOK(res1
)) {
25022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsValid" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25024 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25027 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25040 SWIGINTERN PyObject
*_wrap_DateTime_GetTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25041 PyObject
*resultobj
= 0;
25042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25046 PyObject
*swig_obj
[1] ;
25048 if (!args
) SWIG_fail
;
25049 swig_obj
[0] = args
;
25050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetTicks" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25054 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
25068 SWIGINTERN PyObject
*_wrap_DateTime_GetYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25071 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25072 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25076 bool temp2
= false ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char * kwnames
[] = {
25080 (char *) "self",(char *) "tz", NULL
25083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25088 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25091 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_From_int(static_cast< int >(result
));
25103 if (temp2
) delete arg2
;
25108 if (temp2
) delete arg2
;
25114 SWIGINTERN PyObject
*_wrap_DateTime_GetMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= 0;
25116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25117 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25118 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25119 wxDateTime::Month result
;
25122 bool temp2
= false ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 char * kwnames
[] = {
25126 (char *) "self",(char *) "tz", NULL
25129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25134 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25137 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (wxDateTime::Month
)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_From_int(static_cast< int >(result
));
25149 if (temp2
) delete arg2
;
25154 if (temp2
) delete arg2
;
25160 SWIGINTERN PyObject
*_wrap_DateTime_GetDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
= 0;
25162 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25163 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25164 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25168 bool temp2
= false ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "self",(char *) "tz", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25180 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25183 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
25190 wxPyEndAllowThreads(__tstate
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_From_int(static_cast< int >(result
));
25195 if (temp2
) delete arg2
;
25200 if (temp2
) delete arg2
;
25206 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
= 0;
25208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25209 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25210 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25211 wxDateTime::WeekDay result
;
25214 bool temp2
= false ;
25215 PyObject
* obj0
= 0 ;
25216 PyObject
* obj1
= 0 ;
25217 char * kwnames
[] = {
25218 (char *) "self",(char *) "tz", NULL
25221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25226 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25229 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25235 result
= (wxDateTime::WeekDay
)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_From_int(static_cast< int >(result
));
25241 if (temp2
) delete arg2
;
25246 if (temp2
) delete arg2
;
25252 SWIGINTERN PyObject
*_wrap_DateTime_GetHour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
= 0;
25254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25255 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25256 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25260 bool temp2
= false ;
25261 PyObject
* obj0
= 0 ;
25262 PyObject
* obj1
= 0 ;
25263 char * kwnames
[] = {
25264 (char *) "self",(char *) "tz", NULL
25267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25269 if (!SWIG_IsOK(res1
)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetHour" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25272 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25275 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_From_int(static_cast< int >(result
));
25287 if (temp2
) delete arg2
;
25292 if (temp2
) delete arg2
;
25298 SWIGINTERN PyObject
*_wrap_DateTime_GetMinute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
= 0;
25300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25301 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25302 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25306 bool temp2
= false ;
25307 PyObject
* obj0
= 0 ;
25308 PyObject
* obj1
= 0 ;
25309 char * kwnames
[] = {
25310 (char *) "self",(char *) "tz", NULL
25313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25315 if (!SWIG_IsOK(res1
)) {
25316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMinute" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25318 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25321 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= SWIG_From_int(static_cast< int >(result
));
25333 if (temp2
) delete arg2
;
25338 if (temp2
) delete arg2
;
25344 SWIGINTERN PyObject
*_wrap_DateTime_GetSecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
= 0;
25346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25347 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25348 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25352 bool temp2
= false ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 char * kwnames
[] = {
25356 (char *) "self",(char *) "tz", NULL
25359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetSecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25364 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25367 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25377 resultobj
= SWIG_From_int(static_cast< int >(result
));
25379 if (temp2
) delete arg2
;
25384 if (temp2
) delete arg2
;
25390 SWIGINTERN PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
= 0;
25392 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25393 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25394 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25398 bool temp2
= false ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char * kwnames
[] = {
25402 (char *) "self",(char *) "tz", NULL
25405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25407 if (!SWIG_IsOK(res1
)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetMillisecond" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25410 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25413 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 resultobj
= SWIG_From_int(static_cast< int >(result
));
25425 if (temp2
) delete arg2
;
25430 if (temp2
) delete arg2
;
25436 SWIGINTERN PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
= 0;
25438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25439 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
25440 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
25444 bool temp2
= false ;
25445 PyObject
* obj0
= 0 ;
25446 PyObject
* obj1
= 0 ;
25447 char * kwnames
[] = {
25448 (char *) "self",(char *) "tz", NULL
25451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25453 if (!SWIG_IsOK(res1
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetDayOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25456 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25459 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_From_int(static_cast< int >(result
));
25471 if (temp2
) delete arg2
;
25476 if (temp2
) delete arg2
;
25482 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25485 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25486 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25487 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25493 bool temp3
= false ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj1
= 0 ;
25496 PyObject
* obj2
= 0 ;
25497 char * kwnames
[] = {
25498 (char *) "self",(char *) "flags",(char *) "tz", NULL
25501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25506 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25509 if (!SWIG_IsOK(ecode2
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfYear" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25512 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25516 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_From_int(static_cast< int >(result
));
25528 if (temp3
) delete arg3
;
25533 if (temp3
) delete arg3
;
25539 SWIGINTERN PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25540 PyObject
*resultobj
= 0;
25541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25542 wxDateTime::WeekFlags arg2
= (wxDateTime::WeekFlags
) wxDateTime::Monday_First
;
25543 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
25544 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
25550 bool temp3
= false ;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 PyObject
* obj2
= 0 ;
25554 char * kwnames
[] = {
25555 (char *) "self",(char *) "flags",(char *) "tz", NULL
25558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25560 if (!SWIG_IsOK(res1
)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25563 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25566 if (!SWIG_IsOK(ecode2
)) {
25567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_GetWeekOfMonth" "', expected argument " "2"" of type '" "wxDateTime::WeekFlags""'");
25569 arg2
= static_cast< wxDateTime::WeekFlags
>(val2
);
25573 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
25578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25579 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth(arg2
,(wxDateTime::TimeZone
const &)*arg3
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_From_int(static_cast< int >(result
));
25585 if (temp3
) delete arg3
;
25590 if (temp3
) delete arg3
;
25596 SWIGINTERN PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
= 0;
25598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25599 wxDateTime::Country arg2
= (wxDateTime::Country
) wxDateTime::Country_Default
;
25605 PyObject
* obj0
= 0 ;
25606 PyObject
* obj1
= 0 ;
25607 char * kwnames
[] = {
25608 (char *) "self",(char *) "country", NULL
25611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25613 if (!SWIG_IsOK(res1
)) {
25614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsWorkDay" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25616 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25619 if (!SWIG_IsOK(ecode2
)) {
25620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateTime_IsWorkDay" "', expected argument " "2"" of type '" "wxDateTime::Country""'");
25622 arg2
= static_cast< wxDateTime::Country
>(val2
);
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay(arg2
);
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25639 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25640 PyObject
*resultobj
= 0;
25641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25642 wxDateTime
*arg2
= 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 char * kwnames
[] = {
25651 (char *) "self",(char *) "datetime", NULL
25654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25659 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25661 if (!SWIG_IsOK(res2
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25667 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
25671 wxPyEndAllowThreads(__tstate
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25683 SWIGINTERN PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
= 0;
25685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25686 wxDateTime
*arg2
= 0 ;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 char * kwnames
[] = {
25695 (char *) "self",(char *) "datetime", NULL
25698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25703 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25705 if (!SWIG_IsOK(res2
)) {
25706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEarlierThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25711 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25714 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
25715 wxPyEndAllowThreads(__tstate
);
25716 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25727 SWIGINTERN PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= 0;
25729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25730 wxDateTime
*arg2
= 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 char * kwnames
[] = {
25739 (char *) "self",(char *) "datetime", NULL
25742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsLaterThan" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25747 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25749 if (!SWIG_IsOK(res2
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsLaterThan" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25755 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25771 SWIGINTERN PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25774 wxDateTime
*arg2
= 0 ;
25775 wxDateTime
*arg3
= 0 ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 PyObject
* obj2
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "t1",(char *) "t2", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25795 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25796 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25797 if (!SWIG_IsOK(res2
)) {
25798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25803 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25804 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25805 if (!SWIG_IsOK(res3
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsStrictlyBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25811 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25827 SWIGINTERN PyObject
*_wrap_DateTime_IsBetween(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25828 PyObject
*resultobj
= 0;
25829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25830 wxDateTime
*arg2
= 0 ;
25831 wxDateTime
*arg3
= 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char * kwnames
[] = {
25843 (char *) "self",(char *) "t1",(char *) "t2", NULL
25846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25848 if (!SWIG_IsOK(res1
)) {
25849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsBetween" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25851 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25853 if (!SWIG_IsOK(res2
)) {
25854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25859 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25860 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25861 if (!SWIG_IsOK(res3
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25865 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsBetween" "', expected argument " "3"" of type '" "wxDateTime const &""'");
25867 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25883 SWIGINTERN PyObject
*_wrap_DateTime_IsSameDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25886 wxDateTime
*arg2
= 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "self",(char *) "dt", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25903 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25904 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25905 if (!SWIG_IsOK(res2
)) {
25906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25911 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25927 SWIGINTERN PyObject
*_wrap_DateTime_IsSameTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25930 wxDateTime
*arg2
= 0 ;
25936 PyObject
* obj0
= 0 ;
25937 PyObject
* obj1
= 0 ;
25938 char * kwnames
[] = {
25939 (char *) "self",(char *) "dt", NULL
25942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25944 if (!SWIG_IsOK(res1
)) {
25945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsSameTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25947 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25949 if (!SWIG_IsOK(res2
)) {
25950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsSameTime" "', expected argument " "2"" of type '" "wxDateTime const &""'");
25955 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25971 SWIGINTERN PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
= 0;
25973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
25974 wxDateTime
*arg2
= 0 ;
25975 wxTimeSpan
*arg3
= 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 char * kwnames
[] = {
25987 (char *) "self",(char *) "dt",(char *) "ts", NULL
25990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
25992 if (!SWIG_IsOK(res1
)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "1"" of type '" "wxDateTime const *""'");
25995 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
25996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
25997 if (!SWIG_IsOK(res2
)) {
25998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26003 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26004 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26005 if (!SWIG_IsOK(res3
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_IsEqualUpTo" "', expected argument " "3"" of type '" "wxTimeSpan const &""'");
26011 arg3
= reinterpret_cast< wxTimeSpan
* >(argp3
);
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26027 SWIGINTERN PyObject
*_wrap_DateTime_AddTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26028 PyObject
*resultobj
= 0;
26029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26030 wxTimeSpan
*arg2
= 0 ;
26031 wxDateTime
*result
= 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char * kwnames
[] = {
26039 (char *) "self",(char *) "diff", NULL
26042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26044 if (!SWIG_IsOK(res1
)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26047 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26049 if (!SWIG_IsOK(res2
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26055 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
26060 result
= (wxDateTime
*) &_result_ref
;
26062 wxPyEndAllowThreads(__tstate
);
26063 if (PyErr_Occurred()) SWIG_fail
;
26065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26072 SWIGINTERN PyObject
*_wrap_DateTime_AddDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
= 0;
26074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26075 wxDateSpan
*arg2
= 0 ;
26076 wxDateTime
*result
= 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 char * kwnames
[] = {
26084 (char *) "self",(char *) "diff", NULL
26087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26089 if (!SWIG_IsOK(res1
)) {
26090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_AddDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26092 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26094 if (!SWIG_IsOK(res2
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_AddDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26100 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
26105 result
= (wxDateTime
*) &_result_ref
;
26107 wxPyEndAllowThreads(__tstate
);
26108 if (PyErr_Occurred()) SWIG_fail
;
26110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26117 SWIGINTERN PyObject
*_wrap_DateTime_SubtractTS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26118 PyObject
*resultobj
= 0;
26119 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26120 wxTimeSpan
*arg2
= 0 ;
26121 wxDateTime
*result
= 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 char * kwnames
[] = {
26129 (char *) "self",(char *) "diff", NULL
26132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26134 if (!SWIG_IsOK(res1
)) {
26135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractTS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26137 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26139 if (!SWIG_IsOK(res2
)) {
26140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractTS" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26145 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
26150 result
= (wxDateTime
*) &_result_ref
;
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26162 SWIGINTERN PyObject
*_wrap_DateTime_SubtractDS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26165 wxDateSpan
*arg2
= 0 ;
26166 wxDateTime
*result
= 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char * kwnames
[] = {
26174 (char *) "self",(char *) "diff", NULL
26177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_SubtractDS" "', expected argument " "1"" of type '" "wxDateTime *""'");
26182 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26184 if (!SWIG_IsOK(res2
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_SubtractDS" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26190 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
26195 result
= (wxDateTime
*) &_result_ref
;
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26207 SWIGINTERN PyObject
*_wrap_DateTime_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
= 0;
26209 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26210 wxDateTime
*arg2
= 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char * kwnames
[] = {
26219 (char *) "self",(char *) "dt", NULL
26222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Subtract" "', expected argument " "1"" of type '" "wxDateTime const *""'");
26227 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26228 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26229 if (!SWIG_IsOK(res2
)) {
26230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_Subtract" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26235 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26249 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26250 PyObject
*resultobj
= 0;
26251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26252 wxTimeSpan
*arg2
= 0 ;
26253 wxDateTime
*result
= 0 ;
26259 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26264 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26265 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26266 if (!SWIG_IsOK(res2
)) {
26267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26270 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26272 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
26277 result
= (wxDateTime
*) &_result_ref
;
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26289 SWIGINTERN PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26290 PyObject
*resultobj
= 0;
26291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26292 wxDateSpan
*arg2
= 0 ;
26293 wxDateTime
*result
= 0 ;
26299 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26301 if (!SWIG_IsOK(res1
)) {
26302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___iadd__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26304 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26305 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26306 if (!SWIG_IsOK(res2
)) {
26307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26310 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26312 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
26317 result
= (wxDateTime
*) &_result_ref
;
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26329 SWIGINTERN PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
26333 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___iadd__",0,2,argv
))) SWIG_fail
;
26338 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26339 _v
= SWIG_CheckState(res
);
26341 if (!_v
) goto check_1
;
26342 return _wrap_DateTime___iadd____SWIG_0(self
, argc
, argv
);
26347 return _wrap_DateTime___iadd____SWIG_1(self
, argc
, argv
);
26351 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___iadd__'");
26356 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26357 PyObject
*resultobj
= 0;
26358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26359 wxTimeSpan
*arg2
= 0 ;
26360 wxDateTime
*result
= 0 ;
26366 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26371 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26372 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26373 if (!SWIG_IsOK(res2
)) {
26374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26379 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
26384 result
= (wxDateTime
*) &_result_ref
;
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26396 SWIGINTERN PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26397 PyObject
*resultobj
= 0;
26398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26399 wxDateSpan
*arg2
= 0 ;
26400 wxDateTime
*result
= 0 ;
26406 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, SWIG_POINTER_DISOWN
| 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___isub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26411 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26412 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26413 if (!SWIG_IsOK(res2
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26417 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26419 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
26424 result
= (wxDateTime
*) &_result_ref
;
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26436 SWIGINTERN PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
26440 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___isub__",0,2,argv
))) SWIG_fail
;
26445 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26446 _v
= SWIG_CheckState(res
);
26448 if (!_v
) goto check_1
;
26449 return _wrap_DateTime___isub____SWIG_0(self
, argc
, argv
);
26454 return _wrap_DateTime___isub____SWIG_1(self
, argc
, argv
);
26458 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'DateTime___isub__'");
26463 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26464 PyObject
*resultobj
= 0;
26465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26466 wxTimeSpan
*arg2
= 0 ;
26473 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26475 if (!SWIG_IsOK(res1
)) {
26476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26478 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26479 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26480 if (!SWIG_IsOK(res2
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26486 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
26490 wxPyEndAllowThreads(__tstate
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26493 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26500 SWIGINTERN PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26501 PyObject
*resultobj
= 0;
26502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26503 wxDateSpan
*arg2
= 0 ;
26510 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26512 if (!SWIG_IsOK(res1
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___add__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26515 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26516 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26517 if (!SWIG_IsOK(res2
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26523 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26537 SWIGINTERN PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
26541 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___add__",0,2,argv
))) SWIG_fail
;
26546 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26547 _v
= SWIG_CheckState(res
);
26549 if (!_v
) goto check_1
;
26550 return _wrap_DateTime___add____SWIG_0(self
, argc
, argv
);
26555 return _wrap_DateTime___add____SWIG_1(self
, argc
, argv
);
26559 Py_INCREF(Py_NotImplemented
);
26560 return Py_NotImplemented
;
26564 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26565 PyObject
*resultobj
= 0;
26566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26567 wxDateTime
*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___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26579 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26581 if (!SWIG_IsOK(res2
)) {
26582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26587 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
26601 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26602 PyObject
*resultobj
= 0;
26603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26604 wxTimeSpan
*arg2
= 0 ;
26611 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26613 if (!SWIG_IsOK(res1
)) {
26614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26616 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26617 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
26618 if (!SWIG_IsOK(res2
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
26624 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26638 SWIGINTERN PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26639 PyObject
*resultobj
= 0;
26640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26641 wxDateSpan
*arg2
= 0 ;
26648 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26650 if (!SWIG_IsOK(res1
)) {
26651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___sub__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26653 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26654 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
26655 if (!SWIG_IsOK(res2
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26659 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
26661 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
26675 SWIGINTERN PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
26679 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DateTime___sub__",0,2,argv
))) SWIG_fail
;
26684 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDateTime
, 0);
26685 _v
= SWIG_CheckState(res
);
26687 if (!_v
) goto check_1
;
26688 return _wrap_DateTime___sub____SWIG_0(self
, argc
, argv
);
26695 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxTimeSpan
, 0);
26696 _v
= SWIG_CheckState(res
);
26698 if (!_v
) goto check_2
;
26699 return _wrap_DateTime___sub____SWIG_1(self
, argc
, argv
);
26704 return _wrap_DateTime___sub____SWIG_2(self
, argc
, argv
);
26708 Py_INCREF(Py_NotImplemented
);
26709 return Py_NotImplemented
;
26713 SWIGINTERN PyObject
*_wrap_DateTime___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26716 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 char * kwnames
[] = {
26725 (char *) "self",(char *) "other", NULL
26728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___lt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26733 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26734 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26735 if (!SWIG_IsOK(res2
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___lt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26738 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26754 SWIGINTERN PyObject
*_wrap_DateTime___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26755 PyObject
*resultobj
= 0;
26756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26757 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26763 PyObject
* obj0
= 0 ;
26764 PyObject
* obj1
= 0 ;
26765 char * kwnames
[] = {
26766 (char *) "self",(char *) "other", NULL
26769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___le__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26774 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26776 if (!SWIG_IsOK(res2
)) {
26777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___le__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26779 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26795 SWIGINTERN PyObject
*_wrap_DateTime___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
= 0;
26797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26798 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char * kwnames
[] = {
26807 (char *) "self",(char *) "other", NULL
26810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___gt__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26815 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26817 if (!SWIG_IsOK(res2
)) {
26818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___gt__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26820 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 SWIGINTERN PyObject
*_wrap_DateTime___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
= 0;
26838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26839 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char * kwnames
[] = {
26848 (char *) "self",(char *) "other", NULL
26851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26853 if (!SWIG_IsOK(res1
)) {
26854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ge__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26856 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26857 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26858 if (!SWIG_IsOK(res2
)) {
26859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ge__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26861 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26877 SWIGINTERN PyObject
*_wrap_DateTime___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26880 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char * kwnames
[] = {
26889 (char *) "self",(char *) "other", NULL
26892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26894 if (!SWIG_IsOK(res1
)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___eq__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26897 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26899 if (!SWIG_IsOK(res2
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___eq__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26902 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26918 SWIGINTERN PyObject
*_wrap_DateTime___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= 0;
26920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26921 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
26927 PyObject
* obj0
= 0 ;
26928 PyObject
* obj1
= 0 ;
26929 char * kwnames
[] = {
26930 (char *) "self",(char *) "other", NULL
26933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26935 if (!SWIG_IsOK(res1
)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime___ne__" "', expected argument " "1"" of type '" "wxDateTime *""'");
26938 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26940 if (!SWIG_IsOK(res2
)) {
26941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateTime___ne__" "', expected argument " "2"" of type '" "wxDateTime const *""'");
26943 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26946 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26959 SWIGINTERN PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
= 0;
26961 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
26962 wxString
*arg2
= 0 ;
26966 bool temp2
= false ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 char * kwnames
[] = {
26970 (char *) "self",(char *) "date", NULL
26973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseRfc822Date" "', expected argument " "1"" of type '" "wxDateTime *""'");
26978 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
26980 arg2
= wxString_in_helper(obj1
);
26981 if (arg2
== NULL
) SWIG_fail
;
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_From_int(static_cast< int >(result
));
27005 SWIGINTERN PyObject
*_wrap_DateTime_ParseFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27008 wxString
*arg2
= 0 ;
27009 wxString
const &arg3_defvalue
= wxPyDefaultDateTimeFormat
;
27010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27011 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
27012 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
27016 bool temp2
= false ;
27017 bool temp3
= false ;
27020 PyObject
* obj0
= 0 ;
27021 PyObject
* obj1
= 0 ;
27022 PyObject
* obj2
= 0 ;
27023 PyObject
* obj3
= 0 ;
27024 char * kwnames
[] = {
27025 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
27028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27030 if (!SWIG_IsOK(res1
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseFormat" "', expected argument " "1"" of type '" "wxDateTime *""'");
27033 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27035 arg2
= wxString_in_helper(obj1
);
27036 if (arg2
== NULL
) SWIG_fail
;
27041 arg3
= wxString_in_helper(obj2
);
27042 if (arg3
== NULL
) SWIG_fail
;
27047 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
27048 if (!SWIG_IsOK(res4
)) {
27049 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateTime_ParseFormat" "', expected argument " "4"" of type '" "wxDateTime const &""'");
27054 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= SWIG_From_int(static_cast< int >(result
));
27085 SWIGINTERN PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27086 PyObject
*resultobj
= 0;
27087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27088 wxString
*arg2
= 0 ;
27092 bool temp2
= false ;
27093 PyObject
* obj0
= 0 ;
27094 PyObject
* obj1
= 0 ;
27095 char * kwnames
[] = {
27096 (char *) "self",(char *) "datetime", NULL
27099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27101 if (!SWIG_IsOK(res1
)) {
27102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDateTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27104 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27106 arg2
= wxString_in_helper(obj1
);
27107 if (arg2
== NULL
) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_int(static_cast< int >(result
));
27131 SWIGINTERN PyObject
*_wrap_DateTime_ParseDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
= 0;
27133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27134 wxString
*arg2
= 0 ;
27138 bool temp2
= false ;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 char * kwnames
[] = {
27142 (char *) "self",(char *) "date", NULL
27145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27147 if (!SWIG_IsOK(res1
)) {
27148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseDate" "', expected argument " "1"" of type '" "wxDateTime *""'");
27150 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27152 arg2
= wxString_in_helper(obj1
);
27153 if (arg2
== NULL
) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= SWIG_From_int(static_cast< int >(result
));
27177 SWIGINTERN PyObject
*_wrap_DateTime_ParseTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
= 0;
27179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27180 wxString
*arg2
= 0 ;
27184 bool temp2
= false ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char * kwnames
[] = {
27188 (char *) "self",(char *) "time", NULL
27191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27193 if (!SWIG_IsOK(res1
)) {
27194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_ParseTime" "', expected argument " "1"" of type '" "wxDateTime *""'");
27196 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27198 arg2
= wxString_in_helper(obj1
);
27199 if (arg2
== NULL
) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27208 resultobj
= SWIG_From_int(static_cast< int >(result
));
27223 SWIGINTERN PyObject
*_wrap_DateTime_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27226 wxString
const &arg2_defvalue
= wxPyDefaultDateTimeFormat
;
27227 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
27228 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
27229 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
27233 bool temp2
= false ;
27234 bool temp3
= false ;
27235 PyObject
* obj0
= 0 ;
27236 PyObject
* obj1
= 0 ;
27237 PyObject
* obj2
= 0 ;
27238 char * kwnames
[] = {
27239 (char *) "self",(char *) "format",(char *) "tz", NULL
27242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_Format" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27247 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27250 arg2
= wxString_in_helper(obj1
);
27251 if (arg2
== NULL
) SWIG_fail
;
27257 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27279 if (temp3
) delete arg3
;
27288 if (temp3
) delete arg3
;
27294 SWIGINTERN PyObject
*_wrap_DateTime_FormatDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27295 PyObject
*resultobj
= 0;
27296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27300 PyObject
*swig_obj
[1] ;
27302 if (!args
) SWIG_fail
;
27303 swig_obj
[0] = args
;
27304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27305 if (!SWIG_IsOK(res1
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatDate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27308 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= ((wxDateTime
const *)arg1
)->FormatDate();
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27328 SWIGINTERN PyObject
*_wrap_DateTime_FormatTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27342 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= ((wxDateTime
const *)arg1
)->FormatTime();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27362 SWIGINTERN PyObject
*_wrap_DateTime_FormatISODate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27363 PyObject
*resultobj
= 0;
27364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27368 PyObject
*swig_obj
[1] ;
27370 if (!args
) SWIG_fail
;
27371 swig_obj
[0] = args
;
27372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27373 if (!SWIG_IsOK(res1
)) {
27374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISODate" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27376 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27396 SWIGINTERN PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27397 PyObject
*resultobj
= 0;
27398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
27402 PyObject
*swig_obj
[1] ;
27404 if (!args
) SWIG_fail
;
27405 swig_obj
[0] = args
;
27406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateTime
, 0 | 0 );
27407 if (!SWIG_IsOK(res1
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateTime_FormatISOTime" "', expected argument " "1"" of type '" "wxDateTime const *""'");
27410 arg1
= reinterpret_cast< wxDateTime
* >(argp1
);
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27430 SWIGINTERN PyObject
*DateTime_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27433 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateTime
, SWIG_NewClientData(obj
));
27434 return SWIG_Py_Void();
27437 SWIGINTERN PyObject
*DateTime_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27438 return SWIG_Python_InitShadowInstance(args
);
27441 SWIGINTERN PyObject
*_wrap_TimeSpan_Milliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27442 PyObject
*resultobj
= 0;
27447 PyObject
* obj0
= 0 ;
27448 char * kwnames
[] = {
27449 (char *) "ms", NULL
27452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Milliseconds",kwnames
,&obj0
)) SWIG_fail
;
27453 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27454 if (!SWIG_IsOK(ecode1
)) {
27455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Milliseconds" "', expected argument " "1"" of type '" "long""'");
27457 arg1
= static_cast< long >(val1
);
27459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27460 result
= wxTimeSpan::Milliseconds(arg1
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27471 SWIGINTERN PyObject
*_wrap_TimeSpan_Millisecond(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 PyObject
*resultobj
= 0;
27475 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Millisecond",0,0,0)) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= wxTimeSpan::Millisecond();
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27489 SWIGINTERN PyObject
*_wrap_TimeSpan_Seconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
= 0;
27495 PyObject
* obj0
= 0 ;
27496 char * kwnames
[] = {
27497 (char *) "sec", NULL
27500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) SWIG_fail
;
27501 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27502 if (!SWIG_IsOK(ecode1
)) {
27503 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Seconds" "', expected argument " "1"" of type '" "long""'");
27505 arg1
= static_cast< long >(val1
);
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 result
= wxTimeSpan::Seconds(arg1
);
27509 wxPyEndAllowThreads(__tstate
);
27510 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27519 SWIGINTERN PyObject
*_wrap_TimeSpan_Second(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27520 PyObject
*resultobj
= 0;
27523 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Second",0,0,0)) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= wxTimeSpan::Second();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27537 SWIGINTERN PyObject
*_wrap_TimeSpan_Minutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
= 0;
27543 PyObject
* obj0
= 0 ;
27544 char * kwnames
[] = {
27545 (char *) "min", NULL
27548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) SWIG_fail
;
27549 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27550 if (!SWIG_IsOK(ecode1
)) {
27551 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Minutes" "', expected argument " "1"" of type '" "long""'");
27553 arg1
= static_cast< long >(val1
);
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= wxTimeSpan::Minutes(arg1
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27567 SWIGINTERN PyObject
*_wrap_TimeSpan_Minute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27568 PyObject
*resultobj
= 0;
27571 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Minute",0,0,0)) SWIG_fail
;
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 result
= wxTimeSpan::Minute();
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27585 SWIGINTERN PyObject
*_wrap_TimeSpan_Hours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
= 0;
27591 PyObject
* obj0
= 0 ;
27592 char * kwnames
[] = {
27593 (char *) "hours", NULL
27596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) SWIG_fail
;
27597 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27598 if (!SWIG_IsOK(ecode1
)) {
27599 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Hours" "', expected argument " "1"" of type '" "long""'");
27601 arg1
= static_cast< long >(val1
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 result
= wxTimeSpan::Hours(arg1
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27615 SWIGINTERN PyObject
*_wrap_TimeSpan_Hour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27619 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Hour",0,0,0)) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 result
= wxTimeSpan::Hour();
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27633 SWIGINTERN PyObject
*_wrap_TimeSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
= 0;
27639 PyObject
* obj0
= 0 ;
27640 char * kwnames
[] = {
27641 (char *) "days", NULL
27644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
27645 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27646 if (!SWIG_IsOK(ecode1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Days" "', expected argument " "1"" of type '" "long""'");
27649 arg1
= static_cast< long >(val1
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= wxTimeSpan::Days(arg1
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27663 SWIGINTERN PyObject
*_wrap_TimeSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27664 PyObject
*resultobj
= 0;
27667 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Day",0,0,0)) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= wxTimeSpan::Day();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27674 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27681 SWIGINTERN PyObject
*_wrap_TimeSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
= 0;
27687 PyObject
* obj0
= 0 ;
27688 char * kwnames
[] = {
27689 (char *) "days", NULL
27692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
27693 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27694 if (!SWIG_IsOK(ecode1
)) {
27695 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TimeSpan_Weeks" "', expected argument " "1"" of type '" "long""'");
27697 arg1
= static_cast< long >(val1
);
27699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27700 result
= wxTimeSpan::Weeks(arg1
);
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27711 SWIGINTERN PyObject
*_wrap_TimeSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27712 PyObject
*resultobj
= 0;
27715 if (!SWIG_Python_UnpackTuple(args
,"TimeSpan_Week",0,0,0)) SWIG_fail
;
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= wxTimeSpan::Week();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
27729 SWIGINTERN PyObject
*_wrap_new_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
= 0;
27731 long arg1
= (long) 0 ;
27732 long arg2
= (long) 0 ;
27733 long arg3
= (long) 0 ;
27734 long arg4
= (long) 0 ;
27735 wxTimeSpan
*result
= 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 PyObject
* obj2
= 0 ;
27747 PyObject
* obj3
= 0 ;
27748 char * kwnames
[] = {
27749 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
27752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27754 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27755 if (!SWIG_IsOK(ecode1
)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TimeSpan" "', expected argument " "1"" of type '" "long""'");
27758 arg1
= static_cast< long >(val1
);
27761 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27762 if (!SWIG_IsOK(ecode2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TimeSpan" "', expected argument " "2"" of type '" "long""'");
27765 arg2
= static_cast< long >(val2
);
27768 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
27769 if (!SWIG_IsOK(ecode3
)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TimeSpan" "', expected argument " "3"" of type '" "long""'");
27772 arg3
= static_cast< long >(val3
);
27775 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
27776 if (!SWIG_IsOK(ecode4
)) {
27777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TimeSpan" "', expected argument " "4"" of type '" "long""'");
27779 arg4
= static_cast< long >(val4
);
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
27784 wxPyEndAllowThreads(__tstate
);
27785 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_NEW
| 0 );
27794 SWIGINTERN PyObject
*_wrap_delete_TimeSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27795 PyObject
*resultobj
= 0;
27796 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27799 PyObject
*swig_obj
[1] ;
27801 if (!args
) SWIG_fail
;
27802 swig_obj
[0] = args
;
27803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
27804 if (!SWIG_IsOK(res1
)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TimeSpan" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27807 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_Py_Void();
27822 SWIGINTERN PyObject
*_wrap_TimeSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
= 0;
27824 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27825 wxTimeSpan
*arg2
= 0 ;
27826 wxTimeSpan
*result
= 0 ;
27831 PyObject
* obj0
= 0 ;
27832 PyObject
* obj1
= 0 ;
27833 char * kwnames
[] = {
27834 (char *) "self",(char *) "diff", NULL
27837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Add" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27842 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27844 if (!SWIG_IsOK(res2
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Add" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27850 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
27855 result
= (wxTimeSpan
*) &_result_ref
;
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27867 SWIGINTERN PyObject
*_wrap_TimeSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
= 0;
27869 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27870 wxTimeSpan
*arg2
= 0 ;
27871 wxTimeSpan
*result
= 0 ;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char * kwnames
[] = {
27879 (char *) "self",(char *) "diff", NULL
27882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27884 if (!SWIG_IsOK(res1
)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Subtract" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27887 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27888 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
27889 if (!SWIG_IsOK(res2
)) {
27890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_Subtract" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
27895 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
27900 result
= (wxTimeSpan
*) &_result_ref
;
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27912 SWIGINTERN PyObject
*_wrap_TimeSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
= 0;
27914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27916 wxTimeSpan
*result
= 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 char * kwnames
[] = {
27924 (char *) "self",(char *) "n", NULL
27927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27929 if (!SWIG_IsOK(res1
)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Multiply" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27932 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27934 if (!SWIG_IsOK(ecode2
)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
27937 arg2
= static_cast< int >(val2
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
27942 result
= (wxTimeSpan
*) &_result_ref
;
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27954 SWIGINTERN PyObject
*_wrap_TimeSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27955 PyObject
*resultobj
= 0;
27956 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27957 wxTimeSpan
*result
= 0 ;
27960 PyObject
*swig_obj
[1] ;
27962 if (!args
) SWIG_fail
;
27963 swig_obj
[0] = args
;
27964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Neg" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
27968 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
27973 result
= (wxTimeSpan
*) &_result_ref
;
27975 wxPyEndAllowThreads(__tstate
);
27976 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27985 SWIGINTERN PyObject
*_wrap_TimeSpan_Abs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27986 PyObject
*resultobj
= 0;
27987 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
27991 PyObject
*swig_obj
[1] ;
27993 if (!args
) SWIG_fail
;
27994 swig_obj
[0] = args
;
27995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
27996 if (!SWIG_IsOK(res1
)) {
27997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Abs" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
27999 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 result
= ((wxTimeSpan
const *)arg1
)->Abs();
28003 wxPyEndAllowThreads(__tstate
);
28004 if (PyErr_Occurred()) SWIG_fail
;
28006 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28013 SWIGINTERN PyObject
*_wrap_TimeSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28014 PyObject
*resultobj
= 0;
28015 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28016 wxTimeSpan
*arg2
= 0 ;
28017 wxTimeSpan
*result
= 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 char * kwnames
[] = {
28025 (char *) "self",(char *) "diff", NULL
28028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28030 if (!SWIG_IsOK(res1
)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___iadd__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28033 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28034 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28035 if (!SWIG_IsOK(res2
)) {
28036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28039 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___iadd__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28041 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28045 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
28046 result
= (wxTimeSpan
*) &_result_ref
;
28048 wxPyEndAllowThreads(__tstate
);
28049 if (PyErr_Occurred()) SWIG_fail
;
28051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28058 SWIGINTERN PyObject
*_wrap_TimeSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
= 0;
28060 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28061 wxTimeSpan
*arg2
= 0 ;
28062 wxTimeSpan
*result
= 0 ;
28067 PyObject
* obj0
= 0 ;
28068 PyObject
* obj1
= 0 ;
28069 char * kwnames
[] = {
28070 (char *) "self",(char *) "diff", NULL
28073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28075 if (!SWIG_IsOK(res1
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___isub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28078 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28080 if (!SWIG_IsOK(res2
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___isub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28086 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28090 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
28091 result
= (wxTimeSpan
*) &_result_ref
;
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28103 SWIGINTERN PyObject
*_wrap_TimeSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
= 0;
28105 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28107 wxTimeSpan
*result
= 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char * kwnames
[] = {
28115 (char *) "self",(char *) "n", NULL
28118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_DISOWN
| 0 );
28120 if (!SWIG_IsOK(res1
)) {
28121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___imul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28123 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28125 if (!SWIG_IsOK(ecode2
)) {
28126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___imul__" "', expected argument " "2"" of type '" "int""'");
28128 arg2
= static_cast< int >(val2
);
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28132 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
28133 result
= (wxTimeSpan
*) &_result_ref
;
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28145 SWIGINTERN PyObject
*_wrap_TimeSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28146 PyObject
*resultobj
= 0;
28147 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28148 wxTimeSpan
*result
= 0 ;
28151 PyObject
*swig_obj
[1] ;
28153 if (!args
) SWIG_fail
;
28154 swig_obj
[0] = args
;
28155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28156 if (!SWIG_IsOK(res1
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___neg__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28159 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
28164 result
= (wxTimeSpan
*) &_result_ref
;
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28176 SWIGINTERN PyObject
*_wrap_TimeSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
= 0;
28178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28179 wxTimeSpan
*arg2
= 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char * kwnames
[] = {
28188 (char *) "self",(char *) "other", NULL
28191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28193 if (!SWIG_IsOK(res1
)) {
28194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___add__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28196 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28197 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28198 if (!SWIG_IsOK(res2
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28202 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___add__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28204 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28218 SWIGINTERN PyObject
*_wrap_TimeSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
= 0;
28220 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28221 wxTimeSpan
*arg2
= 0 ;
28227 PyObject
* obj0
= 0 ;
28228 PyObject
* obj1
= 0 ;
28229 char * kwnames
[] = {
28230 (char *) "self",(char *) "other", NULL
28233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28235 if (!SWIG_IsOK(res1
)) {
28236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___sub__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28238 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28240 if (!SWIG_IsOK(res2
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan___sub__" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28246 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
28250 wxPyEndAllowThreads(__tstate
);
28251 if (PyErr_Occurred()) SWIG_fail
;
28253 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28260 SWIGINTERN PyObject
*_wrap_TimeSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
= 0;
28262 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 char * kwnames
[] = {
28272 (char *) "self",(char *) "n", NULL
28275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___mul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28280 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28282 if (!SWIG_IsOK(ecode2
)) {
28283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___mul__" "', expected argument " "2"" of type '" "int""'");
28285 arg2
= static_cast< int >(val2
);
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= wxTimeSpan___mul__(arg1
,arg2
);
28289 wxPyEndAllowThreads(__tstate
);
28290 if (PyErr_Occurred()) SWIG_fail
;
28292 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28299 SWIGINTERN PyObject
*_wrap_TimeSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
= 0;
28301 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28308 PyObject
* obj0
= 0 ;
28309 PyObject
* obj1
= 0 ;
28310 char * kwnames
[] = {
28311 (char *) "self",(char *) "n", NULL
28314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___rmul__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28319 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28321 if (!SWIG_IsOK(ecode2
)) {
28322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TimeSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
28324 arg2
= static_cast< int >(val2
);
28326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28327 result
= wxTimeSpan___rmul__(arg1
,arg2
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= SWIG_NewPointerObj((new wxTimeSpan(static_cast< const wxTimeSpan
& >(result
))), SWIGTYPE_p_wxTimeSpan
, SWIG_POINTER_OWN
| 0 );
28338 SWIGINTERN PyObject
*_wrap_TimeSpan___lt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
= 0;
28340 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28341 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28347 PyObject
* obj0
= 0 ;
28348 PyObject
* obj1
= 0 ;
28349 char * kwnames
[] = {
28350 (char *) "self",(char *) "other", NULL
28353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28355 if (!SWIG_IsOK(res1
)) {
28356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___lt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28358 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28359 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28360 if (!SWIG_IsOK(res2
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___lt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28363 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28379 SWIGINTERN PyObject
*_wrap_TimeSpan___le__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28380 PyObject
*resultobj
= 0;
28381 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28382 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28388 PyObject
* obj0
= 0 ;
28389 PyObject
* obj1
= 0 ;
28390 char * kwnames
[] = {
28391 (char *) "self",(char *) "other", NULL
28394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___le__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28399 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28401 if (!SWIG_IsOK(res2
)) {
28402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___le__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28404 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28407 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
28408 wxPyEndAllowThreads(__tstate
);
28409 if (PyErr_Occurred()) SWIG_fail
;
28412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28420 SWIGINTERN PyObject
*_wrap_TimeSpan___gt__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28421 PyObject
*resultobj
= 0;
28422 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28423 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "self",(char *) "other", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___gt__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28440 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28442 if (!SWIG_IsOK(res2
)) {
28443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___gt__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28445 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28461 SWIGINTERN PyObject
*_wrap_TimeSpan___ge__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28462 PyObject
*resultobj
= 0;
28463 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28464 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28470 PyObject
* obj0
= 0 ;
28471 PyObject
* obj1
= 0 ;
28472 char * kwnames
[] = {
28473 (char *) "self",(char *) "other", NULL
28476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28478 if (!SWIG_IsOK(res1
)) {
28479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ge__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28481 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28483 if (!SWIG_IsOK(res2
)) {
28484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ge__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28486 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28502 SWIGINTERN PyObject
*_wrap_TimeSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
= 0;
28504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28505 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28511 PyObject
* obj0
= 0 ;
28512 PyObject
* obj1
= 0 ;
28513 char * kwnames
[] = {
28514 (char *) "self",(char *) "other", NULL
28517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28519 if (!SWIG_IsOK(res1
)) {
28520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___eq__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28522 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28524 if (!SWIG_IsOK(res2
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___eq__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28527 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28543 SWIGINTERN PyObject
*_wrap_TimeSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
= 0;
28545 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28546 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 PyObject
* obj1
= 0 ;
28554 char * kwnames
[] = {
28555 (char *) "self",(char *) "other", NULL
28558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28560 if (!SWIG_IsOK(res1
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan___ne__" "', expected argument " "1"" of type '" "wxTimeSpan *""'");
28563 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28564 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28565 if (!SWIG_IsOK(res2
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan___ne__" "', expected argument " "2"" of type '" "wxTimeSpan const *""'");
28568 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28584 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 PyObject
*resultobj
= 0;
28586 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28590 PyObject
*swig_obj
[1] ;
28592 if (!args
) SWIG_fail
;
28593 swig_obj
[0] = args
;
28594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28595 if (!SWIG_IsOK(res1
)) {
28596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNull" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28598 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
28602 wxPyEndAllowThreads(__tstate
);
28603 if (PyErr_Occurred()) SWIG_fail
;
28606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28614 SWIGINTERN PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28615 PyObject
*resultobj
= 0;
28616 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28620 PyObject
*swig_obj
[1] ;
28622 if (!args
) SWIG_fail
;
28623 swig_obj
[0] = args
;
28624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsPositive" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28628 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
28632 wxPyEndAllowThreads(__tstate
);
28633 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28644 SWIGINTERN PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28645 PyObject
*resultobj
= 0;
28646 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28650 PyObject
*swig_obj
[1] ;
28652 if (!args
) SWIG_fail
;
28653 swig_obj
[0] = args
;
28654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsNegative" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28658 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
28662 wxPyEndAllowThreads(__tstate
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28674 SWIGINTERN PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
= 0;
28676 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28677 wxTimeSpan
*arg2
= 0 ;
28683 PyObject
* obj0
= 0 ;
28684 PyObject
* obj1
= 0 ;
28685 char * kwnames
[] = {
28686 (char *) "self",(char *) "ts", NULL
28689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28691 if (!SWIG_IsOK(res1
)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28694 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28696 if (!SWIG_IsOK(res2
)) {
28697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsEqualTo" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28702 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28705 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28718 SWIGINTERN PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
= 0;
28720 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28721 wxTimeSpan
*arg2
= 0 ;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 char * kwnames
[] = {
28730 (char *) "self",(char *) "ts", NULL
28733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28735 if (!SWIG_IsOK(res1
)) {
28736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28738 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28739 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28740 if (!SWIG_IsOK(res2
)) {
28741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28744 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsLongerThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28746 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28749 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28762 SWIGINTERN PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
= 0;
28764 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28765 wxTimeSpan
*arg2
= 0 ;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 char * kwnames
[] = {
28774 (char *) "self",(char *) "t", NULL
28777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28779 if (!SWIG_IsOK(res1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28782 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTimeSpan
, 0 | 0);
28784 if (!SWIG_IsOK(res2
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TimeSpan_IsShorterThan" "', expected argument " "2"" of type '" "wxTimeSpan const &""'");
28790 arg2
= reinterpret_cast< wxTimeSpan
* >(argp2
);
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28806 SWIGINTERN PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28807 PyObject
*resultobj
= 0;
28808 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28812 PyObject
*swig_obj
[1] ;
28814 if (!args
) SWIG_fail
;
28815 swig_obj
[0] = args
;
28816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetWeeks" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28820 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_From_int(static_cast< int >(result
));
28834 SWIGINTERN PyObject
*_wrap_TimeSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28840 PyObject
*swig_obj
[1] ;
28842 if (!args
) SWIG_fail
;
28843 swig_obj
[0] = args
;
28844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetDays" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28848 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_From_int(static_cast< int >(result
));
28862 SWIGINTERN PyObject
*_wrap_TimeSpan_GetHours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 PyObject
*resultobj
= 0;
28864 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28868 PyObject
*swig_obj
[1] ;
28870 if (!args
) SWIG_fail
;
28871 swig_obj
[0] = args
;
28872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetHours" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28876 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_From_int(static_cast< int >(result
));
28890 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMinutes" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28904 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_From_int(static_cast< int >(result
));
28918 SWIGINTERN PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28924 PyObject
*swig_obj
[1] ;
28926 if (!args
) SWIG_fail
;
28927 swig_obj
[0] = args
;
28928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetSeconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28932 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28940 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28941 hi
= PyLong_FromLong( (&result
)->GetHi() );
28942 lo
= PyLong_FromLong( (&result
)->GetLo() );
28943 shifter
= PyLong_FromLong(32);
28944 shifted
= PyNumber_Lshift(hi
, shifter
);
28945 resultobj
= PyNumber_Or(shifted
, lo
);
28948 Py_DECREF(shifter
);
28949 Py_DECREF(shifted
);
28957 SWIGINTERN PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28958 PyObject
*resultobj
= 0;
28959 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28963 PyObject
*swig_obj
[1] ;
28965 if (!args
) SWIG_fail
;
28966 swig_obj
[0] = args
;
28967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
28968 if (!SWIG_IsOK(res1
)) {
28969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_GetMilliseconds" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
28971 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28979 PyObject
*hi
, *lo
, *shifter
, *shifted
;
28980 hi
= PyLong_FromLong( (&result
)->GetHi() );
28981 lo
= PyLong_FromLong( (&result
)->GetLo() );
28982 shifter
= PyLong_FromLong(32);
28983 shifted
= PyNumber_Lshift(hi
, shifter
);
28984 resultobj
= PyNumber_Or(shifted
, lo
);
28987 Py_DECREF(shifter
);
28988 Py_DECREF(shifted
);
28996 SWIGINTERN PyObject
*_wrap_TimeSpan_Format(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
= 0;
28998 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
28999 wxString
const &arg2_defvalue
= wxPyDefaultTimeSpanFormat
;
29000 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
29004 bool temp2
= false ;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char * kwnames
[] = {
29008 (char *) "self",(char *) "format", NULL
29011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTimeSpan
, 0 | 0 );
29013 if (!SWIG_IsOK(res1
)) {
29014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TimeSpan_Format" "', expected argument " "1"" of type '" "wxTimeSpan const *""'");
29016 arg1
= reinterpret_cast< wxTimeSpan
* >(argp1
);
29019 arg2
= wxString_in_helper(obj1
);
29020 if (arg2
== NULL
) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29051 SWIGINTERN PyObject
*TimeSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29054 SWIG_TypeNewClientData(SWIGTYPE_p_wxTimeSpan
, SWIG_NewClientData(obj
));
29055 return SWIG_Py_Void();
29058 SWIGINTERN PyObject
*TimeSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29059 return SWIG_Python_InitShadowInstance(args
);
29062 SWIGINTERN PyObject
*_wrap_new_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
= 0;
29064 int arg1
= (int) 0 ;
29065 int arg2
= (int) 0 ;
29066 int arg3
= (int) 0 ;
29067 int arg4
= (int) 0 ;
29068 wxDateSpan
*result
= 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 PyObject
* obj2
= 0 ;
29080 PyObject
* obj3
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29088 if (!SWIG_IsOK(ecode1
)) {
29089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DateSpan" "', expected argument " "1"" of type '" "int""'");
29091 arg1
= static_cast< int >(val1
);
29094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29095 if (!SWIG_IsOK(ecode2
)) {
29096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DateSpan" "', expected argument " "2"" of type '" "int""'");
29098 arg2
= static_cast< int >(val2
);
29101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29102 if (!SWIG_IsOK(ecode3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateSpan" "', expected argument " "3"" of type '" "int""'");
29105 arg3
= static_cast< int >(val3
);
29108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29109 if (!SWIG_IsOK(ecode4
)) {
29110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DateSpan" "', expected argument " "4"" of type '" "int""'");
29112 arg4
= static_cast< int >(val4
);
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_NEW
| 0 );
29127 SWIGINTERN PyObject
*_wrap_delete_DateSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 PyObject
*resultobj
= 0;
29129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29132 PyObject
*swig_obj
[1] ;
29134 if (!args
) SWIG_fail
;
29135 swig_obj
[0] = args
;
29136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29137 if (!SWIG_IsOK(res1
)) {
29138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DateSpan" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29140 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_DateSpan_Days(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29161 PyObject
* obj0
= 0 ;
29162 char * kwnames
[] = {
29163 (char *) "days", NULL
29166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) SWIG_fail
;
29167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29168 if (!SWIG_IsOK(ecode1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Days" "', expected argument " "1"" of type '" "int""'");
29171 arg1
= static_cast< int >(val1
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 result
= wxDateSpan::Days(arg1
);
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29178 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29185 SWIGINTERN PyObject
*_wrap_DateSpan_Day(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29186 PyObject
*resultobj
= 0;
29189 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Day",0,0,0)) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= wxDateSpan::Day();
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29203 SWIGINTERN PyObject
*_wrap_DateSpan_Weeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
= 0;
29209 PyObject
* obj0
= 0 ;
29210 char * kwnames
[] = {
29211 (char *) "weeks", NULL
29214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) SWIG_fail
;
29215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29216 if (!SWIG_IsOK(ecode1
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Weeks" "', expected argument " "1"" of type '" "int""'");
29219 arg1
= static_cast< int >(val1
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= wxDateSpan::Weeks(arg1
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29233 SWIGINTERN PyObject
*_wrap_DateSpan_Week(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29234 PyObject
*resultobj
= 0;
29237 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Week",0,0,0)) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 result
= wxDateSpan::Week();
29241 wxPyEndAllowThreads(__tstate
);
29242 if (PyErr_Occurred()) SWIG_fail
;
29244 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29251 SWIGINTERN PyObject
*_wrap_DateSpan_Months(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29252 PyObject
*resultobj
= 0;
29257 PyObject
* obj0
= 0 ;
29258 char * kwnames
[] = {
29259 (char *) "mon", NULL
29262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) SWIG_fail
;
29263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29264 if (!SWIG_IsOK(ecode1
)) {
29265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Months" "', expected argument " "1"" of type '" "int""'");
29267 arg1
= static_cast< int >(val1
);
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= wxDateSpan::Months(arg1
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29281 SWIGINTERN PyObject
*_wrap_DateSpan_Month(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29282 PyObject
*resultobj
= 0;
29285 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Month",0,0,0)) SWIG_fail
;
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 result
= wxDateSpan::Month();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29299 SWIGINTERN PyObject
*_wrap_DateSpan_Years(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
= 0;
29305 PyObject
* obj0
= 0 ;
29306 char * kwnames
[] = {
29307 (char *) "years", NULL
29310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) SWIG_fail
;
29311 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29312 if (!SWIG_IsOK(ecode1
)) {
29313 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "DateSpan_Years" "', expected argument " "1"" of type '" "int""'");
29315 arg1
= static_cast< int >(val1
);
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 result
= wxDateSpan::Years(arg1
);
29319 wxPyEndAllowThreads(__tstate
);
29320 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29329 SWIGINTERN PyObject
*_wrap_DateSpan_Year(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29330 PyObject
*resultobj
= 0;
29333 if (!SWIG_Python_UnpackTuple(args
,"DateSpan_Year",0,0,0)) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= wxDateSpan::Year();
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29347 SWIGINTERN PyObject
*_wrap_DateSpan_SetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29348 PyObject
*resultobj
= 0;
29349 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29351 wxDateSpan
*result
= 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char * kwnames
[] = {
29359 (char *) "self",(char *) "n", NULL
29362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetYears" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29367 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29369 if (!SWIG_IsOK(ecode2
)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetYears" "', expected argument " "2"" of type '" "int""'");
29372 arg2
= static_cast< int >(val2
);
29374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
29377 result
= (wxDateSpan
*) &_result_ref
;
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29389 SWIGINTERN PyObject
*_wrap_DateSpan_SetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29393 wxDateSpan
*result
= 0 ;
29398 PyObject
* obj0
= 0 ;
29399 PyObject
* obj1
= 0 ;
29400 char * kwnames
[] = {
29401 (char *) "self",(char *) "n", NULL
29404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29406 if (!SWIG_IsOK(res1
)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetMonths" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29409 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29411 if (!SWIG_IsOK(ecode2
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetMonths" "', expected argument " "2"" of type '" "int""'");
29414 arg2
= static_cast< int >(val2
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
29419 result
= (wxDateSpan
*) &_result_ref
;
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29431 SWIGINTERN PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
= 0;
29433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29435 wxDateSpan
*result
= 0 ;
29440 PyObject
* obj0
= 0 ;
29441 PyObject
* obj1
= 0 ;
29442 char * kwnames
[] = {
29443 (char *) "self",(char *) "n", NULL
29446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29448 if (!SWIG_IsOK(res1
)) {
29449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetWeeks" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29451 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29453 if (!SWIG_IsOK(ecode2
)) {
29454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetWeeks" "', expected argument " "2"" of type '" "int""'");
29456 arg2
= static_cast< int >(val2
);
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
29461 result
= (wxDateSpan
*) &_result_ref
;
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29473 SWIGINTERN PyObject
*_wrap_DateSpan_SetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29474 PyObject
*resultobj
= 0;
29475 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29477 wxDateSpan
*result
= 0 ;
29482 PyObject
* obj0
= 0 ;
29483 PyObject
* obj1
= 0 ;
29484 char * kwnames
[] = {
29485 (char *) "self",(char *) "n", NULL
29488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29490 if (!SWIG_IsOK(res1
)) {
29491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_SetDays" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29493 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29495 if (!SWIG_IsOK(ecode2
)) {
29496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_SetDays" "', expected argument " "2"" of type '" "int""'");
29498 arg2
= static_cast< int >(val2
);
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29502 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
29503 result
= (wxDateSpan
*) &_result_ref
;
29505 wxPyEndAllowThreads(__tstate
);
29506 if (PyErr_Occurred()) SWIG_fail
;
29508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29515 SWIGINTERN PyObject
*_wrap_DateSpan_GetYears(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29516 PyObject
*resultobj
= 0;
29517 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29521 PyObject
*swig_obj
[1] ;
29523 if (!args
) SWIG_fail
;
29524 swig_obj
[0] = args
;
29525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29526 if (!SWIG_IsOK(res1
)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetYears" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29529 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_From_int(static_cast< int >(result
));
29543 SWIGINTERN PyObject
*_wrap_DateSpan_GetMonths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29544 PyObject
*resultobj
= 0;
29545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29549 PyObject
*swig_obj
[1] ;
29551 if (!args
) SWIG_fail
;
29552 swig_obj
[0] = args
;
29553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetMonths" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29557 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29560 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_From_int(static_cast< int >(result
));
29571 SWIGINTERN PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetWeeks" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29585 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_From_int(static_cast< int >(result
));
29599 SWIGINTERN PyObject
*_wrap_DateSpan_GetDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29613 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_From_int(static_cast< int >(result
));
29627 SWIGINTERN PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29633 PyObject
*swig_obj
[1] ;
29635 if (!args
) SWIG_fail
;
29636 swig_obj
[0] = args
;
29637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29638 if (!SWIG_IsOK(res1
)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_GetTotalDays" "', expected argument " "1"" of type '" "wxDateSpan const *""'");
29641 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
29645 wxPyEndAllowThreads(__tstate
);
29646 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= SWIG_From_int(static_cast< int >(result
));
29655 SWIGINTERN PyObject
*_wrap_DateSpan_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29656 PyObject
*resultobj
= 0;
29657 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29658 wxDateSpan
*arg2
= 0 ;
29659 wxDateSpan
*result
= 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "other", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Add" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29675 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29676 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29677 if (!SWIG_IsOK(res2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Add" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29683 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29687 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
29688 result
= (wxDateSpan
*) &_result_ref
;
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29700 SWIGINTERN PyObject
*_wrap_DateSpan_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
= 0;
29702 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29703 wxDateSpan
*arg2
= 0 ;
29704 wxDateSpan
*result
= 0 ;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 char * kwnames
[] = {
29712 (char *) "self",(char *) "other", NULL
29715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Subtract" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29720 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29721 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29722 if (!SWIG_IsOK(res2
)) {
29723 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan_Subtract" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29728 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29732 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
29733 result
= (wxDateSpan
*) &_result_ref
;
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29745 SWIGINTERN PyObject
*_wrap_DateSpan_Neg(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 PyObject
*resultobj
= 0;
29747 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29748 wxDateSpan
*result
= 0 ;
29751 PyObject
*swig_obj
[1] ;
29753 if (!args
) SWIG_fail
;
29754 swig_obj
[0] = args
;
29755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29756 if (!SWIG_IsOK(res1
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Neg" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29759 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 wxDateSpan
&_result_ref
= (arg1
)->Neg();
29764 result
= (wxDateSpan
*) &_result_ref
;
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29776 SWIGINTERN PyObject
*_wrap_DateSpan_Multiply(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
= 0;
29778 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29780 wxDateSpan
*result
= 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char * kwnames
[] = {
29788 (char *) "self",(char *) "factor", NULL
29791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29793 if (!SWIG_IsOK(res1
)) {
29794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan_Multiply" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29796 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29798 if (!SWIG_IsOK(ecode2
)) {
29799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan_Multiply" "', expected argument " "2"" of type '" "int""'");
29801 arg2
= static_cast< int >(val2
);
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29805 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
29806 result
= (wxDateSpan
*) &_result_ref
;
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29818 SWIGINTERN PyObject
*_wrap_DateSpan___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29819 PyObject
*resultobj
= 0;
29820 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29821 wxDateSpan
*arg2
= 0 ;
29822 wxDateSpan
*result
= 0 ;
29827 PyObject
* obj0
= 0 ;
29828 PyObject
* obj1
= 0 ;
29829 char * kwnames
[] = {
29830 (char *) "self",(char *) "other", NULL
29833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29835 if (!SWIG_IsOK(res1
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___iadd__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29838 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29840 if (!SWIG_IsOK(res2
)) {
29841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___iadd__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29846 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
29851 result
= (wxDateSpan
*) &_result_ref
;
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29863 SWIGINTERN PyObject
*_wrap_DateSpan___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29864 PyObject
*resultobj
= 0;
29865 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29866 wxDateSpan
*arg2
= 0 ;
29867 wxDateSpan
*result
= 0 ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 char * kwnames
[] = {
29875 (char *) "self",(char *) "other", NULL
29878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29880 if (!SWIG_IsOK(res1
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___isub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29883 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
29885 if (!SWIG_IsOK(res2
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___isub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
29891 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
29896 result
= (wxDateSpan
*) &_result_ref
;
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29908 SWIGINTERN PyObject
*_wrap_DateSpan___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29909 PyObject
*resultobj
= 0;
29910 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29911 wxDateSpan
*result
= 0 ;
29914 PyObject
*swig_obj
[1] ;
29916 if (!args
) SWIG_fail
;
29917 swig_obj
[0] = args
;
29918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29919 if (!SWIG_IsOK(res1
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___neg__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29922 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 wxDateSpan
&_result_ref
= (arg1
)->operator -();
29927 result
= (wxDateSpan
*) &_result_ref
;
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29939 SWIGINTERN PyObject
*_wrap_DateSpan___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
= 0;
29941 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29943 wxDateSpan
*result
= 0 ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 char * kwnames
[] = {
29951 (char *) "self",(char *) "factor", NULL
29954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_DISOWN
| 0 );
29956 if (!SWIG_IsOK(res1
)) {
29957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___imul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
29959 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
29960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29961 if (!SWIG_IsOK(ecode2
)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___imul__" "', expected argument " "2"" of type '" "int""'");
29964 arg2
= static_cast< int >(val2
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
29969 result
= (wxDateSpan
*) &_result_ref
;
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
29981 SWIGINTERN PyObject
*_wrap_DateSpan___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
= 0;
29983 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
29984 wxDateSpan
*arg2
= 0 ;
29990 PyObject
* obj0
= 0 ;
29991 PyObject
* obj1
= 0 ;
29992 char * kwnames
[] = {
29993 (char *) "self",(char *) "other", NULL
29996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
29998 if (!SWIG_IsOK(res1
)) {
29999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___add__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30001 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30003 if (!SWIG_IsOK(res2
)) {
30004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___add__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30009 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30023 SWIGINTERN PyObject
*_wrap_DateSpan___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
= 0;
30025 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30026 wxDateSpan
*arg2
= 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char * kwnames
[] = {
30035 (char *) "self",(char *) "other", NULL
30038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30040 if (!SWIG_IsOK(res1
)) {
30041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___sub__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30043 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30044 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateSpan
, 0 | 0);
30045 if (!SWIG_IsOK(res2
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30049 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateSpan___sub__" "', expected argument " "2"" of type '" "wxDateSpan const &""'");
30051 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30065 SWIGINTERN PyObject
*_wrap_DateSpan___mul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
= 0;
30067 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 char * kwnames
[] = {
30077 (char *) "self",(char *) "n", NULL
30080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30082 if (!SWIG_IsOK(res1
)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___mul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30085 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30087 if (!SWIG_IsOK(ecode2
)) {
30088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___mul__" "', expected argument " "2"" of type '" "int""'");
30090 arg2
= static_cast< int >(val2
);
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= wxDateSpan___mul__(arg1
,arg2
);
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30104 SWIGINTERN PyObject
*_wrap_DateSpan___rmul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
= 0;
30106 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30113 PyObject
* obj0
= 0 ;
30114 PyObject
* obj1
= 0 ;
30115 char * kwnames
[] = {
30116 (char *) "self",(char *) "n", NULL
30119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30121 if (!SWIG_IsOK(res1
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___rmul__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30124 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30126 if (!SWIG_IsOK(ecode2
)) {
30127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DateSpan___rmul__" "', expected argument " "2"" of type '" "int""'");
30129 arg2
= static_cast< int >(val2
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 result
= wxDateSpan___rmul__(arg1
,arg2
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_NewPointerObj((new wxDateSpan(static_cast< const wxDateSpan
& >(result
))), SWIGTYPE_p_wxDateSpan
, SWIG_POINTER_OWN
| 0 );
30143 SWIGINTERN PyObject
*_wrap_DateSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
= 0;
30145 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30146 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 char * kwnames
[] = {
30155 (char *) "self",(char *) "other", NULL
30158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30160 if (!SWIG_IsOK(res1
)) {
30161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___eq__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30163 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30164 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30165 if (!SWIG_IsOK(res2
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___eq__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30168 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30184 SWIGINTERN PyObject
*_wrap_DateSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
= 0;
30186 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
30187 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
30193 PyObject
* obj0
= 0 ;
30194 PyObject
* obj1
= 0 ;
30195 char * kwnames
[] = {
30196 (char *) "self",(char *) "other", NULL
30199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30201 if (!SWIG_IsOK(res1
)) {
30202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateSpan___ne__" "', expected argument " "1"" of type '" "wxDateSpan *""'");
30204 arg1
= reinterpret_cast< wxDateSpan
* >(argp1
);
30205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDateSpan
, 0 | 0 );
30206 if (!SWIG_IsOK(res2
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateSpan___ne__" "', expected argument " "2"" of type '" "wxDateSpan const *""'");
30209 arg2
= reinterpret_cast< wxDateSpan
* >(argp2
);
30211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30212 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30225 SWIGINTERN PyObject
*DateSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30228 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateSpan
, SWIG_NewClientData(obj
));
30229 return SWIG_Py_Void();
30232 SWIGINTERN PyObject
*DateSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30233 return SWIG_Python_InitShadowInstance(args
);
30236 SWIGINTERN PyObject
*_wrap_GetLocalTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30237 PyObject
*resultobj
= 0;
30240 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTime",0,0,0)) SWIG_fail
;
30242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30243 result
= (long)wxGetLocalTime();
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_From_long(static_cast< long >(result
));
30254 SWIGINTERN PyObject
*_wrap_GetUTCTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30255 PyObject
*resultobj
= 0;
30258 if (!SWIG_Python_UnpackTuple(args
,"GetUTCTime",0,0,0)) SWIG_fail
;
30260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30261 result
= (long)wxGetUTCTime();
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30265 resultobj
= SWIG_From_long(static_cast< long >(result
));
30272 SWIGINTERN PyObject
*_wrap_GetCurrentTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30273 PyObject
*resultobj
= 0;
30276 if (!SWIG_Python_UnpackTuple(args
,"GetCurrentTime",0,0,0)) SWIG_fail
;
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 result
= (long)wxGetCurrentTime();
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= SWIG_From_long(static_cast< long >(result
));
30290 SWIGINTERN PyObject
*_wrap_GetLocalTimeMillis(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30291 PyObject
*resultobj
= 0;
30294 if (!SWIG_Python_UnpackTuple(args
,"GetLocalTimeMillis",0,0,0)) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= wxGetLocalTimeMillis();
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30302 PyObject
*hi
, *lo
, *shifter
, *shifted
;
30303 hi
= PyLong_FromLong( (&result
)->GetHi() );
30304 lo
= PyLong_FromLong( (&result
)->GetLo() );
30305 shifter
= PyLong_FromLong(32);
30306 shifted
= PyNumber_Lshift(hi
, shifter
);
30307 resultobj
= PyNumber_Or(shifted
, lo
);
30310 Py_DECREF(shifter
);
30311 Py_DECREF(shifted
);
30319 SWIGINTERN
int DefaultDateTime_set(PyObject
*) {
30320 SWIG_Error(SWIG_AttributeError
,"Variable DefaultDateTime is read-only.");
30325 SWIGINTERN PyObject
*DefaultDateTime_get(void) {
30326 PyObject
*pyobj
= 0;
30328 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0 );
30333 SWIGINTERN PyObject
*_wrap_new_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxDataFormatId arg1
;
30336 wxDataFormat
*result
= 0 ;
30339 PyObject
* obj0
= 0 ;
30340 char * kwnames
[] = {
30341 (char *) "type", NULL
30344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) SWIG_fail
;
30345 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30346 if (!SWIG_IsOK(ecode1
)) {
30347 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_DataFormat" "', expected argument " "1"" of type '" "wxDataFormatId""'");
30349 arg1
= static_cast< wxDataFormatId
>(val1
);
30351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30352 result
= (wxDataFormat
*)new wxDataFormat(arg1
);
30353 wxPyEndAllowThreads(__tstate
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_NEW
| 0 );
30363 SWIGINTERN PyObject
*_wrap_new_CustomDataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
= 0;
30365 wxString
*arg1
= 0 ;
30366 wxDataFormat
*result
= 0 ;
30367 bool temp1
= false ;
30368 PyObject
* obj0
= 0 ;
30369 char * kwnames
[] = {
30370 (char *) "format", NULL
30373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) SWIG_fail
;
30375 arg1
= wxString_in_helper(obj0
);
30376 if (arg1
== NULL
) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30400 SWIGINTERN PyObject
*_wrap_delete_DataFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30401 PyObject
*resultobj
= 0;
30402 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30405 PyObject
*swig_obj
[1] ;
30407 if (!args
) SWIG_fail
;
30408 swig_obj
[0] = args
;
30409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_DISOWN
| 0 );
30410 if (!SWIG_IsOK(res1
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataFormat" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30413 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_Py_Void();
30428 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30429 PyObject
*resultobj
= 0;
30430 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30431 wxDataFormatId arg2
;
30438 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30440 if (!SWIG_IsOK(res1
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30443 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30444 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30445 if (!SWIG_IsOK(ecode2
)) {
30446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30448 arg2
= static_cast< wxDataFormatId
>(val2
);
30450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30451 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==(arg2
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30464 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30465 PyObject
*resultobj
= 0;
30466 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30467 wxDataFormatId arg2
;
30474 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30476 if (!SWIG_IsOK(res1
)) {
30477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30479 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30480 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30481 if (!SWIG_IsOK(ecode2
)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30484 arg2
= static_cast< wxDataFormatId
>(val2
);
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=(arg2
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30500 SWIGINTERN PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30501 PyObject
*resultobj
= 0;
30502 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30503 wxDataFormat
*arg2
= 0 ;
30510 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30512 if (!SWIG_IsOK(res1
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___eq__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30515 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30516 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30517 if (!SWIG_IsOK(res2
)) {
30518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___eq__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30523 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30526 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30539 SWIGINTERN PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
30543 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___eq__",0,2,argv
))) SWIG_fail
;
30548 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30549 _v
= SWIG_CheckState(res
);
30551 if (!_v
) goto check_1
;
30552 return _wrap_DataFormat___eq____SWIG_1(self
, argc
, argv
);
30557 return _wrap_DataFormat___eq____SWIG_0(self
, argc
, argv
);
30561 Py_INCREF(Py_NotImplemented
);
30562 return Py_NotImplemented
;
30566 SWIGINTERN PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30567 PyObject
*resultobj
= 0;
30568 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30569 wxDataFormat
*arg2
= 0 ;
30576 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
30577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30578 if (!SWIG_IsOK(res1
)) {
30579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat___ne__" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30581 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30582 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30583 if (!SWIG_IsOK(res2
)) {
30584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataFormat___ne__" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30589 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30592 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30605 SWIGINTERN PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
30609 if (!(argc
= SWIG_Python_UnpackTuple(args
,"DataFormat___ne__",0,2,argv
))) SWIG_fail
;
30614 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxDataFormat
, 0);
30615 _v
= SWIG_CheckState(res
);
30617 if (!_v
) goto check_1
;
30618 return _wrap_DataFormat___ne____SWIG_1(self
, argc
, argv
);
30623 return _wrap_DataFormat___ne____SWIG_0(self
, argc
, argv
);
30627 Py_INCREF(Py_NotImplemented
);
30628 return Py_NotImplemented
;
30632 SWIGINTERN PyObject
*_wrap_DataFormat_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
= 0;
30634 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30635 wxDataFormatId arg2
;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "format", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetType" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30651 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30653 if (!SWIG_IsOK(ecode2
)) {
30654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataFormat_SetType" "', expected argument " "2"" of type '" "wxDataFormatId""'");
30656 arg2
= static_cast< wxDataFormatId
>(val2
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 (arg1
)->SetType(arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_Py_Void();
30670 SWIGINTERN PyObject
*_wrap_DataFormat_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30671 PyObject
*resultobj
= 0;
30672 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30673 wxDataFormatId result
;
30676 PyObject
*swig_obj
[1] ;
30678 if (!args
) SWIG_fail
;
30679 swig_obj
[0] = args
;
30680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30681 if (!SWIG_IsOK(res1
)) {
30682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetType" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30684 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 result
= (wxDataFormatId
)((wxDataFormat
const *)arg1
)->GetType();
30688 wxPyEndAllowThreads(__tstate
);
30689 if (PyErr_Occurred()) SWIG_fail
;
30691 resultobj
= SWIG_From_int(static_cast< int >(result
));
30698 SWIGINTERN PyObject
*_wrap_DataFormat_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30699 PyObject
*resultobj
= 0;
30700 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30704 PyObject
*swig_obj
[1] ;
30706 if (!args
) SWIG_fail
;
30707 swig_obj
[0] = args
;
30708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30709 if (!SWIG_IsOK(res1
)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_GetId" "', expected argument " "1"" of type '" "wxDataFormat const *""'");
30712 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= ((wxDataFormat
const *)arg1
)->GetId();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30732 SWIGINTERN PyObject
*_wrap_DataFormat_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
= 0;
30734 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
30735 wxString
*arg2
= 0 ;
30738 bool temp2
= false ;
30739 PyObject
* obj0
= 0 ;
30740 PyObject
* obj1
= 0 ;
30741 char * kwnames
[] = {
30742 (char *) "self",(char *) "format", NULL
30745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataFormat
, 0 | 0 );
30747 if (!SWIG_IsOK(res1
)) {
30748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataFormat_SetId" "', expected argument " "1"" of type '" "wxDataFormat *""'");
30750 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
30752 arg2
= wxString_in_helper(obj1
);
30753 if (arg2
== NULL
) SWIG_fail
;
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 (arg1
)->SetId((wxString
const &)*arg2
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= SWIG_Py_Void();
30777 SWIGINTERN PyObject
*DataFormat_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30779 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30780 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataFormat
, SWIG_NewClientData(obj
));
30781 return SWIG_Py_Void();
30784 SWIGINTERN PyObject
*DataFormat_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30785 return SWIG_Python_InitShadowInstance(args
);
30788 SWIGINTERN
int FormatInvalid_set(PyObject
*) {
30789 SWIG_Error(SWIG_AttributeError
,"Variable FormatInvalid is read-only.");
30794 SWIGINTERN PyObject
*FormatInvalid_get(void) {
30795 PyObject
*pyobj
= 0;
30797 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0 );
30802 SWIGINTERN PyObject
*_wrap_delete_DataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 PyObject
*resultobj
= 0;
30804 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30807 PyObject
*swig_obj
[1] ;
30809 if (!args
) SWIG_fail
;
30810 swig_obj
[0] = args
;
30811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
30812 if (!SWIG_IsOK(res1
)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DataObject" "', expected argument " "1"" of type '" "wxDataObject *""'");
30815 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_Py_Void();
30830 SWIGINTERN PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30833 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30834 SwigValueWrapper
<wxDataFormat
> result
;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 char * kwnames
[] = {
30842 (char *) "self",(char *) "dir", NULL
30845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30847 if (!SWIG_IsOK(res1
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30850 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30853 if (!SWIG_IsOK(ecode2
)) {
30854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetPreferredFormat" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30856 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat(arg2
);
30861 wxPyEndAllowThreads(__tstate
);
30862 if (PyErr_Occurred()) SWIG_fail
;
30864 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
30871 SWIGINTERN PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30872 PyObject
*resultobj
= 0;
30873 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30874 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char * kwnames
[] = {
30883 (char *) "self",(char *) "dir", NULL
30886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30888 if (!SWIG_IsOK(res1
)) {
30889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetFormatCount" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30891 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30894 if (!SWIG_IsOK(ecode2
)) {
30895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetFormatCount" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
30897 arg2
= static_cast< wxDataObject::Direction
>(val2
);
30900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30901 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount(arg2
);
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
30912 SWIGINTERN PyObject
*_wrap_DataObject_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30913 PyObject
*resultobj
= 0;
30914 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30915 wxDataFormat
*arg2
= 0 ;
30916 wxDataObject::Direction arg3
= (wxDataObject::Direction
) wxDataObject::Get
;
30924 PyObject
* obj0
= 0 ;
30925 PyObject
* obj1
= 0 ;
30926 PyObject
* obj2
= 0 ;
30927 char * kwnames
[] = {
30928 (char *) "self",(char *) "format",(char *) "dir", NULL
30931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30933 if (!SWIG_IsOK(res1
)) {
30934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_IsSupported" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30936 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30938 if (!SWIG_IsOK(res2
)) {
30939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30944 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30946 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30947 if (!SWIG_IsOK(ecode3
)) {
30948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObject_IsSupported" "', expected argument " "3"" of type '" "wxDataObject::Direction""'");
30950 arg3
= static_cast< wxDataObject::Direction
>(val3
);
30953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30954 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,arg3
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30967 SWIGINTERN PyObject
*_wrap_DataObject_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
= 0;
30969 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
30970 wxDataFormat
*arg2
= 0 ;
30976 PyObject
* obj0
= 0 ;
30977 PyObject
* obj1
= 0 ;
30978 char * kwnames
[] = {
30979 (char *) "self",(char *) "format", NULL
30982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
30984 if (!SWIG_IsOK(res1
)) {
30985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataSize" "', expected argument " "1"" of type '" "wxDataObject const *""'");
30987 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
30988 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
30989 if (!SWIG_IsOK(res2
)) {
30990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30993 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataSize" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
30995 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31009 SWIGINTERN PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31012 wxDataObject::Direction arg2
= (wxDataObject::Direction
) wxDataObject::Get
;
31013 PyObject
*result
= 0 ;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 char * kwnames
[] = {
31021 (char *) "self",(char *) "dir", NULL
31024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31026 if (!SWIG_IsOK(res1
)) {
31027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetAllFormats" "', expected argument " "1"" of type '" "wxDataObject *""'");
31029 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31032 if (!SWIG_IsOK(ecode2
)) {
31033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DataObject_GetAllFormats" "', expected argument " "2"" of type '" "wxDataObject::Direction""'");
31035 arg2
= static_cast< wxDataObject::Direction
>(val2
);
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,arg2
);
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= result
;
31050 SWIGINTERN PyObject
*_wrap_DataObject_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
= 0;
31052 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31053 wxDataFormat
*arg2
= 0 ;
31054 PyObject
*result
= 0 ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 char * kwnames
[] = {
31062 (char *) "self",(char *) "format", NULL
31065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31067 if (!SWIG_IsOK(res1
)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_GetDataHere" "', expected argument " "1"" of type '" "wxDataObject *""'");
31070 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31072 if (!SWIG_IsOK(res2
)) {
31073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_GetDataHere" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31078 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 resultobj
= result
;
31092 SWIGINTERN PyObject
*_wrap_DataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31093 PyObject
*resultobj
= 0;
31094 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
31095 wxDataFormat
*arg2
= 0 ;
31096 PyObject
*arg3
= (PyObject
*) 0 ;
31102 PyObject
* obj0
= 0 ;
31103 PyObject
* obj1
= 0 ;
31104 PyObject
* obj2
= 0 ;
31105 char * kwnames
[] = {
31106 (char *) "self",(char *) "format",(char *) "data", NULL
31109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObject
, 0 | 0 );
31111 if (!SWIG_IsOK(res1
)) {
31112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObject_SetData" "', expected argument " "1"" of type '" "wxDataObject *""'");
31114 arg1
= reinterpret_cast< wxDataObject
* >(argp1
);
31115 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31116 if (!SWIG_IsOK(res2
)) {
31117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31120 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObject_SetData" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31122 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31139 SWIGINTERN PyObject
*DataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31142 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObject
, SWIG_NewClientData(obj
));
31143 return SWIG_Py_Void();
31146 SWIGINTERN PyObject
*_wrap_new_DataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
= 0;
31148 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31149 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31150 wxDataObjectSimple
*result
= 0 ;
31153 PyObject
* obj0
= 0 ;
31154 char * kwnames
[] = {
31155 (char *) "format", NULL
31158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31167 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31182 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31183 PyObject
*resultobj
= 0;
31184 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31185 wxDataFormat
*result
= 0 ;
31188 PyObject
*swig_obj
[1] ;
31190 if (!args
) SWIG_fail
;
31191 swig_obj
[0] = args
;
31192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31196 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31200 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
31201 result
= (wxDataFormat
*) &_result_ref
;
31203 wxPyEndAllowThreads(__tstate
);
31204 if (PyErr_Occurred()) SWIG_fail
;
31206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataFormat
, 0 | 0 );
31213 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
= 0;
31215 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31216 wxDataFormat
*arg2
= 0 ;
31221 PyObject
* obj0
= 0 ;
31222 PyObject
* obj1
= 0 ;
31223 char * kwnames
[] = {
31224 (char *) "self",(char *) "format", NULL
31227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31229 if (!SWIG_IsOK(res1
)) {
31230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31232 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31234 if (!SWIG_IsOK(res2
)) {
31235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DataObjectSimple_SetFormat" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
31240 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
31244 wxPyEndAllowThreads(__tstate
);
31245 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_Py_Void();
31254 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31255 PyObject
*resultobj
= 0;
31256 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31260 PyObject
*swig_obj
[1] ;
31262 if (!args
) SWIG_fail
;
31263 swig_obj
[0] = args
;
31264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31265 if (!SWIG_IsOK(res1
)) {
31266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataSize" "', expected argument " "1"" of type '" "wxDataObjectSimple const *""'");
31268 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31282 SWIGINTERN PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31283 PyObject
*resultobj
= 0;
31284 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31285 PyObject
*result
= 0 ;
31288 PyObject
*swig_obj
[1] ;
31290 if (!args
) SWIG_fail
;
31291 swig_obj
[0] = args
;
31292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31293 if (!SWIG_IsOK(res1
)) {
31294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_GetDataHere" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31296 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31299 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
31300 wxPyEndAllowThreads(__tstate
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 resultobj
= result
;
31310 SWIGINTERN PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31311 PyObject
*resultobj
= 0;
31312 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
31313 PyObject
*arg2
= (PyObject
*) 0 ;
31317 PyObject
* obj0
= 0 ;
31318 PyObject
* obj1
= 0 ;
31319 char * kwnames
[] = {
31320 (char *) "self",(char *) "data", NULL
31323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectSimple
, 0 | 0 );
31325 if (!SWIG_IsOK(res1
)) {
31326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectSimple_SetData" "', expected argument " "1"" of type '" "wxDataObjectSimple *""'");
31328 arg1
= reinterpret_cast< wxDataObjectSimple
* >(argp1
);
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
31333 wxPyEndAllowThreads(__tstate
);
31334 if (PyErr_Occurred()) SWIG_fail
;
31337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31345 SWIGINTERN PyObject
*DataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31348 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectSimple
, SWIG_NewClientData(obj
));
31349 return SWIG_Py_Void();
31352 SWIGINTERN PyObject
*DataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31353 return SWIG_Python_InitShadowInstance(args
);
31356 SWIGINTERN PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
= 0;
31358 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
31359 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
31360 wxPyDataObjectSimple
*result
= 0 ;
31363 PyObject
* obj0
= 0 ;
31364 char * kwnames
[] = {
31365 (char *) "format", NULL
31368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) SWIG_fail
;
31370 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
31371 if (!SWIG_IsOK(res1
)) {
31372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyDataObjectSimple" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
31377 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
31382 wxPyEndAllowThreads(__tstate
);
31383 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_POINTER_NEW
| 0 );
31392 SWIGINTERN PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31393 PyObject
*resultobj
= 0;
31394 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
31395 PyObject
*arg2
= (PyObject
*) 0 ;
31396 PyObject
*arg3
= (PyObject
*) 0 ;
31399 PyObject
* obj0
= 0 ;
31400 PyObject
* obj1
= 0 ;
31401 PyObject
* obj2
= 0 ;
31402 char * kwnames
[] = {
31403 (char *) "self",(char *) "self",(char *) "_class", NULL
31406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDataObjectSimple
, 0 | 0 );
31408 if (!SWIG_IsOK(res1
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyDataObjectSimple__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDataObjectSimple *""'");
31411 arg1
= reinterpret_cast< wxPyDataObjectSimple
* >(argp1
);
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_Py_Void();
31427 SWIGINTERN PyObject
*PyDataObjectSimple_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31430 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDataObjectSimple
, SWIG_NewClientData(obj
));
31431 return SWIG_Py_Void();
31434 SWIGINTERN PyObject
*PyDataObjectSimple_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31435 return SWIG_Python_InitShadowInstance(args
);
31438 SWIGINTERN PyObject
*_wrap_new_DataObjectComposite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31439 PyObject
*resultobj
= 0;
31440 wxDataObjectComposite
*result
= 0 ;
31442 if (!SWIG_Python_UnpackTuple(args
,"new_DataObjectComposite",0,0,0)) SWIG_fail
;
31444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31445 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
31446 wxPyEndAllowThreads(__tstate
);
31447 if (PyErr_Occurred()) SWIG_fail
;
31449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObjectComposite
, SWIG_POINTER_NEW
| 0 );
31456 SWIGINTERN PyObject
*_wrap_DataObjectComposite_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
= 0;
31458 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31459 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
31460 bool arg3
= (bool) false ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char * kwnames
[] = {
31470 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
31473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_Add" "', expected argument " "1"" of type '" "wxDataObjectComposite *""'");
31478 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31479 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObjectSimple
, SWIG_POINTER_DISOWN
| 0 );
31480 if (!SWIG_IsOK(res2
)) {
31481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DataObjectComposite_Add" "', expected argument " "2"" of type '" "wxDataObjectSimple *""'");
31484 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31485 if (!SWIG_IsOK(ecode3
)) {
31486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DataObjectComposite_Add" "', expected argument " "3"" of type '" "bool""'");
31488 arg3
= static_cast< bool >(val3
);
31491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31492 (arg1
)->Add(arg2
,arg3
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= SWIG_Py_Void();
31503 SWIGINTERN PyObject
*_wrap_DataObjectComposite_GetReceivedFormat(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31504 PyObject
*resultobj
= 0;
31505 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
31506 SwigValueWrapper
<wxDataFormat
> result
;
31509 PyObject
*swig_obj
[1] ;
31511 if (!args
) SWIG_fail
;
31512 swig_obj
[0] = args
;
31513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDataObjectComposite
, 0 | 0 );
31514 if (!SWIG_IsOK(res1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DataObjectComposite_GetReceivedFormat" "', expected argument " "1"" of type '" "wxDataObjectComposite const *""'");
31517 arg1
= reinterpret_cast< wxDataObjectComposite
* >(argp1
);
31519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31520 result
= ((wxDataObjectComposite
const *)arg1
)->GetReceivedFormat();
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31524 resultobj
= SWIG_NewPointerObj((new wxDataFormat(static_cast< const wxDataFormat
& >(result
))), SWIGTYPE_p_wxDataFormat
, SWIG_POINTER_OWN
| 0 );
31531 SWIGINTERN PyObject
*DataObjectComposite_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31533 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31534 SWIG_TypeNewClientData(SWIGTYPE_p_wxDataObjectComposite
, SWIG_NewClientData(obj
));
31535 return SWIG_Py_Void();
31538 SWIGINTERN PyObject
*DataObjectComposite_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31539 return SWIG_Python_InitShadowInstance(args
);
31542 SWIGINTERN PyObject
*_wrap_new_TextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= 0;
31544 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31545 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31546 wxTextDataObject
*result
= 0 ;
31547 bool temp1
= false ;
31548 PyObject
* obj0
= 0 ;
31549 char * kwnames
[] = {
31550 (char *) "text", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31556 arg1
= wxString_in_helper(obj0
);
31557 if (arg1
== NULL
) SWIG_fail
;
31562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31563 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextDataObject
, SWIG_POINTER_NEW
| 0 );
31582 SWIGINTERN PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31583 PyObject
*resultobj
= 0;
31584 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31588 PyObject
*swig_obj
[1] ;
31590 if (!args
) SWIG_fail
;
31591 swig_obj
[0] = args
;
31592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31593 if (!SWIG_IsOK(res1
)) {
31594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetTextLength" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31596 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (size_t)(arg1
)->GetTextLength();
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
31610 SWIGINTERN PyObject
*_wrap_TextDataObject_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31611 PyObject
*resultobj
= 0;
31612 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31616 PyObject
*swig_obj
[1] ;
31618 if (!args
) SWIG_fail
;
31619 swig_obj
[0] = args
;
31620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31621 if (!SWIG_IsOK(res1
)) {
31622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_GetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31624 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 result
= (arg1
)->GetText();
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31644 SWIGINTERN PyObject
*_wrap_TextDataObject_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
= 0;
31646 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
31647 wxString
*arg2
= 0 ;
31650 bool temp2
= false ;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 char * kwnames
[] = {
31654 (char *) "self",(char *) "text", NULL
31657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextDataObject
, 0 | 0 );
31659 if (!SWIG_IsOK(res1
)) {
31660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDataObject_SetText" "', expected argument " "1"" of type '" "wxTextDataObject *""'");
31662 arg1
= reinterpret_cast< wxTextDataObject
* >(argp1
);
31664 arg2
= wxString_in_helper(obj1
);
31665 if (arg2
== NULL
) SWIG_fail
;
31669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31670 (arg1
)->SetText((wxString
const &)*arg2
);
31671 wxPyEndAllowThreads(__tstate
);
31672 if (PyErr_Occurred()) SWIG_fail
;
31674 resultobj
= SWIG_Py_Void();
31689 SWIGINTERN PyObject
*TextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31692 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextDataObject
, SWIG_NewClientData(obj
));
31693 return SWIG_Py_Void();
31696 SWIGINTERN PyObject
*TextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31697 return SWIG_Python_InitShadowInstance(args
);
31700 SWIGINTERN PyObject
*_wrap_new_PyTextDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31701 PyObject
*resultobj
= 0;
31702 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31703 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31704 wxPyTextDataObject
*result
= 0 ;
31705 bool temp1
= false ;
31706 PyObject
* obj0
= 0 ;
31707 char * kwnames
[] = {
31708 (char *) "text", NULL
31711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) SWIG_fail
;
31714 arg1
= wxString_in_helper(obj0
);
31715 if (arg1
== NULL
) SWIG_fail
;
31720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31721 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDataObject
, SWIG_POINTER_NEW
| 0 );
31740 SWIGINTERN PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
= 0;
31742 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
31743 PyObject
*arg2
= (PyObject
*) 0 ;
31744 PyObject
*arg3
= (PyObject
*) 0 ;
31747 PyObject
* obj0
= 0 ;
31748 PyObject
* obj1
= 0 ;
31749 PyObject
* obj2
= 0 ;
31750 char * kwnames
[] = {
31751 (char *) "self",(char *) "self",(char *) "_class", NULL
31754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDataObject
, 0 | 0 );
31756 if (!SWIG_IsOK(res1
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyTextDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDataObject *""'");
31759 arg1
= reinterpret_cast< wxPyTextDataObject
* >(argp1
);
31763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31764 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 resultobj
= SWIG_Py_Void();
31775 SWIGINTERN PyObject
*PyTextDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDataObject
, SWIG_NewClientData(obj
));
31779 return SWIG_Py_Void();
31782 SWIGINTERN PyObject
*PyTextDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31783 return SWIG_Python_InitShadowInstance(args
);
31786 SWIGINTERN PyObject
*_wrap_new_BitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31789 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31790 wxBitmapDataObject
*result
= 0 ;
31793 PyObject
* obj0
= 0 ;
31794 char * kwnames
[] = {
31795 (char *) "bitmap", NULL
31798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31807 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
31812 wxPyEndAllowThreads(__tstate
);
31813 if (PyErr_Occurred()) SWIG_fail
;
31815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31822 SWIGINTERN PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31823 PyObject
*resultobj
= 0;
31824 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31828 PyObject
*swig_obj
[1] ;
31830 if (!args
) SWIG_fail
;
31831 swig_obj
[0] = args
;
31832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31833 if (!SWIG_IsOK(res1
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_GetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject const *""'");
31836 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
31850 SWIGINTERN PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
31853 wxBitmap
*arg2
= 0 ;
31858 PyObject
* obj0
= 0 ;
31859 PyObject
* obj1
= 0 ;
31860 char * kwnames
[] = {
31861 (char *) "self",(char *) "bitmap", NULL
31864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapDataObject
, 0 | 0 );
31866 if (!SWIG_IsOK(res1
)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "1"" of type '" "wxBitmapDataObject *""'");
31869 arg1
= reinterpret_cast< wxBitmapDataObject
* >(argp1
);
31870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31871 if (!SWIG_IsOK(res2
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapDataObject_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
31877 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_Py_Void();
31891 SWIGINTERN PyObject
*BitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31894 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapDataObject
, SWIG_NewClientData(obj
));
31895 return SWIG_Py_Void();
31898 SWIGINTERN PyObject
*BitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31899 return SWIG_Python_InitShadowInstance(args
);
31902 SWIGINTERN PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
= 0;
31904 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
31905 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
31906 wxPyBitmapDataObject
*result
= 0 ;
31909 PyObject
* obj0
= 0 ;
31910 char * kwnames
[] = {
31911 (char *) "bitmap", NULL
31914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) SWIG_fail
;
31916 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
31917 if (!SWIG_IsOK(res1
)) {
31918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31921 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyBitmapDataObject" "', expected argument " "1"" of type '" "wxBitmap const &""'");
31923 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
31926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31927 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
31928 wxPyEndAllowThreads(__tstate
);
31929 if (PyErr_Occurred()) SWIG_fail
;
31931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_POINTER_NEW
| 0 );
31938 SWIGINTERN PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31939 PyObject
*resultobj
= 0;
31940 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
31941 PyObject
*arg2
= (PyObject
*) 0 ;
31942 PyObject
*arg3
= (PyObject
*) 0 ;
31945 PyObject
* obj0
= 0 ;
31946 PyObject
* obj1
= 0 ;
31947 PyObject
* obj2
= 0 ;
31948 char * kwnames
[] = {
31949 (char *) "self",(char *) "self",(char *) "_class", NULL
31952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyBitmapDataObject
, 0 | 0 );
31954 if (!SWIG_IsOK(res1
)) {
31955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyBitmapDataObject__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyBitmapDataObject *""'");
31957 arg1
= reinterpret_cast< wxPyBitmapDataObject
* >(argp1
);
31961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31962 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 resultobj
= SWIG_Py_Void();
31973 SWIGINTERN PyObject
*PyBitmapDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyBitmapDataObject
, SWIG_NewClientData(obj
));
31977 return SWIG_Py_Void();
31980 SWIGINTERN PyObject
*PyBitmapDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31981 return SWIG_Python_InitShadowInstance(args
);
31984 SWIGINTERN PyObject
*_wrap_new_FileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31985 PyObject
*resultobj
= 0;
31986 wxFileDataObject
*result
= 0 ;
31988 if (!SWIG_Python_UnpackTuple(args
,"new_FileDataObject",0,0,0)) SWIG_fail
;
31990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31991 result
= (wxFileDataObject
*)new wxFileDataObject();
31992 wxPyEndAllowThreads(__tstate
);
31993 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDataObject
, SWIG_POINTER_NEW
| 0 );
32002 SWIGINTERN PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32003 PyObject
*resultobj
= 0;
32004 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32005 wxArrayString
*result
= 0 ;
32008 PyObject
*swig_obj
[1] ;
32010 if (!args
) SWIG_fail
;
32011 swig_obj
[0] = args
;
32012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_GetFilenames" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32016 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
32021 result
= (wxArrayString
*) &_result_ref
;
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= wxArrayString2PyList_helper(*result
);
32035 SWIGINTERN PyObject
*_wrap_FileDataObject_AddFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
32038 wxString
*arg2
= 0 ;
32041 bool temp2
= false ;
32042 PyObject
* obj0
= 0 ;
32043 PyObject
* obj1
= 0 ;
32044 char * kwnames
[] = {
32045 (char *) "self",(char *) "filename", NULL
32048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDataObject
, 0 | 0 );
32050 if (!SWIG_IsOK(res1
)) {
32051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDataObject_AddFile" "', expected argument " "1"" of type '" "wxFileDataObject *""'");
32053 arg1
= reinterpret_cast< wxFileDataObject
* >(argp1
);
32055 arg2
= wxString_in_helper(obj1
);
32056 if (arg2
== NULL
) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 (arg1
)->AddFile((wxString
const &)*arg2
);
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= SWIG_Py_Void();
32080 SWIGINTERN PyObject
*FileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32083 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDataObject
, SWIG_NewClientData(obj
));
32084 return SWIG_Py_Void();
32087 SWIGINTERN PyObject
*FileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32088 return SWIG_Python_InitShadowInstance(args
);
32091 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32092 PyObject
*resultobj
= 0;
32093 wxDataFormat
*arg1
= 0 ;
32094 wxCustomDataObject
*result
= 0 ;
32098 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
32100 if (!SWIG_IsOK(res1
)) {
32101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CustomDataObject" "', expected argument " "1"" of type '" "wxDataFormat const &""'");
32106 arg1
= reinterpret_cast< wxDataFormat
* >(argp1
);
32108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32109 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
32110 wxPyEndAllowThreads(__tstate
);
32111 if (PyErr_Occurred()) SWIG_fail
;
32113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32120 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
32121 PyObject
*resultobj
= 0;
32122 wxString
*arg1
= 0 ;
32123 wxCustomDataObject
*result
= 0 ;
32124 bool temp1
= false ;
32126 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
32128 arg1
= wxString_in_helper(swig_obj
[0]);
32129 if (arg1
== NULL
) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 result
= (wxCustomDataObject
*)new_wxCustomDataObject__SWIG_1((wxString
const &)*arg1
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32153 SWIGINTERN PyObject
*_wrap_new_CustomDataObject__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
32154 PyObject
*resultobj
= 0;
32155 wxCustomDataObject
*result
= 0 ;
32157 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (wxCustomDataObject
*)new wxCustomDataObject();
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCustomDataObject
, SWIG_POINTER_NEW
| 0 );
32171 SWIGINTERN PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
) {
32175 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_CustomDataObject",0,1,argv
))) SWIG_fail
;
32178 return _wrap_new_CustomDataObject__SWIG_2(self
, argc
, argv
);
32184 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
32187 if (!_v
) goto check_2
;
32188 return _wrap_new_CustomDataObject__SWIG_1(self
, argc
, argv
);
32193 return _wrap_new_CustomDataObject__SWIG_0(self
, argc
, argv
);
32197 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_CustomDataObject'");
32202 SWIGINTERN PyObject
*_wrap_CustomDataObject_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32203 PyObject
*resultobj
= 0;
32204 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32205 PyObject
*arg2
= (PyObject
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 char * kwnames
[] = {
32212 (char *) "self",(char *) "data", NULL
32215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32217 if (!SWIG_IsOK(res1
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_SetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32220 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32224 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32237 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32238 PyObject
*resultobj
= 0;
32239 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32243 PyObject
*swig_obj
[1] ;
32245 if (!args
) SWIG_fail
;
32246 swig_obj
[0] = args
;
32247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32248 if (!SWIG_IsOK(res1
)) {
32249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetSize" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32251 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (size_t)(arg1
)->GetSize();
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
32265 SWIGINTERN PyObject
*_wrap_CustomDataObject_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32266 PyObject
*resultobj
= 0;
32267 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
32268 PyObject
*result
= 0 ;
32271 PyObject
*swig_obj
[1] ;
32273 if (!args
) SWIG_fail
;
32274 swig_obj
[0] = args
;
32275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCustomDataObject
, 0 | 0 );
32276 if (!SWIG_IsOK(res1
)) {
32277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CustomDataObject_GetData" "', expected argument " "1"" of type '" "wxCustomDataObject *""'");
32279 arg1
= reinterpret_cast< wxCustomDataObject
* >(argp1
);
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= result
;
32293 SWIGINTERN PyObject
*CustomDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32296 SWIG_TypeNewClientData(SWIGTYPE_p_wxCustomDataObject
, SWIG_NewClientData(obj
));
32297 return SWIG_Py_Void();
32300 SWIGINTERN PyObject
*CustomDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32301 return SWIG_Python_InitShadowInstance(args
);
32304 SWIGINTERN PyObject
*_wrap_new_URLDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32305 PyObject
*resultobj
= 0;
32306 wxURLDataObject
*result
= 0 ;
32308 if (!SWIG_Python_UnpackTuple(args
,"new_URLDataObject",0,0,0)) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= (wxURLDataObject
*)new wxURLDataObject();
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxURLDataObject
, SWIG_POINTER_NEW
| 0 );
32322 SWIGINTERN PyObject
*_wrap_URLDataObject_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32323 PyObject
*resultobj
= 0;
32324 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32328 PyObject
*swig_obj
[1] ;
32330 if (!args
) SWIG_fail
;
32331 swig_obj
[0] = args
;
32332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32333 if (!SWIG_IsOK(res1
)) {
32334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_GetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32336 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32339 result
= (arg1
)->GetURL();
32340 wxPyEndAllowThreads(__tstate
);
32341 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32356 SWIGINTERN PyObject
*_wrap_URLDataObject_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32357 PyObject
*resultobj
= 0;
32358 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
32359 wxString
*arg2
= 0 ;
32362 bool temp2
= false ;
32363 PyObject
* obj0
= 0 ;
32364 PyObject
* obj1
= 0 ;
32365 char * kwnames
[] = {
32366 (char *) "self",(char *) "url", NULL
32369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxURLDataObject
, 0 | 0 );
32371 if (!SWIG_IsOK(res1
)) {
32372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "URLDataObject_SetURL" "', expected argument " "1"" of type '" "wxURLDataObject *""'");
32374 arg1
= reinterpret_cast< wxURLDataObject
* >(argp1
);
32376 arg2
= wxString_in_helper(obj1
);
32377 if (arg2
== NULL
) SWIG_fail
;
32381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32382 (arg1
)->SetURL((wxString
const &)*arg2
);
32383 wxPyEndAllowThreads(__tstate
);
32384 if (PyErr_Occurred()) SWIG_fail
;
32386 resultobj
= SWIG_Py_Void();
32401 SWIGINTERN PyObject
*URLDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32404 SWIG_TypeNewClientData(SWIGTYPE_p_wxURLDataObject
, SWIG_NewClientData(obj
));
32405 return SWIG_Py_Void();
32408 SWIGINTERN PyObject
*URLDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32409 return SWIG_Python_InitShadowInstance(args
);
32412 SWIGINTERN PyObject
*_wrap_new_MetafileDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32413 PyObject
*resultobj
= 0;
32414 wxMetafileDataObject
*result
= 0 ;
32416 if (!SWIG_Python_UnpackTuple(args
,"new_MetafileDataObject",0,0,0)) SWIG_fail
;
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
32420 wxPyEndAllowThreads(__tstate
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetafileDataObject
, SWIG_POINTER_NEW
| 0 );
32430 SWIGINTERN PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
= 0;
32432 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32433 wxMetafile
*arg2
= 0 ;
32438 PyObject
* obj0
= 0 ;
32439 PyObject
* obj1
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "self",(char *) "metafile", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject *""'");
32449 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32450 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMetafile
, 0 | 0);
32451 if (!SWIG_IsOK(res2
)) {
32452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32455 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MetafileDataObject_SetMetafile" "', expected argument " "2"" of type '" "wxMetafile const &""'");
32457 arg2
= reinterpret_cast< wxMetafile
* >(argp2
);
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_Py_Void();
32471 SWIGINTERN PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32472 PyObject
*resultobj
= 0;
32473 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
32477 PyObject
*swig_obj
[1] ;
32479 if (!args
) SWIG_fail
;
32480 swig_obj
[0] = args
;
32481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetafileDataObject
, 0 | 0 );
32482 if (!SWIG_IsOK(res1
)) {
32483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetafileDataObject_GetMetafile" "', expected argument " "1"" of type '" "wxMetafileDataObject const *""'");
32485 arg1
= reinterpret_cast< wxMetafileDataObject
* >(argp1
);
32487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32488 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32492 resultobj
= SWIG_NewPointerObj((new wxMetafile(static_cast< const wxMetafile
& >(result
))), SWIGTYPE_p_wxMetafile
, SWIG_POINTER_OWN
| 0 );
32499 SWIGINTERN PyObject
*MetafileDataObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32502 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetafileDataObject
, SWIG_NewClientData(obj
));
32503 return SWIG_Py_Void();
32506 SWIGINTERN PyObject
*MetafileDataObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 return SWIG_Python_InitShadowInstance(args
);
32510 SWIGINTERN PyObject
*_wrap_IsDragResultOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32511 PyObject
*resultobj
= 0;
32512 wxDragResult arg1
;
32516 PyObject
* obj0
= 0 ;
32517 char * kwnames
[] = {
32518 (char *) "res", NULL
32521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) SWIG_fail
;
32522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32523 if (!SWIG_IsOK(ecode1
)) {
32524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IsDragResultOk" "', expected argument " "1"" of type '" "wxDragResult""'");
32526 arg1
= static_cast< wxDragResult
>(val1
);
32528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32529 result
= (bool)wxIsDragResultOk(arg1
);
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32542 SWIGINTERN PyObject
*_wrap_new_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
= 0;
32544 wxWindow
*arg1
= (wxWindow
*) 0 ;
32545 wxCursor
const &arg2_defvalue
= wxNullCursor
;
32546 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
32547 wxCursor
const &arg3_defvalue
= wxNullCursor
;
32548 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
32549 wxCursor
const &arg4_defvalue
= wxNullCursor
;
32550 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
32551 wxPyDropSource
*result
= 0 ;
32560 PyObject
* obj0
= 0 ;
32561 PyObject
* obj1
= 0 ;
32562 PyObject
* obj2
= 0 ;
32563 PyObject
* obj3
= 0 ;
32564 char * kwnames
[] = {
32565 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
32568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32570 if (!SWIG_IsOK(res1
)) {
32571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropSource" "', expected argument " "1"" of type '" "wxWindow *""'");
32573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32575 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
32576 if (!SWIG_IsOK(res2
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32580 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "2"" of type '" "wxCursor const &""'");
32582 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
32585 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32586 if (!SWIG_IsOK(res3
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "3"" of type '" "wxCursor const &""'");
32592 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32595 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxCursor
, 0 | 0);
32596 if (!SWIG_IsOK(res4
)) {
32597 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DropSource" "', expected argument " "4"" of type '" "wxCursor const &""'");
32602 arg4
= reinterpret_cast< wxCursor
* >(argp4
);
32605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32606 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_NEW
| 0 );
32617 SWIGINTERN PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
= 0;
32619 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32620 PyObject
*arg2
= (PyObject
*) 0 ;
32621 PyObject
*arg3
= (PyObject
*) 0 ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 PyObject
* obj2
= 0 ;
32630 PyObject
* obj3
= 0 ;
32631 char * kwnames
[] = {
32632 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32637 if (!SWIG_IsOK(res1
)) {
32638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32640 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32644 if (!SWIG_IsOK(ecode4
)) {
32645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropSource__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
32647 arg4
= static_cast< int >(val4
);
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_Py_Void();
32661 SWIGINTERN PyObject
*_wrap_delete_DropSource(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32662 PyObject
*resultobj
= 0;
32663 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32666 PyObject
*swig_obj
[1] ;
32668 if (!args
) SWIG_fail
;
32669 swig_obj
[0] = args
;
32670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, SWIG_POINTER_DISOWN
| 0 );
32671 if (!SWIG_IsOK(res1
)) {
32672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropSource" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32674 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 wxPyEndAllowThreads(__tstate
);
32680 if (PyErr_Occurred()) SWIG_fail
;
32682 resultobj
= SWIG_Py_Void();
32689 SWIGINTERN PyObject
*_wrap_DropSource_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32690 PyObject
*resultobj
= 0;
32691 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32692 wxDataObject
*arg2
= 0 ;
32697 PyObject
* obj0
= 0 ;
32698 PyObject
* obj1
= 0 ;
32699 char * kwnames
[] = {
32700 (char *) "self",(char *) "data", NULL
32703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32705 if (!SWIG_IsOK(res1
)) {
32706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetData" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32708 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32709 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
32710 if (!SWIG_IsOK(res2
)) {
32711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
32716 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
32718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32719 (arg1
)->SetData(*arg2
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= SWIG_Py_Void();
32730 SWIGINTERN PyObject
*_wrap_DropSource_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32731 PyObject
*resultobj
= 0;
32732 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32733 wxDataObject
*result
= 0 ;
32736 PyObject
*swig_obj
[1] ;
32738 if (!args
) SWIG_fail
;
32739 swig_obj
[0] = args
;
32740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32744 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (wxDataObject
*)(arg1
)->GetDataObject();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
32758 SWIGINTERN PyObject
*_wrap_DropSource_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
= 0;
32760 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32761 wxDragResult arg2
;
32762 wxCursor
*arg3
= 0 ;
32769 PyObject
* obj0
= 0 ;
32770 PyObject
* obj1
= 0 ;
32771 PyObject
* obj2
= 0 ;
32772 char * kwnames
[] = {
32773 (char *) "self",(char *) "res",(char *) "cursor", NULL
32776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32778 if (!SWIG_IsOK(res1
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_SetCursor" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32781 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32783 if (!SWIG_IsOK(ecode2
)) {
32784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_SetCursor" "', expected argument " "2"" of type '" "wxDragResult""'");
32786 arg2
= static_cast< wxDragResult
>(val2
);
32787 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxCursor
, 0 | 0);
32788 if (!SWIG_IsOK(res3
)) {
32789 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DropSource_SetCursor" "', expected argument " "3"" of type '" "wxCursor const &""'");
32794 arg3
= reinterpret_cast< wxCursor
* >(argp3
);
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 (arg1
)->SetCursor(arg2
,(wxCursor
const &)*arg3
);
32798 wxPyEndAllowThreads(__tstate
);
32799 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= SWIG_Py_Void();
32808 SWIGINTERN PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32809 PyObject
*resultobj
= 0;
32810 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32811 int arg2
= (int) wxDrag_CopyOnly
;
32812 wxDragResult result
;
32817 PyObject
* obj0
= 0 ;
32818 PyObject
* obj1
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "flags", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_DoDragDrop" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32828 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32831 if (!SWIG_IsOK(ecode2
)) {
32832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_DoDragDrop" "', expected argument " "2"" of type '" "int""'");
32834 arg2
= static_cast< int >(val2
);
32837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32838 result
= (wxDragResult
)(arg1
)->DoDragDrop(arg2
);
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= SWIG_From_int(static_cast< int >(result
));
32849 SWIGINTERN PyObject
*_wrap_DropSource_GiveFeedback(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32850 PyObject
*resultobj
= 0;
32851 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
32852 wxDragResult arg2
;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 char * kwnames
[] = {
32861 (char *) "self",(char *) "effect", NULL
32864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_GiveFeedback",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropSource
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropSource_GiveFeedback" "', expected argument " "1"" of type '" "wxPyDropSource *""'");
32869 arg1
= reinterpret_cast< wxPyDropSource
* >(argp1
);
32870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32871 if (!SWIG_IsOK(ecode2
)) {
32872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropSource_GiveFeedback" "', expected argument " "2"" of type '" "wxDragResult""'");
32874 arg2
= static_cast< wxDragResult
>(val2
);
32876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32877 result
= (bool)(arg1
)->GiveFeedback(arg2
);
32878 wxPyEndAllowThreads(__tstate
);
32879 if (PyErr_Occurred()) SWIG_fail
;
32882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32890 SWIGINTERN PyObject
*DropSource_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32893 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropSource
, SWIG_NewClientData(obj
));
32894 return SWIG_Py_Void();
32897 SWIGINTERN PyObject
*DropSource_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32898 return SWIG_Python_InitShadowInstance(args
);
32901 SWIGINTERN PyObject
*_wrap_new_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32902 PyObject
*resultobj
= 0;
32903 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
32904 wxPyDropTarget
*result
= 0 ;
32906 PyObject
* obj0
= 0 ;
32907 char * kwnames
[] = {
32908 (char *) "dataObject", NULL
32911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) SWIG_fail
;
32913 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
32914 if (!SWIG_IsOK(res1
)) {
32915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DropTarget" "', expected argument " "1"" of type '" "wxDataObject *""'");
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
32921 wxPyEndAllowThreads(__tstate
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_NEW
| 0 );
32931 SWIGINTERN PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32932 PyObject
*resultobj
= 0;
32933 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32934 PyObject
*arg2
= (PyObject
*) 0 ;
32935 PyObject
*arg3
= (PyObject
*) 0 ;
32938 PyObject
* obj0
= 0 ;
32939 PyObject
* obj1
= 0 ;
32940 PyObject
* obj2
= 0 ;
32941 char * kwnames
[] = {
32942 (char *) "self",(char *) "self",(char *) "_class", NULL
32945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
32947 if (!SWIG_IsOK(res1
)) {
32948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32950 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
32956 wxPyEndAllowThreads(__tstate
);
32957 if (PyErr_Occurred()) SWIG_fail
;
32959 resultobj
= SWIG_Py_Void();
32966 SWIGINTERN PyObject
*_wrap_delete_DropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32967 PyObject
*resultobj
= 0;
32968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32971 PyObject
*swig_obj
[1] ;
32973 if (!args
) SWIG_fail
;
32974 swig_obj
[0] = args
;
32975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
32976 if (!SWIG_IsOK(res1
)) {
32977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DropTarget" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
32979 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= SWIG_Py_Void();
32994 SWIGINTERN PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32995 PyObject
*resultobj
= 0;
32996 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
32997 wxDataObject
*result
= 0 ;
33000 PyObject
*swig_obj
[1] ;
33002 if (!args
) SWIG_fail
;
33003 swig_obj
[0] = args
;
33004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33005 if (!SWIG_IsOK(res1
)) {
33006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33008 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 result
= (wxDataObject
*)(arg1
)->GetDataObject();
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDataObject
, 0 | 0 );
33022 SWIGINTERN PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33023 PyObject
*resultobj
= 0;
33024 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33025 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
33029 PyObject
* obj0
= 0 ;
33030 PyObject
* obj1
= 0 ;
33031 char * kwnames
[] = {
33032 (char *) "self",(char *) "dataObject", NULL
33035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33037 if (!SWIG_IsOK(res1
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDataObject" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33040 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33041 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
33042 if (!SWIG_IsOK(res2
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DropTarget_SetDataObject" "', expected argument " "2"" of type '" "wxDataObject *""'");
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 (arg1
)->SetDataObject(arg2
);
33048 wxPyEndAllowThreads(__tstate
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 resultobj
= SWIG_Py_Void();
33058 SWIGINTERN PyObject
*_wrap_DropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33059 PyObject
*resultobj
= 0;
33060 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33063 wxDragResult arg4
;
33064 wxDragResult result
;
33073 PyObject
* obj0
= 0 ;
33074 PyObject
* obj1
= 0 ;
33075 PyObject
* obj2
= 0 ;
33076 PyObject
* obj3
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33086 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33088 if (!SWIG_IsOK(ecode2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33091 arg2
= static_cast< int >(val2
);
33092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33093 if (!SWIG_IsOK(ecode3
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33096 arg3
= static_cast< int >(val3
);
33097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33098 if (!SWIG_IsOK(ecode4
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33101 arg4
= static_cast< wxDragResult
>(val4
);
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33108 resultobj
= SWIG_From_int(static_cast< int >(result
));
33115 SWIGINTERN PyObject
*_wrap_DropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
= 0;
33117 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33120 wxDragResult arg4
;
33121 wxDragResult result
;
33130 PyObject
* obj0
= 0 ;
33131 PyObject
* obj1
= 0 ;
33132 PyObject
* obj2
= 0 ;
33133 PyObject
* obj3
= 0 ;
33134 char * kwnames
[] = {
33135 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33140 if (!SWIG_IsOK(res1
)) {
33141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33143 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33145 if (!SWIG_IsOK(ecode2
)) {
33146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33148 arg2
= static_cast< int >(val2
);
33149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33150 if (!SWIG_IsOK(ecode3
)) {
33151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33153 arg3
= static_cast< int >(val3
);
33154 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33155 if (!SWIG_IsOK(ecode4
)) {
33156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33158 arg4
= static_cast< wxDragResult
>(val4
);
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33162 wxPyEndAllowThreads(__tstate
);
33163 if (PyErr_Occurred()) SWIG_fail
;
33165 resultobj
= SWIG_From_int(static_cast< int >(result
));
33172 SWIGINTERN PyObject
*_wrap_DropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33173 PyObject
*resultobj
= 0;
33174 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33177 PyObject
*swig_obj
[1] ;
33179 if (!args
) SWIG_fail
;
33180 swig_obj
[0] = args
;
33181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33182 if (!SWIG_IsOK(res1
)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33185 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_Py_Void();
33199 SWIGINTERN PyObject
*_wrap_DropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 PyObject
* obj2
= 0 ;
33214 char * kwnames
[] = {
33215 (char *) "self",(char *) "x",(char *) "y", NULL
33218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33220 if (!SWIG_IsOK(res1
)) {
33221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33223 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33225 if (!SWIG_IsOK(ecode2
)) {
33226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33228 arg2
= static_cast< int >(val2
);
33229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33230 if (!SWIG_IsOK(ecode3
)) {
33231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33233 arg3
= static_cast< int >(val3
);
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33237 wxPyEndAllowThreads(__tstate
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33249 SWIGINTERN PyObject
*_wrap_DropTarget_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33250 PyObject
*resultobj
= 0;
33251 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33255 PyObject
*swig_obj
[1] ;
33257 if (!args
) SWIG_fail
;
33258 swig_obj
[0] = args
;
33259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33260 if (!SWIG_IsOK(res1
)) {
33261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetData" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33263 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (bool)(arg1
)->GetData();
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33279 SWIGINTERN PyObject
*_wrap_DropTarget_SetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
= 0;
33281 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33282 wxDragResult arg2
;
33287 PyObject
* obj0
= 0 ;
33288 PyObject
* obj1
= 0 ;
33289 char * kwnames
[] = {
33290 (char *) "self",(char *) "action", NULL
33293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDefaultAction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33295 if (!SWIG_IsOK(res1
)) {
33296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33298 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33300 if (!SWIG_IsOK(ecode2
)) {
33301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DropTarget_SetDefaultAction" "', expected argument " "2"" of type '" "wxDragResult""'");
33303 arg2
= static_cast< wxDragResult
>(val2
);
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 (arg1
)->SetDefaultAction(arg2
);
33307 wxPyEndAllowThreads(__tstate
);
33308 if (PyErr_Occurred()) SWIG_fail
;
33310 resultobj
= SWIG_Py_Void();
33317 SWIGINTERN PyObject
*_wrap_DropTarget_GetDefaultAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33318 PyObject
*resultobj
= 0;
33319 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
33320 wxDragResult result
;
33323 PyObject
*swig_obj
[1] ;
33325 if (!args
) SWIG_fail
;
33326 swig_obj
[0] = args
;
33327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
33328 if (!SWIG_IsOK(res1
)) {
33329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropTarget_GetDefaultAction" "', expected argument " "1"" of type '" "wxPyDropTarget *""'");
33331 arg1
= reinterpret_cast< wxPyDropTarget
* >(argp1
);
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 result
= (wxDragResult
)(arg1
)->GetDefaultAction();
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= SWIG_From_int(static_cast< int >(result
));
33345 SWIGINTERN PyObject
*DropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33348 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyDropTarget
, SWIG_NewClientData(obj
));
33349 return SWIG_Py_Void();
33352 SWIGINTERN PyObject
*DropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33353 return SWIG_Python_InitShadowInstance(args
);
33356 SWIGINTERN PyObject
*_wrap_new_TextDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33357 PyObject
*resultobj
= 0;
33358 wxPyTextDropTarget
*result
= 0 ;
33360 if (!SWIG_Python_UnpackTuple(args
,"new_TextDropTarget",0,0,0)) SWIG_fail
;
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTextDropTarget
, SWIG_POINTER_NEW
| 0 );
33374 SWIGINTERN PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
= 0;
33376 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33377 PyObject
*arg2
= (PyObject
*) 0 ;
33378 PyObject
*arg3
= (PyObject
*) 0 ;
33381 PyObject
* obj0
= 0 ;
33382 PyObject
* obj1
= 0 ;
33383 PyObject
* obj2
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "self",(char *) "_class", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33393 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_Py_Void();
33409 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDropText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
= 0;
33411 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33414 wxString
*arg4
= 0 ;
33422 bool temp4
= false ;
33423 PyObject
* obj0
= 0 ;
33424 PyObject
* obj1
= 0 ;
33425 PyObject
* obj2
= 0 ;
33426 PyObject
* obj3
= 0 ;
33427 char * kwnames
[] = {
33428 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
33431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33433 if (!SWIG_IsOK(res1
)) {
33434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33436 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33438 if (!SWIG_IsOK(ecode2
)) {
33439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "2"" of type '" "int""'");
33441 arg2
= static_cast< int >(val2
);
33442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33443 if (!SWIG_IsOK(ecode3
)) {
33444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDropText" "', expected argument " "3"" of type '" "int""'");
33446 arg3
= static_cast< int >(val3
);
33448 arg4
= wxString_in_helper(obj3
);
33449 if (arg4
== NULL
) SWIG_fail
;
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 result
= (bool)(arg1
)->OnDropText(arg2
,arg3
,(wxString
const &)*arg4
);
33455 wxPyEndAllowThreads(__tstate
);
33456 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33475 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33476 PyObject
*resultobj
= 0;
33477 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33480 wxDragResult arg4
;
33481 wxDragResult result
;
33490 PyObject
* obj0
= 0 ;
33491 PyObject
* obj1
= 0 ;
33492 PyObject
* obj2
= 0 ;
33493 PyObject
* obj3
= 0 ;
33494 char * kwnames
[] = {
33495 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33500 if (!SWIG_IsOK(res1
)) {
33501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33503 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33505 if (!SWIG_IsOK(ecode2
)) {
33506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33508 arg2
= static_cast< int >(val2
);
33509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33510 if (!SWIG_IsOK(ecode3
)) {
33511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33513 arg3
= static_cast< int >(val3
);
33514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33515 if (!SWIG_IsOK(ecode4
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33518 arg4
= static_cast< wxDragResult
>(val4
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= SWIG_From_int(static_cast< int >(result
));
33532 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33537 wxDragResult arg4
;
33538 wxDragResult result
;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 PyObject
* obj3
= 0 ;
33551 char * kwnames
[] = {
33552 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33557 if (!SWIG_IsOK(res1
)) {
33558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33560 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33562 if (!SWIG_IsOK(ecode2
)) {
33563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33565 arg2
= static_cast< int >(val2
);
33566 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33567 if (!SWIG_IsOK(ecode3
)) {
33568 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33570 arg3
= static_cast< int >(val3
);
33571 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33572 if (!SWIG_IsOK(ecode4
)) {
33573 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33575 arg4
= static_cast< wxDragResult
>(val4
);
33577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33578 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 resultobj
= SWIG_From_int(static_cast< int >(result
));
33589 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33590 PyObject
*resultobj
= 0;
33591 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33594 PyObject
*swig_obj
[1] ;
33596 if (!args
) SWIG_fail
;
33597 swig_obj
[0] = args
;
33598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33599 if (!SWIG_IsOK(res1
)) {
33600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33602 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 wxPyEndAllowThreads(__tstate
);
33607 if (PyErr_Occurred()) SWIG_fail
;
33609 resultobj
= SWIG_Py_Void();
33616 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
= 0;
33618 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33628 PyObject
* obj0
= 0 ;
33629 PyObject
* obj1
= 0 ;
33630 PyObject
* obj2
= 0 ;
33631 char * kwnames
[] = {
33632 (char *) "self",(char *) "x",(char *) "y", NULL
33635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33637 if (!SWIG_IsOK(res1
)) {
33638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33640 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33642 if (!SWIG_IsOK(ecode2
)) {
33643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
33645 arg2
= static_cast< int >(val2
);
33646 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33647 if (!SWIG_IsOK(ecode3
)) {
33648 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
33650 arg3
= static_cast< int >(val3
);
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
33654 wxPyEndAllowThreads(__tstate
);
33655 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33666 SWIGINTERN PyObject
*_wrap_TextDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
= 0;
33668 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
33671 wxDragResult arg4
;
33672 wxDragResult result
;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33683 PyObject
* obj2
= 0 ;
33684 PyObject
* obj3
= 0 ;
33685 char * kwnames
[] = {
33686 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTextDropTarget
, 0 | 0 );
33691 if (!SWIG_IsOK(res1
)) {
33692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyTextDropTarget *""'");
33694 arg1
= reinterpret_cast< wxPyTextDropTarget
* >(argp1
);
33695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33696 if (!SWIG_IsOK(ecode2
)) {
33697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
33699 arg2
= static_cast< int >(val2
);
33700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33701 if (!SWIG_IsOK(ecode3
)) {
33702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
33704 arg3
= static_cast< int >(val3
);
33705 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33706 if (!SWIG_IsOK(ecode4
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TextDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
33709 arg4
= static_cast< wxDragResult
>(val4
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_From_int(static_cast< int >(result
));
33723 SWIGINTERN PyObject
*TextDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33726 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTextDropTarget
, SWIG_NewClientData(obj
));
33727 return SWIG_Py_Void();
33730 SWIGINTERN PyObject
*TextDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 return SWIG_Python_InitShadowInstance(args
);
33734 SWIGINTERN PyObject
*_wrap_new_FileDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33735 PyObject
*resultobj
= 0;
33736 wxPyFileDropTarget
*result
= 0 ;
33738 if (!SWIG_Python_UnpackTuple(args
,"new_FileDropTarget",0,0,0)) SWIG_fail
;
33740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33741 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
33742 wxPyEndAllowThreads(__tstate
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileDropTarget
, SWIG_POINTER_NEW
| 0 );
33752 SWIGINTERN PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33753 PyObject
*resultobj
= 0;
33754 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33755 PyObject
*arg2
= (PyObject
*) 0 ;
33756 PyObject
*arg3
= (PyObject
*) 0 ;
33759 PyObject
* obj0
= 0 ;
33760 PyObject
* obj1
= 0 ;
33761 PyObject
* obj2
= 0 ;
33762 char * kwnames
[] = {
33763 (char *) "self",(char *) "self",(char *) "_class", NULL
33766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33768 if (!SWIG_IsOK(res1
)) {
33769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33771 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= SWIG_Py_Void();
33787 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDropFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
= 0;
33789 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33792 wxArrayString
*arg4
= 0 ;
33800 bool temp4
= false ;
33801 PyObject
* obj0
= 0 ;
33802 PyObject
* obj1
= 0 ;
33803 PyObject
* obj2
= 0 ;
33804 PyObject
* obj3
= 0 ;
33805 char * kwnames
[] = {
33806 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
33809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33811 if (!SWIG_IsOK(res1
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33814 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33816 if (!SWIG_IsOK(ecode2
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "2"" of type '" "int""'");
33819 arg2
= static_cast< int >(val2
);
33820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33821 if (!SWIG_IsOK(ecode3
)) {
33822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDropFiles" "', expected argument " "3"" of type '" "int""'");
33824 arg3
= static_cast< int >(val3
);
33826 if (! PySequence_Check(obj3
)) {
33827 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33830 arg4
= new wxArrayString
;
33832 int i
, len
=PySequence_Length(obj3
);
33833 for (i
=0; i
<len
; i
++) {
33834 PyObject
* item
= PySequence_GetItem(obj3
, i
);
33835 wxString
* s
= wxString_in_helper(item
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33844 result
= (bool)(arg1
)->OnDropFiles(arg2
,arg3
,(wxArrayString
const &)*arg4
);
33845 wxPyEndAllowThreads(__tstate
);
33846 if (PyErr_Occurred()) SWIG_fail
;
33849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33852 if (temp4
) delete arg4
;
33857 if (temp4
) delete arg4
;
33863 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnEnter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33864 PyObject
*resultobj
= 0;
33865 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33868 wxDragResult arg4
;
33869 wxDragResult result
;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 PyObject
* obj2
= 0 ;
33881 PyObject
* obj3
= 0 ;
33882 char * kwnames
[] = {
33883 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33888 if (!SWIG_IsOK(res1
)) {
33889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33891 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33893 if (!SWIG_IsOK(ecode2
)) {
33894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "2"" of type '" "int""'");
33896 arg2
= static_cast< int >(val2
);
33897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33898 if (!SWIG_IsOK(ecode3
)) {
33899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "3"" of type '" "int""'");
33901 arg3
= static_cast< int >(val3
);
33902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33903 if (!SWIG_IsOK(ecode4
)) {
33904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnEnter" "', expected argument " "4"" of type '" "wxDragResult""'");
33906 arg4
= static_cast< wxDragResult
>(val4
);
33908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 result
= (wxDragResult
)(arg1
)->OnEnter(arg2
,arg3
,arg4
);
33910 wxPyEndAllowThreads(__tstate
);
33911 if (PyErr_Occurred()) SWIG_fail
;
33913 resultobj
= SWIG_From_int(static_cast< int >(result
));
33920 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDragOver(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33921 PyObject
*resultobj
= 0;
33922 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33925 wxDragResult arg4
;
33926 wxDragResult result
;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 PyObject
* obj2
= 0 ;
33938 PyObject
* obj3
= 0 ;
33939 char * kwnames
[] = {
33940 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
33943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33945 if (!SWIG_IsOK(res1
)) {
33946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33948 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33950 if (!SWIG_IsOK(ecode2
)) {
33951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "2"" of type '" "int""'");
33953 arg2
= static_cast< int >(val2
);
33954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33955 if (!SWIG_IsOK(ecode3
)) {
33956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "3"" of type '" "int""'");
33958 arg3
= static_cast< int >(val3
);
33959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33960 if (!SWIG_IsOK(ecode4
)) {
33961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnDragOver" "', expected argument " "4"" of type '" "wxDragResult""'");
33963 arg4
= static_cast< wxDragResult
>(val4
);
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 result
= (wxDragResult
)(arg1
)->OnDragOver(arg2
,arg3
,arg4
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_From_int(static_cast< int >(result
));
33977 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnLeave(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33978 PyObject
*resultobj
= 0;
33979 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
33982 PyObject
*swig_obj
[1] ;
33984 if (!args
) SWIG_fail
;
33985 swig_obj
[0] = args
;
33986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
33987 if (!SWIG_IsOK(res1
)) {
33988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnLeave" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
33990 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_Py_Void();
34004 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnDrop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34016 PyObject
* obj0
= 0 ;
34017 PyObject
* obj1
= 0 ;
34018 PyObject
* obj2
= 0 ;
34019 char * kwnames
[] = {
34020 (char *) "self",(char *) "x",(char *) "y", NULL
34023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34025 if (!SWIG_IsOK(res1
)) {
34026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34028 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34030 if (!SWIG_IsOK(ecode2
)) {
34031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "2"" of type '" "int""'");
34033 arg2
= static_cast< int >(val2
);
34034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34035 if (!SWIG_IsOK(ecode3
)) {
34036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnDrop" "', expected argument " "3"" of type '" "int""'");
34038 arg3
= static_cast< int >(val3
);
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 result
= (bool)(arg1
)->OnDrop(arg2
,arg3
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34054 SWIGINTERN PyObject
*_wrap_FileDropTarget_OnData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34055 PyObject
*resultobj
= 0;
34056 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
34059 wxDragResult arg4
;
34060 wxDragResult result
;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 PyObject
* obj2
= 0 ;
34072 PyObject
* obj3
= 0 ;
34073 char * kwnames
[] = {
34074 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
34077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileDropTarget
, 0 | 0 );
34079 if (!SWIG_IsOK(res1
)) {
34080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDropTarget_OnData" "', expected argument " "1"" of type '" "wxPyFileDropTarget *""'");
34082 arg1
= reinterpret_cast< wxPyFileDropTarget
* >(argp1
);
34083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34084 if (!SWIG_IsOK(ecode2
)) {
34085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDropTarget_OnData" "', expected argument " "2"" of type '" "int""'");
34087 arg2
= static_cast< int >(val2
);
34088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34089 if (!SWIG_IsOK(ecode3
)) {
34090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileDropTarget_OnData" "', expected argument " "3"" of type '" "int""'");
34092 arg3
= static_cast< int >(val3
);
34093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34094 if (!SWIG_IsOK(ecode4
)) {
34095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FileDropTarget_OnData" "', expected argument " "4"" of type '" "wxDragResult""'");
34097 arg4
= static_cast< wxDragResult
>(val4
);
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 result
= (wxDragResult
)(arg1
)->OnData(arg2
,arg3
,arg4
);
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= SWIG_From_int(static_cast< int >(result
));
34111 SWIGINTERN PyObject
*FileDropTarget_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileDropTarget
, SWIG_NewClientData(obj
));
34115 return SWIG_Py_Void();
34118 SWIGINTERN PyObject
*FileDropTarget_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34119 return SWIG_Python_InitShadowInstance(args
);
34122 SWIGINTERN PyObject
*_wrap_new_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34123 PyObject
*resultobj
= 0;
34124 wxClipboard
*result
= 0 ;
34126 if (!SWIG_Python_UnpackTuple(args
,"new_Clipboard",0,0,0)) SWIG_fail
;
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 result
= (wxClipboard
*)new wxClipboard();
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, SWIG_POINTER_NEW
| 0 );
34140 SWIGINTERN PyObject
*_wrap_delete_Clipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34141 PyObject
*resultobj
= 0;
34142 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34145 PyObject
*swig_obj
[1] ;
34147 if (!args
) SWIG_fail
;
34148 swig_obj
[0] = args
;
34149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, SWIG_POINTER_DISOWN
| 0 );
34150 if (!SWIG_IsOK(res1
)) {
34151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Clipboard" "', expected argument " "1"" of type '" "wxClipboard *""'");
34153 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34161 resultobj
= SWIG_Py_Void();
34168 SWIGINTERN PyObject
*_wrap_Clipboard_Open(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34169 PyObject
*resultobj
= 0;
34170 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34174 PyObject
*swig_obj
[1] ;
34176 if (!args
) SWIG_fail
;
34177 swig_obj
[0] = args
;
34178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34179 if (!SWIG_IsOK(res1
)) {
34180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Open" "', expected argument " "1"" of type '" "wxClipboard *""'");
34182 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 result
= (bool)(arg1
)->Open();
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34198 SWIGINTERN PyObject
*_wrap_Clipboard_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34199 PyObject
*resultobj
= 0;
34200 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34203 PyObject
*swig_obj
[1] ;
34205 if (!args
) SWIG_fail
;
34206 swig_obj
[0] = args
;
34207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34208 if (!SWIG_IsOK(res1
)) {
34209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Close" "', expected argument " "1"" of type '" "wxClipboard *""'");
34211 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_Py_Void();
34225 SWIGINTERN PyObject
*_wrap_Clipboard_IsOpened(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34226 PyObject
*resultobj
= 0;
34227 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34231 PyObject
*swig_obj
[1] ;
34233 if (!args
) SWIG_fail
;
34234 swig_obj
[0] = args
;
34235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34236 if (!SWIG_IsOK(res1
)) {
34237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsOpened" "', expected argument " "1"" of type '" "wxClipboard const *""'");
34239 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34255 SWIGINTERN PyObject
*_wrap_Clipboard_AddData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34256 PyObject
*resultobj
= 0;
34257 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34258 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34263 PyObject
* obj0
= 0 ;
34264 PyObject
* obj1
= 0 ;
34265 char * kwnames
[] = {
34266 (char *) "self",(char *) "data", NULL
34269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_AddData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34274 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34275 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34276 if (!SWIG_IsOK(res2
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_AddData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 result
= (bool)(arg1
)->AddData(arg2
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34294 SWIGINTERN PyObject
*_wrap_Clipboard_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
= 0;
34296 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34297 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
34302 PyObject
* obj0
= 0 ;
34303 PyObject
* obj1
= 0 ;
34304 char * kwnames
[] = {
34305 (char *) "self",(char *) "data", NULL
34308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34310 if (!SWIG_IsOK(res1
)) {
34311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_SetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34313 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34314 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxDataObject
, SWIG_POINTER_DISOWN
| 0 );
34315 if (!SWIG_IsOK(res2
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_SetData" "', expected argument " "2"" of type '" "wxDataObject *""'");
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (bool)(arg1
)->SetData(arg2
);
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34333 SWIGINTERN PyObject
*_wrap_Clipboard_IsSupported(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34334 PyObject
*resultobj
= 0;
34335 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34336 wxDataFormat
*arg2
= 0 ;
34342 PyObject
* obj0
= 0 ;
34343 PyObject
* obj1
= 0 ;
34344 char * kwnames
[] = {
34345 (char *) "self",(char *) "format", NULL
34348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34350 if (!SWIG_IsOK(res1
)) {
34351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_IsSupported" "', expected argument " "1"" of type '" "wxClipboard *""'");
34353 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataFormat
, 0 | 0);
34355 if (!SWIG_IsOK(res2
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_IsSupported" "', expected argument " "2"" of type '" "wxDataFormat const &""'");
34361 arg2
= reinterpret_cast< wxDataFormat
* >(argp2
);
34363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34364 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
34365 wxPyEndAllowThreads(__tstate
);
34366 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34377 SWIGINTERN PyObject
*_wrap_Clipboard_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34378 PyObject
*resultobj
= 0;
34379 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34380 wxDataObject
*arg2
= 0 ;
34386 PyObject
* obj0
= 0 ;
34387 PyObject
* obj1
= 0 ;
34388 char * kwnames
[] = {
34389 (char *) "self",(char *) "data", NULL
34392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34394 if (!SWIG_IsOK(res1
)) {
34395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_GetData" "', expected argument " "1"" of type '" "wxClipboard *""'");
34397 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDataObject
, 0 );
34399 if (!SWIG_IsOK(res2
)) {
34400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Clipboard_GetData" "', expected argument " "2"" of type '" "wxDataObject &""'");
34405 arg2
= reinterpret_cast< wxDataObject
* >(argp2
);
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 result
= (bool)(arg1
)->GetData(*arg2
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34421 SWIGINTERN PyObject
*_wrap_Clipboard_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34422 PyObject
*resultobj
= 0;
34423 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34426 PyObject
*swig_obj
[1] ;
34428 if (!args
) SWIG_fail
;
34429 swig_obj
[0] = args
;
34430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34431 if (!SWIG_IsOK(res1
)) {
34432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Clear" "', expected argument " "1"" of type '" "wxClipboard *""'");
34434 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 wxPyEndAllowThreads(__tstate
);
34439 if (PyErr_Occurred()) SWIG_fail
;
34441 resultobj
= SWIG_Py_Void();
34448 SWIGINTERN PyObject
*_wrap_Clipboard_Flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34449 PyObject
*resultobj
= 0;
34450 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34454 PyObject
*swig_obj
[1] ;
34456 if (!args
) SWIG_fail
;
34457 swig_obj
[0] = args
;
34458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34459 if (!SWIG_IsOK(res1
)) {
34460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_Flush" "', expected argument " "1"" of type '" "wxClipboard *""'");
34462 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34465 result
= (bool)(arg1
)->Flush();
34466 wxPyEndAllowThreads(__tstate
);
34467 if (PyErr_Occurred()) SWIG_fail
;
34470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34478 SWIGINTERN PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
= 0;
34480 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
34481 bool arg2
= (bool) true ;
34486 PyObject
* obj0
= 0 ;
34487 PyObject
* obj1
= 0 ;
34488 char * kwnames
[] = {
34489 (char *) "self",(char *) "primary", NULL
34492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34494 if (!SWIG_IsOK(res1
)) {
34495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "1"" of type '" "wxClipboard *""'");
34497 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34499 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34500 if (!SWIG_IsOK(ecode2
)) {
34501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Clipboard_UsePrimarySelection" "', expected argument " "2"" of type '" "bool""'");
34503 arg2
= static_cast< bool >(val2
);
34506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34507 (arg1
)->UsePrimarySelection(arg2
);
34508 wxPyEndAllowThreads(__tstate
);
34509 if (PyErr_Occurred()) SWIG_fail
;
34511 resultobj
= SWIG_Py_Void();
34518 SWIGINTERN PyObject
*_wrap_Clipboard_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34519 PyObject
*resultobj
= 0;
34520 wxClipboard
*result
= 0 ;
34522 if (!SWIG_Python_UnpackTuple(args
,"Clipboard_Get",0,0,0)) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 result
= (wxClipboard
*)wxClipboard::Get();
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboard
, 0 | 0 );
34536 SWIGINTERN PyObject
*Clipboard_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34539 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboard
, SWIG_NewClientData(obj
));
34540 return SWIG_Py_Void();
34543 SWIGINTERN PyObject
*Clipboard_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34544 return SWIG_Python_InitShadowInstance(args
);
34547 SWIGINTERN PyObject
*_wrap_new_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34548 PyObject
*resultobj
= 0;
34549 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
34550 wxClipboardLocker
*result
= 0 ;
34553 PyObject
* obj0
= 0 ;
34554 char * kwnames
[] = {
34555 (char *) "clipboard", NULL
34558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) SWIG_fail
;
34560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxClipboard
, 0 | 0 );
34561 if (!SWIG_IsOK(res1
)) {
34562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboard *""'");
34564 arg1
= reinterpret_cast< wxClipboard
* >(argp1
);
34567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34568 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
34569 wxPyEndAllowThreads(__tstate
);
34570 if (PyErr_Occurred()) SWIG_fail
;
34572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_NEW
| 0 );
34579 SWIGINTERN PyObject
*_wrap_delete_ClipboardLocker(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34580 PyObject
*resultobj
= 0;
34581 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34584 PyObject
*swig_obj
[1] ;
34586 if (!args
) SWIG_fail
;
34587 swig_obj
[0] = args
;
34588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, SWIG_POINTER_DISOWN
| 0 );
34589 if (!SWIG_IsOK(res1
)) {
34590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ClipboardLocker" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34592 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 wxPyEndAllowThreads(__tstate
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= SWIG_Py_Void();
34607 SWIGINTERN PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34608 PyObject
*resultobj
= 0;
34609 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
34613 PyObject
*swig_obj
[1] ;
34615 if (!args
) SWIG_fail
;
34616 swig_obj
[0] = args
;
34617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxClipboardLocker
, 0 | 0 );
34618 if (!SWIG_IsOK(res1
)) {
34619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ClipboardLocker___nonzero__" "', expected argument " "1"" of type '" "wxClipboardLocker *""'");
34621 arg1
= reinterpret_cast< wxClipboardLocker
* >(argp1
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34637 SWIGINTERN PyObject
*ClipboardLocker_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34640 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardLocker
, SWIG_NewClientData(obj
));
34641 return SWIG_Py_Void();
34644 SWIGINTERN PyObject
*ClipboardLocker_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34645 return SWIG_Python_InitShadowInstance(args
);
34648 SWIGINTERN PyObject
*_wrap_new_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
= 0;
34650 int arg1
= (int) 0 ;
34651 int arg2
= (int) 0 ;
34652 int arg3
= (int) 0 ;
34653 int arg4
= (int) 0 ;
34654 wxVideoMode
*result
= 0 ;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 PyObject
* obj2
= 0 ;
34666 PyObject
* obj3
= 0 ;
34667 char * kwnames
[] = {
34668 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
34671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34673 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34674 if (!SWIG_IsOK(ecode1
)) {
34675 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_VideoMode" "', expected argument " "1"" of type '" "int""'");
34677 arg1
= static_cast< int >(val1
);
34680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34681 if (!SWIG_IsOK(ecode2
)) {
34682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VideoMode" "', expected argument " "2"" of type '" "int""'");
34684 arg2
= static_cast< int >(val2
);
34687 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34688 if (!SWIG_IsOK(ecode3
)) {
34689 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_VideoMode" "', expected argument " "3"" of type '" "int""'");
34691 arg3
= static_cast< int >(val3
);
34694 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34695 if (!SWIG_IsOK(ecode4
)) {
34696 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_VideoMode" "', expected argument " "4"" of type '" "int""'");
34698 arg4
= static_cast< int >(val4
);
34701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34702 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_NEW
| 0 );
34713 SWIGINTERN PyObject
*_wrap_delete_VideoMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34714 PyObject
*resultobj
= 0;
34715 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34718 PyObject
*swig_obj
[1] ;
34720 if (!args
) SWIG_fail
;
34721 swig_obj
[0] = args
;
34722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_DISOWN
| 0 );
34723 if (!SWIG_IsOK(res1
)) {
34724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VideoMode" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34726 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34731 wxPyEndAllowThreads(__tstate
);
34732 if (PyErr_Occurred()) SWIG_fail
;
34734 resultobj
= SWIG_Py_Void();
34741 SWIGINTERN PyObject
*_wrap_VideoMode_Matches(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34742 PyObject
*resultobj
= 0;
34743 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34744 wxVideoMode
*arg2
= 0 ;
34750 PyObject
* obj0
= 0 ;
34751 PyObject
* obj1
= 0 ;
34752 char * kwnames
[] = {
34753 (char *) "self",(char *) "other", NULL
34756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34758 if (!SWIG_IsOK(res1
)) {
34759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_Matches" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34761 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34762 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
34763 if (!SWIG_IsOK(res2
)) {
34764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VideoMode_Matches" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
34769 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34772 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
34773 wxPyEndAllowThreads(__tstate
);
34774 if (PyErr_Occurred()) SWIG_fail
;
34777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34785 SWIGINTERN PyObject
*_wrap_VideoMode_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34786 PyObject
*resultobj
= 0;
34787 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34791 PyObject
*swig_obj
[1] ;
34793 if (!args
) SWIG_fail
;
34794 swig_obj
[0] = args
;
34795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34796 if (!SWIG_IsOK(res1
)) {
34797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetWidth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34799 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34802 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 resultobj
= SWIG_From_int(static_cast< int >(result
));
34813 SWIGINTERN PyObject
*_wrap_VideoMode_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34814 PyObject
*resultobj
= 0;
34815 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34819 PyObject
*swig_obj
[1] ;
34821 if (!args
) SWIG_fail
;
34822 swig_obj
[0] = args
;
34823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34824 if (!SWIG_IsOK(res1
)) {
34825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetHeight" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34827 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34830 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34834 resultobj
= SWIG_From_int(static_cast< int >(result
));
34841 SWIGINTERN PyObject
*_wrap_VideoMode_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34842 PyObject
*resultobj
= 0;
34843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34847 PyObject
*swig_obj
[1] ;
34849 if (!args
) SWIG_fail
;
34850 swig_obj
[0] = args
;
34851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34852 if (!SWIG_IsOK(res1
)) {
34853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_GetDepth" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34855 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34858 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= SWIG_From_int(static_cast< int >(result
));
34869 SWIGINTERN PyObject
*_wrap_VideoMode_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34870 PyObject
*resultobj
= 0;
34871 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34875 PyObject
*swig_obj
[1] ;
34877 if (!args
) SWIG_fail
;
34878 swig_obj
[0] = args
;
34879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_IsOk" "', expected argument " "1"" of type '" "wxVideoMode const *""'");
34883 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
34887 wxPyEndAllowThreads(__tstate
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34899 SWIGINTERN PyObject
*_wrap_VideoMode___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
= 0;
34901 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34902 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34908 PyObject
* obj0
= 0 ;
34909 PyObject
* obj1
= 0 ;
34910 char * kwnames
[] = {
34911 (char *) "self",(char *) "other", NULL
34914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34916 if (!SWIG_IsOK(res1
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___eq__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34919 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34921 if (!SWIG_IsOK(res2
)) {
34922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___eq__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34924 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34927 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34940 SWIGINTERN PyObject
*_wrap_VideoMode___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34941 PyObject
*resultobj
= 0;
34942 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34943 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char * kwnames
[] = {
34952 (char *) "self",(char *) "other", NULL
34955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34957 if (!SWIG_IsOK(res1
)) {
34958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode___ne__" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34960 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34962 if (!SWIG_IsOK(res2
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VideoMode___ne__" "', expected argument " "2"" of type '" "wxVideoMode const *""'");
34965 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34981 SWIGINTERN PyObject
*_wrap_VideoMode_w_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34982 PyObject
*resultobj
= 0;
34983 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
34989 PyObject
*swig_obj
[2] ;
34991 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_w_set",2,2,swig_obj
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
34996 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
34997 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
34998 if (!SWIG_IsOK(ecode2
)) {
34999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_w_set" "', expected argument " "2"" of type '" "int""'");
35001 arg2
= static_cast< int >(val2
);
35002 if (arg1
) (arg1
)->w
= arg2
;
35004 resultobj
= SWIG_Py_Void();
35011 SWIGINTERN PyObject
*_wrap_VideoMode_w_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35012 PyObject
*resultobj
= 0;
35013 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35017 PyObject
*swig_obj
[1] ;
35019 if (!args
) SWIG_fail
;
35020 swig_obj
[0] = args
;
35021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35022 if (!SWIG_IsOK(res1
)) {
35023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_w_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35025 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35026 result
= (int) ((arg1
)->w
);
35027 resultobj
= SWIG_From_int(static_cast< int >(result
));
35034 SWIGINTERN PyObject
*_wrap_VideoMode_h_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35035 PyObject
*resultobj
= 0;
35036 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35042 PyObject
*swig_obj
[2] ;
35044 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_h_set",2,2,swig_obj
)) SWIG_fail
;
35045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35046 if (!SWIG_IsOK(res1
)) {
35047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35049 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35050 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35051 if (!SWIG_IsOK(ecode2
)) {
35052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_h_set" "', expected argument " "2"" of type '" "int""'");
35054 arg2
= static_cast< int >(val2
);
35055 if (arg1
) (arg1
)->h
= arg2
;
35057 resultobj
= SWIG_Py_Void();
35064 SWIGINTERN PyObject
*_wrap_VideoMode_h_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35065 PyObject
*resultobj
= 0;
35066 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35070 PyObject
*swig_obj
[1] ;
35072 if (!args
) SWIG_fail
;
35073 swig_obj
[0] = args
;
35074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_h_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35078 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35079 result
= (int) ((arg1
)->h
);
35080 resultobj
= SWIG_From_int(static_cast< int >(result
));
35087 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35088 PyObject
*resultobj
= 0;
35089 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35095 PyObject
*swig_obj
[2] ;
35097 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_bpp_set",2,2,swig_obj
)) SWIG_fail
;
35098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35099 if (!SWIG_IsOK(res1
)) {
35100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35102 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35103 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35104 if (!SWIG_IsOK(ecode2
)) {
35105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_bpp_set" "', expected argument " "2"" of type '" "int""'");
35107 arg2
= static_cast< int >(val2
);
35108 if (arg1
) (arg1
)->bpp
= arg2
;
35110 resultobj
= SWIG_Py_Void();
35117 SWIGINTERN PyObject
*_wrap_VideoMode_bpp_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35118 PyObject
*resultobj
= 0;
35119 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35123 PyObject
*swig_obj
[1] ;
35125 if (!args
) SWIG_fail
;
35126 swig_obj
[0] = args
;
35127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35128 if (!SWIG_IsOK(res1
)) {
35129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_bpp_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35131 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35132 result
= (int) ((arg1
)->bpp
);
35133 resultobj
= SWIG_From_int(static_cast< int >(result
));
35140 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35141 PyObject
*resultobj
= 0;
35142 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35148 PyObject
*swig_obj
[2] ;
35150 if (!SWIG_Python_UnpackTuple(args
,"VideoMode_refresh_set",2,2,swig_obj
)) SWIG_fail
;
35151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35152 if (!SWIG_IsOK(res1
)) {
35153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_set" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35155 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35156 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
35157 if (!SWIG_IsOK(ecode2
)) {
35158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VideoMode_refresh_set" "', expected argument " "2"" of type '" "int""'");
35160 arg2
= static_cast< int >(val2
);
35161 if (arg1
) (arg1
)->refresh
= arg2
;
35163 resultobj
= SWIG_Py_Void();
35170 SWIGINTERN PyObject
*_wrap_VideoMode_refresh_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35171 PyObject
*resultobj
= 0;
35172 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
35176 PyObject
*swig_obj
[1] ;
35178 if (!args
) SWIG_fail
;
35179 swig_obj
[0] = args
;
35180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVideoMode
, 0 | 0 );
35181 if (!SWIG_IsOK(res1
)) {
35182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VideoMode_refresh_get" "', expected argument " "1"" of type '" "wxVideoMode *""'");
35184 arg1
= reinterpret_cast< wxVideoMode
* >(argp1
);
35185 result
= (int) ((arg1
)->refresh
);
35186 resultobj
= SWIG_From_int(static_cast< int >(result
));
35193 SWIGINTERN PyObject
*VideoMode_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35196 SWIG_TypeNewClientData(SWIGTYPE_p_wxVideoMode
, SWIG_NewClientData(obj
));
35197 return SWIG_Py_Void();
35200 SWIGINTERN PyObject
*VideoMode_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35201 return SWIG_Python_InitShadowInstance(args
);
35204 SWIGINTERN
int DefaultVideoMode_set(PyObject
*) {
35205 SWIG_Error(SWIG_AttributeError
,"Variable DefaultVideoMode is read-only.");
35210 SWIGINTERN PyObject
*DefaultVideoMode_get(void) {
35211 PyObject
*pyobj
= 0;
35213 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0 );
35218 SWIGINTERN PyObject
*_wrap_new_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
= 0;
35220 size_t arg1
= (size_t) 0 ;
35221 wxDisplay
*result
= 0 ;
35224 PyObject
* obj0
= 0 ;
35225 char * kwnames
[] = {
35226 (char *) "index", NULL
35229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) SWIG_fail
;
35231 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
35232 if (!SWIG_IsOK(ecode1
)) {
35233 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Display" "', expected argument " "1"" of type '" "size_t""'");
35235 arg1
= static_cast< size_t >(val1
);
35238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35239 result
= (wxDisplay
*)new wxDisplay(arg1
);
35240 wxPyEndAllowThreads(__tstate
);
35241 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplay
, SWIG_POINTER_NEW
| 0 );
35250 SWIGINTERN PyObject
*_wrap_delete_Display(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35251 PyObject
*resultobj
= 0;
35252 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35255 PyObject
*swig_obj
[1] ;
35257 if (!args
) SWIG_fail
;
35258 swig_obj
[0] = args
;
35259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, SWIG_POINTER_DISOWN
| 0 );
35260 if (!SWIG_IsOK(res1
)) {
35261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Display" "', expected argument " "1"" of type '" "wxDisplay *""'");
35263 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35271 resultobj
= SWIG_Py_Void();
35278 SWIGINTERN PyObject
*_wrap_Display_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35279 PyObject
*resultobj
= 0;
35282 if (!SWIG_Python_UnpackTuple(args
,"Display_GetCount",0,0,0)) SWIG_fail
;
35284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35285 result
= (size_t)wxDisplay::GetCount();
35286 wxPyEndAllowThreads(__tstate
);
35287 if (PyErr_Occurred()) SWIG_fail
;
35289 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35296 SWIGINTERN PyObject
*_wrap_Display_GetFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35297 PyObject
*resultobj
= 0;
35298 wxPoint
*arg1
= 0 ;
35301 PyObject
* obj0
= 0 ;
35302 char * kwnames
[] = {
35303 (char *) "pt", NULL
35306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) SWIG_fail
;
35309 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
35312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35313 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= SWIG_From_int(static_cast< int >(result
));
35324 SWIGINTERN PyObject
*_wrap_Display_GetFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
= 0;
35326 wxWindow
*arg1
= (wxWindow
*) 0 ;
35330 PyObject
* obj0
= 0 ;
35331 char * kwnames
[] = {
35332 (char *) "window", NULL
35335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) SWIG_fail
;
35336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35337 if (!SWIG_IsOK(res1
)) {
35338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
35340 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 result
= (int)wxDisplay::GetFromWindow(arg1
);
35344 wxPyEndAllowThreads(__tstate
);
35345 if (PyErr_Occurred()) SWIG_fail
;
35347 resultobj
= SWIG_From_int(static_cast< int >(result
));
35354 SWIGINTERN PyObject
*_wrap_Display_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35355 PyObject
*resultobj
= 0;
35356 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35360 PyObject
*swig_obj
[1] ;
35362 if (!args
) SWIG_fail
;
35363 swig_obj
[0] = args
;
35364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35365 if (!SWIG_IsOK(res1
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsOk" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35368 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35384 SWIGINTERN PyObject
*_wrap_Display_GetGeometry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35385 PyObject
*resultobj
= 0;
35386 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35390 PyObject
*swig_obj
[1] ;
35392 if (!args
) SWIG_fail
;
35393 swig_obj
[0] = args
;
35394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35395 if (!SWIG_IsOK(res1
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetGeometry" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35398 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35401 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
35402 wxPyEndAllowThreads(__tstate
);
35403 if (PyErr_Occurred()) SWIG_fail
;
35405 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35412 SWIGINTERN PyObject
*_wrap_Display_GetClientArea(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35413 PyObject
*resultobj
= 0;
35414 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35418 PyObject
*swig_obj
[1] ;
35420 if (!args
) SWIG_fail
;
35421 swig_obj
[0] = args
;
35422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35423 if (!SWIG_IsOK(res1
)) {
35424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetClientArea" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35426 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= ((wxDisplay
const *)arg1
)->GetClientArea();
35430 wxPyEndAllowThreads(__tstate
);
35431 if (PyErr_Occurred()) SWIG_fail
;
35433 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
35440 SWIGINTERN PyObject
*_wrap_Display_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35441 PyObject
*resultobj
= 0;
35442 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35446 PyObject
*swig_obj
[1] ;
35448 if (!args
) SWIG_fail
;
35449 swig_obj
[0] = args
;
35450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35451 if (!SWIG_IsOK(res1
)) {
35452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetName" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35454 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= ((wxDisplay
const *)arg1
)->GetName();
35458 wxPyEndAllowThreads(__tstate
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35474 SWIGINTERN PyObject
*_wrap_Display_IsPrimary(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35475 PyObject
*resultobj
= 0;
35476 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35480 PyObject
*swig_obj
[1] ;
35482 if (!args
) SWIG_fail
;
35483 swig_obj
[0] = args
;
35484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35485 if (!SWIG_IsOK(res1
)) {
35486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_IsPrimary" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35488 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35504 SWIGINTERN PyObject
*_wrap_Display_GetModes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35507 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35508 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35509 PyObject
*result
= 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 char * kwnames
[] = {
35517 (char *) "self",(char *) "mode", NULL
35520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35522 if (!SWIG_IsOK(res1
)) {
35523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetModes" "', expected argument " "1"" of type '" "wxDisplay *""'");
35525 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35527 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35528 if (!SWIG_IsOK(res2
)) {
35529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35532 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_GetModes" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35534 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35538 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
35539 wxPyEndAllowThreads(__tstate
);
35540 if (PyErr_Occurred()) SWIG_fail
;
35542 resultobj
= result
;
35549 SWIGINTERN PyObject
*_wrap_Display_GetCurrentMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35550 PyObject
*resultobj
= 0;
35551 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35552 wxVideoMode result
;
35555 PyObject
*swig_obj
[1] ;
35557 if (!args
) SWIG_fail
;
35558 swig_obj
[0] = args
;
35559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35560 if (!SWIG_IsOK(res1
)) {
35561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_GetCurrentMode" "', expected argument " "1"" of type '" "wxDisplay const *""'");
35563 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 result
= wxDisplay_GetCurrentMode((wxDisplay
const *)arg1
);
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= SWIG_NewPointerObj((new wxVideoMode(static_cast< const wxVideoMode
& >(result
))), SWIGTYPE_p_wxVideoMode
, SWIG_POINTER_OWN
| 0 );
35577 SWIGINTERN PyObject
*_wrap_Display_ChangeMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35578 PyObject
*resultobj
= 0;
35579 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35580 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
35581 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
35587 PyObject
* obj0
= 0 ;
35588 PyObject
* obj1
= 0 ;
35589 char * kwnames
[] = {
35590 (char *) "self",(char *) "mode", NULL
35593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35595 if (!SWIG_IsOK(res1
)) {
35596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ChangeMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35598 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35600 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxVideoMode
, 0 | 0);
35601 if (!SWIG_IsOK(res2
)) {
35602 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Display_ChangeMode" "', expected argument " "2"" of type '" "wxVideoMode const &""'");
35607 arg2
= reinterpret_cast< wxVideoMode
* >(argp2
);
35610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35611 result
= (bool)wxDisplay_ChangeMode(arg1
,(wxVideoMode
const &)*arg2
);
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35624 SWIGINTERN PyObject
*_wrap_Display_ResetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35625 PyObject
*resultobj
= 0;
35626 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
35629 PyObject
*swig_obj
[1] ;
35631 if (!args
) SWIG_fail
;
35632 swig_obj
[0] = args
;
35633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDisplay
, 0 | 0 );
35634 if (!SWIG_IsOK(res1
)) {
35635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Display_ResetMode" "', expected argument " "1"" of type '" "wxDisplay *""'");
35637 arg1
= reinterpret_cast< wxDisplay
* >(argp1
);
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 wxDisplay_ResetMode(arg1
);
35641 wxPyEndAllowThreads(__tstate
);
35642 if (PyErr_Occurred()) SWIG_fail
;
35644 resultobj
= SWIG_Py_Void();
35651 SWIGINTERN PyObject
*Display_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
35654 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplay
, SWIG_NewClientData(obj
));
35655 return SWIG_Py_Void();
35658 SWIGINTERN PyObject
*Display_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35659 return SWIG_Python_InitShadowInstance(args
);
35662 SWIGINTERN PyObject
*_wrap_StandardPaths_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35663 PyObject
*resultobj
= 0;
35664 wxStandardPaths
*result
= 0 ;
35666 if (!SWIG_Python_UnpackTuple(args
,"StandardPaths_Get",0,0,0)) SWIG_fail
;
35668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35669 result
= (wxStandardPaths
*)wxStandardPaths_Get();
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35680 SWIGINTERN PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35681 PyObject
*resultobj
= 0;
35682 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35686 PyObject
*swig_obj
[1] ;
35688 if (!args
) SWIG_fail
;
35689 swig_obj
[0] = args
;
35690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35691 if (!SWIG_IsOK(res1
)) {
35692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35694 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
35698 wxPyEndAllowThreads(__tstate
);
35699 if (PyErr_Occurred()) SWIG_fail
;
35703 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35705 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35714 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35715 PyObject
*resultobj
= 0;
35716 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35720 PyObject
*swig_obj
[1] ;
35722 if (!args
) SWIG_fail
;
35723 swig_obj
[0] = args
;
35724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35725 if (!SWIG_IsOK(res1
)) {
35726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserConfigDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35728 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
35732 wxPyEndAllowThreads(__tstate
);
35733 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35748 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35749 PyObject
*resultobj
= 0;
35750 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35754 PyObject
*swig_obj
[1] ;
35756 if (!args
) SWIG_fail
;
35757 swig_obj
[0] = args
;
35758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35759 if (!SWIG_IsOK(res1
)) {
35760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35762 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
35766 wxPyEndAllowThreads(__tstate
);
35767 if (PyErr_Occurred()) SWIG_fail
;
35771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35782 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35783 PyObject
*resultobj
= 0;
35784 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35788 PyObject
*swig_obj
[1] ;
35790 if (!args
) SWIG_fail
;
35791 swig_obj
[0] = args
;
35792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35793 if (!SWIG_IsOK(res1
)) {
35794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35796 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35799 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
35800 wxPyEndAllowThreads(__tstate
);
35801 if (PyErr_Occurred()) SWIG_fail
;
35805 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35807 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35816 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35817 PyObject
*resultobj
= 0;
35818 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35822 PyObject
*swig_obj
[1] ;
35824 if (!args
) SWIG_fail
;
35825 swig_obj
[0] = args
;
35826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35830 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35833 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35850 SWIGINTERN PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35851 PyObject
*resultobj
= 0;
35852 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35856 PyObject
*swig_obj
[1] ;
35858 if (!args
) SWIG_fail
;
35859 swig_obj
[0] = args
;
35860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35861 if (!SWIG_IsOK(res1
)) {
35862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetUserLocalDataDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35864 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35867 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
35868 wxPyEndAllowThreads(__tstate
);
35869 if (PyErr_Occurred()) SWIG_fail
;
35873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35884 SWIGINTERN PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35885 PyObject
*resultobj
= 0;
35886 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35890 PyObject
*swig_obj
[1] ;
35892 if (!args
) SWIG_fail
;
35893 swig_obj
[0] = args
;
35894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35895 if (!SWIG_IsOK(res1
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetPluginsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35898 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35918 SWIGINTERN PyObject
*_wrap_StandardPaths_GetResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35919 PyObject
*resultobj
= 0;
35920 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35924 PyObject
*swig_obj
[1] ;
35926 if (!args
) SWIG_fail
;
35927 swig_obj
[0] = args
;
35928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35929 if (!SWIG_IsOK(res1
)) {
35930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35932 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35935 result
= ((wxStandardPaths
const *)arg1
)->GetResourcesDir();
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35941 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35943 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35952 SWIGINTERN PyObject
*_wrap_StandardPaths_GetLocalizedResourcesDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35953 PyObject
*resultobj
= 0;
35954 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
35955 wxString
*arg2
= 0 ;
35956 wxStandardPaths::ResourceCat arg3
= (wxStandardPaths::ResourceCat
) wxStandardPaths::ResourceCat_None
;
35960 bool temp2
= false ;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 PyObject
* obj2
= 0 ;
35966 char * kwnames
[] = {
35967 (char *) "self",(char *) "lang",(char *) "category", NULL
35970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StandardPaths_GetLocalizedResourcesDir",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
35972 if (!SWIG_IsOK(res1
)) {
35973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
35975 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
35977 arg2
= wxString_in_helper(obj1
);
35978 if (arg2
== NULL
) SWIG_fail
;
35982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35983 if (!SWIG_IsOK(ecode3
)) {
35984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StandardPaths_GetLocalizedResourcesDir" "', expected argument " "3"" of type '" "wxStandardPaths::ResourceCat""'");
35986 arg3
= static_cast< wxStandardPaths::ResourceCat
>(val3
);
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 result
= ((wxStandardPaths
const *)arg1
)->GetLocalizedResourcesDir((wxString
const &)*arg2
,arg3
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36015 SWIGINTERN PyObject
*_wrap_StandardPaths_GetDocumentsDir(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36016 PyObject
*resultobj
= 0;
36017 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36021 PyObject
*swig_obj
[1] ;
36023 if (!args
) SWIG_fail
;
36024 swig_obj
[0] = args
;
36025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36026 if (!SWIG_IsOK(res1
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetDocumentsDir" "', expected argument " "1"" of type '" "wxStandardPaths const *""'");
36029 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 result
= ((wxStandardPaths
const *)arg1
)->GetDocumentsDir();
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36038 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36040 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36049 SWIGINTERN PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36050 PyObject
*resultobj
= 0;
36051 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36052 wxString
*arg2
= 0 ;
36055 bool temp2
= false ;
36056 PyObject
* obj0
= 0 ;
36057 PyObject
* obj1
= 0 ;
36058 char * kwnames
[] = {
36059 (char *) "self",(char *) "prefix", NULL
36062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36064 if (!SWIG_IsOK(res1
)) {
36065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_SetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36067 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36069 arg2
= wxString_in_helper(obj1
);
36070 if (arg2
== NULL
) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
36076 wxPyEndAllowThreads(__tstate
);
36077 if (PyErr_Occurred()) SWIG_fail
;
36079 resultobj
= SWIG_Py_Void();
36094 SWIGINTERN PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36095 PyObject
*resultobj
= 0;
36096 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
36100 PyObject
*swig_obj
[1] ;
36102 if (!args
) SWIG_fail
;
36103 swig_obj
[0] = args
;
36104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStandardPaths
, 0 | 0 );
36105 if (!SWIG_IsOK(res1
)) {
36106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StandardPaths_GetInstallPrefix" "', expected argument " "1"" of type '" "wxStandardPaths *""'");
36108 arg1
= reinterpret_cast< wxStandardPaths
* >(argp1
);
36110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36111 result
= wxStandardPaths_GetInstallPrefix(arg1
);
36112 wxPyEndAllowThreads(__tstate
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36128 SWIGINTERN PyObject
*StandardPaths_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36131 SWIG_TypeNewClientData(SWIGTYPE_p_wxStandardPaths
, SWIG_NewClientData(obj
));
36132 return SWIG_Py_Void();
36135 SWIGINTERN PyObject
*_wrap_new_PowerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
= 0;
36138 wxPowerEvent
*result
= 0 ;
36141 PyObject
* obj0
= 0 ;
36142 char * kwnames
[] = {
36143 (char *) "evtType", NULL
36146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PowerEvent",kwnames
,&obj0
)) SWIG_fail
;
36147 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36148 if (!SWIG_IsOK(ecode1
)) {
36149 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PowerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
36151 arg1
= static_cast< wxEventType
>(val1
);
36153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36154 result
= (wxPowerEvent
*)new wxPowerEvent(arg1
);
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPowerEvent
, SWIG_POINTER_NEW
| 0 );
36165 SWIGINTERN PyObject
*_wrap_PowerEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36166 PyObject
*resultobj
= 0;
36167 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36170 PyObject
*swig_obj
[1] ;
36172 if (!args
) SWIG_fail
;
36173 swig_obj
[0] = args
;
36174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36175 if (!SWIG_IsOK(res1
)) {
36176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_Veto" "', expected argument " "1"" of type '" "wxPowerEvent *""'");
36178 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36182 wxPyEndAllowThreads(__tstate
);
36183 if (PyErr_Occurred()) SWIG_fail
;
36185 resultobj
= SWIG_Py_Void();
36192 SWIGINTERN PyObject
*_wrap_PowerEvent_IsVetoed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36193 PyObject
*resultobj
= 0;
36194 wxPowerEvent
*arg1
= (wxPowerEvent
*) 0 ;
36198 PyObject
*swig_obj
[1] ;
36200 if (!args
) SWIG_fail
;
36201 swig_obj
[0] = args
;
36202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPowerEvent
, 0 | 0 );
36203 if (!SWIG_IsOK(res1
)) {
36204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PowerEvent_IsVetoed" "', expected argument " "1"" of type '" "wxPowerEvent const *""'");
36206 arg1
= reinterpret_cast< wxPowerEvent
* >(argp1
);
36208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36209 result
= (bool)((wxPowerEvent
const *)arg1
)->IsVetoed();
36210 wxPyEndAllowThreads(__tstate
);
36211 if (PyErr_Occurred()) SWIG_fail
;
36214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36222 SWIGINTERN PyObject
*PowerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPowerEvent
, SWIG_NewClientData(obj
));
36226 return SWIG_Py_Void();
36229 SWIGINTERN PyObject
*PowerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36230 return SWIG_Python_InitShadowInstance(args
);
36233 SWIGINTERN PyObject
*_wrap_GetPowerType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36234 PyObject
*resultobj
= 0;
36235 wxPowerType result
;
36237 if (!SWIG_Python_UnpackTuple(args
,"GetPowerType",0,0,0)) SWIG_fail
;
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 result
= (wxPowerType
)wxGetPowerType();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_From_int(static_cast< int >(result
));
36251 SWIGINTERN PyObject
*_wrap_GetBatteryState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36252 PyObject
*resultobj
= 0;
36253 wxBatteryState result
;
36255 if (!SWIG_Python_UnpackTuple(args
,"GetBatteryState",0,0,0)) SWIG_fail
;
36257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36258 result
= (wxBatteryState
)wxGetBatteryState();
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36262 resultobj
= SWIG_From_int(static_cast< int >(result
));
36269 static PyMethodDef SwigMethods
[] = {
36270 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36271 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36272 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36273 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36274 { (char *)"SystemSettings_GetScreenType", (PyCFunction
)_wrap_SystemSettings_GetScreenType
, METH_NOARGS
, NULL
},
36275 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36276 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
36277 { (char *)"new_SystemOptions", (PyCFunction
)_wrap_new_SystemOptions
, METH_NOARGS
, NULL
},
36278 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36279 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36280 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36281 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36282 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36283 { (char *)"SystemOptions_IsFalse", (PyCFunction
) _wrap_SystemOptions_IsFalse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36284 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
36285 { (char *)"SystemOptions_swiginit", SystemOptions_swiginit
, METH_VARARGS
, NULL
},
36286 { (char *)"NewId", (PyCFunction
)_wrap_NewId
, METH_NOARGS
, NULL
},
36287 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36288 { (char *)"GetCurrentId", (PyCFunction
)_wrap_GetCurrentId
, METH_NOARGS
, NULL
},
36289 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36290 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36291 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36292 { (char *)"Bell", (PyCFunction
)_wrap_Bell
, METH_NOARGS
, NULL
},
36293 { (char *)"EndBusyCursor", (PyCFunction
)_wrap_EndBusyCursor
, METH_NOARGS
, NULL
},
36294 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36295 { (char *)"IsBusy", (PyCFunction
)_wrap_IsBusy
, METH_NOARGS
, NULL
},
36296 { (char *)"Now", (PyCFunction
)_wrap_Now
, METH_NOARGS
, NULL
},
36297 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36298 { (char *)"StartTimer", (PyCFunction
)_wrap_StartTimer
, METH_NOARGS
, NULL
},
36299 { (char *)"GetOsVersion", (PyCFunction
)_wrap_GetOsVersion
, METH_NOARGS
, NULL
},
36300 { (char *)"GetOsDescription", (PyCFunction
)_wrap_GetOsDescription
, METH_NOARGS
, NULL
},
36301 { (char *)"GetFreeMemory", (PyCFunction
)_wrap_GetFreeMemory
, METH_NOARGS
, NULL
},
36302 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36303 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36304 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36305 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36306 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36307 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36308 { (char *)"GetEmailAddress", (PyCFunction
)_wrap_GetEmailAddress
, METH_NOARGS
, NULL
},
36309 { (char *)"GetHostName", (PyCFunction
)_wrap_GetHostName
, METH_NOARGS
, NULL
},
36310 { (char *)"GetFullHostName", (PyCFunction
)_wrap_GetFullHostName
, METH_NOARGS
, NULL
},
36311 { (char *)"GetUserId", (PyCFunction
)_wrap_GetUserId
, METH_NOARGS
, NULL
},
36312 { (char *)"GetUserName", (PyCFunction
)_wrap_GetUserName
, METH_NOARGS
, NULL
},
36313 { (char *)"GetHomeDir", (PyCFunction
)_wrap_GetHomeDir
, METH_NOARGS
, NULL
},
36314 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36315 { (char *)"GetProcessId", (PyCFunction
)_wrap_GetProcessId
, METH_NOARGS
, NULL
},
36316 { (char *)"Trap", (PyCFunction
)_wrap_Trap
, METH_NOARGS
, NULL
},
36317 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36318 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36319 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36320 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36321 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36322 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36323 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36324 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36325 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36326 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36327 { (char *)"ColourDisplay", (PyCFunction
)_wrap_ColourDisplay
, METH_NOARGS
, NULL
},
36328 { (char *)"DisplayDepth", (PyCFunction
)_wrap_DisplayDepth
, METH_NOARGS
, NULL
},
36329 { (char *)"GetDisplayDepth", (PyCFunction
)_wrap_GetDisplayDepth
, METH_NOARGS
, NULL
},
36330 { (char *)"DisplaySize", (PyCFunction
)_wrap_DisplaySize
, METH_NOARGS
, NULL
},
36331 { (char *)"GetDisplaySize", (PyCFunction
)_wrap_GetDisplaySize
, METH_NOARGS
, NULL
},
36332 { (char *)"DisplaySizeMM", (PyCFunction
)_wrap_DisplaySizeMM
, METH_NOARGS
, NULL
},
36333 { (char *)"GetDisplaySizeMM", (PyCFunction
)_wrap_GetDisplaySizeMM
, METH_NOARGS
, NULL
},
36334 { (char *)"ClientDisplayRect", (PyCFunction
)_wrap_ClientDisplayRect
, METH_NOARGS
, NULL
},
36335 { (char *)"GetClientDisplayRect", (PyCFunction
)_wrap_GetClientDisplayRect
, METH_NOARGS
, NULL
},
36336 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36337 { (char *)"GetXDisplay", (PyCFunction
)_wrap_GetXDisplay
, METH_NOARGS
, NULL
},
36338 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36339 { (char *)"GetMousePosition", (PyCFunction
)_wrap_GetMousePosition
, METH_NOARGS
, NULL
},
36340 { (char *)"FindWindowAtPointer", (PyCFunction
)_wrap_FindWindowAtPointer
, METH_NOARGS
, NULL
},
36341 { (char *)"GetActiveWindow", (PyCFunction
)_wrap_GetActiveWindow
, METH_NOARGS
, NULL
},
36342 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36343 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36344 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36345 { (char *)"LaunchDefaultBrowser", (PyCFunction
) _wrap_LaunchDefaultBrowser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36346 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36347 { (char *)"new_MouseState", (PyCFunction
)_wrap_new_MouseState
, METH_NOARGS
, NULL
},
36348 { (char *)"delete_MouseState", (PyCFunction
)_wrap_delete_MouseState
, METH_O
, NULL
},
36349 { (char *)"MouseState_GetX", (PyCFunction
)_wrap_MouseState_GetX
, METH_O
, NULL
},
36350 { (char *)"MouseState_GetY", (PyCFunction
)_wrap_MouseState_GetY
, METH_O
, NULL
},
36351 { (char *)"MouseState_LeftDown", (PyCFunction
)_wrap_MouseState_LeftDown
, METH_O
, NULL
},
36352 { (char *)"MouseState_MiddleDown", (PyCFunction
)_wrap_MouseState_MiddleDown
, METH_O
, NULL
},
36353 { (char *)"MouseState_RightDown", (PyCFunction
)_wrap_MouseState_RightDown
, METH_O
, NULL
},
36354 { (char *)"MouseState_ControlDown", (PyCFunction
)_wrap_MouseState_ControlDown
, METH_O
, NULL
},
36355 { (char *)"MouseState_ShiftDown", (PyCFunction
)_wrap_MouseState_ShiftDown
, METH_O
, NULL
},
36356 { (char *)"MouseState_AltDown", (PyCFunction
)_wrap_MouseState_AltDown
, METH_O
, NULL
},
36357 { (char *)"MouseState_MetaDown", (PyCFunction
)_wrap_MouseState_MetaDown
, METH_O
, NULL
},
36358 { (char *)"MouseState_CmdDown", (PyCFunction
)_wrap_MouseState_CmdDown
, METH_O
, NULL
},
36359 { (char *)"MouseState_SetX", (PyCFunction
) _wrap_MouseState_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36360 { (char *)"MouseState_SetY", (PyCFunction
) _wrap_MouseState_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36361 { (char *)"MouseState_SetLeftDown", (PyCFunction
) _wrap_MouseState_SetLeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36362 { (char *)"MouseState_SetMiddleDown", (PyCFunction
) _wrap_MouseState_SetMiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36363 { (char *)"MouseState_SetRightDown", (PyCFunction
) _wrap_MouseState_SetRightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36364 { (char *)"MouseState_SetControlDown", (PyCFunction
) _wrap_MouseState_SetControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36365 { (char *)"MouseState_SetShiftDown", (PyCFunction
) _wrap_MouseState_SetShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36366 { (char *)"MouseState_SetAltDown", (PyCFunction
) _wrap_MouseState_SetAltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36367 { (char *)"MouseState_SetMetaDown", (PyCFunction
) _wrap_MouseState_SetMetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36368 { (char *)"MouseState_swigregister", MouseState_swigregister
, METH_VARARGS
, NULL
},
36369 { (char *)"MouseState_swiginit", MouseState_swiginit
, METH_VARARGS
, NULL
},
36370 { (char *)"GetMouseState", (PyCFunction
)_wrap_GetMouseState
, METH_NOARGS
, NULL
},
36371 { (char *)"WakeUpMainThread", (PyCFunction
)_wrap_WakeUpMainThread
, METH_NOARGS
, NULL
},
36372 { (char *)"MutexGuiEnter", (PyCFunction
)_wrap_MutexGuiEnter
, METH_NOARGS
, NULL
},
36373 { (char *)"MutexGuiLeave", (PyCFunction
)_wrap_MutexGuiLeave
, METH_NOARGS
, NULL
},
36374 { (char *)"new_MutexGuiLocker", (PyCFunction
)_wrap_new_MutexGuiLocker
, METH_NOARGS
, NULL
},
36375 { (char *)"delete_MutexGuiLocker", (PyCFunction
)_wrap_delete_MutexGuiLocker
, METH_O
, NULL
},
36376 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
36377 { (char *)"MutexGuiLocker_swiginit", MutexGuiLocker_swiginit
, METH_VARARGS
, NULL
},
36378 { (char *)"Thread_IsMain", (PyCFunction
)_wrap_Thread_IsMain
, METH_NOARGS
, NULL
},
36379 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36380 { (char *)"delete_ToolTip", (PyCFunction
)_wrap_delete_ToolTip
, METH_O
, NULL
},
36381 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36382 { (char *)"ToolTip_GetTip", (PyCFunction
)_wrap_ToolTip_GetTip
, METH_O
, NULL
},
36383 { (char *)"ToolTip_GetWindow", (PyCFunction
)_wrap_ToolTip_GetWindow
, METH_O
, NULL
},
36384 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36385 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36386 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
36387 { (char *)"ToolTip_swiginit", ToolTip_swiginit
, METH_VARARGS
, NULL
},
36388 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36389 { (char *)"delete_Caret", (PyCFunction
)_wrap_delete_Caret
, METH_O
, NULL
},
36390 { (char *)"Caret_Destroy", (PyCFunction
)_wrap_Caret_Destroy
, METH_O
, NULL
},
36391 { (char *)"Caret_IsOk", (PyCFunction
)_wrap_Caret_IsOk
, METH_O
, NULL
},
36392 { (char *)"Caret_IsVisible", (PyCFunction
)_wrap_Caret_IsVisible
, METH_O
, NULL
},
36393 { (char *)"Caret_GetPosition", (PyCFunction
)_wrap_Caret_GetPosition
, METH_O
, NULL
},
36394 { (char *)"Caret_GetPositionTuple", (PyCFunction
)_wrap_Caret_GetPositionTuple
, METH_O
, NULL
},
36395 { (char *)"Caret_GetSize", (PyCFunction
)_wrap_Caret_GetSize
, METH_O
, NULL
},
36396 { (char *)"Caret_GetSizeTuple", (PyCFunction
)_wrap_Caret_GetSizeTuple
, METH_O
, NULL
},
36397 { (char *)"Caret_GetWindow", (PyCFunction
)_wrap_Caret_GetWindow
, METH_O
, NULL
},
36398 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36399 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36400 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36401 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36402 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36403 { (char *)"Caret_Hide", (PyCFunction
)_wrap_Caret_Hide
, METH_O
, NULL
},
36404 { (char *)"Caret_GetBlinkTime", (PyCFunction
)_wrap_Caret_GetBlinkTime
, METH_NOARGS
, NULL
},
36405 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36406 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
36407 { (char *)"Caret_swiginit", Caret_swiginit
, METH_VARARGS
, NULL
},
36408 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36409 { (char *)"delete_BusyCursor", (PyCFunction
)_wrap_delete_BusyCursor
, METH_O
, NULL
},
36410 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
36411 { (char *)"BusyCursor_swiginit", BusyCursor_swiginit
, METH_VARARGS
, NULL
},
36412 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36413 { (char *)"delete_WindowDisabler", (PyCFunction
)_wrap_delete_WindowDisabler
, METH_O
, NULL
},
36414 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
36415 { (char *)"WindowDisabler_swiginit", WindowDisabler_swiginit
, METH_VARARGS
, NULL
},
36416 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36417 { (char *)"delete_BusyInfo", (PyCFunction
)_wrap_delete_BusyInfo
, METH_O
, NULL
},
36418 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
36419 { (char *)"BusyInfo_swiginit", BusyInfo_swiginit
, METH_VARARGS
, NULL
},
36420 { (char *)"new_StopWatch", (PyCFunction
)_wrap_new_StopWatch
, METH_NOARGS
, NULL
},
36421 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36422 { (char *)"StopWatch_Pause", (PyCFunction
)_wrap_StopWatch_Pause
, METH_O
, NULL
},
36423 { (char *)"StopWatch_Resume", (PyCFunction
)_wrap_StopWatch_Resume
, METH_O
, NULL
},
36424 { (char *)"StopWatch_Time", (PyCFunction
)_wrap_StopWatch_Time
, METH_O
, NULL
},
36425 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
36426 { (char *)"StopWatch_swiginit", StopWatch_swiginit
, METH_VARARGS
, NULL
},
36427 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36428 { (char *)"delete_FileHistory", (PyCFunction
)_wrap_delete_FileHistory
, METH_O
, NULL
},
36429 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36430 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36431 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
)_wrap_FileHistory_GetMaxFiles
, METH_O
, NULL
},
36432 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36433 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36434 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36435 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36436 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
)_wrap_FileHistory_AddFilesToMenu
, METH_O
, NULL
},
36437 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36438 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36439 { (char *)"FileHistory_GetCount", (PyCFunction
)_wrap_FileHistory_GetCount
, METH_O
, NULL
},
36440 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
36441 { (char *)"FileHistory_swiginit", FileHistory_swiginit
, METH_VARARGS
, NULL
},
36442 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36443 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
)_wrap_new_PreSingleInstanceChecker
, METH_NOARGS
, NULL
},
36444 { (char *)"delete_SingleInstanceChecker", (PyCFunction
)_wrap_delete_SingleInstanceChecker
, METH_O
, NULL
},
36445 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36446 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
)_wrap_SingleInstanceChecker_IsAnotherRunning
, METH_O
, NULL
},
36447 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
36448 { (char *)"SingleInstanceChecker_swiginit", SingleInstanceChecker_swiginit
, METH_VARARGS
, NULL
},
36449 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36450 { (char *)"delete_TipProvider", (PyCFunction
)_wrap_delete_TipProvider
, METH_O
, NULL
},
36451 { (char *)"TipProvider_GetTip", (PyCFunction
)_wrap_TipProvider_GetTip
, METH_O
, NULL
},
36452 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
)_wrap_TipProvider_GetCurrentTip
, METH_O
, NULL
},
36453 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36454 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
36455 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36456 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36457 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
36458 { (char *)"PyTipProvider_swiginit", PyTipProvider_swiginit
, METH_VARARGS
, NULL
},
36459 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36460 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36461 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36462 { (char *)"delete_Timer", (PyCFunction
)_wrap_delete_Timer
, METH_O
, NULL
},
36463 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36464 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36465 { (char *)"Timer_GetOwner", (PyCFunction
)_wrap_Timer_GetOwner
, METH_O
, NULL
},
36466 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36467 { (char *)"Timer_Stop", (PyCFunction
)_wrap_Timer_Stop
, METH_O
, NULL
},
36468 { (char *)"Timer_Notify", (PyCFunction
)_wrap_Timer_Notify
, METH_O
, NULL
},
36469 { (char *)"Timer_IsRunning", (PyCFunction
)_wrap_Timer_IsRunning
, METH_O
, NULL
},
36470 { (char *)"Timer_GetInterval", (PyCFunction
)_wrap_Timer_GetInterval
, METH_O
, NULL
},
36471 { (char *)"Timer_GetId", (PyCFunction
)_wrap_Timer_GetId
, METH_O
, NULL
},
36472 { (char *)"Timer_IsOneShot", (PyCFunction
)_wrap_Timer_IsOneShot
, METH_O
, NULL
},
36473 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
36474 { (char *)"Timer_swiginit", Timer_swiginit
, METH_VARARGS
, NULL
},
36475 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36476 { (char *)"TimerEvent_GetInterval", (PyCFunction
)_wrap_TimerEvent_GetInterval
, METH_O
, NULL
},
36477 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
36478 { (char *)"TimerEvent_swiginit", TimerEvent_swiginit
, METH_VARARGS
, NULL
},
36479 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
36480 { (char *)"delete_TimerRunner", (PyCFunction
)_wrap_delete_TimerRunner
, METH_O
, NULL
},
36481 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36482 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
36483 { (char *)"TimerRunner_swiginit", TimerRunner_swiginit
, METH_VARARGS
, NULL
},
36484 { (char *)"new_Log", (PyCFunction
)_wrap_new_Log
, METH_NOARGS
, NULL
},
36485 { (char *)"delete_Log", (PyCFunction
)_wrap_delete_Log
, METH_O
, NULL
},
36486 { (char *)"Log_IsEnabled", (PyCFunction
)_wrap_Log_IsEnabled
, METH_NOARGS
, NULL
},
36487 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36488 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36489 { (char *)"Log_Flush", (PyCFunction
)_wrap_Log_Flush
, METH_O
, NULL
},
36490 { (char *)"Log_FlushActive", (PyCFunction
)_wrap_Log_FlushActive
, METH_NOARGS
, NULL
},
36491 { (char *)"Log_GetActiveTarget", (PyCFunction
)_wrap_Log_GetActiveTarget
, METH_NOARGS
, NULL
},
36492 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36493 { (char *)"Log_Suspend", (PyCFunction
)_wrap_Log_Suspend
, METH_NOARGS
, NULL
},
36494 { (char *)"Log_Resume", (PyCFunction
)_wrap_Log_Resume
, METH_NOARGS
, NULL
},
36495 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36496 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36497 { (char *)"Log_DontCreateOnDemand", (PyCFunction
)_wrap_Log_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36498 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36499 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36500 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36501 { (char *)"Log_ClearTraceMasks", (PyCFunction
)_wrap_Log_ClearTraceMasks
, METH_NOARGS
, NULL
},
36502 { (char *)"Log_GetTraceMasks", (PyCFunction
)_wrap_Log_GetTraceMasks
, METH_NOARGS
, NULL
},
36503 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36504 { (char *)"Log_GetVerbose", (PyCFunction
)_wrap_Log_GetVerbose
, METH_NOARGS
, NULL
},
36505 { (char *)"Log_GetTraceMask", (PyCFunction
)_wrap_Log_GetTraceMask
, METH_NOARGS
, NULL
},
36506 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36507 { (char *)"Log_GetLogLevel", (PyCFunction
)_wrap_Log_GetLogLevel
, METH_NOARGS
, NULL
},
36508 { (char *)"Log_GetTimestamp", (PyCFunction
)_wrap_Log_GetTimestamp
, METH_NOARGS
, NULL
},
36509 { (char *)"Log_TimeStamp", (PyCFunction
)_wrap_Log_TimeStamp
, METH_NOARGS
, NULL
},
36510 { (char *)"Log_Destroy", (PyCFunction
)_wrap_Log_Destroy
, METH_O
, NULL
},
36511 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
36512 { (char *)"Log_swiginit", Log_swiginit
, METH_VARARGS
, NULL
},
36513 { (char *)"new_LogStderr", (PyCFunction
)_wrap_new_LogStderr
, METH_NOARGS
, NULL
},
36514 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
36515 { (char *)"LogStderr_swiginit", LogStderr_swiginit
, METH_VARARGS
, NULL
},
36516 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36517 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
36518 { (char *)"LogTextCtrl_swiginit", LogTextCtrl_swiginit
, METH_VARARGS
, NULL
},
36519 { (char *)"new_LogGui", (PyCFunction
)_wrap_new_LogGui
, METH_NOARGS
, NULL
},
36520 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
36521 { (char *)"LogGui_swiginit", LogGui_swiginit
, METH_VARARGS
, NULL
},
36522 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36523 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36524 { (char *)"LogWindow_GetFrame", (PyCFunction
)_wrap_LogWindow_GetFrame
, METH_O
, NULL
},
36525 { (char *)"LogWindow_GetOldLog", (PyCFunction
)_wrap_LogWindow_GetOldLog
, METH_O
, NULL
},
36526 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
)_wrap_LogWindow_IsPassingMessages
, METH_O
, NULL
},
36527 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36528 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
36529 { (char *)"LogWindow_swiginit", LogWindow_swiginit
, METH_VARARGS
, NULL
},
36530 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36531 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36532 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36533 { (char *)"LogChain_IsPassingMessages", (PyCFunction
)_wrap_LogChain_IsPassingMessages
, METH_O
, NULL
},
36534 { (char *)"LogChain_GetOldLog", (PyCFunction
)_wrap_LogChain_GetOldLog
, METH_O
, NULL
},
36535 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
36536 { (char *)"LogChain_swiginit", LogChain_swiginit
, METH_VARARGS
, NULL
},
36537 { (char *)"new_LogBuffer", (PyCFunction
)_wrap_new_LogBuffer
, METH_NOARGS
, NULL
},
36538 { (char *)"LogBuffer_GetBuffer", (PyCFunction
)_wrap_LogBuffer_GetBuffer
, METH_O
, NULL
},
36539 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister
, METH_VARARGS
, NULL
},
36540 { (char *)"LogBuffer_swiginit", LogBuffer_swiginit
, METH_VARARGS
, NULL
},
36541 { (char *)"SysErrorCode", (PyCFunction
)_wrap_SysErrorCode
, METH_NOARGS
, NULL
},
36542 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36543 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36544 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36545 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36546 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36547 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36548 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36549 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36550 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36551 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36552 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36553 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36554 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
36555 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36556 { (char *)"new_LogNull", (PyCFunction
)_wrap_new_LogNull
, METH_NOARGS
, NULL
},
36557 { (char *)"delete_LogNull", (PyCFunction
)_wrap_delete_LogNull
, METH_O
, NULL
},
36558 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
36559 { (char *)"LogNull_swiginit", LogNull_swiginit
, METH_VARARGS
, NULL
},
36560 { (char *)"new_PyLog", (PyCFunction
)_wrap_new_PyLog
, METH_NOARGS
, NULL
},
36561 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36562 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
36563 { (char *)"PyLog_swiginit", PyLog_swiginit
, METH_VARARGS
, NULL
},
36564 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36565 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36566 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36567 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36568 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36569 { (char *)"Process_OnTerminate", (PyCFunction
) _wrap_Process_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36570 { (char *)"Process_Redirect", (PyCFunction
)_wrap_Process_Redirect
, METH_O
, NULL
},
36571 { (char *)"Process_IsRedirected", (PyCFunction
)_wrap_Process_IsRedirected
, METH_O
, NULL
},
36572 { (char *)"Process_Detach", (PyCFunction
)_wrap_Process_Detach
, METH_O
, NULL
},
36573 { (char *)"Process_GetInputStream", (PyCFunction
)_wrap_Process_GetInputStream
, METH_O
, NULL
},
36574 { (char *)"Process_GetErrorStream", (PyCFunction
)_wrap_Process_GetErrorStream
, METH_O
, NULL
},
36575 { (char *)"Process_GetOutputStream", (PyCFunction
)_wrap_Process_GetOutputStream
, METH_O
, NULL
},
36576 { (char *)"Process_CloseOutput", (PyCFunction
)_wrap_Process_CloseOutput
, METH_O
, NULL
},
36577 { (char *)"Process_IsInputOpened", (PyCFunction
)_wrap_Process_IsInputOpened
, METH_O
, NULL
},
36578 { (char *)"Process_IsInputAvailable", (PyCFunction
)_wrap_Process_IsInputAvailable
, METH_O
, NULL
},
36579 { (char *)"Process_IsErrorAvailable", (PyCFunction
)_wrap_Process_IsErrorAvailable
, METH_O
, NULL
},
36580 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
36581 { (char *)"Process_swiginit", Process_swiginit
, METH_VARARGS
, NULL
},
36582 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36583 { (char *)"ProcessEvent_GetPid", (PyCFunction
)_wrap_ProcessEvent_GetPid
, METH_O
, NULL
},
36584 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
)_wrap_ProcessEvent_GetExitCode
, METH_O
, NULL
},
36585 { (char *)"ProcessEvent_m_pid_set", _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
, NULL
},
36586 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
)_wrap_ProcessEvent_m_pid_get
, METH_O
, NULL
},
36587 { (char *)"ProcessEvent_m_exitcode_set", _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
, NULL
},
36588 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
)_wrap_ProcessEvent_m_exitcode_get
, METH_O
, NULL
},
36589 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
36590 { (char *)"ProcessEvent_swiginit", ProcessEvent_swiginit
, METH_VARARGS
, NULL
},
36591 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36592 { (char *)"Kill", (PyCFunction
) _wrap_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36593 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36594 { (char *)"delete_Joystick", (PyCFunction
)_wrap_delete_Joystick
, METH_O
, NULL
},
36595 { (char *)"Joystick_GetPosition", (PyCFunction
)_wrap_Joystick_GetPosition
, METH_O
, NULL
},
36596 { (char *)"Joystick_GetZPosition", (PyCFunction
)_wrap_Joystick_GetZPosition
, METH_O
, NULL
},
36597 { (char *)"Joystick_GetButtonState", (PyCFunction
)_wrap_Joystick_GetButtonState
, METH_O
, NULL
},
36598 { (char *)"Joystick_GetPOVPosition", (PyCFunction
)_wrap_Joystick_GetPOVPosition
, METH_O
, NULL
},
36599 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
)_wrap_Joystick_GetPOVCTSPosition
, METH_O
, NULL
},
36600 { (char *)"Joystick_GetRudderPosition", (PyCFunction
)_wrap_Joystick_GetRudderPosition
, METH_O
, NULL
},
36601 { (char *)"Joystick_GetUPosition", (PyCFunction
)_wrap_Joystick_GetUPosition
, METH_O
, NULL
},
36602 { (char *)"Joystick_GetVPosition", (PyCFunction
)_wrap_Joystick_GetVPosition
, METH_O
, NULL
},
36603 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
)_wrap_Joystick_GetMovementThreshold
, METH_O
, NULL
},
36604 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36605 { (char *)"Joystick_IsOk", (PyCFunction
)_wrap_Joystick_IsOk
, METH_O
, NULL
},
36606 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
)_wrap_Joystick_GetNumberJoysticks
, METH_O
, NULL
},
36607 { (char *)"Joystick_GetManufacturerId", (PyCFunction
)_wrap_Joystick_GetManufacturerId
, METH_O
, NULL
},
36608 { (char *)"Joystick_GetProductId", (PyCFunction
)_wrap_Joystick_GetProductId
, METH_O
, NULL
},
36609 { (char *)"Joystick_GetProductName", (PyCFunction
)_wrap_Joystick_GetProductName
, METH_O
, NULL
},
36610 { (char *)"Joystick_GetXMin", (PyCFunction
)_wrap_Joystick_GetXMin
, METH_O
, NULL
},
36611 { (char *)"Joystick_GetYMin", (PyCFunction
)_wrap_Joystick_GetYMin
, METH_O
, NULL
},
36612 { (char *)"Joystick_GetZMin", (PyCFunction
)_wrap_Joystick_GetZMin
, METH_O
, NULL
},
36613 { (char *)"Joystick_GetXMax", (PyCFunction
)_wrap_Joystick_GetXMax
, METH_O
, NULL
},
36614 { (char *)"Joystick_GetYMax", (PyCFunction
)_wrap_Joystick_GetYMax
, METH_O
, NULL
},
36615 { (char *)"Joystick_GetZMax", (PyCFunction
)_wrap_Joystick_GetZMax
, METH_O
, NULL
},
36616 { (char *)"Joystick_GetNumberButtons", (PyCFunction
)_wrap_Joystick_GetNumberButtons
, METH_O
, NULL
},
36617 { (char *)"Joystick_GetNumberAxes", (PyCFunction
)_wrap_Joystick_GetNumberAxes
, METH_O
, NULL
},
36618 { (char *)"Joystick_GetMaxButtons", (PyCFunction
)_wrap_Joystick_GetMaxButtons
, METH_O
, NULL
},
36619 { (char *)"Joystick_GetMaxAxes", (PyCFunction
)_wrap_Joystick_GetMaxAxes
, METH_O
, NULL
},
36620 { (char *)"Joystick_GetPollingMin", (PyCFunction
)_wrap_Joystick_GetPollingMin
, METH_O
, NULL
},
36621 { (char *)"Joystick_GetPollingMax", (PyCFunction
)_wrap_Joystick_GetPollingMax
, METH_O
, NULL
},
36622 { (char *)"Joystick_GetRudderMin", (PyCFunction
)_wrap_Joystick_GetRudderMin
, METH_O
, NULL
},
36623 { (char *)"Joystick_GetRudderMax", (PyCFunction
)_wrap_Joystick_GetRudderMax
, METH_O
, NULL
},
36624 { (char *)"Joystick_GetUMin", (PyCFunction
)_wrap_Joystick_GetUMin
, METH_O
, NULL
},
36625 { (char *)"Joystick_GetUMax", (PyCFunction
)_wrap_Joystick_GetUMax
, METH_O
, NULL
},
36626 { (char *)"Joystick_GetVMin", (PyCFunction
)_wrap_Joystick_GetVMin
, METH_O
, NULL
},
36627 { (char *)"Joystick_GetVMax", (PyCFunction
)_wrap_Joystick_GetVMax
, METH_O
, NULL
},
36628 { (char *)"Joystick_HasRudder", (PyCFunction
)_wrap_Joystick_HasRudder
, METH_O
, NULL
},
36629 { (char *)"Joystick_HasZ", (PyCFunction
)_wrap_Joystick_HasZ
, METH_O
, NULL
},
36630 { (char *)"Joystick_HasU", (PyCFunction
)_wrap_Joystick_HasU
, METH_O
, NULL
},
36631 { (char *)"Joystick_HasV", (PyCFunction
)_wrap_Joystick_HasV
, METH_O
, NULL
},
36632 { (char *)"Joystick_HasPOV", (PyCFunction
)_wrap_Joystick_HasPOV
, METH_O
, NULL
},
36633 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
)_wrap_Joystick_HasPOV4Dir
, METH_O
, NULL
},
36634 { (char *)"Joystick_HasPOVCTS", (PyCFunction
)_wrap_Joystick_HasPOVCTS
, METH_O
, NULL
},
36635 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36636 { (char *)"Joystick_ReleaseCapture", (PyCFunction
)_wrap_Joystick_ReleaseCapture
, METH_O
, NULL
},
36637 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
36638 { (char *)"Joystick_swiginit", Joystick_swiginit
, METH_VARARGS
, NULL
},
36639 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36640 { (char *)"JoystickEvent_GetPosition", (PyCFunction
)_wrap_JoystickEvent_GetPosition
, METH_O
, NULL
},
36641 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
)_wrap_JoystickEvent_GetZPosition
, METH_O
, NULL
},
36642 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
)_wrap_JoystickEvent_GetButtonState
, METH_O
, NULL
},
36643 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
)_wrap_JoystickEvent_GetButtonChange
, METH_O
, NULL
},
36644 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
)_wrap_JoystickEvent_GetJoystick
, METH_O
, NULL
},
36645 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36646 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36647 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36648 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36649 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36650 { (char *)"JoystickEvent_IsButton", (PyCFunction
)_wrap_JoystickEvent_IsButton
, METH_O
, NULL
},
36651 { (char *)"JoystickEvent_IsMove", (PyCFunction
)_wrap_JoystickEvent_IsMove
, METH_O
, NULL
},
36652 { (char *)"JoystickEvent_IsZMove", (PyCFunction
)_wrap_JoystickEvent_IsZMove
, METH_O
, NULL
},
36653 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36654 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36655 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36656 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
36657 { (char *)"JoystickEvent_swiginit", JoystickEvent_swiginit
, METH_VARARGS
, NULL
},
36658 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36659 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36660 { (char *)"delete_Sound", (PyCFunction
)_wrap_delete_Sound
, METH_O
, NULL
},
36661 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36662 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36663 { (char *)"Sound_IsOk", (PyCFunction
)_wrap_Sound_IsOk
, METH_O
, NULL
},
36664 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36665 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36666 { (char *)"Sound_Stop", (PyCFunction
)_wrap_Sound_Stop
, METH_NOARGS
, NULL
},
36667 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
36668 { (char *)"Sound_swiginit", Sound_swiginit
, METH_VARARGS
, NULL
},
36669 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36670 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36671 { (char *)"new_NullFileTypeInfo", (PyCFunction
)_wrap_new_NullFileTypeInfo
, METH_NOARGS
, NULL
},
36672 { (char *)"FileTypeInfo_IsValid", (PyCFunction
)_wrap_FileTypeInfo_IsValid
, METH_O
, NULL
},
36673 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36674 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36675 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
)_wrap_FileTypeInfo_GetMimeType
, METH_O
, NULL
},
36676 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
)_wrap_FileTypeInfo_GetOpenCommand
, METH_O
, NULL
},
36677 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
)_wrap_FileTypeInfo_GetPrintCommand
, METH_O
, NULL
},
36678 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
)_wrap_FileTypeInfo_GetShortDesc
, METH_O
, NULL
},
36679 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
)_wrap_FileTypeInfo_GetDescription
, METH_O
, NULL
},
36680 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
)_wrap_FileTypeInfo_GetExtensions
, METH_O
, NULL
},
36681 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
)_wrap_FileTypeInfo_GetExtensionsCount
, METH_O
, NULL
},
36682 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
)_wrap_FileTypeInfo_GetIconFile
, METH_O
, NULL
},
36683 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
)_wrap_FileTypeInfo_GetIconIndex
, METH_O
, NULL
},
36684 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
36685 { (char *)"FileTypeInfo_swiginit", FileTypeInfo_swiginit
, METH_VARARGS
, NULL
},
36686 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36687 { (char *)"delete_FileType", (PyCFunction
)_wrap_delete_FileType
, METH_O
, NULL
},
36688 { (char *)"FileType_GetMimeType", (PyCFunction
)_wrap_FileType_GetMimeType
, METH_O
, NULL
},
36689 { (char *)"FileType_GetMimeTypes", (PyCFunction
)_wrap_FileType_GetMimeTypes
, METH_O
, NULL
},
36690 { (char *)"FileType_GetExtensions", (PyCFunction
)_wrap_FileType_GetExtensions
, METH_O
, NULL
},
36691 { (char *)"FileType_GetIcon", (PyCFunction
)_wrap_FileType_GetIcon
, METH_O
, NULL
},
36692 { (char *)"FileType_GetIconInfo", (PyCFunction
)_wrap_FileType_GetIconInfo
, METH_O
, NULL
},
36693 { (char *)"FileType_GetDescription", (PyCFunction
)_wrap_FileType_GetDescription
, METH_O
, NULL
},
36694 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36695 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36696 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36697 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36698 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36699 { (char *)"FileType_Unassociate", (PyCFunction
)_wrap_FileType_Unassociate
, METH_O
, NULL
},
36700 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36701 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
36702 { (char *)"FileType_swiginit", FileType_swiginit
, METH_VARARGS
, NULL
},
36703 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36704 { (char *)"new_MimeTypesManager", (PyCFunction
)_wrap_new_MimeTypesManager
, METH_NOARGS
, NULL
},
36705 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36706 { (char *)"MimeTypesManager_ClearData", (PyCFunction
)_wrap_MimeTypesManager_ClearData
, METH_O
, NULL
},
36707 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36708 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36709 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36710 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36711 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
)_wrap_MimeTypesManager_EnumAllFileTypes
, METH_O
, NULL
},
36712 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36713 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36714 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36715 { (char *)"delete_MimeTypesManager", (PyCFunction
)_wrap_delete_MimeTypesManager
, METH_O
, NULL
},
36716 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
36717 { (char *)"MimeTypesManager_swiginit", MimeTypesManager_swiginit
, METH_VARARGS
, NULL
},
36718 { (char *)"new_ArtProvider", (PyCFunction
)_wrap_new_ArtProvider
, METH_NOARGS
, NULL
},
36719 { (char *)"delete_ArtProvider", (PyCFunction
)_wrap_delete_ArtProvider
, METH_O
, NULL
},
36720 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36721 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36722 { (char *)"ArtProvider_PopProvider", (PyCFunction
)_wrap_ArtProvider_PopProvider
, METH_NOARGS
, NULL
},
36723 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36724 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36725 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36726 { (char *)"ArtProvider_GetSizeHint", (PyCFunction
) _wrap_ArtProvider_GetSizeHint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36727 { (char *)"ArtProvider_Destroy", (PyCFunction
)_wrap_ArtProvider_Destroy
, METH_O
, NULL
},
36728 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
36729 { (char *)"ArtProvider_swiginit", ArtProvider_swiginit
, METH_VARARGS
, NULL
},
36730 { (char *)"delete_ConfigBase", (PyCFunction
)_wrap_delete_ConfigBase
, METH_O
, NULL
},
36731 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36732 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36733 { (char *)"ConfigBase_Create", (PyCFunction
)_wrap_ConfigBase_Create
, METH_NOARGS
, NULL
},
36734 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
)_wrap_ConfigBase_DontCreateOnDemand
, METH_NOARGS
, NULL
},
36735 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36736 { (char *)"ConfigBase_GetPath", (PyCFunction
)_wrap_ConfigBase_GetPath
, METH_O
, NULL
},
36737 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
)_wrap_ConfigBase_GetFirstGroup
, METH_O
, NULL
},
36738 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36739 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
)_wrap_ConfigBase_GetFirstEntry
, METH_O
, NULL
},
36740 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36741 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36742 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36743 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36744 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36745 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36746 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36747 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36748 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36749 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36750 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36751 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36752 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36753 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36754 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36755 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36756 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36757 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36758 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36759 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36760 { (char *)"ConfigBase_DeleteAll", (PyCFunction
)_wrap_ConfigBase_DeleteAll
, METH_O
, NULL
},
36761 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36762 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
)_wrap_ConfigBase_IsExpandingEnvVars
, METH_O
, NULL
},
36763 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36764 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
)_wrap_ConfigBase_IsRecordingDefaults
, METH_O
, NULL
},
36765 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36766 { (char *)"ConfigBase_GetAppName", (PyCFunction
)_wrap_ConfigBase_GetAppName
, METH_O
, NULL
},
36767 { (char *)"ConfigBase_GetVendorName", (PyCFunction
)_wrap_ConfigBase_GetVendorName
, METH_O
, NULL
},
36768 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36769 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36770 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36771 { (char *)"ConfigBase_GetStyle", (PyCFunction
)_wrap_ConfigBase_GetStyle
, METH_O
, NULL
},
36772 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
36773 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36774 { (char *)"delete_Config", (PyCFunction
)_wrap_delete_Config
, METH_O
, NULL
},
36775 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
36776 { (char *)"Config_swiginit", Config_swiginit
, METH_VARARGS
, NULL
},
36777 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36778 { (char *)"delete_FileConfig", (PyCFunction
)_wrap_delete_FileConfig
, METH_O
, NULL
},
36779 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
36780 { (char *)"FileConfig_swiginit", FileConfig_swiginit
, METH_VARARGS
, NULL
},
36781 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36782 { (char *)"delete_ConfigPathChanger", (PyCFunction
)_wrap_delete_ConfigPathChanger
, METH_O
, NULL
},
36783 { (char *)"ConfigPathChanger_Name", (PyCFunction
)_wrap_ConfigPathChanger_Name
, METH_O
, NULL
},
36784 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
36785 { (char *)"ConfigPathChanger_swiginit", ConfigPathChanger_swiginit
, METH_VARARGS
, NULL
},
36786 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36787 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36788 { (char *)"DateTime_GetCountry", (PyCFunction
)_wrap_DateTime_GetCountry
, METH_NOARGS
, NULL
},
36789 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36790 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36791 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36792 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36793 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36794 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36795 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36796 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36797 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36798 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36799 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
)_wrap_DateTime_GetAmPmStrings
, METH_NOARGS
, NULL
},
36800 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36801 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36802 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36803 { (char *)"DateTime_Now", (PyCFunction
)_wrap_DateTime_Now
, METH_NOARGS
, NULL
},
36804 { (char *)"DateTime_UNow", (PyCFunction
)_wrap_DateTime_UNow
, METH_NOARGS
, NULL
},
36805 { (char *)"DateTime_Today", (PyCFunction
)_wrap_DateTime_Today
, METH_NOARGS
, NULL
},
36806 { (char *)"new_DateTime", (PyCFunction
)_wrap_new_DateTime
, METH_NOARGS
, NULL
},
36807 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36808 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36809 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36810 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36811 { (char *)"new_DateTimeFromDateTime", (PyCFunction
) _wrap_new_DateTimeFromDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36812 { (char *)"delete_DateTime", (PyCFunction
)_wrap_delete_DateTime
, METH_O
, NULL
},
36813 { (char *)"DateTime_SetToCurrent", (PyCFunction
)_wrap_DateTime_SetToCurrent
, METH_O
, NULL
},
36814 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36815 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36816 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36817 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36818 { (char *)"DateTime_ResetTime", (PyCFunction
)_wrap_DateTime_ResetTime
, METH_O
, NULL
},
36819 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36820 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36821 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36822 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36823 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36824 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36825 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36826 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36827 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36828 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36829 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36830 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36831 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36832 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36833 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36834 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36835 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36836 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36837 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36838 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36839 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36840 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36841 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36842 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetJulianDayNumber
, METH_O
, NULL
},
36843 { (char *)"DateTime_GetJDN", (PyCFunction
)_wrap_DateTime_GetJDN
, METH_O
, NULL
},
36844 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
)_wrap_DateTime_GetModifiedJulianDayNumber
, METH_O
, NULL
},
36845 { (char *)"DateTime_GetMJD", (PyCFunction
)_wrap_DateTime_GetMJD
, METH_O
, NULL
},
36846 { (char *)"DateTime_GetRataDie", (PyCFunction
)_wrap_DateTime_GetRataDie
, METH_O
, NULL
},
36847 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36848 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36849 { (char *)"DateTime_FromTimezone", (PyCFunction
) _wrap_DateTime_FromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36850 { (char *)"DateTime_MakeFromTimezone", (PyCFunction
) _wrap_DateTime_MakeFromTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36851 { (char *)"DateTime_ToUTC", (PyCFunction
) _wrap_DateTime_ToUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36852 { (char *)"DateTime_MakeUTC", (PyCFunction
) _wrap_DateTime_MakeUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36853 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36854 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36855 { (char *)"DateTime_FromUTC", (PyCFunction
) _wrap_DateTime_FromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36856 { (char *)"DateTime_MakeFromUTC", (PyCFunction
) _wrap_DateTime_MakeFromUTC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36857 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36858 { (char *)"DateTime_IsValid", (PyCFunction
)_wrap_DateTime_IsValid
, METH_O
, NULL
},
36859 { (char *)"DateTime_GetTicks", (PyCFunction
)_wrap_DateTime_GetTicks
, METH_O
, NULL
},
36860 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36861 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36862 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36863 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36864 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36865 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36866 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36867 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36868 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36869 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36870 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36871 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36872 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36873 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36874 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36875 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36876 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36877 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36878 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36879 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36880 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36881 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36882 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36883 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36884 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36885 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
36886 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
36887 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
36888 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
36889 { (char *)"DateTime___lt__", (PyCFunction
) _wrap_DateTime___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36890 { (char *)"DateTime___le__", (PyCFunction
) _wrap_DateTime___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36891 { (char *)"DateTime___gt__", (PyCFunction
) _wrap_DateTime___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36892 { (char *)"DateTime___ge__", (PyCFunction
) _wrap_DateTime___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36893 { (char *)"DateTime___eq__", (PyCFunction
) _wrap_DateTime___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36894 { (char *)"DateTime___ne__", (PyCFunction
) _wrap_DateTime___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36895 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36896 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36897 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36898 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36899 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36900 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36901 { (char *)"DateTime_FormatDate", (PyCFunction
)_wrap_DateTime_FormatDate
, METH_O
, NULL
},
36902 { (char *)"DateTime_FormatTime", (PyCFunction
)_wrap_DateTime_FormatTime
, METH_O
, NULL
},
36903 { (char *)"DateTime_FormatISODate", (PyCFunction
)_wrap_DateTime_FormatISODate
, METH_O
, NULL
},
36904 { (char *)"DateTime_FormatISOTime", (PyCFunction
)_wrap_DateTime_FormatISOTime
, METH_O
, NULL
},
36905 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
36906 { (char *)"DateTime_swiginit", DateTime_swiginit
, METH_VARARGS
, NULL
},
36907 { (char *)"TimeSpan_Milliseconds", (PyCFunction
) _wrap_TimeSpan_Milliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36908 { (char *)"TimeSpan_Millisecond", (PyCFunction
)_wrap_TimeSpan_Millisecond
, METH_NOARGS
, NULL
},
36909 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36910 { (char *)"TimeSpan_Second", (PyCFunction
)_wrap_TimeSpan_Second
, METH_NOARGS
, NULL
},
36911 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36912 { (char *)"TimeSpan_Minute", (PyCFunction
)_wrap_TimeSpan_Minute
, METH_NOARGS
, NULL
},
36913 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36914 { (char *)"TimeSpan_Hour", (PyCFunction
)_wrap_TimeSpan_Hour
, METH_NOARGS
, NULL
},
36915 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36916 { (char *)"TimeSpan_Day", (PyCFunction
)_wrap_TimeSpan_Day
, METH_NOARGS
, NULL
},
36917 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36918 { (char *)"TimeSpan_Week", (PyCFunction
)_wrap_TimeSpan_Week
, METH_NOARGS
, NULL
},
36919 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36920 { (char *)"delete_TimeSpan", (PyCFunction
)_wrap_delete_TimeSpan
, METH_O
, NULL
},
36921 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36922 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36923 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36924 { (char *)"TimeSpan_Neg", (PyCFunction
)_wrap_TimeSpan_Neg
, METH_O
, NULL
},
36925 { (char *)"TimeSpan_Abs", (PyCFunction
)_wrap_TimeSpan_Abs
, METH_O
, NULL
},
36926 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36927 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36928 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36929 { (char *)"TimeSpan___neg__", (PyCFunction
)_wrap_TimeSpan___neg__
, METH_O
, NULL
},
36930 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36931 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36932 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36933 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36934 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36935 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36936 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36937 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36938 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36939 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36940 { (char *)"TimeSpan_IsNull", (PyCFunction
)_wrap_TimeSpan_IsNull
, METH_O
, NULL
},
36941 { (char *)"TimeSpan_IsPositive", (PyCFunction
)_wrap_TimeSpan_IsPositive
, METH_O
, NULL
},
36942 { (char *)"TimeSpan_IsNegative", (PyCFunction
)_wrap_TimeSpan_IsNegative
, METH_O
, NULL
},
36943 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36944 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36945 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36946 { (char *)"TimeSpan_GetWeeks", (PyCFunction
)_wrap_TimeSpan_GetWeeks
, METH_O
, NULL
},
36947 { (char *)"TimeSpan_GetDays", (PyCFunction
)_wrap_TimeSpan_GetDays
, METH_O
, NULL
},
36948 { (char *)"TimeSpan_GetHours", (PyCFunction
)_wrap_TimeSpan_GetHours
, METH_O
, NULL
},
36949 { (char *)"TimeSpan_GetMinutes", (PyCFunction
)_wrap_TimeSpan_GetMinutes
, METH_O
, NULL
},
36950 { (char *)"TimeSpan_GetSeconds", (PyCFunction
)_wrap_TimeSpan_GetSeconds
, METH_O
, NULL
},
36951 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
)_wrap_TimeSpan_GetMilliseconds
, METH_O
, NULL
},
36952 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36953 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
36954 { (char *)"TimeSpan_swiginit", TimeSpan_swiginit
, METH_VARARGS
, NULL
},
36955 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36956 { (char *)"delete_DateSpan", (PyCFunction
)_wrap_delete_DateSpan
, METH_O
, NULL
},
36957 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36958 { (char *)"DateSpan_Day", (PyCFunction
)_wrap_DateSpan_Day
, METH_NOARGS
, NULL
},
36959 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36960 { (char *)"DateSpan_Week", (PyCFunction
)_wrap_DateSpan_Week
, METH_NOARGS
, NULL
},
36961 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36962 { (char *)"DateSpan_Month", (PyCFunction
)_wrap_DateSpan_Month
, METH_NOARGS
, NULL
},
36963 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36964 { (char *)"DateSpan_Year", (PyCFunction
)_wrap_DateSpan_Year
, METH_NOARGS
, NULL
},
36965 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36966 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36967 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36968 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36969 { (char *)"DateSpan_GetYears", (PyCFunction
)_wrap_DateSpan_GetYears
, METH_O
, NULL
},
36970 { (char *)"DateSpan_GetMonths", (PyCFunction
)_wrap_DateSpan_GetMonths
, METH_O
, NULL
},
36971 { (char *)"DateSpan_GetWeeks", (PyCFunction
)_wrap_DateSpan_GetWeeks
, METH_O
, NULL
},
36972 { (char *)"DateSpan_GetDays", (PyCFunction
)_wrap_DateSpan_GetDays
, METH_O
, NULL
},
36973 { (char *)"DateSpan_GetTotalDays", (PyCFunction
)_wrap_DateSpan_GetTotalDays
, METH_O
, NULL
},
36974 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36975 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36976 { (char *)"DateSpan_Neg", (PyCFunction
)_wrap_DateSpan_Neg
, METH_O
, NULL
},
36977 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36978 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36979 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36980 { (char *)"DateSpan___neg__", (PyCFunction
)_wrap_DateSpan___neg__
, METH_O
, NULL
},
36981 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36982 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36983 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36984 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36985 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36986 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36987 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36988 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
36989 { (char *)"DateSpan_swiginit", DateSpan_swiginit
, METH_VARARGS
, NULL
},
36990 { (char *)"GetLocalTime", (PyCFunction
)_wrap_GetLocalTime
, METH_NOARGS
, NULL
},
36991 { (char *)"GetUTCTime", (PyCFunction
)_wrap_GetUTCTime
, METH_NOARGS
, NULL
},
36992 { (char *)"GetCurrentTime", (PyCFunction
)_wrap_GetCurrentTime
, METH_NOARGS
, NULL
},
36993 { (char *)"GetLocalTimeMillis", (PyCFunction
)_wrap_GetLocalTimeMillis
, METH_NOARGS
, NULL
},
36994 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36995 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
36996 { (char *)"delete_DataFormat", (PyCFunction
)_wrap_delete_DataFormat
, METH_O
, NULL
},
36997 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
36998 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
36999 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37000 { (char *)"DataFormat_GetType", (PyCFunction
)_wrap_DataFormat_GetType
, METH_O
, NULL
},
37001 { (char *)"DataFormat_GetId", (PyCFunction
)_wrap_DataFormat_GetId
, METH_O
, NULL
},
37002 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37003 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
37004 { (char *)"DataFormat_swiginit", DataFormat_swiginit
, METH_VARARGS
, NULL
},
37005 { (char *)"delete_DataObject", (PyCFunction
)_wrap_delete_DataObject
, METH_O
, NULL
},
37006 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37007 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37008 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37009 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37010 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37011 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37012 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37013 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
37014 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37015 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
)_wrap_DataObjectSimple_GetFormat
, METH_O
, NULL
},
37016 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37017 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
)_wrap_DataObjectSimple_GetDataSize
, METH_O
, NULL
},
37018 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
)_wrap_DataObjectSimple_GetDataHere
, METH_O
, NULL
},
37019 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37020 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37021 { (char *)"DataObjectSimple_swiginit", DataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37022 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37023 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37024 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
37025 { (char *)"PyDataObjectSimple_swiginit", PyDataObjectSimple_swiginit
, METH_VARARGS
, NULL
},
37026 { (char *)"new_DataObjectComposite", (PyCFunction
)_wrap_new_DataObjectComposite
, METH_NOARGS
, NULL
},
37027 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37028 { (char *)"DataObjectComposite_GetReceivedFormat", (PyCFunction
)_wrap_DataObjectComposite_GetReceivedFormat
, METH_O
, NULL
},
37029 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
37030 { (char *)"DataObjectComposite_swiginit", DataObjectComposite_swiginit
, METH_VARARGS
, NULL
},
37031 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37032 { (char *)"TextDataObject_GetTextLength", (PyCFunction
)_wrap_TextDataObject_GetTextLength
, METH_O
, NULL
},
37033 { (char *)"TextDataObject_GetText", (PyCFunction
)_wrap_TextDataObject_GetText
, METH_O
, NULL
},
37034 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37035 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
37036 { (char *)"TextDataObject_swiginit", TextDataObject_swiginit
, METH_VARARGS
, NULL
},
37037 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37038 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37039 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
37040 { (char *)"PyTextDataObject_swiginit", PyTextDataObject_swiginit
, METH_VARARGS
, NULL
},
37041 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37042 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
)_wrap_BitmapDataObject_GetBitmap
, METH_O
, NULL
},
37043 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37044 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37045 { (char *)"BitmapDataObject_swiginit", BitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37046 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37047 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37048 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
37049 { (char *)"PyBitmapDataObject_swiginit", PyBitmapDataObject_swiginit
, METH_VARARGS
, NULL
},
37050 { (char *)"new_FileDataObject", (PyCFunction
)_wrap_new_FileDataObject
, METH_NOARGS
, NULL
},
37051 { (char *)"FileDataObject_GetFilenames", (PyCFunction
)_wrap_FileDataObject_GetFilenames
, METH_O
, NULL
},
37052 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37053 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
37054 { (char *)"FileDataObject_swiginit", FileDataObject_swiginit
, METH_VARARGS
, NULL
},
37055 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject
, METH_VARARGS
, NULL
},
37056 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37057 { (char *)"CustomDataObject_GetSize", (PyCFunction
)_wrap_CustomDataObject_GetSize
, METH_O
, NULL
},
37058 { (char *)"CustomDataObject_GetData", (PyCFunction
)_wrap_CustomDataObject_GetData
, METH_O
, NULL
},
37059 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
37060 { (char *)"CustomDataObject_swiginit", CustomDataObject_swiginit
, METH_VARARGS
, NULL
},
37061 { (char *)"new_URLDataObject", (PyCFunction
)_wrap_new_URLDataObject
, METH_NOARGS
, NULL
},
37062 { (char *)"URLDataObject_GetURL", (PyCFunction
)_wrap_URLDataObject_GetURL
, METH_O
, NULL
},
37063 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37064 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
37065 { (char *)"URLDataObject_swiginit", URLDataObject_swiginit
, METH_VARARGS
, NULL
},
37066 { (char *)"new_MetafileDataObject", (PyCFunction
)_wrap_new_MetafileDataObject
, METH_NOARGS
, NULL
},
37067 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37068 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
)_wrap_MetafileDataObject_GetMetafile
, METH_O
, NULL
},
37069 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
37070 { (char *)"MetafileDataObject_swiginit", MetafileDataObject_swiginit
, METH_VARARGS
, NULL
},
37071 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37072 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37073 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37074 { (char *)"delete_DropSource", (PyCFunction
)_wrap_delete_DropSource
, METH_O
, NULL
},
37075 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37076 { (char *)"DropSource_GetDataObject", (PyCFunction
)_wrap_DropSource_GetDataObject
, METH_O
, NULL
},
37077 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37078 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37079 { (char *)"DropSource_GiveFeedback", (PyCFunction
) _wrap_DropSource_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37080 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
37081 { (char *)"DropSource_swiginit", DropSource_swiginit
, METH_VARARGS
, NULL
},
37082 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37083 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37084 { (char *)"delete_DropTarget", (PyCFunction
)_wrap_delete_DropTarget
, METH_O
, NULL
},
37085 { (char *)"DropTarget_GetDataObject", (PyCFunction
)_wrap_DropTarget_GetDataObject
, METH_O
, NULL
},
37086 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37087 { (char *)"DropTarget_OnEnter", (PyCFunction
) _wrap_DropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37088 { (char *)"DropTarget_OnDragOver", (PyCFunction
) _wrap_DropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37089 { (char *)"DropTarget_OnLeave", (PyCFunction
)_wrap_DropTarget_OnLeave
, METH_O
, NULL
},
37090 { (char *)"DropTarget_OnDrop", (PyCFunction
) _wrap_DropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37091 { (char *)"DropTarget_GetData", (PyCFunction
)_wrap_DropTarget_GetData
, METH_O
, NULL
},
37092 { (char *)"DropTarget_SetDefaultAction", (PyCFunction
) _wrap_DropTarget_SetDefaultAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37093 { (char *)"DropTarget_GetDefaultAction", (PyCFunction
)_wrap_DropTarget_GetDefaultAction
, METH_O
, NULL
},
37094 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
37095 { (char *)"DropTarget_swiginit", DropTarget_swiginit
, METH_VARARGS
, NULL
},
37096 { (char *)"new_TextDropTarget", (PyCFunction
)_wrap_new_TextDropTarget
, METH_NOARGS
, NULL
},
37097 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37098 { (char *)"TextDropTarget_OnDropText", (PyCFunction
) _wrap_TextDropTarget_OnDropText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37099 { (char *)"TextDropTarget_OnEnter", (PyCFunction
) _wrap_TextDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37100 { (char *)"TextDropTarget_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37101 { (char *)"TextDropTarget_OnLeave", (PyCFunction
)_wrap_TextDropTarget_OnLeave
, METH_O
, NULL
},
37102 { (char *)"TextDropTarget_OnDrop", (PyCFunction
) _wrap_TextDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37103 { (char *)"TextDropTarget_OnData", (PyCFunction
) _wrap_TextDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37104 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
37105 { (char *)"TextDropTarget_swiginit", TextDropTarget_swiginit
, METH_VARARGS
, NULL
},
37106 { (char *)"new_FileDropTarget", (PyCFunction
)_wrap_new_FileDropTarget
, METH_NOARGS
, NULL
},
37107 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37108 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction
) _wrap_FileDropTarget_OnDropFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37109 { (char *)"FileDropTarget_OnEnter", (PyCFunction
) _wrap_FileDropTarget_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37110 { (char *)"FileDropTarget_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37111 { (char *)"FileDropTarget_OnLeave", (PyCFunction
)_wrap_FileDropTarget_OnLeave
, METH_O
, NULL
},
37112 { (char *)"FileDropTarget_OnDrop", (PyCFunction
) _wrap_FileDropTarget_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37113 { (char *)"FileDropTarget_OnData", (PyCFunction
) _wrap_FileDropTarget_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37114 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
37115 { (char *)"FileDropTarget_swiginit", FileDropTarget_swiginit
, METH_VARARGS
, NULL
},
37116 { (char *)"new_Clipboard", (PyCFunction
)_wrap_new_Clipboard
, METH_NOARGS
, NULL
},
37117 { (char *)"delete_Clipboard", (PyCFunction
)_wrap_delete_Clipboard
, METH_O
, NULL
},
37118 { (char *)"Clipboard_Open", (PyCFunction
)_wrap_Clipboard_Open
, METH_O
, NULL
},
37119 { (char *)"Clipboard_Close", (PyCFunction
)_wrap_Clipboard_Close
, METH_O
, NULL
},
37120 { (char *)"Clipboard_IsOpened", (PyCFunction
)_wrap_Clipboard_IsOpened
, METH_O
, NULL
},
37121 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37122 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37123 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37124 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37125 { (char *)"Clipboard_Clear", (PyCFunction
)_wrap_Clipboard_Clear
, METH_O
, NULL
},
37126 { (char *)"Clipboard_Flush", (PyCFunction
)_wrap_Clipboard_Flush
, METH_O
, NULL
},
37127 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37128 { (char *)"Clipboard_Get", (PyCFunction
)_wrap_Clipboard_Get
, METH_NOARGS
, NULL
},
37129 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
37130 { (char *)"Clipboard_swiginit", Clipboard_swiginit
, METH_VARARGS
, NULL
},
37131 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37132 { (char *)"delete_ClipboardLocker", (PyCFunction
)_wrap_delete_ClipboardLocker
, METH_O
, NULL
},
37133 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
)_wrap_ClipboardLocker___nonzero__
, METH_O
, NULL
},
37134 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
37135 { (char *)"ClipboardLocker_swiginit", ClipboardLocker_swiginit
, METH_VARARGS
, NULL
},
37136 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37137 { (char *)"delete_VideoMode", (PyCFunction
)_wrap_delete_VideoMode
, METH_O
, NULL
},
37138 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37139 { (char *)"VideoMode_GetWidth", (PyCFunction
)_wrap_VideoMode_GetWidth
, METH_O
, NULL
},
37140 { (char *)"VideoMode_GetHeight", (PyCFunction
)_wrap_VideoMode_GetHeight
, METH_O
, NULL
},
37141 { (char *)"VideoMode_GetDepth", (PyCFunction
)_wrap_VideoMode_GetDepth
, METH_O
, NULL
},
37142 { (char *)"VideoMode_IsOk", (PyCFunction
)_wrap_VideoMode_IsOk
, METH_O
, NULL
},
37143 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37144 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37145 { (char *)"VideoMode_w_set", _wrap_VideoMode_w_set
, METH_VARARGS
, NULL
},
37146 { (char *)"VideoMode_w_get", (PyCFunction
)_wrap_VideoMode_w_get
, METH_O
, NULL
},
37147 { (char *)"VideoMode_h_set", _wrap_VideoMode_h_set
, METH_VARARGS
, NULL
},
37148 { (char *)"VideoMode_h_get", (PyCFunction
)_wrap_VideoMode_h_get
, METH_O
, NULL
},
37149 { (char *)"VideoMode_bpp_set", _wrap_VideoMode_bpp_set
, METH_VARARGS
, NULL
},
37150 { (char *)"VideoMode_bpp_get", (PyCFunction
)_wrap_VideoMode_bpp_get
, METH_O
, NULL
},
37151 { (char *)"VideoMode_refresh_set", _wrap_VideoMode_refresh_set
, METH_VARARGS
, NULL
},
37152 { (char *)"VideoMode_refresh_get", (PyCFunction
)_wrap_VideoMode_refresh_get
, METH_O
, NULL
},
37153 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
37154 { (char *)"VideoMode_swiginit", VideoMode_swiginit
, METH_VARARGS
, NULL
},
37155 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37156 { (char *)"delete_Display", (PyCFunction
)_wrap_delete_Display
, METH_O
, NULL
},
37157 { (char *)"Display_GetCount", (PyCFunction
)_wrap_Display_GetCount
, METH_NOARGS
, NULL
},
37158 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37159 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37160 { (char *)"Display_IsOk", (PyCFunction
)_wrap_Display_IsOk
, METH_O
, NULL
},
37161 { (char *)"Display_GetGeometry", (PyCFunction
)_wrap_Display_GetGeometry
, METH_O
, NULL
},
37162 { (char *)"Display_GetClientArea", (PyCFunction
)_wrap_Display_GetClientArea
, METH_O
, NULL
},
37163 { (char *)"Display_GetName", (PyCFunction
)_wrap_Display_GetName
, METH_O
, NULL
},
37164 { (char *)"Display_IsPrimary", (PyCFunction
)_wrap_Display_IsPrimary
, METH_O
, NULL
},
37165 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37166 { (char *)"Display_GetCurrentMode", (PyCFunction
)_wrap_Display_GetCurrentMode
, METH_O
, NULL
},
37167 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37168 { (char *)"Display_ResetMode", (PyCFunction
)_wrap_Display_ResetMode
, METH_O
, NULL
},
37169 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
37170 { (char *)"Display_swiginit", Display_swiginit
, METH_VARARGS
, NULL
},
37171 { (char *)"StandardPaths_Get", (PyCFunction
)_wrap_StandardPaths_Get
, METH_NOARGS
, NULL
},
37172 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
)_wrap_StandardPaths_GetConfigDir
, METH_O
, NULL
},
37173 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
)_wrap_StandardPaths_GetUserConfigDir
, METH_O
, NULL
},
37174 { (char *)"StandardPaths_GetDataDir", (PyCFunction
)_wrap_StandardPaths_GetDataDir
, METH_O
, NULL
},
37175 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetLocalDataDir
, METH_O
, NULL
},
37176 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserDataDir
, METH_O
, NULL
},
37177 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
)_wrap_StandardPaths_GetUserLocalDataDir
, METH_O
, NULL
},
37178 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
)_wrap_StandardPaths_GetPluginsDir
, METH_O
, NULL
},
37179 { (char *)"StandardPaths_GetResourcesDir", (PyCFunction
)_wrap_StandardPaths_GetResourcesDir
, METH_O
, NULL
},
37180 { (char *)"StandardPaths_GetLocalizedResourcesDir", (PyCFunction
) _wrap_StandardPaths_GetLocalizedResourcesDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37181 { (char *)"StandardPaths_GetDocumentsDir", (PyCFunction
)_wrap_StandardPaths_GetDocumentsDir
, METH_O
, NULL
},
37182 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37183 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
)_wrap_StandardPaths_GetInstallPrefix
, METH_O
, NULL
},
37184 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
37185 { (char *)"new_PowerEvent", (PyCFunction
) _wrap_new_PowerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
37186 { (char *)"PowerEvent_Veto", (PyCFunction
)_wrap_PowerEvent_Veto
, METH_O
, NULL
},
37187 { (char *)"PowerEvent_IsVetoed", (PyCFunction
)_wrap_PowerEvent_IsVetoed
, METH_O
, NULL
},
37188 { (char *)"PowerEvent_swigregister", PowerEvent_swigregister
, METH_VARARGS
, NULL
},
37189 { (char *)"PowerEvent_swiginit", PowerEvent_swiginit
, METH_VARARGS
, NULL
},
37190 { (char *)"GetPowerType", (PyCFunction
)_wrap_GetPowerType
, METH_NOARGS
, NULL
},
37191 { (char *)"GetBatteryState", (PyCFunction
)_wrap_GetBatteryState
, METH_NOARGS
, NULL
},
37192 { NULL
, NULL
, 0, NULL
}
37196 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37198 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37201 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37202 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37204 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37205 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37207 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37208 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37210 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37211 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37213 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37214 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37216 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
37217 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
37219 static void *_p_wxPowerEventTo_p_wxEvent(void *x
) {
37220 return (void *)((wxEvent
*) ((wxPowerEvent
*) x
));
37222 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37223 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37225 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37226 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37228 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37231 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37232 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37234 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
37235 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
37237 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37238 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37240 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37243 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37244 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37246 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37247 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37249 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37250 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37252 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37253 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37255 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37256 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37258 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37259 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37261 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
37262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
37264 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
37265 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37267 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37268 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37270 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37271 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37273 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37276 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37277 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37279 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37280 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37282 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37283 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37285 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37286 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37288 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37289 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37291 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37292 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37294 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37295 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37297 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
37298 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
37300 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37301 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37303 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37304 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37306 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37307 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37309 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37312 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37313 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37315 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37316 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37318 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37319 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37321 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
37322 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
37324 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
37325 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
37327 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
37328 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37330 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
37331 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37333 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
37334 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
37336 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
37337 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37339 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
37340 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
37342 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
37343 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37345 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
37346 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37348 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
37349 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37351 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
37352 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37354 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
37355 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37357 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
37358 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37360 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
37361 return (void *)((wxDataObject
*) ((wxURLDataObject
*) x
));
37363 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
37364 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37366 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
37367 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
37369 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37370 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
37372 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
37373 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
37375 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37376 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
37378 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
37379 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
37381 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37382 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
37384 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
37385 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
37387 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
37388 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
37390 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37391 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37393 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37394 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37396 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37399 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37400 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37402 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
37403 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
37405 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37406 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37408 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37409 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37411 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37412 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37414 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37415 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37417 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
37418 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
37420 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
37421 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
37423 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37424 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37426 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37427 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37429 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37430 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37432 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37433 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37435 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37436 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37438 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37439 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37441 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37442 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37444 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37445 return (void *)((wxObject
*) ((wxSizer
*) x
));
37447 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37448 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37450 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
37451 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
37453 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37456 static void *_p_wxEventTo_p_wxObject(void *x
) {
37457 return (void *)((wxObject
*) ((wxEvent
*) x
));
37459 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37460 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37462 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37463 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37465 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37466 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37468 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
37469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
37471 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37472 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37474 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37475 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37477 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37478 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37480 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37481 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37483 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37484 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37486 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37487 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37489 static void *_p_wxControlTo_p_wxObject(void *x
) {
37490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37492 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37493 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37495 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
37496 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
37498 static void *_p_wxPowerEventTo_p_wxObject(void *x
) {
37499 return (void *)((wxObject
*) (wxEvent
*) ((wxPowerEvent
*) x
));
37501 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37502 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37504 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
37505 return (void *)((wxObject
*) ((wxClipboard
*) x
));
37507 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37508 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37510 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37511 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37513 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37516 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37517 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37519 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
37520 return (void *)((wxObject
*) ((wxToolTip
*) x
));
37522 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37523 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37525 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
37526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
37528 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37529 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37531 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37534 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37535 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37537 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37538 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37540 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37541 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37543 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37544 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37546 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37547 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37549 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37550 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37552 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37553 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37555 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37556 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37558 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37559 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37561 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37562 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37564 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37567 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37568 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37570 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37571 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37573 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37574 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37576 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37579 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
37580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
37582 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37583 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37585 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37588 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37591 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37592 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37594 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
37595 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
37597 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37598 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37600 static void *_p_wxImageTo_p_wxObject(void *x
) {
37601 return (void *)((wxObject
*) ((wxImage
*) x
));
37603 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37604 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37606 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
37607 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
37609 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
37610 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
37612 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37615 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37616 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37618 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37619 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37621 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37624 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37625 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37627 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37630 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
37631 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
37633 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37634 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37636 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37639 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37640 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37642 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37643 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37645 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37646 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37648 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37649 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37651 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37652 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37654 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
37655 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
37657 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37660 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37661 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37663 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37664 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37666 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37667 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37669 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37672 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
37673 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
37675 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37678 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37681 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37682 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37684 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
37685 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
37687 static void *_p_wxLogBufferTo_p_wxLog(void *x
) {
37688 return (void *)((wxLog
*) ((wxLogBuffer
*) x
));
37690 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
37691 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
37693 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
37694 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
37696 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
37697 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
37699 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
37700 return (void *)((wxLog
*) ((wxLogChain
*) x
));
37702 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
37703 return (void *)((wxLog
*) ((wxLogGui
*) x
));
37705 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
37706 return (void *)((wxLog
*) ((wxPyLog
*) x
));
37708 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37709 return (void *)((wxWindow
*) ((wxControl
*) x
));
37711 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37712 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37714 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37715 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37717 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
37718 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
37720 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
37721 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
37723 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
37724 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};
37725 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
37726 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
37727 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
37728 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, (void*)0, 0};
37729 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
37730 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
37731 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
37732 static swig_type_info _swigt__p_wxBitmapDataObject
= {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, (void*)0, 0};
37733 static swig_type_info _swigt__p_wxBusyCursor
= {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, (void*)0, 0};
37734 static swig_type_info _swigt__p_wxBusyInfo
= {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, (void*)0, 0};
37735 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
37736 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
37737 static swig_type_info _swigt__p_wxClipboard
= {"_p_wxClipboard", "wxClipboard *", 0, 0, (void*)0, 0};
37738 static swig_type_info _swigt__p_wxClipboardLocker
= {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, (void*)0, 0};
37739 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
37740 static swig_type_info _swigt__p_wxConfig
= {"_p_wxConfig", "wxConfig *", 0, 0, (void*)0, 0};
37741 static swig_type_info _swigt__p_wxConfigBase
= {"_p_wxConfigBase", "wxConfigBase *", 0, 0, (void*)0, 0};
37742 static swig_type_info _swigt__p_wxConfigPathChanger
= {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, (void*)0, 0};
37743 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
37744 static swig_type_info _swigt__p_wxCustomDataObject
= {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, (void*)0, 0};
37745 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
37746 static swig_type_info _swigt__p_wxDataFormat
= {"_p_wxDataFormat", "wxDataFormat *", 0, 0, (void*)0, 0};
37747 static swig_type_info _swigt__p_wxDataObject
= {"_p_wxDataObject", "wxDataObject *", 0, 0, (void*)0, 0};
37748 static swig_type_info _swigt__p_wxDataObjectComposite
= {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, (void*)0, 0};
37749 static swig_type_info _swigt__p_wxDataObjectSimple
= {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, (void*)0, 0};
37750 static swig_type_info _swigt__p_wxDateSpan
= {"_p_wxDateSpan", "wxDateSpan *", 0, 0, (void*)0, 0};
37751 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
37752 static swig_type_info _swigt__p_wxDateTime__TimeZone
= {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, (void*)0, 0};
37753 static swig_type_info _swigt__p_wxDisplay
= {"_p_wxDisplay", "wxDisplay *", 0, 0, (void*)0, 0};
37754 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
37755 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
37756 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
37757 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
37758 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
37759 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
37760 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
37761 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
37762 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
37763 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
37764 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
37765 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
37766 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
37767 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
37768 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
37769 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
37770 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
37771 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
37772 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
37773 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
37774 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
37775 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
37776 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
37777 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
37778 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
37779 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
37780 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
37781 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
37782 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
37783 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
37784 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
37785 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
37786 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
37787 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
37788 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
37789 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
37790 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
37791 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
37792 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
37793 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
37794 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
37795 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
37796 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
37797 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
37798 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
37799 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
37800 static swig_type_info _swigt__p_wxFileConfig
= {"_p_wxFileConfig", "wxFileConfig *", 0, 0, (void*)0, 0};
37801 static swig_type_info _swigt__p_wxFileDataObject
= {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, (void*)0, 0};
37802 static swig_type_info _swigt__p_wxFileHistory
= {"_p_wxFileHistory", "wxFileHistory *", 0, 0, (void*)0, 0};
37803 static swig_type_info _swigt__p_wxFileType
= {"_p_wxFileType", "wxFileType *", 0, 0, (void*)0, 0};
37804 static swig_type_info _swigt__p_wxFileTypeInfo
= {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, (void*)0, 0};
37805 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
37806 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
37807 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
37808 static swig_type_info _swigt__p_wxJoystick
= {"_p_wxJoystick", "wxJoystick *", 0, 0, (void*)0, 0};
37809 static swig_type_info _swigt__p_wxJoystickEvent
= {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, (void*)0, 0};
37810 static swig_type_info _swigt__p_wxKillError
= {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, (void*)0, 0};
37811 static swig_type_info _swigt__p_wxLog
= {"_p_wxLog", "wxLog *", 0, 0, (void*)0, 0};
37812 static swig_type_info _swigt__p_wxLogBuffer
= {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, (void*)0, 0};
37813 static swig_type_info _swigt__p_wxLogChain
= {"_p_wxLogChain", "wxLogChain *", 0, 0, (void*)0, 0};
37814 static swig_type_info _swigt__p_wxLogGui
= {"_p_wxLogGui", "wxLogGui *", 0, 0, (void*)0, 0};
37815 static swig_type_info _swigt__p_wxLogNull
= {"_p_wxLogNull", "wxLogNull *", 0, 0, (void*)0, 0};
37816 static swig_type_info _swigt__p_wxLogStderr
= {"_p_wxLogStderr", "wxLogStderr *", 0, 0, (void*)0, 0};
37817 static swig_type_info _swigt__p_wxLogTextCtrl
= {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, (void*)0, 0};
37818 static swig_type_info _swigt__p_wxLogWindow
= {"_p_wxLogWindow", "wxLogWindow *", 0, 0, (void*)0, 0};
37819 static swig_type_info _swigt__p_wxMemorySize
= {"_p_wxMemorySize", "wxMemorySize *", 0, 0, (void*)0, 0};
37820 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
37821 static swig_type_info _swigt__p_wxMetafile
= {"_p_wxMetafile", "wxMetafile *", 0, 0, (void*)0, 0};
37822 static swig_type_info _swigt__p_wxMetafileDataObject
= {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, (void*)0, 0};
37823 static swig_type_info _swigt__p_wxMimeTypesManager
= {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, (void*)0, 0};
37824 static swig_type_info _swigt__p_wxMouseState
= {"_p_wxMouseState", "wxMouseState *", 0, 0, (void*)0, 0};
37825 static swig_type_info _swigt__p_wxMutexGuiLocker
= {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, (void*)0, 0};
37826 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
37827 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
37828 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
37829 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
37830 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
37831 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
37832 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
37833 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
37834 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
37835 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
37836 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
37837 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
37838 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
37839 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
37840 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
37841 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
37842 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
37843 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
37844 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
37845 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
37846 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
37847 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
37848 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
37849 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
37850 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
37851 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
37852 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
37853 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
37854 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
37855 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
37856 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
37857 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
37858 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
37859 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
37860 static swig_type_info _swigt__p_wxPowerEvent
= {"_p_wxPowerEvent", "wxPowerEvent *", 0, 0, (void*)0, 0};
37861 static swig_type_info _swigt__p_wxProcessEvent
= {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, (void*)0, 0};
37862 static swig_type_info _swigt__p_wxPyArtProvider
= {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, (void*)0, 0};
37863 static swig_type_info _swigt__p_wxPyBitmapDataObject
= {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, (void*)0, 0};
37864 static swig_type_info _swigt__p_wxPyDataObjectSimple
= {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, (void*)0, 0};
37865 static swig_type_info _swigt__p_wxPyDropSource
= {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, (void*)0, 0};
37866 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
37867 static swig_type_info _swigt__p_wxPyFileDropTarget
= {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, (void*)0, 0};
37868 static swig_type_info _swigt__p_wxPyLog
= {"_p_wxPyLog", "wxPyLog *", 0, 0, (void*)0, 0};
37869 static swig_type_info _swigt__p_wxPyProcess
= {"_p_wxPyProcess", "wxPyProcess *", 0, 0, (void*)0, 0};
37870 static swig_type_info _swigt__p_wxPyTextDataObject
= {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, (void*)0, 0};
37871 static swig_type_info _swigt__p_wxPyTextDropTarget
= {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, (void*)0, 0};
37872 static swig_type_info _swigt__p_wxPyTimer
= {"_p_wxPyTimer", "wxPyTimer *", 0, 0, (void*)0, 0};
37873 static swig_type_info _swigt__p_wxPyTipProvider
= {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, (void*)0, 0};
37874 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
37875 static swig_type_info _swigt__p_wxSingleInstanceChecker
= {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, (void*)0, 0};
37876 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
37877 static swig_type_info _swigt__p_wxSound
= {"_p_wxSound", "wxSound *", 0, 0, (void*)0, 0};
37878 static swig_type_info _swigt__p_wxStandardPaths
= {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, (void*)0, 0};
37879 static swig_type_info _swigt__p_wxStopWatch
= {"_p_wxStopWatch", "wxStopWatch *", 0, 0, (void*)0, 0};
37880 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
37881 static swig_type_info _swigt__p_wxSystemOptions
= {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, (void*)0, 0};
37882 static swig_type_info _swigt__p_wxSystemSettings
= {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, (void*)0, 0};
37883 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
37884 static swig_type_info _swigt__p_wxTextDataObject
= {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, (void*)0, 0};
37885 static swig_type_info _swigt__p_wxTimeSpan
= {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, (void*)0, 0};
37886 static swig_type_info _swigt__p_wxTimer
= {"_p_wxTimer", "wxTimer *", 0, 0, (void*)0, 0};
37887 static swig_type_info _swigt__p_wxTimerEvent
= {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, (void*)0, 0};
37888 static swig_type_info _swigt__p_wxTimerRunner
= {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, (void*)0, 0};
37889 static swig_type_info _swigt__p_wxTipProvider
= {"_p_wxTipProvider", "wxTipProvider *", 0, 0, (void*)0, 0};
37890 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
37891 static swig_type_info _swigt__p_wxURLDataObject
= {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, (void*)0, 0};
37892 static swig_type_info _swigt__p_wxVideoMode
= {"_p_wxVideoMode", "wxVideoMode *", 0, 0, (void*)0, 0};
37893 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
37894 static swig_type_info _swigt__p_wxWindowDisabler
= {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, (void*)0, 0};
37896 static swig_type_info
*swig_type_initial
[] = {
37898 &_swigt__p_form_ops_t
,
37900 &_swigt__p_unsigned_char
,
37901 &_swigt__p_unsigned_int
,
37902 &_swigt__p_unsigned_long
,
37904 &_swigt__p_wxANIHandler
,
37905 &_swigt__p_wxAcceleratorTable
,
37906 &_swigt__p_wxActivateEvent
,
37907 &_swigt__p_wxArrayString
,
37908 &_swigt__p_wxBMPHandler
,
37909 &_swigt__p_wxBitmap
,
37910 &_swigt__p_wxBitmapDataObject
,
37911 &_swigt__p_wxBoxSizer
,
37912 &_swigt__p_wxBusyCursor
,
37913 &_swigt__p_wxBusyInfo
,
37914 &_swigt__p_wxCURHandler
,
37915 &_swigt__p_wxCaret
,
37917 &_swigt__p_wxChildFocusEvent
,
37918 &_swigt__p_wxClipboard
,
37919 &_swigt__p_wxClipboardLocker
,
37920 &_swigt__p_wxClipboardTextEvent
,
37921 &_swigt__p_wxCloseEvent
,
37922 &_swigt__p_wxColour
,
37923 &_swigt__p_wxCommandEvent
,
37924 &_swigt__p_wxConfig
,
37925 &_swigt__p_wxConfigBase
,
37926 &_swigt__p_wxConfigPathChanger
,
37927 &_swigt__p_wxContextMenuEvent
,
37928 &_swigt__p_wxControl
,
37929 &_swigt__p_wxControlWithItems
,
37930 &_swigt__p_wxCursor
,
37931 &_swigt__p_wxCustomDataObject
,
37933 &_swigt__p_wxDataFormat
,
37934 &_swigt__p_wxDataObject
,
37935 &_swigt__p_wxDataObjectComposite
,
37936 &_swigt__p_wxDataObjectSimple
,
37937 &_swigt__p_wxDateEvent
,
37938 &_swigt__p_wxDateSpan
,
37939 &_swigt__p_wxDateTime
,
37940 &_swigt__p_wxDateTime__TimeZone
,
37941 &_swigt__p_wxDisplay
,
37942 &_swigt__p_wxDisplayChangedEvent
,
37943 &_swigt__p_wxDropFilesEvent
,
37944 &_swigt__p_wxDuplexMode
,
37945 &_swigt__p_wxEraseEvent
,
37946 &_swigt__p_wxEvent
,
37947 &_swigt__p_wxEvtHandler
,
37948 &_swigt__p_wxFSFile
,
37949 &_swigt__p_wxFileConfig
,
37950 &_swigt__p_wxFileDataObject
,
37951 &_swigt__p_wxFileHistory
,
37952 &_swigt__p_wxFileSystem
,
37953 &_swigt__p_wxFileType
,
37954 &_swigt__p_wxFileTypeInfo
,
37955 &_swigt__p_wxFlexGridSizer
,
37956 &_swigt__p_wxFocusEvent
,
37958 &_swigt__p_wxFrame
,
37959 &_swigt__p_wxGBSizerItem
,
37960 &_swigt__p_wxGIFHandler
,
37961 &_swigt__p_wxGridBagSizer
,
37962 &_swigt__p_wxGridSizer
,
37963 &_swigt__p_wxICOHandler
,
37965 &_swigt__p_wxIconizeEvent
,
37966 &_swigt__p_wxIdleEvent
,
37967 &_swigt__p_wxImage
,
37968 &_swigt__p_wxImageHandler
,
37969 &_swigt__p_wxIndividualLayoutConstraint
,
37970 &_swigt__p_wxInitDialogEvent
,
37971 &_swigt__p_wxJPEGHandler
,
37972 &_swigt__p_wxJoystick
,
37973 &_swigt__p_wxJoystickEvent
,
37974 &_swigt__p_wxKeyEvent
,
37975 &_swigt__p_wxKillError
,
37976 &_swigt__p_wxLayoutConstraints
,
37978 &_swigt__p_wxLogBuffer
,
37979 &_swigt__p_wxLogChain
,
37980 &_swigt__p_wxLogGui
,
37981 &_swigt__p_wxLogNull
,
37982 &_swigt__p_wxLogStderr
,
37983 &_swigt__p_wxLogTextCtrl
,
37984 &_swigt__p_wxLogWindow
,
37985 &_swigt__p_wxMaximizeEvent
,
37986 &_swigt__p_wxMemorySize
,
37988 &_swigt__p_wxMenuBar
,
37989 &_swigt__p_wxMenuEvent
,
37990 &_swigt__p_wxMenuItem
,
37991 &_swigt__p_wxMetafile
,
37992 &_swigt__p_wxMetafileDataObject
,
37993 &_swigt__p_wxMimeTypesManager
,
37994 &_swigt__p_wxMouseCaptureChangedEvent
,
37995 &_swigt__p_wxMouseEvent
,
37996 &_swigt__p_wxMouseState
,
37997 &_swigt__p_wxMoveEvent
,
37998 &_swigt__p_wxMutexGuiLocker
,
37999 &_swigt__p_wxNavigationKeyEvent
,
38000 &_swigt__p_wxNcPaintEvent
,
38001 &_swigt__p_wxNotifyEvent
,
38002 &_swigt__p_wxObject
,
38003 &_swigt__p_wxOutputStream
,
38004 &_swigt__p_wxPCXHandler
,
38005 &_swigt__p_wxPNGHandler
,
38006 &_swigt__p_wxPNMHandler
,
38007 &_swigt__p_wxPaintEvent
,
38008 &_swigt__p_wxPaletteChangedEvent
,
38009 &_swigt__p_wxPaperSize
,
38010 &_swigt__p_wxPoint
,
38011 &_swigt__p_wxPowerEvent
,
38012 &_swigt__p_wxProcessEvent
,
38013 &_swigt__p_wxPyApp
,
38014 &_swigt__p_wxPyArtProvider
,
38015 &_swigt__p_wxPyBitmapDataObject
,
38016 &_swigt__p_wxPyCommandEvent
,
38017 &_swigt__p_wxPyDataObjectSimple
,
38018 &_swigt__p_wxPyDropSource
,
38019 &_swigt__p_wxPyDropTarget
,
38020 &_swigt__p_wxPyEvent
,
38021 &_swigt__p_wxPyFileDropTarget
,
38022 &_swigt__p_wxPyImageHandler
,
38023 &_swigt__p_wxPyLog
,
38024 &_swigt__p_wxPyProcess
,
38025 &_swigt__p_wxPySizer
,
38026 &_swigt__p_wxPyTextDataObject
,
38027 &_swigt__p_wxPyTextDropTarget
,
38028 &_swigt__p_wxPyTimer
,
38029 &_swigt__p_wxPyTipProvider
,
38030 &_swigt__p_wxPyValidator
,
38031 &_swigt__p_wxQueryNewPaletteEvent
,
38033 &_swigt__p_wxScrollEvent
,
38034 &_swigt__p_wxScrollWinEvent
,
38035 &_swigt__p_wxSetCursorEvent
,
38036 &_swigt__p_wxShowEvent
,
38037 &_swigt__p_wxSingleInstanceChecker
,
38039 &_swigt__p_wxSizeEvent
,
38040 &_swigt__p_wxSizer
,
38041 &_swigt__p_wxSizerItem
,
38042 &_swigt__p_wxSound
,
38043 &_swigt__p_wxStandardPaths
,
38044 &_swigt__p_wxStaticBoxSizer
,
38045 &_swigt__p_wxStdDialogButtonSizer
,
38046 &_swigt__p_wxStopWatch
,
38047 &_swigt__p_wxString
,
38048 &_swigt__p_wxSysColourChangedEvent
,
38049 &_swigt__p_wxSystemOptions
,
38050 &_swigt__p_wxSystemSettings
,
38051 &_swigt__p_wxTIFFHandler
,
38052 &_swigt__p_wxTextCtrl
,
38053 &_swigt__p_wxTextDataObject
,
38054 &_swigt__p_wxTimeSpan
,
38055 &_swigt__p_wxTimer
,
38056 &_swigt__p_wxTimerEvent
,
38057 &_swigt__p_wxTimerRunner
,
38058 &_swigt__p_wxTipProvider
,
38059 &_swigt__p_wxToolTip
,
38060 &_swigt__p_wxURLDataObject
,
38061 &_swigt__p_wxUpdateUIEvent
,
38062 &_swigt__p_wxValidator
,
38063 &_swigt__p_wxVideoMode
,
38064 &_swigt__p_wxWindow
,
38065 &_swigt__p_wxWindowCreateEvent
,
38066 &_swigt__p_wxWindowDestroyEvent
,
38067 &_swigt__p_wxWindowDisabler
,
38068 &_swigt__p_wxXPMHandler
,
38071 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
38072 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
38073 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
38074 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
38075 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
38076 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
38077 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
38078 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
38079 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
38080 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}};
38081 static swig_cast_info _swigc__p_wxBusyCursor
[] = { {&_swigt__p_wxBusyCursor
, 0, 0, 0},{0, 0, 0, 0}};
38082 static swig_cast_info _swigc__p_wxBusyInfo
[] = { {&_swigt__p_wxBusyInfo
, 0, 0, 0},{0, 0, 0, 0}};
38083 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
38084 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
38085 static swig_cast_info _swigc__p_wxClipboard
[] = { {&_swigt__p_wxClipboard
, 0, 0, 0},{0, 0, 0, 0}};
38086 static swig_cast_info _swigc__p_wxClipboardLocker
[] = { {&_swigt__p_wxClipboardLocker
, 0, 0, 0},{0, 0, 0, 0}};
38087 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
38088 static swig_cast_info _swigc__p_wxConfig
[] = { {&_swigt__p_wxConfig
, 0, 0, 0},{0, 0, 0, 0}};
38089 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}};
38090 static swig_cast_info _swigc__p_wxConfigPathChanger
[] = { {&_swigt__p_wxConfigPathChanger
, 0, 0, 0},{0, 0, 0, 0}};
38091 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
38092 static swig_cast_info _swigc__p_wxCustomDataObject
[] = { {&_swigt__p_wxCustomDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38093 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
38094 static swig_cast_info _swigc__p_wxDataFormat
[] = { {&_swigt__p_wxDataFormat
, 0, 0, 0},{0, 0, 0, 0}};
38095 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}};
38096 static swig_cast_info _swigc__p_wxDataObjectComposite
[] = { {&_swigt__p_wxDataObjectComposite
, 0, 0, 0},{0, 0, 0, 0}};
38097 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}};
38098 static swig_cast_info _swigc__p_wxDateSpan
[] = { {&_swigt__p_wxDateSpan
, 0, 0, 0},{0, 0, 0, 0}};
38099 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
38100 static swig_cast_info _swigc__p_wxDateTime__TimeZone
[] = { {&_swigt__p_wxDateTime__TimeZone
, 0, 0, 0},{0, 0, 0, 0}};
38101 static swig_cast_info _swigc__p_wxDisplay
[] = { {&_swigt__p_wxDisplay
, 0, 0, 0},{0, 0, 0, 0}};
38102 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
38103 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38104 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
38105 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38106 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38107 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
38108 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
38109 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
38110 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
38111 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38112 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38113 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
38114 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38115 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
38116 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38117 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38118 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38119 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
38120 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
38121 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
38122 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
38123 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38124 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
38125 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
38126 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38127 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38128 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38129 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
38130 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
38131 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38132 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
38133 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
38134 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38135 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
38136 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38137 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38138 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
38139 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
38140 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}};
38141 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
38142 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
38143 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
38144 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
38145 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
38146 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
38147 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}};
38148 static swig_cast_info _swigc__p_wxFileConfig
[] = { {&_swigt__p_wxFileConfig
, 0, 0, 0},{0, 0, 0, 0}};
38149 static swig_cast_info _swigc__p_wxFileDataObject
[] = { {&_swigt__p_wxFileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38150 static swig_cast_info _swigc__p_wxFileHistory
[] = { {&_swigt__p_wxFileHistory
, 0, 0, 0},{0, 0, 0, 0}};
38151 static swig_cast_info _swigc__p_wxFileType
[] = { {&_swigt__p_wxFileType
, 0, 0, 0},{0, 0, 0, 0}};
38152 static swig_cast_info _swigc__p_wxFileTypeInfo
[] = { {&_swigt__p_wxFileTypeInfo
, 0, 0, 0},{0, 0, 0, 0}};
38153 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
38154 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
38155 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
38156 static swig_cast_info _swigc__p_wxJoystick
[] = { {&_swigt__p_wxJoystick
, 0, 0, 0},{0, 0, 0, 0}};
38157 static swig_cast_info _swigc__p_wxJoystickEvent
[] = { {&_swigt__p_wxJoystickEvent
, 0, 0, 0},{0, 0, 0, 0}};
38158 static swig_cast_info _swigc__p_wxKillError
[] = { {&_swigt__p_wxKillError
, 0, 0, 0},{0, 0, 0, 0}};
38159 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}};
38160 static swig_cast_info _swigc__p_wxLogBuffer
[] = { {&_swigt__p_wxLogBuffer
, 0, 0, 0},{0, 0, 0, 0}};
38161 static swig_cast_info _swigc__p_wxLogChain
[] = { {&_swigt__p_wxLogChain
, 0, 0, 0},{0, 0, 0, 0}};
38162 static swig_cast_info _swigc__p_wxLogGui
[] = { {&_swigt__p_wxLogGui
, 0, 0, 0},{0, 0, 0, 0}};
38163 static swig_cast_info _swigc__p_wxLogNull
[] = { {&_swigt__p_wxLogNull
, 0, 0, 0},{0, 0, 0, 0}};
38164 static swig_cast_info _swigc__p_wxLogStderr
[] = { {&_swigt__p_wxLogStderr
, 0, 0, 0},{0, 0, 0, 0}};
38165 static swig_cast_info _swigc__p_wxLogTextCtrl
[] = { {&_swigt__p_wxLogTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38166 static swig_cast_info _swigc__p_wxLogWindow
[] = { {&_swigt__p_wxLogWindow
, 0, 0, 0},{0, 0, 0, 0}};
38167 static swig_cast_info _swigc__p_wxMemorySize
[] = { {&_swigt__p_wxMemorySize
, 0, 0, 0},{0, 0, 0, 0}};
38168 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
38169 static swig_cast_info _swigc__p_wxMetafile
[] = { {&_swigt__p_wxMetafile
, 0, 0, 0},{0, 0, 0, 0}};
38170 static swig_cast_info _swigc__p_wxMetafileDataObject
[] = { {&_swigt__p_wxMetafileDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38171 static swig_cast_info _swigc__p_wxMimeTypesManager
[] = { {&_swigt__p_wxMimeTypesManager
, 0, 0, 0},{0, 0, 0, 0}};
38172 static swig_cast_info _swigc__p_wxMouseState
[] = { {&_swigt__p_wxMouseState
, 0, 0, 0},{0, 0, 0, 0}};
38173 static swig_cast_info _swigc__p_wxMutexGuiLocker
[] = { {&_swigt__p_wxMutexGuiLocker
, 0, 0, 0},{0, 0, 0, 0}};
38174 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
38175 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38176 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
38177 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
38178 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38179 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38180 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
38181 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
38182 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38183 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
38184 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
38185 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
38186 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
38187 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38188 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
38189 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38190 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38191 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
38192 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
38193 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
38194 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
38195 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38196 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
38197 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
38198 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
38199 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
38200 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
38201 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
38202 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
38203 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
38204 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}};
38205 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
38206 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
38207 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
38208 static swig_cast_info _swigc__p_wxPowerEvent
[] = { {&_swigt__p_wxPowerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38209 static swig_cast_info _swigc__p_wxProcessEvent
[] = { {&_swigt__p_wxProcessEvent
, 0, 0, 0},{0, 0, 0, 0}};
38210 static swig_cast_info _swigc__p_wxPyArtProvider
[] = { {&_swigt__p_wxPyArtProvider
, 0, 0, 0},{0, 0, 0, 0}};
38211 static swig_cast_info _swigc__p_wxPyBitmapDataObject
[] = { {&_swigt__p_wxPyBitmapDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38212 static swig_cast_info _swigc__p_wxPyDataObjectSimple
[] = { {&_swigt__p_wxPyDataObjectSimple
, 0, 0, 0},{0, 0, 0, 0}};
38213 static swig_cast_info _swigc__p_wxPyDropSource
[] = { {&_swigt__p_wxPyDropSource
, 0, 0, 0},{0, 0, 0, 0}};
38214 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}};
38215 static swig_cast_info _swigc__p_wxPyFileDropTarget
[] = { {&_swigt__p_wxPyFileDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38216 static swig_cast_info _swigc__p_wxPyLog
[] = { {&_swigt__p_wxPyLog
, 0, 0, 0},{0, 0, 0, 0}};
38217 static swig_cast_info _swigc__p_wxPyProcess
[] = { {&_swigt__p_wxPyProcess
, 0, 0, 0},{0, 0, 0, 0}};
38218 static swig_cast_info _swigc__p_wxPyTextDataObject
[] = { {&_swigt__p_wxPyTextDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38219 static swig_cast_info _swigc__p_wxPyTextDropTarget
[] = { {&_swigt__p_wxPyTextDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
38220 static swig_cast_info _swigc__p_wxPyTimer
[] = { {&_swigt__p_wxPyTimer
, 0, 0, 0},{0, 0, 0, 0}};
38221 static swig_cast_info _swigc__p_wxPyTipProvider
[] = { {&_swigt__p_wxPyTipProvider
, 0, 0, 0},{0, 0, 0, 0}};
38222 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
38223 static swig_cast_info _swigc__p_wxSingleInstanceChecker
[] = { {&_swigt__p_wxSingleInstanceChecker
, 0, 0, 0},{0, 0, 0, 0}};
38224 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
38225 static swig_cast_info _swigc__p_wxSound
[] = { {&_swigt__p_wxSound
, 0, 0, 0},{0, 0, 0, 0}};
38226 static swig_cast_info _swigc__p_wxStandardPaths
[] = { {&_swigt__p_wxStandardPaths
, 0, 0, 0},{0, 0, 0, 0}};
38227 static swig_cast_info _swigc__p_wxStopWatch
[] = { {&_swigt__p_wxStopWatch
, 0, 0, 0},{0, 0, 0, 0}};
38228 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
38229 static swig_cast_info _swigc__p_wxSystemOptions
[] = { {&_swigt__p_wxSystemOptions
, 0, 0, 0},{0, 0, 0, 0}};
38230 static swig_cast_info _swigc__p_wxSystemSettings
[] = { {&_swigt__p_wxSystemSettings
, 0, 0, 0},{0, 0, 0, 0}};
38231 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
38232 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}};
38233 static swig_cast_info _swigc__p_wxTimeSpan
[] = { {&_swigt__p_wxTimeSpan
, 0, 0, 0},{0, 0, 0, 0}};
38234 static swig_cast_info _swigc__p_wxTimer
[] = { {&_swigt__p_wxTimer
, 0, 0, 0},{0, 0, 0, 0}};
38235 static swig_cast_info _swigc__p_wxTimerEvent
[] = { {&_swigt__p_wxTimerEvent
, 0, 0, 0},{0, 0, 0, 0}};
38236 static swig_cast_info _swigc__p_wxTimerRunner
[] = { {&_swigt__p_wxTimerRunner
, 0, 0, 0},{0, 0, 0, 0}};
38237 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}};
38238 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
38239 static swig_cast_info _swigc__p_wxURLDataObject
[] = { {&_swigt__p_wxURLDataObject
, 0, 0, 0},{0, 0, 0, 0}};
38240 static swig_cast_info _swigc__p_wxVideoMode
[] = { {&_swigt__p_wxVideoMode
, 0, 0, 0},{0, 0, 0, 0}};
38241 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}};
38242 static swig_cast_info _swigc__p_wxWindowDisabler
[] = { {&_swigt__p_wxWindowDisabler
, 0, 0, 0},{0, 0, 0, 0}};
38244 static swig_cast_info
*swig_cast_initial
[] = {
38246 _swigc__p_form_ops_t
,
38248 _swigc__p_unsigned_char
,
38249 _swigc__p_unsigned_int
,
38250 _swigc__p_unsigned_long
,
38252 _swigc__p_wxANIHandler
,
38253 _swigc__p_wxAcceleratorTable
,
38254 _swigc__p_wxActivateEvent
,
38255 _swigc__p_wxArrayString
,
38256 _swigc__p_wxBMPHandler
,
38257 _swigc__p_wxBitmap
,
38258 _swigc__p_wxBitmapDataObject
,
38259 _swigc__p_wxBoxSizer
,
38260 _swigc__p_wxBusyCursor
,
38261 _swigc__p_wxBusyInfo
,
38262 _swigc__p_wxCURHandler
,
38265 _swigc__p_wxChildFocusEvent
,
38266 _swigc__p_wxClipboard
,
38267 _swigc__p_wxClipboardLocker
,
38268 _swigc__p_wxClipboardTextEvent
,
38269 _swigc__p_wxCloseEvent
,
38270 _swigc__p_wxColour
,
38271 _swigc__p_wxCommandEvent
,
38272 _swigc__p_wxConfig
,
38273 _swigc__p_wxConfigBase
,
38274 _swigc__p_wxConfigPathChanger
,
38275 _swigc__p_wxContextMenuEvent
,
38276 _swigc__p_wxControl
,
38277 _swigc__p_wxControlWithItems
,
38278 _swigc__p_wxCursor
,
38279 _swigc__p_wxCustomDataObject
,
38281 _swigc__p_wxDataFormat
,
38282 _swigc__p_wxDataObject
,
38283 _swigc__p_wxDataObjectComposite
,
38284 _swigc__p_wxDataObjectSimple
,
38285 _swigc__p_wxDateEvent
,
38286 _swigc__p_wxDateSpan
,
38287 _swigc__p_wxDateTime
,
38288 _swigc__p_wxDateTime__TimeZone
,
38289 _swigc__p_wxDisplay
,
38290 _swigc__p_wxDisplayChangedEvent
,
38291 _swigc__p_wxDropFilesEvent
,
38292 _swigc__p_wxDuplexMode
,
38293 _swigc__p_wxEraseEvent
,
38295 _swigc__p_wxEvtHandler
,
38296 _swigc__p_wxFSFile
,
38297 _swigc__p_wxFileConfig
,
38298 _swigc__p_wxFileDataObject
,
38299 _swigc__p_wxFileHistory
,
38300 _swigc__p_wxFileSystem
,
38301 _swigc__p_wxFileType
,
38302 _swigc__p_wxFileTypeInfo
,
38303 _swigc__p_wxFlexGridSizer
,
38304 _swigc__p_wxFocusEvent
,
38307 _swigc__p_wxGBSizerItem
,
38308 _swigc__p_wxGIFHandler
,
38309 _swigc__p_wxGridBagSizer
,
38310 _swigc__p_wxGridSizer
,
38311 _swigc__p_wxICOHandler
,
38313 _swigc__p_wxIconizeEvent
,
38314 _swigc__p_wxIdleEvent
,
38316 _swigc__p_wxImageHandler
,
38317 _swigc__p_wxIndividualLayoutConstraint
,
38318 _swigc__p_wxInitDialogEvent
,
38319 _swigc__p_wxJPEGHandler
,
38320 _swigc__p_wxJoystick
,
38321 _swigc__p_wxJoystickEvent
,
38322 _swigc__p_wxKeyEvent
,
38323 _swigc__p_wxKillError
,
38324 _swigc__p_wxLayoutConstraints
,
38326 _swigc__p_wxLogBuffer
,
38327 _swigc__p_wxLogChain
,
38328 _swigc__p_wxLogGui
,
38329 _swigc__p_wxLogNull
,
38330 _swigc__p_wxLogStderr
,
38331 _swigc__p_wxLogTextCtrl
,
38332 _swigc__p_wxLogWindow
,
38333 _swigc__p_wxMaximizeEvent
,
38334 _swigc__p_wxMemorySize
,
38336 _swigc__p_wxMenuBar
,
38337 _swigc__p_wxMenuEvent
,
38338 _swigc__p_wxMenuItem
,
38339 _swigc__p_wxMetafile
,
38340 _swigc__p_wxMetafileDataObject
,
38341 _swigc__p_wxMimeTypesManager
,
38342 _swigc__p_wxMouseCaptureChangedEvent
,
38343 _swigc__p_wxMouseEvent
,
38344 _swigc__p_wxMouseState
,
38345 _swigc__p_wxMoveEvent
,
38346 _swigc__p_wxMutexGuiLocker
,
38347 _swigc__p_wxNavigationKeyEvent
,
38348 _swigc__p_wxNcPaintEvent
,
38349 _swigc__p_wxNotifyEvent
,
38350 _swigc__p_wxObject
,
38351 _swigc__p_wxOutputStream
,
38352 _swigc__p_wxPCXHandler
,
38353 _swigc__p_wxPNGHandler
,
38354 _swigc__p_wxPNMHandler
,
38355 _swigc__p_wxPaintEvent
,
38356 _swigc__p_wxPaletteChangedEvent
,
38357 _swigc__p_wxPaperSize
,
38359 _swigc__p_wxPowerEvent
,
38360 _swigc__p_wxProcessEvent
,
38362 _swigc__p_wxPyArtProvider
,
38363 _swigc__p_wxPyBitmapDataObject
,
38364 _swigc__p_wxPyCommandEvent
,
38365 _swigc__p_wxPyDataObjectSimple
,
38366 _swigc__p_wxPyDropSource
,
38367 _swigc__p_wxPyDropTarget
,
38368 _swigc__p_wxPyEvent
,
38369 _swigc__p_wxPyFileDropTarget
,
38370 _swigc__p_wxPyImageHandler
,
38372 _swigc__p_wxPyProcess
,
38373 _swigc__p_wxPySizer
,
38374 _swigc__p_wxPyTextDataObject
,
38375 _swigc__p_wxPyTextDropTarget
,
38376 _swigc__p_wxPyTimer
,
38377 _swigc__p_wxPyTipProvider
,
38378 _swigc__p_wxPyValidator
,
38379 _swigc__p_wxQueryNewPaletteEvent
,
38381 _swigc__p_wxScrollEvent
,
38382 _swigc__p_wxScrollWinEvent
,
38383 _swigc__p_wxSetCursorEvent
,
38384 _swigc__p_wxShowEvent
,
38385 _swigc__p_wxSingleInstanceChecker
,
38387 _swigc__p_wxSizeEvent
,
38389 _swigc__p_wxSizerItem
,
38391 _swigc__p_wxStandardPaths
,
38392 _swigc__p_wxStaticBoxSizer
,
38393 _swigc__p_wxStdDialogButtonSizer
,
38394 _swigc__p_wxStopWatch
,
38395 _swigc__p_wxString
,
38396 _swigc__p_wxSysColourChangedEvent
,
38397 _swigc__p_wxSystemOptions
,
38398 _swigc__p_wxSystemSettings
,
38399 _swigc__p_wxTIFFHandler
,
38400 _swigc__p_wxTextCtrl
,
38401 _swigc__p_wxTextDataObject
,
38402 _swigc__p_wxTimeSpan
,
38404 _swigc__p_wxTimerEvent
,
38405 _swigc__p_wxTimerRunner
,
38406 _swigc__p_wxTipProvider
,
38407 _swigc__p_wxToolTip
,
38408 _swigc__p_wxURLDataObject
,
38409 _swigc__p_wxUpdateUIEvent
,
38410 _swigc__p_wxValidator
,
38411 _swigc__p_wxVideoMode
,
38412 _swigc__p_wxWindow
,
38413 _swigc__p_wxWindowCreateEvent
,
38414 _swigc__p_wxWindowDestroyEvent
,
38415 _swigc__p_wxWindowDisabler
,
38416 _swigc__p_wxXPMHandler
,
38420 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
38422 static swig_const_info swig_const_table
[] = {
38423 {0, 0, 0, 0.0, 0, 0}};
38428 /* -----------------------------------------------------------------------------
38429 * Type initialization:
38430 * This problem is tough by the requirement that no dynamic
38431 * memory is used. Also, since swig_type_info structures store pointers to
38432 * swig_cast_info structures and swig_cast_info structures store pointers back
38433 * to swig_type_info structures, we need some lookup code at initialization.
38434 * The idea is that swig generates all the structures that are needed.
38435 * The runtime then collects these partially filled structures.
38436 * The SWIG_InitializeModule function takes these initial arrays out of
38437 * swig_module, and does all the lookup, filling in the swig_module.types
38438 * array with the correct data and linking the correct swig_cast_info
38439 * structures together.
38441 * The generated swig_type_info structures are assigned staticly to an initial
38442 * array. We just loop though that array, and handle each type individually.
38443 * First we lookup if this type has been already loaded, and if so, use the
38444 * loaded structure instead of the generated one. Then we have to fill in the
38445 * cast linked list. The cast data is initially stored in something like a
38446 * two-dimensional array. Each row corresponds to a type (there are the same
38447 * number of rows as there are in the swig_type_initial array). Each entry in
38448 * a column is one of the swig_cast_info structures for that type.
38449 * The cast_initial array is actually an array of arrays, because each row has
38450 * a variable number of columns. So to actually build the cast linked list,
38451 * we find the array of casts associated with the type, and loop through it
38452 * adding the casts to the list. The one last trick we need to do is making
38453 * sure the type pointer in the swig_cast_info struct is correct.
38455 * First off, we lookup the cast->type name to see if it is already loaded.
38456 * There are three cases to handle:
38457 * 1) If the cast->type has already been loaded AND the type we are adding
38458 * casting info to has not been loaded (it is in this module), THEN we
38459 * replace the cast->type pointer with the type pointer that has already
38461 * 2) If BOTH types (the one we are adding casting info to, and the
38462 * cast->type) are loaded, THEN the cast info has already been loaded by
38463 * the previous module so we just ignore it.
38464 * 3) Finally, if cast->type has not already been loaded, then we add that
38465 * swig_cast_info to the linked list (because the cast->type) pointer will
38467 * ----------------------------------------------------------------------------- */
38477 #define SWIGRUNTIME_DEBUG
38481 SWIG_InitializeModule(void *clientdata
) {
38483 swig_module_info
*module_head
;
38484 static int init_run
= 0;
38486 clientdata
= clientdata
;
38488 if (init_run
) return;
38491 /* Initialize the swig_module */
38492 swig_module
.type_initial
= swig_type_initial
;
38493 swig_module
.cast_initial
= swig_cast_initial
;
38495 /* Try and load any already created modules */
38496 module_head
= SWIG_GetModule(clientdata
);
38498 swig_module
.next
= module_head
->next
;
38499 module_head
->next
= &swig_module
;
38501 /* This is the first module loaded */
38502 swig_module
.next
= &swig_module
;
38503 SWIG_SetModule(clientdata
, &swig_module
);
38506 /* Now work on filling in swig_module.types */
38507 #ifdef SWIGRUNTIME_DEBUG
38508 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
38510 for (i
= 0; i
< swig_module
.size
; ++i
) {
38511 swig_type_info
*type
= 0;
38512 swig_type_info
*ret
;
38513 swig_cast_info
*cast
;
38515 #ifdef SWIGRUNTIME_DEBUG
38516 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38519 /* if there is another module already loaded */
38520 if (swig_module
.next
!= &swig_module
) {
38521 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
38524 /* Overwrite clientdata field */
38525 #ifdef SWIGRUNTIME_DEBUG
38526 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
38528 if (swig_module
.type_initial
[i
]->clientdata
) {
38529 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
38530 #ifdef SWIGRUNTIME_DEBUG
38531 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
38535 type
= swig_module
.type_initial
[i
];
38538 /* Insert casting types */
38539 cast
= swig_module
.cast_initial
[i
];
38540 while (cast
->type
) {
38541 /* Don't need to add information already in the list */
38543 #ifdef SWIGRUNTIME_DEBUG
38544 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
38546 if (swig_module
.next
!= &swig_module
) {
38547 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
38548 #ifdef SWIGRUNTIME_DEBUG
38549 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
38553 if (type
== swig_module
.type_initial
[i
]) {
38554 #ifdef SWIGRUNTIME_DEBUG
38555 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
38560 /* Check for casting already in the list */
38561 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
38562 #ifdef SWIGRUNTIME_DEBUG
38563 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
38565 if (!ocast
) ret
= 0;
38570 #ifdef SWIGRUNTIME_DEBUG
38571 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
38574 type
->cast
->prev
= cast
;
38575 cast
->next
= type
->cast
;
38581 /* Set entry in modules->types array equal to the type */
38582 swig_module
.types
[i
] = type
;
38584 swig_module
.types
[i
] = 0;
38586 #ifdef SWIGRUNTIME_DEBUG
38587 printf("**** SWIG_InitializeModule: Cast List ******\n");
38588 for (i
= 0; i
< swig_module
.size
; ++i
) {
38590 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
38591 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
38592 while (cast
->type
) {
38593 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
38597 printf("---- Total casts: %d\n",j
);
38599 printf("**** SWIG_InitializeModule: Cast List ******\n");
38603 /* This function will propagate the clientdata field of type to
38604 * any new swig_type_info structures that have been added into the list
38605 * of equivalent types. It is like calling
38606 * SWIG_TypeClientData(type, clientdata) a second time.
38609 SWIG_PropagateClientData(void) {
38611 swig_cast_info
*equiv
;
38612 static int init_run
= 0;
38614 if (init_run
) return;
38617 for (i
= 0; i
< swig_module
.size
; i
++) {
38618 if (swig_module
.types
[i
]->clientdata
) {
38619 equiv
= swig_module
.types
[i
]->cast
;
38621 if (!equiv
->converter
) {
38622 if (equiv
->type
&& !equiv
->type
->clientdata
)
38623 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
38625 equiv
= equiv
->next
;
38645 /* Python-specific SWIG API */
38646 #define SWIG_newvarlink() SWIG_Python_newvarlink()
38647 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
38648 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
38650 /* -----------------------------------------------------------------------------
38651 * global variable support code.
38652 * ----------------------------------------------------------------------------- */
38654 typedef struct swig_globalvar
{
38655 char *name
; /* Name of global variable */
38656 PyObject
*(*get_attr
)(void); /* Return the current value */
38657 int (*set_attr
)(PyObject
*); /* Set the value */
38658 struct swig_globalvar
*next
;
38661 typedef struct swig_varlinkobject
{
38663 swig_globalvar
*vars
;
38664 } swig_varlinkobject
;
38666 SWIGINTERN PyObject
*
38667 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
38668 return PyString_FromString("<Swig global variables>");
38671 SWIGINTERN PyObject
*
38672 swig_varlink_str(swig_varlinkobject
*v
) {
38673 PyObject
*str
= PyString_FromString("(");
38674 swig_globalvar
*var
;
38675 for (var
= v
->vars
; var
; var
=var
->next
) {
38676 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
38677 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
38679 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
38684 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
38685 PyObject
*str
= swig_varlink_str(v
);
38686 fprintf(fp
,"Swig global variables ");
38687 fprintf(fp
,"%s\n", PyString_AsString(str
));
38693 swig_varlink_dealloc(swig_varlinkobject
*v
) {
38694 swig_globalvar
*var
= v
->vars
;
38696 swig_globalvar
*n
= var
->next
;
38703 SWIGINTERN PyObject
*
38704 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
38705 PyObject
*res
= NULL
;
38706 swig_globalvar
*var
= v
->vars
;
38708 if (strcmp(var
->name
,n
) == 0) {
38709 res
= (*var
->get_attr
)();
38714 if (res
== NULL
&& !PyErr_Occurred()) {
38715 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38721 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
38723 swig_globalvar
*var
= v
->vars
;
38725 if (strcmp(var
->name
,n
) == 0) {
38726 res
= (*var
->set_attr
)(p
);
38731 if (res
== 1 && !PyErr_Occurred()) {
38732 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
38737 SWIGINTERN PyTypeObject
*
38738 swig_varlink_type(void) {
38739 static char varlink__doc__
[] = "Swig var link object";
38740 static PyTypeObject varlink_type
;
38741 static int type_init
= 0;
38743 const PyTypeObject tmp
38745 PyObject_HEAD_INIT(NULL
)
38746 0, /* Number of items in variable part (ob_size) */
38747 (char *)"swigvarlink", /* Type name (tp_name) */
38748 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
38749 0, /* Itemsize (tp_itemsize) */
38750 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
38751 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
38752 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
38753 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
38754 0, /* tp_compare */
38755 (reprfunc
) swig_varlink_repr
, /* tp_repr */
38756 0, /* tp_as_number */
38757 0, /* tp_as_sequence */
38758 0, /* tp_as_mapping */
38761 (reprfunc
)swig_varlink_str
, /* tp_str */
38762 0, /* tp_getattro */
38763 0, /* tp_setattro */
38764 0, /* tp_as_buffer */
38766 varlink__doc__
, /* tp_doc */
38767 0, /* tp_traverse */
38769 0, /* tp_richcompare */
38770 0, /* tp_weaklistoffset */
38771 #if PY_VERSION_HEX >= 0x02020000
38772 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
38774 #if PY_VERSION_HEX >= 0x02030000
38777 #ifdef COUNT_ALLOCS
38778 0,0,0,0 /* tp_alloc -> tp_next */
38781 varlink_type
= tmp
;
38782 varlink_type
.ob_type
= &PyType_Type
;
38785 return &varlink_type
;
38788 /* Create a variable linking object for use later */
38789 SWIGINTERN PyObject
*
38790 SWIG_Python_newvarlink(void) {
38791 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
38795 return ((PyObject
*) result
);
38799 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
38800 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
38801 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
38803 size_t size
= strlen(name
)+1;
38804 gv
->name
= (char *)malloc(size
);
38806 strncpy(gv
->name
,name
,size
);
38807 gv
->get_attr
= get_attr
;
38808 gv
->set_attr
= set_attr
;
38809 gv
->next
= v
->vars
;
38815 SWIGINTERN PyObject
*
38817 static PyObject
*_SWIG_globals
= 0;
38818 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
38819 return _SWIG_globals
;
38822 /* -----------------------------------------------------------------------------
38823 * constants/methods manipulation
38824 * ----------------------------------------------------------------------------- */
38826 /* Install Constants */
38828 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
38831 for (i
= 0; constants
[i
].type
; ++i
) {
38832 switch(constants
[i
].type
) {
38833 case SWIG_PY_POINTER
:
38834 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
38836 case SWIG_PY_BINARY
:
38837 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
38844 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
38850 /* -----------------------------------------------------------------------------*/
38851 /* Fix SwigMethods to carry the callback ptrs when needed */
38852 /* -----------------------------------------------------------------------------*/
38855 SWIG_Python_FixMethods(PyMethodDef
*methods
,
38856 swig_const_info
*const_table
,
38857 swig_type_info
**types
,
38858 swig_type_info
**types_initial
) {
38860 for (i
= 0; methods
[i
].ml_name
; ++i
) {
38861 const char *c
= methods
[i
].ml_doc
;
38862 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
38864 swig_const_info
*ci
= 0;
38865 const char *name
= c
+ 10;
38866 for (j
= 0; const_table
[j
].type
; ++j
) {
38867 if (strncmp(const_table
[j
].name
, name
,
38868 strlen(const_table
[j
].name
)) == 0) {
38869 ci
= &(const_table
[j
]);
38874 size_t shift
= (ci
->ptype
) - types
;
38875 swig_type_info
*ty
= types_initial
[shift
];
38876 size_t ldoc
= (c
- methods
[i
].ml_doc
);
38877 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
38878 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
38881 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
38883 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
38885 strncpy(buff
, "swig_ptr: ", 10);
38887 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
38888 methods
[i
].ml_doc
= ndoc
;
38900 /* -----------------------------------------------------------------------------*
38901 * Partial Init method
38902 * -----------------------------------------------------------------------------*/
38907 SWIGEXPORT
void SWIG_init(void) {
38910 /* Fix SwigMethods to carry the callback ptrs when needed */
38911 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
38913 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38914 d
= PyModule_GetDict(m
);
38916 SWIG_InitializeModule(0);
38917 SWIG_InstallConstants(d
,swig_const_table
);
38920 SWIG_Python_SetConstant(d
, "SYS_OEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_OEM_FIXED_FONT
)));
38921 SWIG_Python_SetConstant(d
, "SYS_ANSI_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_FIXED_FONT
)));
38922 SWIG_Python_SetConstant(d
, "SYS_ANSI_VAR_FONT",SWIG_From_int(static_cast< int >(wxSYS_ANSI_VAR_FONT
)));
38923 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FONT
)));
38924 SWIG_Python_SetConstant(d
, "SYS_DEVICE_DEFAULT_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEVICE_DEFAULT_FONT
)));
38925 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_PALETTE",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_PALETTE
)));
38926 SWIG_Python_SetConstant(d
, "SYS_SYSTEM_FIXED_FONT",SWIG_From_int(static_cast< int >(wxSYS_SYSTEM_FIXED_FONT
)));
38927 SWIG_Python_SetConstant(d
, "SYS_DEFAULT_GUI_FONT",SWIG_From_int(static_cast< int >(wxSYS_DEFAULT_GUI_FONT
)));
38928 SWIG_Python_SetConstant(d
, "SYS_ICONTITLE_FONT",SWIG_From_int(static_cast< int >(wxSYS_ICONTITLE_FONT
)));
38929 SWIG_Python_SetConstant(d
, "SYS_COLOUR_SCROLLBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_SCROLLBAR
)));
38930 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BACKGROUND",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BACKGROUND
)));
38931 SWIG_Python_SetConstant(d
, "SYS_COLOUR_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_DESKTOP
)));
38932 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVECAPTION
)));
38933 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTION
)));
38934 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENU",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENU
)));
38935 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOW
)));
38936 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWFRAME",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWFRAME
)));
38937 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUTEXT
)));
38938 SWIG_Python_SetConstant(d
, "SYS_COLOUR_WINDOWTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_WINDOWTEXT
)));
38939 SWIG_Python_SetConstant(d
, "SYS_COLOUR_CAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_CAPTIONTEXT
)));
38940 SWIG_Python_SetConstant(d
, "SYS_COLOUR_ACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_ACTIVEBORDER
)));
38941 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVEBORDER",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVEBORDER
)));
38942 SWIG_Python_SetConstant(d
, "SYS_COLOUR_APPWORKSPACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_APPWORKSPACE
)));
38943 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHT
)));
38944 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HIGHLIGHTTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HIGHLIGHTTEXT
)));
38945 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNFACE
)));
38946 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DFACE",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DFACE
)));
38947 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNSHADOW
)));
38948 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DSHADOW
)));
38949 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRAYTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRAYTEXT
)));
38950 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNTEXT
)));
38951 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INACTIVECAPTIONTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT
)));
38952 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHIGHLIGHT
)));
38953 SWIG_Python_SetConstant(d
, "SYS_COLOUR_BTNHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_BTNHILIGHT
)));
38954 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHIGHLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHIGHLIGHT
)));
38955 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DHILIGHT
)));
38956 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DDKSHADOW",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DDKSHADOW
)));
38957 SWIG_Python_SetConstant(d
, "SYS_COLOUR_3DLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_3DLIGHT
)));
38958 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOTEXT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOTEXT
)));
38959 SWIG_Python_SetConstant(d
, "SYS_COLOUR_INFOBK",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_INFOBK
)));
38960 SWIG_Python_SetConstant(d
, "SYS_COLOUR_LISTBOX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_LISTBOX
)));
38961 SWIG_Python_SetConstant(d
, "SYS_COLOUR_HOTLIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_HOTLIGHT
)));
38962 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION
)));
38963 SWIG_Python_SetConstant(d
, "SYS_COLOUR_GRADIENTINACTIVECAPTION",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION
)));
38964 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUHILIGHT",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUHILIGHT
)));
38965 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MENUBAR",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MENUBAR
)));
38966 SWIG_Python_SetConstant(d
, "SYS_COLOUR_MAX",SWIG_From_int(static_cast< int >(wxSYS_COLOUR_MAX
)));
38967 SWIG_Python_SetConstant(d
, "SYS_MOUSE_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_MOUSE_BUTTONS
)));
38968 SWIG_Python_SetConstant(d
, "SYS_BORDER_X",SWIG_From_int(static_cast< int >(wxSYS_BORDER_X
)));
38969 SWIG_Python_SetConstant(d
, "SYS_BORDER_Y",SWIG_From_int(static_cast< int >(wxSYS_BORDER_Y
)));
38970 SWIG_Python_SetConstant(d
, "SYS_CURSOR_X",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_X
)));
38971 SWIG_Python_SetConstant(d
, "SYS_CURSOR_Y",SWIG_From_int(static_cast< int >(wxSYS_CURSOR_Y
)));
38972 SWIG_Python_SetConstant(d
, "SYS_DCLICK_X",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_X
)));
38973 SWIG_Python_SetConstant(d
, "SYS_DCLICK_Y",SWIG_From_int(static_cast< int >(wxSYS_DCLICK_Y
)));
38974 SWIG_Python_SetConstant(d
, "SYS_DRAG_X",SWIG_From_int(static_cast< int >(wxSYS_DRAG_X
)));
38975 SWIG_Python_SetConstant(d
, "SYS_DRAG_Y",SWIG_From_int(static_cast< int >(wxSYS_DRAG_Y
)));
38976 SWIG_Python_SetConstant(d
, "SYS_EDGE_X",SWIG_From_int(static_cast< int >(wxSYS_EDGE_X
)));
38977 SWIG_Python_SetConstant(d
, "SYS_EDGE_Y",SWIG_From_int(static_cast< int >(wxSYS_EDGE_Y
)));
38978 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_X
)));
38979 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_ARROW_Y
)));
38980 SWIG_Python_SetConstant(d
, "SYS_HTHUMB_X",SWIG_From_int(static_cast< int >(wxSYS_HTHUMB_X
)));
38981 SWIG_Python_SetConstant(d
, "SYS_ICON_X",SWIG_From_int(static_cast< int >(wxSYS_ICON_X
)));
38982 SWIG_Python_SetConstant(d
, "SYS_ICON_Y",SWIG_From_int(static_cast< int >(wxSYS_ICON_Y
)));
38983 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_X",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_X
)));
38984 SWIG_Python_SetConstant(d
, "SYS_ICONSPACING_Y",SWIG_From_int(static_cast< int >(wxSYS_ICONSPACING_Y
)));
38985 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_X",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_X
)));
38986 SWIG_Python_SetConstant(d
, "SYS_WINDOWMIN_Y",SWIG_From_int(static_cast< int >(wxSYS_WINDOWMIN_Y
)));
38987 SWIG_Python_SetConstant(d
, "SYS_SCREEN_X",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_X
)));
38988 SWIG_Python_SetConstant(d
, "SYS_SCREEN_Y",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_Y
)));
38989 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_X",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_X
)));
38990 SWIG_Python_SetConstant(d
, "SYS_FRAMESIZE_Y",SWIG_From_int(static_cast< int >(wxSYS_FRAMESIZE_Y
)));
38991 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_X",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_X
)));
38992 SWIG_Python_SetConstant(d
, "SYS_SMALLICON_Y",SWIG_From_int(static_cast< int >(wxSYS_SMALLICON_Y
)));
38993 SWIG_Python_SetConstant(d
, "SYS_HSCROLL_Y",SWIG_From_int(static_cast< int >(wxSYS_HSCROLL_Y
)));
38994 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_X
)));
38995 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_X",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_X
)));
38996 SWIG_Python_SetConstant(d
, "SYS_VSCROLL_ARROW_Y",SWIG_From_int(static_cast< int >(wxSYS_VSCROLL_ARROW_Y
)));
38997 SWIG_Python_SetConstant(d
, "SYS_VTHUMB_Y",SWIG_From_int(static_cast< int >(wxSYS_VTHUMB_Y
)));
38998 SWIG_Python_SetConstant(d
, "SYS_CAPTION_Y",SWIG_From_int(static_cast< int >(wxSYS_CAPTION_Y
)));
38999 SWIG_Python_SetConstant(d
, "SYS_MENU_Y",SWIG_From_int(static_cast< int >(wxSYS_MENU_Y
)));
39000 SWIG_Python_SetConstant(d
, "SYS_NETWORK_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_NETWORK_PRESENT
)));
39001 SWIG_Python_SetConstant(d
, "SYS_PENWINDOWS_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_PENWINDOWS_PRESENT
)));
39002 SWIG_Python_SetConstant(d
, "SYS_SHOW_SOUNDS",SWIG_From_int(static_cast< int >(wxSYS_SHOW_SOUNDS
)));
39003 SWIG_Python_SetConstant(d
, "SYS_SWAP_BUTTONS",SWIG_From_int(static_cast< int >(wxSYS_SWAP_BUTTONS
)));
39004 SWIG_Python_SetConstant(d
, "SYS_CAN_DRAW_FRAME_DECORATIONS",SWIG_From_int(static_cast< int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS
)));
39005 SWIG_Python_SetConstant(d
, "SYS_CAN_ICONIZE_FRAME",SWIG_From_int(static_cast< int >(wxSYS_CAN_ICONIZE_FRAME
)));
39006 SWIG_Python_SetConstant(d
, "SYS_TABLET_PRESENT",SWIG_From_int(static_cast< int >(wxSYS_TABLET_PRESENT
)));
39007 SWIG_Python_SetConstant(d
, "SYS_SCREEN_NONE",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_NONE
)));
39008 SWIG_Python_SetConstant(d
, "SYS_SCREEN_TINY",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_TINY
)));
39009 SWIG_Python_SetConstant(d
, "SYS_SCREEN_PDA",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_PDA
)));
39010 SWIG_Python_SetConstant(d
, "SYS_SCREEN_SMALL",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_SMALL
)));
39011 SWIG_Python_SetConstant(d
, "SYS_SCREEN_DESKTOP",SWIG_From_int(static_cast< int >(wxSYS_SCREEN_DESKTOP
)));
39012 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
39013 SWIG_addvarlink(SWIG_globals(),(char*)"WINDOW_DEFAULT_VARIANT",WINDOW_DEFAULT_VARIANT_get
, WINDOW_DEFAULT_VARIANT_set
);
39014 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
39015 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
39016 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
39017 SWIG_Python_SetConstant(d
, "UNKNOWN_PLATFORM",SWIG_From_int(static_cast< int >(wxUNKNOWN_PLATFORM
)));
39018 SWIG_Python_SetConstant(d
, "CURSES",SWIG_From_int(static_cast< int >(wxCURSES
)));
39019 SWIG_Python_SetConstant(d
, "XVIEW_X",SWIG_From_int(static_cast< int >(wxXVIEW_X
)));
39020 SWIG_Python_SetConstant(d
, "MOTIF_X",SWIG_From_int(static_cast< int >(wxMOTIF_X
)));
39021 SWIG_Python_SetConstant(d
, "COSE_X",SWIG_From_int(static_cast< int >(wxCOSE_X
)));
39022 SWIG_Python_SetConstant(d
, "NEXTSTEP",SWIG_From_int(static_cast< int >(wxNEXTSTEP
)));
39023 SWIG_Python_SetConstant(d
, "MAC",SWIG_From_int(static_cast< int >(wxMAC
)));
39024 SWIG_Python_SetConstant(d
, "MAC_DARWIN",SWIG_From_int(static_cast< int >(wxMAC_DARWIN
)));
39025 SWIG_Python_SetConstant(d
, "BEOS",SWIG_From_int(static_cast< int >(wxBEOS
)));
39026 SWIG_Python_SetConstant(d
, "GTK",SWIG_From_int(static_cast< int >(wxGTK
)));
39027 SWIG_Python_SetConstant(d
, "GTK_WIN32",SWIG_From_int(static_cast< int >(wxGTK_WIN32
)));
39028 SWIG_Python_SetConstant(d
, "GTK_OS2",SWIG_From_int(static_cast< int >(wxGTK_OS2
)));
39029 SWIG_Python_SetConstant(d
, "GTK_BEOS",SWIG_From_int(static_cast< int >(wxGTK_BEOS
)));
39030 SWIG_Python_SetConstant(d
, "GEOS",SWIG_From_int(static_cast< int >(wxGEOS
)));
39031 SWIG_Python_SetConstant(d
, "OS2_PM",SWIG_From_int(static_cast< int >(wxOS2_PM
)));
39032 SWIG_Python_SetConstant(d
, "WINDOWS",SWIG_From_int(static_cast< int >(wxWINDOWS
)));
39033 SWIG_Python_SetConstant(d
, "MICROWINDOWS",SWIG_From_int(static_cast< int >(wxMICROWINDOWS
)));
39034 SWIG_Python_SetConstant(d
, "PENWINDOWS",SWIG_From_int(static_cast< int >(wxPENWINDOWS
)));
39035 SWIG_Python_SetConstant(d
, "WINDOWS_NT",SWIG_From_int(static_cast< int >(wxWINDOWS_NT
)));
39036 SWIG_Python_SetConstant(d
, "WIN32S",SWIG_From_int(static_cast< int >(wxWIN32S
)));
39037 SWIG_Python_SetConstant(d
, "WIN95",SWIG_From_int(static_cast< int >(wxWIN95
)));
39038 SWIG_Python_SetConstant(d
, "WIN386",SWIG_From_int(static_cast< int >(wxWIN386
)));
39039 SWIG_Python_SetConstant(d
, "WINDOWS_CE",SWIG_From_int(static_cast< int >(wxWINDOWS_CE
)));
39040 SWIG_Python_SetConstant(d
, "WINDOWS_POCKETPC",SWIG_From_int(static_cast< int >(wxWINDOWS_POCKETPC
)));
39041 SWIG_Python_SetConstant(d
, "WINDOWS_SMARTPHONE",SWIG_From_int(static_cast< int >(wxWINDOWS_SMARTPHONE
)));
39042 SWIG_Python_SetConstant(d
, "MGL_UNIX",SWIG_From_int(static_cast< int >(wxMGL_UNIX
)));
39043 SWIG_Python_SetConstant(d
, "MGL_X",SWIG_From_int(static_cast< int >(wxMGL_X
)));
39044 SWIG_Python_SetConstant(d
, "MGL_WIN32",SWIG_From_int(static_cast< int >(wxMGL_WIN32
)));
39045 SWIG_Python_SetConstant(d
, "MGL_OS2",SWIG_From_int(static_cast< int >(wxMGL_OS2
)));
39046 SWIG_Python_SetConstant(d
, "MGL_DOS",SWIG_From_int(static_cast< int >(wxMGL_DOS
)));
39047 SWIG_Python_SetConstant(d
, "WINDOWS_OS2",SWIG_From_int(static_cast< int >(wxWINDOWS_OS2
)));
39048 SWIG_Python_SetConstant(d
, "UNIX",SWIG_From_int(static_cast< int >(wxUNIX
)));
39049 SWIG_Python_SetConstant(d
, "X11",SWIG_From_int(static_cast< int >(wxX11
)));
39050 SWIG_Python_SetConstant(d
, "PALMOS",SWIG_From_int(static_cast< int >(wxPALMOS
)));
39051 SWIG_Python_SetConstant(d
, "DOS",SWIG_From_int(static_cast< int >(wxDOS
)));
39052 SWIG_Python_SetConstant(d
, "SHUTDOWN_POWEROFF",SWIG_From_int(static_cast< int >(wxSHUTDOWN_POWEROFF
)));
39053 SWIG_Python_SetConstant(d
, "SHUTDOWN_REBOOT",SWIG_From_int(static_cast< int >(wxSHUTDOWN_REBOOT
)));
39054 SWIG_Python_SetConstant(d
, "TIMER_CONTINUOUS",SWIG_From_int(static_cast< int >(wxTIMER_CONTINUOUS
)));
39055 SWIG_Python_SetConstant(d
, "TIMER_ONE_SHOT",SWIG_From_int(static_cast< int >(wxTIMER_ONE_SHOT
)));
39056 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
39058 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
39060 SWIG_Python_SetConstant(d
, "LOG_FatalError",SWIG_From_int(static_cast< int >(wxLOG_FatalError
)));
39061 SWIG_Python_SetConstant(d
, "LOG_Error",SWIG_From_int(static_cast< int >(wxLOG_Error
)));
39062 SWIG_Python_SetConstant(d
, "LOG_Warning",SWIG_From_int(static_cast< int >(wxLOG_Warning
)));
39063 SWIG_Python_SetConstant(d
, "LOG_Message",SWIG_From_int(static_cast< int >(wxLOG_Message
)));
39064 SWIG_Python_SetConstant(d
, "LOG_Status",SWIG_From_int(static_cast< int >(wxLOG_Status
)));
39065 SWIG_Python_SetConstant(d
, "LOG_Info",SWIG_From_int(static_cast< int >(wxLOG_Info
)));
39066 SWIG_Python_SetConstant(d
, "LOG_Debug",SWIG_From_int(static_cast< int >(wxLOG_Debug
)));
39067 SWIG_Python_SetConstant(d
, "LOG_Trace",SWIG_From_int(static_cast< int >(wxLOG_Trace
)));
39068 SWIG_Python_SetConstant(d
, "LOG_Progress",SWIG_From_int(static_cast< int >(wxLOG_Progress
)));
39069 SWIG_Python_SetConstant(d
, "LOG_User",SWIG_From_int(static_cast< int >(wxLOG_User
)));
39070 SWIG_Python_SetConstant(d
, "LOG_Max",SWIG_From_int(static_cast< int >(wxLOG_Max
)));
39071 SWIG_Python_SetConstant(d
, "TRACE_MemAlloc",SWIG_FromCharPtr("memalloc"));
39072 SWIG_Python_SetConstant(d
, "TRACE_Messages",SWIG_FromCharPtr("messages"));
39073 SWIG_Python_SetConstant(d
, "TRACE_ResAlloc",SWIG_FromCharPtr("resalloc"));
39074 SWIG_Python_SetConstant(d
, "TRACE_RefCount",SWIG_FromCharPtr("refcount"));
39075 SWIG_Python_SetConstant(d
, "TRACE_OleCalls",SWIG_FromCharPtr("ole"));
39076 SWIG_Python_SetConstant(d
, "TraceMemAlloc",SWIG_From_int(static_cast< int >(0x0001)));
39077 SWIG_Python_SetConstant(d
, "TraceMessages",SWIG_From_int(static_cast< int >(0x0002)));
39078 SWIG_Python_SetConstant(d
, "TraceResAlloc",SWIG_From_int(static_cast< int >(0x0004)));
39079 SWIG_Python_SetConstant(d
, "TraceRefCount",SWIG_From_int(static_cast< int >(0x0008)));
39080 SWIG_Python_SetConstant(d
, "TraceOleCalls",SWIG_From_int(static_cast< int >(0x0100)));
39081 SWIG_Python_SetConstant(d
, "PROCESS_DEFAULT",SWIG_From_int(static_cast< int >(wxPROCESS_DEFAULT
)));
39082 SWIG_Python_SetConstant(d
, "PROCESS_REDIRECT",SWIG_From_int(static_cast< int >(wxPROCESS_REDIRECT
)));
39083 SWIG_Python_SetConstant(d
, "KILL_OK",SWIG_From_int(static_cast< int >(wxKILL_OK
)));
39084 SWIG_Python_SetConstant(d
, "KILL_BAD_SIGNAL",SWIG_From_int(static_cast< int >(wxKILL_BAD_SIGNAL
)));
39085 SWIG_Python_SetConstant(d
, "KILL_ACCESS_DENIED",SWIG_From_int(static_cast< int >(wxKILL_ACCESS_DENIED
)));
39086 SWIG_Python_SetConstant(d
, "KILL_NO_PROCESS",SWIG_From_int(static_cast< int >(wxKILL_NO_PROCESS
)));
39087 SWIG_Python_SetConstant(d
, "KILL_ERROR",SWIG_From_int(static_cast< int >(wxKILL_ERROR
)));
39088 SWIG_Python_SetConstant(d
, "KILL_NOCHILDREN",SWIG_From_int(static_cast< int >(wxKILL_NOCHILDREN
)));
39089 SWIG_Python_SetConstant(d
, "KILL_CHILDREN",SWIG_From_int(static_cast< int >(wxKILL_CHILDREN
)));
39090 SWIG_Python_SetConstant(d
, "SIGNONE",SWIG_From_int(static_cast< int >(wxSIGNONE
)));
39091 SWIG_Python_SetConstant(d
, "SIGHUP",SWIG_From_int(static_cast< int >(wxSIGHUP
)));
39092 SWIG_Python_SetConstant(d
, "SIGINT",SWIG_From_int(static_cast< int >(wxSIGINT
)));
39093 SWIG_Python_SetConstant(d
, "SIGQUIT",SWIG_From_int(static_cast< int >(wxSIGQUIT
)));
39094 SWIG_Python_SetConstant(d
, "SIGILL",SWIG_From_int(static_cast< int >(wxSIGILL
)));
39095 SWIG_Python_SetConstant(d
, "SIGTRAP",SWIG_From_int(static_cast< int >(wxSIGTRAP
)));
39096 SWIG_Python_SetConstant(d
, "SIGABRT",SWIG_From_int(static_cast< int >(wxSIGABRT
)));
39097 SWIG_Python_SetConstant(d
, "SIGIOT",SWIG_From_int(static_cast< int >(wxSIGIOT
)));
39098 SWIG_Python_SetConstant(d
, "SIGEMT",SWIG_From_int(static_cast< int >(wxSIGEMT
)));
39099 SWIG_Python_SetConstant(d
, "SIGFPE",SWIG_From_int(static_cast< int >(wxSIGFPE
)));
39100 SWIG_Python_SetConstant(d
, "SIGKILL",SWIG_From_int(static_cast< int >(wxSIGKILL
)));
39101 SWIG_Python_SetConstant(d
, "SIGBUS",SWIG_From_int(static_cast< int >(wxSIGBUS
)));
39102 SWIG_Python_SetConstant(d
, "SIGSEGV",SWIG_From_int(static_cast< int >(wxSIGSEGV
)));
39103 SWIG_Python_SetConstant(d
, "SIGSYS",SWIG_From_int(static_cast< int >(wxSIGSYS
)));
39104 SWIG_Python_SetConstant(d
, "SIGPIPE",SWIG_From_int(static_cast< int >(wxSIGPIPE
)));
39105 SWIG_Python_SetConstant(d
, "SIGALRM",SWIG_From_int(static_cast< int >(wxSIGALRM
)));
39106 SWIG_Python_SetConstant(d
, "SIGTERM",SWIG_From_int(static_cast< int >(wxSIGTERM
)));
39107 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
39108 SWIG_Python_SetConstant(d
, "EXEC_ASYNC",SWIG_From_int(static_cast< int >(wxEXEC_ASYNC
)));
39109 SWIG_Python_SetConstant(d
, "EXEC_SYNC",SWIG_From_int(static_cast< int >(wxEXEC_SYNC
)));
39110 SWIG_Python_SetConstant(d
, "EXEC_NOHIDE",SWIG_From_int(static_cast< int >(wxEXEC_NOHIDE
)));
39111 SWIG_Python_SetConstant(d
, "EXEC_MAKE_GROUP_LEADER",SWIG_From_int(static_cast< int >(wxEXEC_MAKE_GROUP_LEADER
)));
39112 SWIG_Python_SetConstant(d
, "EXEC_NODISABLE",SWIG_From_int(static_cast< int >(wxEXEC_NODISABLE
)));
39114 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
39116 SWIG_Python_SetConstant(d
, "JOYSTICK1",SWIG_From_int(static_cast< int >(wxJOYSTICK1
)));
39117 SWIG_Python_SetConstant(d
, "JOYSTICK2",SWIG_From_int(static_cast< int >(wxJOYSTICK2
)));
39118 SWIG_Python_SetConstant(d
, "JOY_BUTTON_ANY",SWIG_From_int(static_cast< int >(wxJOY_BUTTON_ANY
)));
39119 SWIG_Python_SetConstant(d
, "JOY_BUTTON1",SWIG_From_int(static_cast< int >(wxJOY_BUTTON1
)));
39120 SWIG_Python_SetConstant(d
, "JOY_BUTTON2",SWIG_From_int(static_cast< int >(wxJOY_BUTTON2
)));
39121 SWIG_Python_SetConstant(d
, "JOY_BUTTON3",SWIG_From_int(static_cast< int >(wxJOY_BUTTON3
)));
39122 SWIG_Python_SetConstant(d
, "JOY_BUTTON4",SWIG_From_int(static_cast< int >(wxJOY_BUTTON4
)));
39123 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
39124 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
39125 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
39126 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
39127 SWIG_Python_SetConstant(d
, "SOUND_SYNC",SWIG_From_int(static_cast< int >(wxSOUND_SYNC
)));
39128 SWIG_Python_SetConstant(d
, "SOUND_ASYNC",SWIG_From_int(static_cast< int >(wxSOUND_ASYNC
)));
39129 SWIG_Python_SetConstant(d
, "SOUND_LOOP",SWIG_From_int(static_cast< int >(wxSOUND_LOOP
)));
39130 SWIG_Python_SetConstant(d
, "MAILCAP_STANDARD",SWIG_From_int(static_cast< int >(wxMAILCAP_STANDARD
)));
39131 SWIG_Python_SetConstant(d
, "MAILCAP_NETSCAPE",SWIG_From_int(static_cast< int >(wxMAILCAP_NETSCAPE
)));
39132 SWIG_Python_SetConstant(d
, "MAILCAP_KDE",SWIG_From_int(static_cast< int >(wxMAILCAP_KDE
)));
39133 SWIG_Python_SetConstant(d
, "MAILCAP_GNOME",SWIG_From_int(static_cast< int >(wxMAILCAP_GNOME
)));
39134 SWIG_Python_SetConstant(d
, "MAILCAP_ALL",SWIG_From_int(static_cast< int >(wxMAILCAP_ALL
)));
39135 SWIG_addvarlink(SWIG_globals(),(char*)"TheMimeTypesManager",TheMimeTypesManager_get
, TheMimeTypesManager_set
);
39136 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TOOLBAR",ART_TOOLBAR_get
, ART_TOOLBAR_set
);
39137 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MENU",ART_MENU_get
, ART_MENU_set
);
39138 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FRAME_ICON",ART_FRAME_ICON_get
, ART_FRAME_ICON_set
);
39139 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CMN_DIALOG",ART_CMN_DIALOG_get
, ART_CMN_DIALOG_set
);
39140 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BROWSER",ART_HELP_BROWSER_get
, ART_HELP_BROWSER_set
);
39141 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MESSAGE_BOX",ART_MESSAGE_BOX_get
, ART_MESSAGE_BOX_set
);
39142 SWIG_addvarlink(SWIG_globals(),(char*)"ART_BUTTON",ART_BUTTON_get
, ART_BUTTON_set
);
39143 SWIG_addvarlink(SWIG_globals(),(char*)"ART_OTHER",ART_OTHER_get
, ART_OTHER_set
);
39144 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ADD_BOOKMARK",ART_ADD_BOOKMARK_get
, ART_ADD_BOOKMARK_set
);
39145 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DEL_BOOKMARK",ART_DEL_BOOKMARK_get
, ART_DEL_BOOKMARK_set
);
39146 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SIDE_PANEL",ART_HELP_SIDE_PANEL_get
, ART_HELP_SIDE_PANEL_set
);
39147 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_SETTINGS",ART_HELP_SETTINGS_get
, ART_HELP_SETTINGS_set
);
39148 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_BOOK",ART_HELP_BOOK_get
, ART_HELP_BOOK_set
);
39149 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_FOLDER",ART_HELP_FOLDER_get
, ART_HELP_FOLDER_set
);
39150 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP_PAGE",ART_HELP_PAGE_get
, ART_HELP_PAGE_set
);
39151 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_BACK",ART_GO_BACK_get
, ART_GO_BACK_set
);
39152 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_FORWARD",ART_GO_FORWARD_get
, ART_GO_FORWARD_set
);
39153 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_UP",ART_GO_UP_get
, ART_GO_UP_set
);
39154 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DOWN",ART_GO_DOWN_get
, ART_GO_DOWN_set
);
39155 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_TO_PARENT",ART_GO_TO_PARENT_get
, ART_GO_TO_PARENT_set
);
39156 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_HOME",ART_GO_HOME_get
, ART_GO_HOME_set
);
39157 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_OPEN",ART_FILE_OPEN_get
, ART_FILE_OPEN_set
);
39158 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE",ART_FILE_SAVE_get
, ART_FILE_SAVE_set
);
39159 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FILE_SAVE_AS",ART_FILE_SAVE_AS_get
, ART_FILE_SAVE_AS_set
);
39160 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PRINT",ART_PRINT_get
, ART_PRINT_set
);
39161 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HELP",ART_HELP_get
, ART_HELP_set
);
39162 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TIP",ART_TIP_get
, ART_TIP_set
);
39163 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REPORT_VIEW",ART_REPORT_VIEW_get
, ART_REPORT_VIEW_set
);
39164 SWIG_addvarlink(SWIG_globals(),(char*)"ART_LIST_VIEW",ART_LIST_VIEW_get
, ART_LIST_VIEW_set
);
39165 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW_DIR",ART_NEW_DIR_get
, ART_NEW_DIR_set
);
39166 SWIG_addvarlink(SWIG_globals(),(char*)"ART_HARDDISK",ART_HARDDISK_get
, ART_HARDDISK_set
);
39167 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FLOPPY",ART_FLOPPY_get
, ART_FLOPPY_set
);
39168 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CDROM",ART_CDROM_get
, ART_CDROM_set
);
39169 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REMOVABLE",ART_REMOVABLE_get
, ART_REMOVABLE_set
);
39170 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER",ART_FOLDER_get
, ART_FOLDER_set
);
39171 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FOLDER_OPEN",ART_FOLDER_OPEN_get
, ART_FOLDER_OPEN_set
);
39172 SWIG_addvarlink(SWIG_globals(),(char*)"ART_GO_DIR_UP",ART_GO_DIR_UP_get
, ART_GO_DIR_UP_set
);
39173 SWIG_addvarlink(SWIG_globals(),(char*)"ART_EXECUTABLE_FILE",ART_EXECUTABLE_FILE_get
, ART_EXECUTABLE_FILE_set
);
39174 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NORMAL_FILE",ART_NORMAL_FILE_get
, ART_NORMAL_FILE_set
);
39175 SWIG_addvarlink(SWIG_globals(),(char*)"ART_TICK_MARK",ART_TICK_MARK_get
, ART_TICK_MARK_set
);
39176 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CROSS_MARK",ART_CROSS_MARK_get
, ART_CROSS_MARK_set
);
39177 SWIG_addvarlink(SWIG_globals(),(char*)"ART_ERROR",ART_ERROR_get
, ART_ERROR_set
);
39178 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUESTION",ART_QUESTION_get
, ART_QUESTION_set
);
39179 SWIG_addvarlink(SWIG_globals(),(char*)"ART_WARNING",ART_WARNING_get
, ART_WARNING_set
);
39180 SWIG_addvarlink(SWIG_globals(),(char*)"ART_INFORMATION",ART_INFORMATION_get
, ART_INFORMATION_set
);
39181 SWIG_addvarlink(SWIG_globals(),(char*)"ART_MISSING_IMAGE",ART_MISSING_IMAGE_get
, ART_MISSING_IMAGE_set
);
39182 SWIG_addvarlink(SWIG_globals(),(char*)"ART_COPY",ART_COPY_get
, ART_COPY_set
);
39183 SWIG_addvarlink(SWIG_globals(),(char*)"ART_CUT",ART_CUT_get
, ART_CUT_set
);
39184 SWIG_addvarlink(SWIG_globals(),(char*)"ART_PASTE",ART_PASTE_get
, ART_PASTE_set
);
39185 SWIG_addvarlink(SWIG_globals(),(char*)"ART_DELETE",ART_DELETE_get
, ART_DELETE_set
);
39186 SWIG_addvarlink(SWIG_globals(),(char*)"ART_NEW",ART_NEW_get
, ART_NEW_set
);
39187 SWIG_addvarlink(SWIG_globals(),(char*)"ART_UNDO",ART_UNDO_get
, ART_UNDO_set
);
39188 SWIG_addvarlink(SWIG_globals(),(char*)"ART_REDO",ART_REDO_get
, ART_REDO_set
);
39189 SWIG_addvarlink(SWIG_globals(),(char*)"ART_QUIT",ART_QUIT_get
, ART_QUIT_set
);
39190 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND",ART_FIND_get
, ART_FIND_set
);
39191 SWIG_addvarlink(SWIG_globals(),(char*)"ART_FIND_AND_REPLACE",ART_FIND_AND_REPLACE_get
, ART_FIND_AND_REPLACE_set
);
39193 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
39195 SWIG_Python_SetConstant(d
, "CONFIG_USE_LOCAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_LOCAL_FILE
)));
39196 SWIG_Python_SetConstant(d
, "CONFIG_USE_GLOBAL_FILE",SWIG_From_int(static_cast< int >(wxCONFIG_USE_GLOBAL_FILE
)));
39197 SWIG_Python_SetConstant(d
, "CONFIG_USE_RELATIVE_PATH",SWIG_From_int(static_cast< int >(wxCONFIG_USE_RELATIVE_PATH
)));
39198 SWIG_Python_SetConstant(d
, "CONFIG_USE_NO_ESCAPE_CHARACTERS",SWIG_From_int(static_cast< int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS
)));
39199 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Unknown",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Unknown
)));
39200 SWIG_Python_SetConstant(d
, "ConfigBase_Type_String",SWIG_From_int(static_cast< int >(wxConfigBase::Type_String
)));
39201 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Boolean",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Boolean
)));
39202 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Integer",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Integer
)));
39203 SWIG_Python_SetConstant(d
, "ConfigBase_Type_Float",SWIG_From_int(static_cast< int >(wxConfigBase::Type_Float
)));
39204 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTimeFormat",DefaultDateTimeFormat_get
, DefaultDateTimeFormat_set
);
39205 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultTimeSpanFormat",DefaultTimeSpanFormat_get
, DefaultTimeSpanFormat_set
);
39206 SWIG_Python_SetConstant(d
, "DateTime_Local",SWIG_From_int(static_cast< int >(wxDateTime::Local
)));
39207 SWIG_Python_SetConstant(d
, "DateTime_GMT_12",SWIG_From_int(static_cast< int >(wxDateTime::GMT_12
)));
39208 SWIG_Python_SetConstant(d
, "DateTime_GMT_11",SWIG_From_int(static_cast< int >(wxDateTime::GMT_11
)));
39209 SWIG_Python_SetConstant(d
, "DateTime_GMT_10",SWIG_From_int(static_cast< int >(wxDateTime::GMT_10
)));
39210 SWIG_Python_SetConstant(d
, "DateTime_GMT_9",SWIG_From_int(static_cast< int >(wxDateTime::GMT_9
)));
39211 SWIG_Python_SetConstant(d
, "DateTime_GMT_8",SWIG_From_int(static_cast< int >(wxDateTime::GMT_8
)));
39212 SWIG_Python_SetConstant(d
, "DateTime_GMT_7",SWIG_From_int(static_cast< int >(wxDateTime::GMT_7
)));
39213 SWIG_Python_SetConstant(d
, "DateTime_GMT_6",SWIG_From_int(static_cast< int >(wxDateTime::GMT_6
)));
39214 SWIG_Python_SetConstant(d
, "DateTime_GMT_5",SWIG_From_int(static_cast< int >(wxDateTime::GMT_5
)));
39215 SWIG_Python_SetConstant(d
, "DateTime_GMT_4",SWIG_From_int(static_cast< int >(wxDateTime::GMT_4
)));
39216 SWIG_Python_SetConstant(d
, "DateTime_GMT_3",SWIG_From_int(static_cast< int >(wxDateTime::GMT_3
)));
39217 SWIG_Python_SetConstant(d
, "DateTime_GMT_2",SWIG_From_int(static_cast< int >(wxDateTime::GMT_2
)));
39218 SWIG_Python_SetConstant(d
, "DateTime_GMT_1",SWIG_From_int(static_cast< int >(wxDateTime::GMT_1
)));
39219 SWIG_Python_SetConstant(d
, "DateTime_GMT0",SWIG_From_int(static_cast< int >(wxDateTime::GMT0
)));
39220 SWIG_Python_SetConstant(d
, "DateTime_GMT1",SWIG_From_int(static_cast< int >(wxDateTime::GMT1
)));
39221 SWIG_Python_SetConstant(d
, "DateTime_GMT2",SWIG_From_int(static_cast< int >(wxDateTime::GMT2
)));
39222 SWIG_Python_SetConstant(d
, "DateTime_GMT3",SWIG_From_int(static_cast< int >(wxDateTime::GMT3
)));
39223 SWIG_Python_SetConstant(d
, "DateTime_GMT4",SWIG_From_int(static_cast< int >(wxDateTime::GMT4
)));
39224 SWIG_Python_SetConstant(d
, "DateTime_GMT5",SWIG_From_int(static_cast< int >(wxDateTime::GMT5
)));
39225 SWIG_Python_SetConstant(d
, "DateTime_GMT6",SWIG_From_int(static_cast< int >(wxDateTime::GMT6
)));
39226 SWIG_Python_SetConstant(d
, "DateTime_GMT7",SWIG_From_int(static_cast< int >(wxDateTime::GMT7
)));
39227 SWIG_Python_SetConstant(d
, "DateTime_GMT8",SWIG_From_int(static_cast< int >(wxDateTime::GMT8
)));
39228 SWIG_Python_SetConstant(d
, "DateTime_GMT9",SWIG_From_int(static_cast< int >(wxDateTime::GMT9
)));
39229 SWIG_Python_SetConstant(d
, "DateTime_GMT10",SWIG_From_int(static_cast< int >(wxDateTime::GMT10
)));
39230 SWIG_Python_SetConstant(d
, "DateTime_GMT11",SWIG_From_int(static_cast< int >(wxDateTime::GMT11
)));
39231 SWIG_Python_SetConstant(d
, "DateTime_GMT12",SWIG_From_int(static_cast< int >(wxDateTime::GMT12
)));
39232 SWIG_Python_SetConstant(d
, "DateTime_WET",SWIG_From_int(static_cast< int >(wxDateTime::WET
)));
39233 SWIG_Python_SetConstant(d
, "DateTime_WEST",SWIG_From_int(static_cast< int >(wxDateTime::WEST
)));
39234 SWIG_Python_SetConstant(d
, "DateTime_CET",SWIG_From_int(static_cast< int >(wxDateTime::CET
)));
39235 SWIG_Python_SetConstant(d
, "DateTime_CEST",SWIG_From_int(static_cast< int >(wxDateTime::CEST
)));
39236 SWIG_Python_SetConstant(d
, "DateTime_EET",SWIG_From_int(static_cast< int >(wxDateTime::EET
)));
39237 SWIG_Python_SetConstant(d
, "DateTime_EEST",SWIG_From_int(static_cast< int >(wxDateTime::EEST
)));
39238 SWIG_Python_SetConstant(d
, "DateTime_MSK",SWIG_From_int(static_cast< int >(wxDateTime::MSK
)));
39239 SWIG_Python_SetConstant(d
, "DateTime_MSD",SWIG_From_int(static_cast< int >(wxDateTime::MSD
)));
39240 SWIG_Python_SetConstant(d
, "DateTime_AST",SWIG_From_int(static_cast< int >(wxDateTime::AST
)));
39241 SWIG_Python_SetConstant(d
, "DateTime_ADT",SWIG_From_int(static_cast< int >(wxDateTime::ADT
)));
39242 SWIG_Python_SetConstant(d
, "DateTime_EST",SWIG_From_int(static_cast< int >(wxDateTime::EST
)));
39243 SWIG_Python_SetConstant(d
, "DateTime_EDT",SWIG_From_int(static_cast< int >(wxDateTime::EDT
)));
39244 SWIG_Python_SetConstant(d
, "DateTime_CST",SWIG_From_int(static_cast< int >(wxDateTime::CST
)));
39245 SWIG_Python_SetConstant(d
, "DateTime_CDT",SWIG_From_int(static_cast< int >(wxDateTime::CDT
)));
39246 SWIG_Python_SetConstant(d
, "DateTime_MST",SWIG_From_int(static_cast< int >(wxDateTime::MST
)));
39247 SWIG_Python_SetConstant(d
, "DateTime_MDT",SWIG_From_int(static_cast< int >(wxDateTime::MDT
)));
39248 SWIG_Python_SetConstant(d
, "DateTime_PST",SWIG_From_int(static_cast< int >(wxDateTime::PST
)));
39249 SWIG_Python_SetConstant(d
, "DateTime_PDT",SWIG_From_int(static_cast< int >(wxDateTime::PDT
)));
39250 SWIG_Python_SetConstant(d
, "DateTime_HST",SWIG_From_int(static_cast< int >(wxDateTime::HST
)));
39251 SWIG_Python_SetConstant(d
, "DateTime_AKST",SWIG_From_int(static_cast< int >(wxDateTime::AKST
)));
39252 SWIG_Python_SetConstant(d
, "DateTime_AKDT",SWIG_From_int(static_cast< int >(wxDateTime::AKDT
)));
39253 SWIG_Python_SetConstant(d
, "DateTime_A_WST",SWIG_From_int(static_cast< int >(wxDateTime::A_WST
)));
39254 SWIG_Python_SetConstant(d
, "DateTime_A_CST",SWIG_From_int(static_cast< int >(wxDateTime::A_CST
)));
39255 SWIG_Python_SetConstant(d
, "DateTime_A_EST",SWIG_From_int(static_cast< int >(wxDateTime::A_EST
)));
39256 SWIG_Python_SetConstant(d
, "DateTime_A_ESST",SWIG_From_int(static_cast< int >(wxDateTime::A_ESST
)));
39257 SWIG_Python_SetConstant(d
, "DateTime_UTC",SWIG_From_int(static_cast< int >(wxDateTime::UTC
)));
39258 SWIG_Python_SetConstant(d
, "DateTime_Gregorian",SWIG_From_int(static_cast< int >(wxDateTime::Gregorian
)));
39259 SWIG_Python_SetConstant(d
, "DateTime_Julian",SWIG_From_int(static_cast< int >(wxDateTime::Julian
)));
39260 SWIG_Python_SetConstant(d
, "DateTime_Gr_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Unknown
)));
39261 SWIG_Python_SetConstant(d
, "DateTime_Gr_Standard",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Standard
)));
39262 SWIG_Python_SetConstant(d
, "DateTime_Gr_Alaska",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Alaska
)));
39263 SWIG_Python_SetConstant(d
, "DateTime_Gr_Albania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Albania
)));
39264 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria
)));
39265 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Brixen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Brixen
)));
39266 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Salzburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Salzburg
)));
39267 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Tyrol",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Tyrol
)));
39268 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Carinthia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Carinthia
)));
39269 SWIG_Python_SetConstant(d
, "DateTime_Gr_Austria_Styria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Austria_Styria
)));
39270 SWIG_Python_SetConstant(d
, "DateTime_Gr_Belgium",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Belgium
)));
39271 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria
)));
39272 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_1
)));
39273 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_2
)));
39274 SWIG_Python_SetConstant(d
, "DateTime_Gr_Bulgaria_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Bulgaria_3
)));
39275 SWIG_Python_SetConstant(d
, "DateTime_Gr_Canada",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Canada
)));
39276 SWIG_Python_SetConstant(d
, "DateTime_Gr_China",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China
)));
39277 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_1
)));
39278 SWIG_Python_SetConstant(d
, "DateTime_Gr_China_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_China_2
)));
39279 SWIG_Python_SetConstant(d
, "DateTime_Gr_Czechoslovakia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Czechoslovakia
)));
39280 SWIG_Python_SetConstant(d
, "DateTime_Gr_Denmark",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Denmark
)));
39281 SWIG_Python_SetConstant(d
, "DateTime_Gr_Egypt",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Egypt
)));
39282 SWIG_Python_SetConstant(d
, "DateTime_Gr_Estonia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Estonia
)));
39283 SWIG_Python_SetConstant(d
, "DateTime_Gr_Finland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Finland
)));
39284 SWIG_Python_SetConstant(d
, "DateTime_Gr_France",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France
)));
39285 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Alsace",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Alsace
)));
39286 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Lorraine",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Lorraine
)));
39287 SWIG_Python_SetConstant(d
, "DateTime_Gr_France_Strasbourg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_France_Strasbourg
)));
39288 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany
)));
39289 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Catholic
)));
39290 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Prussia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Prussia
)));
39291 SWIG_Python_SetConstant(d
, "DateTime_Gr_Germany_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Germany_Protestant
)));
39292 SWIG_Python_SetConstant(d
, "DateTime_Gr_GreatBritain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_GreatBritain
)));
39293 SWIG_Python_SetConstant(d
, "DateTime_Gr_Greece",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Greece
)));
39294 SWIG_Python_SetConstant(d
, "DateTime_Gr_Hungary",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Hungary
)));
39295 SWIG_Python_SetConstant(d
, "DateTime_Gr_Ireland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Ireland
)));
39296 SWIG_Python_SetConstant(d
, "DateTime_Gr_Italy",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Italy
)));
39297 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan
)));
39298 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_1",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_1
)));
39299 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_2",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_2
)));
39300 SWIG_Python_SetConstant(d
, "DateTime_Gr_Japan_3",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Japan_3
)));
39301 SWIG_Python_SetConstant(d
, "DateTime_Gr_Latvia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Latvia
)));
39302 SWIG_Python_SetConstant(d
, "DateTime_Gr_Lithuania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Lithuania
)));
39303 SWIG_Python_SetConstant(d
, "DateTime_Gr_Luxemburg",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Luxemburg
)));
39304 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands
)));
39305 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Groningen",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Groningen
)));
39306 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Gelderland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Gelderland
)));
39307 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Utrecht",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Utrecht
)));
39308 SWIG_Python_SetConstant(d
, "DateTime_Gr_Netherlands_Friesland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Netherlands_Friesland
)));
39309 SWIG_Python_SetConstant(d
, "DateTime_Gr_Norway",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Norway
)));
39310 SWIG_Python_SetConstant(d
, "DateTime_Gr_Poland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Poland
)));
39311 SWIG_Python_SetConstant(d
, "DateTime_Gr_Portugal",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Portugal
)));
39312 SWIG_Python_SetConstant(d
, "DateTime_Gr_Romania",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Romania
)));
39313 SWIG_Python_SetConstant(d
, "DateTime_Gr_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Russia
)));
39314 SWIG_Python_SetConstant(d
, "DateTime_Gr_Scotland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Scotland
)));
39315 SWIG_Python_SetConstant(d
, "DateTime_Gr_Spain",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Spain
)));
39316 SWIG_Python_SetConstant(d
, "DateTime_Gr_Sweden",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Sweden
)));
39317 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland
)));
39318 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Catholic",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Catholic
)));
39319 SWIG_Python_SetConstant(d
, "DateTime_Gr_Switzerland_Protestant",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Switzerland_Protestant
)));
39320 SWIG_Python_SetConstant(d
, "DateTime_Gr_Turkey",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Turkey
)));
39321 SWIG_Python_SetConstant(d
, "DateTime_Gr_USA",SWIG_From_int(static_cast< int >(wxDateTime::Gr_USA
)));
39322 SWIG_Python_SetConstant(d
, "DateTime_Gr_Wales",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Wales
)));
39323 SWIG_Python_SetConstant(d
, "DateTime_Gr_Yugoslavia",SWIG_From_int(static_cast< int >(wxDateTime::Gr_Yugoslavia
)));
39324 SWIG_Python_SetConstant(d
, "DateTime_Country_Unknown",SWIG_From_int(static_cast< int >(wxDateTime::Country_Unknown
)));
39325 SWIG_Python_SetConstant(d
, "DateTime_Country_Default",SWIG_From_int(static_cast< int >(wxDateTime::Country_Default
)));
39326 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_Start",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_Start
)));
39327 SWIG_Python_SetConstant(d
, "DateTime_Country_EEC",SWIG_From_int(static_cast< int >(wxDateTime::Country_EEC
)));
39328 SWIG_Python_SetConstant(d
, "DateTime_France",SWIG_From_int(static_cast< int >(wxDateTime::France
)));
39329 SWIG_Python_SetConstant(d
, "DateTime_Germany",SWIG_From_int(static_cast< int >(wxDateTime::Germany
)));
39330 SWIG_Python_SetConstant(d
, "DateTime_UK",SWIG_From_int(static_cast< int >(wxDateTime::UK
)));
39331 SWIG_Python_SetConstant(d
, "DateTime_Country_WesternEurope_End",SWIG_From_int(static_cast< int >(wxDateTime::Country_WesternEurope_End
)));
39332 SWIG_Python_SetConstant(d
, "DateTime_Russia",SWIG_From_int(static_cast< int >(wxDateTime::Russia
)));
39333 SWIG_Python_SetConstant(d
, "DateTime_USA",SWIG_From_int(static_cast< int >(wxDateTime::USA
)));
39334 SWIG_Python_SetConstant(d
, "DateTime_Jan",SWIG_From_int(static_cast< int >(wxDateTime::Jan
)));
39335 SWIG_Python_SetConstant(d
, "DateTime_Feb",SWIG_From_int(static_cast< int >(wxDateTime::Feb
)));
39336 SWIG_Python_SetConstant(d
, "DateTime_Mar",SWIG_From_int(static_cast< int >(wxDateTime::Mar
)));
39337 SWIG_Python_SetConstant(d
, "DateTime_Apr",SWIG_From_int(static_cast< int >(wxDateTime::Apr
)));
39338 SWIG_Python_SetConstant(d
, "DateTime_May",SWIG_From_int(static_cast< int >(wxDateTime::May
)));
39339 SWIG_Python_SetConstant(d
, "DateTime_Jun",SWIG_From_int(static_cast< int >(wxDateTime::Jun
)));
39340 SWIG_Python_SetConstant(d
, "DateTime_Jul",SWIG_From_int(static_cast< int >(wxDateTime::Jul
)));
39341 SWIG_Python_SetConstant(d
, "DateTime_Aug",SWIG_From_int(static_cast< int >(wxDateTime::Aug
)));
39342 SWIG_Python_SetConstant(d
, "DateTime_Sep",SWIG_From_int(static_cast< int >(wxDateTime::Sep
)));
39343 SWIG_Python_SetConstant(d
, "DateTime_Oct",SWIG_From_int(static_cast< int >(wxDateTime::Oct
)));
39344 SWIG_Python_SetConstant(d
, "DateTime_Nov",SWIG_From_int(static_cast< int >(wxDateTime::Nov
)));
39345 SWIG_Python_SetConstant(d
, "DateTime_Dec",SWIG_From_int(static_cast< int >(wxDateTime::Dec
)));
39346 SWIG_Python_SetConstant(d
, "DateTime_Inv_Month",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Month
)));
39347 SWIG_Python_SetConstant(d
, "DateTime_Sun",SWIG_From_int(static_cast< int >(wxDateTime::Sun
)));
39348 SWIG_Python_SetConstant(d
, "DateTime_Mon",SWIG_From_int(static_cast< int >(wxDateTime::Mon
)));
39349 SWIG_Python_SetConstant(d
, "DateTime_Tue",SWIG_From_int(static_cast< int >(wxDateTime::Tue
)));
39350 SWIG_Python_SetConstant(d
, "DateTime_Wed",SWIG_From_int(static_cast< int >(wxDateTime::Wed
)));
39351 SWIG_Python_SetConstant(d
, "DateTime_Thu",SWIG_From_int(static_cast< int >(wxDateTime::Thu
)));
39352 SWIG_Python_SetConstant(d
, "DateTime_Fri",SWIG_From_int(static_cast< int >(wxDateTime::Fri
)));
39353 SWIG_Python_SetConstant(d
, "DateTime_Sat",SWIG_From_int(static_cast< int >(wxDateTime::Sat
)));
39354 SWIG_Python_SetConstant(d
, "DateTime_Inv_WeekDay",SWIG_From_int(static_cast< int >(wxDateTime::Inv_WeekDay
)));
39355 SWIG_Python_SetConstant(d
, "DateTime_Inv_Year",SWIG_From_int(static_cast< int >(wxDateTime::Inv_Year
)));
39356 SWIG_Python_SetConstant(d
, "DateTime_Name_Full",SWIG_From_int(static_cast< int >(wxDateTime::Name_Full
)));
39357 SWIG_Python_SetConstant(d
, "DateTime_Name_Abbr",SWIG_From_int(static_cast< int >(wxDateTime::Name_Abbr
)));
39358 SWIG_Python_SetConstant(d
, "DateTime_Default_First",SWIG_From_int(static_cast< int >(wxDateTime::Default_First
)));
39359 SWIG_Python_SetConstant(d
, "DateTime_Monday_First",SWIG_From_int(static_cast< int >(wxDateTime::Monday_First
)));
39360 SWIG_Python_SetConstant(d
, "DateTime_Sunday_First",SWIG_From_int(static_cast< int >(wxDateTime::Sunday_First
)));
39361 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultDateTime",DefaultDateTime_get
, DefaultDateTime_set
);
39362 SWIG_Python_SetConstant(d
, "DF_INVALID",SWIG_From_int(static_cast< int >(wxDF_INVALID
)));
39363 SWIG_Python_SetConstant(d
, "DF_TEXT",SWIG_From_int(static_cast< int >(wxDF_TEXT
)));
39364 SWIG_Python_SetConstant(d
, "DF_BITMAP",SWIG_From_int(static_cast< int >(wxDF_BITMAP
)));
39365 SWIG_Python_SetConstant(d
, "DF_METAFILE",SWIG_From_int(static_cast< int >(wxDF_METAFILE
)));
39366 SWIG_Python_SetConstant(d
, "DF_SYLK",SWIG_From_int(static_cast< int >(wxDF_SYLK
)));
39367 SWIG_Python_SetConstant(d
, "DF_DIF",SWIG_From_int(static_cast< int >(wxDF_DIF
)));
39368 SWIG_Python_SetConstant(d
, "DF_TIFF",SWIG_From_int(static_cast< int >(wxDF_TIFF
)));
39369 SWIG_Python_SetConstant(d
, "DF_OEMTEXT",SWIG_From_int(static_cast< int >(wxDF_OEMTEXT
)));
39370 SWIG_Python_SetConstant(d
, "DF_DIB",SWIG_From_int(static_cast< int >(wxDF_DIB
)));
39371 SWIG_Python_SetConstant(d
, "DF_PALETTE",SWIG_From_int(static_cast< int >(wxDF_PALETTE
)));
39372 SWIG_Python_SetConstant(d
, "DF_PENDATA",SWIG_From_int(static_cast< int >(wxDF_PENDATA
)));
39373 SWIG_Python_SetConstant(d
, "DF_RIFF",SWIG_From_int(static_cast< int >(wxDF_RIFF
)));
39374 SWIG_Python_SetConstant(d
, "DF_WAVE",SWIG_From_int(static_cast< int >(wxDF_WAVE
)));
39375 SWIG_Python_SetConstant(d
, "DF_UNICODETEXT",SWIG_From_int(static_cast< int >(wxDF_UNICODETEXT
)));
39376 SWIG_Python_SetConstant(d
, "DF_ENHMETAFILE",SWIG_From_int(static_cast< int >(wxDF_ENHMETAFILE
)));
39377 SWIG_Python_SetConstant(d
, "DF_FILENAME",SWIG_From_int(static_cast< int >(wxDF_FILENAME
)));
39378 SWIG_Python_SetConstant(d
, "DF_LOCALE",SWIG_From_int(static_cast< int >(wxDF_LOCALE
)));
39379 SWIG_Python_SetConstant(d
, "DF_PRIVATE",SWIG_From_int(static_cast< int >(wxDF_PRIVATE
)));
39380 SWIG_Python_SetConstant(d
, "DF_HTML",SWIG_From_int(static_cast< int >(wxDF_HTML
)));
39381 SWIG_Python_SetConstant(d
, "DF_MAX",SWIG_From_int(static_cast< int >(wxDF_MAX
)));
39382 SWIG_addvarlink(SWIG_globals(),(char*)"FormatInvalid",FormatInvalid_get
, FormatInvalid_set
);
39383 SWIG_Python_SetConstant(d
, "DataObject_Get",SWIG_From_int(static_cast< int >(wxDataObject::Get
)));
39384 SWIG_Python_SetConstant(d
, "DataObject_Set",SWIG_From_int(static_cast< int >(wxDataObject::Set
)));
39385 SWIG_Python_SetConstant(d
, "DataObject_Both",SWIG_From_int(static_cast< int >(wxDataObject::Both
)));
39386 SWIG_Python_SetConstant(d
, "Drag_CopyOnly",SWIG_From_int(static_cast< int >(wxDrag_CopyOnly
)));
39387 SWIG_Python_SetConstant(d
, "Drag_AllowMove",SWIG_From_int(static_cast< int >(wxDrag_AllowMove
)));
39388 SWIG_Python_SetConstant(d
, "Drag_DefaultMove",SWIG_From_int(static_cast< int >(wxDrag_DefaultMove
)));
39389 SWIG_Python_SetConstant(d
, "DragError",SWIG_From_int(static_cast< int >(wxDragError
)));
39390 SWIG_Python_SetConstant(d
, "DragNone",SWIG_From_int(static_cast< int >(wxDragNone
)));
39391 SWIG_Python_SetConstant(d
, "DragCopy",SWIG_From_int(static_cast< int >(wxDragCopy
)));
39392 SWIG_Python_SetConstant(d
, "DragMove",SWIG_From_int(static_cast< int >(wxDragMove
)));
39393 SWIG_Python_SetConstant(d
, "DragLink",SWIG_From_int(static_cast< int >(wxDragLink
)));
39394 SWIG_Python_SetConstant(d
, "DragCancel",SWIG_From_int(static_cast< int >(wxDragCancel
)));
39396 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
39397 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
39398 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
39399 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
39401 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultVideoMode",DefaultVideoMode_get
, DefaultVideoMode_set
);
39402 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_None",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_None
)));
39403 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Messages",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Messages
)));
39404 SWIG_Python_SetConstant(d
, "StandardPaths_ResourceCat_Max",SWIG_From_int(static_cast< int >(wxStandardPaths::ResourceCat_Max
)));
39405 SWIG_Python_SetConstant(d
, "POWER_SOCKET",SWIG_From_int(static_cast< int >(wxPOWER_SOCKET
)));
39406 SWIG_Python_SetConstant(d
, "POWER_BATTERY",SWIG_From_int(static_cast< int >(wxPOWER_BATTERY
)));
39407 SWIG_Python_SetConstant(d
, "POWER_UNKNOWN",SWIG_From_int(static_cast< int >(wxPOWER_UNKNOWN
)));
39408 SWIG_Python_SetConstant(d
, "BATTERY_NORMAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_NORMAL_STATE
)));
39409 SWIG_Python_SetConstant(d
, "BATTERY_LOW_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_LOW_STATE
)));
39410 SWIG_Python_SetConstant(d
, "BATTERY_CRITICAL_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_CRITICAL_STATE
)));
39411 SWIG_Python_SetConstant(d
, "BATTERY_SHUTDOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_SHUTDOWN_STATE
)));
39412 SWIG_Python_SetConstant(d
, "BATTERY_UNKNOWN_STATE",SWIG_From_int(static_cast< int >(wxBATTERY_UNKNOWN_STATE
)));
39413 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDING", PyInt_FromLong(wxEVT_POWER_SUSPENDING
));
39414 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPENDED", PyInt_FromLong(wxEVT_POWER_SUSPENDED
));
39415 PyDict_SetItemString(d
, "wxEVT_POWER_SUSPEND_CANCEL", PyInt_FromLong(wxEVT_POWER_SUSPEND_CANCEL
));
39416 PyDict_SetItemString(d
, "wxEVT_POWER_RESUME", PyInt_FromLong(wxEVT_POWER_RESUME
));